Build dynamic systems as graphs

Physical systems are networks. Simulate them that way.

Konjugate is an open-source, graph-native simulation engine for composable engineering simulations and digital twins. Draw a system as components connected by relationships, write each one's equations and run it, then steer it live, fit it to data, keep it in step with a real system or export it as code.

Model
Nodes + relationships
Engine
Native C++
Project
MPL 2.0
A model remains visible while you define, run and inspect it.
Quick browser demo

The browser edition runs models in batch. Live runs, the live twin, FMUs, add-ons and the Model Assistant need the desktop app.

02

The model

Graph simulation software: one system, composed from local behavior.

Instead of assembling one monolithic system equation, describe the state owned by each component and the smaller interactions between components.

State evolution at node i

$$\dot{x}_i = \sum_j f_{ij}(x_i,x_j,t) + s_i(x_i,u,t)$$
\(x_i\)
State values contained in component i.
\(f_{ij}\)
The contribution to component i from its relationship with component j.
\(s_i\)
Behavior local to the component: sources, sinks, internal processes or external inputs.
Source term\(s_i(x_i,u,t)\)
Source term\(s_j(x_j,u,t)\)
Component i\(x_i\)temperature · charge
Component j\(x_j\)temperature · flow
Interaction term\(f_{ij}(x_i,x_j,t)\) Interaction term\(f_{ji}(x_j,x_i,t)\)

Practically speaking: a battery can own temperature and charge, a coolant reservoir can own temperature and fill level and their relationships can describe heat transfer or signals between them. The engine combines those local contributions at every synchronization step.

Any term can depend on time and be piecewise, so a heater that only runs during working hours is written directly in its equation. Because every piece is local, the same project runs unchanged in the app, in the browser, from the command line or as exported code.

03

Available in the beta

Model, run, connect and export from one workbench.

The current application covers the path from a graph model to results, a live twin kept beside a real system and code you can take elsewhere.

01

Model a system as a graph

Nodes hold states and edges carry the equations between them, written in ordinary LaTeX. Group repeated structure into subsystems and edge groups and reuse it. Represent components with built-in forms, a library of STL and STEP shapes or your own geometry.

02

Run it and steer it

Watch a run as it happens, change a parameter mid-run (or bind a joystick or keys to it), fork a scenario from any point and replay the result. The same C++ validator rejects invalid models first, and larger models are partitioned and run in parallel.

03

Build digital twins

Connect a running model to live measurements from a data log, an MQTT broker, an OPC UA server or a script. Keep it in step with the real system, refit it as it drifts and forecast ahead. Desktop app only.

04

Start from data

Import a CSV of multivariate time series and let causal inference propose which variables drive which, in what direction and with what equation (linear or nonlinear), for you to review before anything is added.

05

Describe it in words

The Model Assistant turns a plain-language request into model changes you can review and undo, with a local or a hosted model. Details below.

06

Take it elsewhere

Export standalone C++ or an FMI 2.0 or 3.0 FMU, import FMUs, or run projects headlessly from the command line. Results can be explored over time, plotted and exported as CSV.

The live twin's control room for a three-room house: measured temperatures, the model's track and forecast for each room, the heater inputs, and an event log reporting that the bedroom drifted past its warning and came back in step
The live twin's control room, watching a simulated day in a three-room house. With the bedroom window left open, the twin warns that the bedroom is drifting, then reports it back in step. It also infers the floor slab's temperature, which no sensor measures.

Build on Konjugate

Konjugate is meant to be extended. Add-ons open their own windows on a project and its results: visualizers, dashboards, tools. Plugins add relationship providers written in C++ or Python and reusable component templates. Both are found and installed from the app's Extensions Explorer, from registries anyone can host, with no central marketplace.

Add-on development ↗ Plugin development ↗

04

AI model assistant

Describe the intent. Keep control of the model.

Use a local or hosted large language model (LLM) to turn a plain-English description into structured changes, then inspect every assumption and operation before anything reaches the workbench.

Model assistant
Ollama · Local
Requested change

Add hot and cold water vessels, then connect them with a steel thermal path.

Validated proposal5 changes
  • +Hot-water vesselNode · temperature state
  • +Cold-water vesselNode · temperature state
  • ↔Steel thermal pathRelationship · explicit parameter references

Structure and native model validation passed

Model remains unchanged
DiscardApply changes
01

Run an LLM locally or in the cloud

Run models locally through Ollama or configure OpenAI, NVIDIA, Hugging Face and Gemini providers.

02

Generate model operations

The assistant proposes versioned nodes, states, relationships, parameters and equations from your natural-language request, instead of driving the interface opaquely.

03

Review before mutation

Invalid output is repaired or rejected. Valid changes remain a preview until the user explicitly applies one undoable transaction.

05

Writing

Notes from building it in the open.

Deep dives on the model and documentation for every feature in the workbench. Prefer video? Watch the 6-part On-Ramp series on YouTube

Loading articles…

Open development

Help shape a different way to model dynamic systems.

Follow releases, videos and new articles on our WhatsApp channel, or join the conversation and ask questions on Discord.

Prefer email? Reach us at info@konjugate.com.