Quickstart Guide

This guide walks you through connecting your first sensor endpoint and getting a unit operation model running. Estimated time: 20 minutes for a single OPC-UA endpoint.

Prerequisites
  • A Twynvex pilot account — request access if you don't have one yet.
  • A Linux-based edge server (Ubuntu 20.04+ recommended) with network access to your DCS/historian.
  • Your OPC-UA endpoint address or MQTT broker address. IP, port, and authentication credentials.
  • One unit operation you want to model (e.g., distillation column, CSTR, evaporator).

Step 1: Install the connector agent

The Twynvex connector agent is a lightweight Linux service that reads from your sensor endpoints and pushes telemetry to the Twynvex simulation engine. Install it on your edge server:

Step 2: Configure the YAML file

Create the connector configuration file at /etc/twynvex/connector.yaml. This file defines your source endpoints, data mappings, and pilot workspace credentials.

Step 3: Verify connectivity

Run the connectivity check before starting the agent service to confirm your endpoint is reachable and your API key is valid:

Step 4: Define your unit operation model

Unit operations are configured in the Twynvex dashboard under Models → New unit operation. You can also define them via YAML in /etc/twynvex/models/:

Step 5: Run your first prediction

Once the connector is running and the model is defined, start the connector service and verify the prediction pipeline is running:

First prediction takes ~5 minutes. The engine needs 2–3 data flush cycles to initialize the Kalman filter state estimate before generating the first 4-hour prediction horizon. Check the dashboard under Models → distillation-col-1 → Predictions.