← Platform Overview

Simulation & Modeling

Digital Twin Engine

A first-principles simulation framework that composes individual physics models into process-level digital twins. Wire equipment models into a directed graph, propagate state in real time, and run what-if scenarios — all on the edge.

SENSORSP_in42.0Flow49.5Level47.4DO38.5VFD_Hz34.0MODEL GRAPH — PROCESS COMPOSITIONflow, headflow, pressureBOD, TSSairflow, DOeffluentMLSSPump Modelη = P_hyd/P_e3in2outPipe Modelhf = f·L·v²/2gD2in2outClarifierSOR = Q/A3in3outAerationOTR = KLa·(Cs-C)4in2outBlower ModelP = Q·Δp/η2in2outFilter ModelΔP = μ·R·Q/A2in2outSCENARIO ENGINEBaseline78%Pump Trip52%Optimized91%scenario_engine> run --models=6 --dt=0.1s --horizon=24hExecutingSIMULATION OUTPUTPump_1Running82%ClarifierNormal94%AerationHigh Load71%Blower_1Running88%FilterNormal96%IngestComposePropagateEvaluate

How the Engine Works

Four stages from raw sensor data to system-level simulation.

01

Sensor Ingestion

Raw telemetry from Modbus, OPC UA, BACnet, and MQTT is normalized into a unified tag namespace. Each sensor maps to a model input port.

02

Model Composition

Individual physics models are wired into a directed acyclic graph (DAG). Outputs of one model become inputs to the next — just like real process flow.

03

State Propagation

On every tick, sensor values flow through the graph. Each model evaluates its equations and passes calculated states downstream. Sub-100ms end-to-end.

04

Scenario Execution

Fork the live graph state, inject a perturbation (pump trip, setpoint change, load spike), and propagate forward to see system-wide impact — without touching real equipment.

Built-In Model Library

Nine first-principles equipment models ready to compose into any process.

Equipment ModelPhysics DomainInputsOutputsEdge Latency
Centrifugal PumpHydraulicsP_in, P_out, Flow, Power, Speedη, BEP%, NPSH_m, SE<8ms
Positive Displacement BlowerPneumaticsP_in, P_out, Airflow, Powerη, Surge_margin, T_out<6ms
Centrifugal ChillerThermodynamicsT_chws, T_chwr, T_cws, PowerCOP, kW/ton, Capacity%<10ms
Diesel GeneratorElectromechanicalFuel_rate, Power_out, Freq, T_exhaustη_thermal, kWh/gal, Load%<5ms
Battery BankElectrochemicalV_bus, I_charge, I_discharge, T_cellSOC, SOH, C-rate, Capacity<4ms
Cooling TowerPsychrometricsT_hw, T_cw, T_wb, AirflowApproach, Range, η_evap<7ms
Gravity ClarifierSedimentationFlow, TSS_in, Blanket_depthSOR, TSS_out, Sludge_rate<5ms
Media FilterFiltrationFlow, dP, TSS_in, Run_timeTSS_out, Backwash_ETA, Capacity%<4ms
UV DisinfectionPhotochemistryFlow, UVT, Lamp_hrs, PowerDose_mJ, Log_inact, Lamp_life%<3ms

Engine Capabilities

The simulation framework that powers every TwinEdge digital twin.

Process-Level Composition

Wire individual equipment models into full process trains. A pump connects to a pipe connects to a clarifier — just like the real system. Change one and see the cascade.

What-If Scenario API

Fork the live process state, inject a perturbation, and simulate forward. Test pump trips, setpoint changes, storm events, and equipment failures without touching real equipment.

Directed Acyclic Graph (DAG)

Models are nodes. Data flows are edges. The engine resolves execution order, handles parallel branches, and propagates state changes in topological order.

Sub-100ms Propagation

Full graph evaluation — sensor ingestion through model composition to output — completes in under 100ms on edge hardware. Fast enough for closed-loop control.

Edge + Cloud Split Execution

Time-critical models run on the edge for real-time response. Fleet aggregation, historical trending, and model retraining run in the cloud. Each layer does what it does best.

Model Lifecycle Management

Create models from the built-in library or custom equations. Validate against historical data. Deploy to edge. Monitor drift. Retrain when conditions change.

Physics Analytics vs Digital Twin Engine

Physics Analytics monitors individual equipment. The Digital Twin Engine simulates entire systems.

Physics AnalyticsDigital Twin Engine
ScopeSingle equipment assetEntire process train or facility
ExamplePump curve + efficiency at one operating pointWhat happens to the whole plant when that pump trips
OutputReal-time KPIs (η, NPSH, BEP%)System state propagation + scenario comparison
Input3-5 sensors per assetAll sensors across the process, composed through a model graph
Use caseMonitor and trend individual equipment healthSimulate operational decisions before executing them

Technical Specifications

Performance characteristics on TwinEdge edge hardware (ARM64, 4GB RAM).

Graph evaluation latency

Full DAG propagation on edge hardware

<100ms

Max models per edge node

Depends on model complexity and hardware

50+

Scenario throughput

Parallel what-if evaluations

10/sec

Supported model types

Plus custom equation builder

9 built-in

State snapshot interval

Configurable per process

100ms

Scenario horizon

Forward simulation window

1min – 72h

Graph serialization

Version-controlled, portable

JSON DAG

Model hot-swap

Replace models without restarting the graph

Yes

Simulate Before You Operate

Test operational decisions on the digital twin before executing them on real equipment. See the system-wide impact of every change — in under 100 milliseconds.