The overall architecture
The controller remains outside the twin. Which boundaries preserve this responsibility?
The platform knows only reported effects.
Starting point Only evidence permits terminal effect states.
Assumptions for the example case
A fictional laboratory setup with a ventilation demonstrator. Local hardware limits operate independently; this example replaces neither building automation nor a safety function. All quantities, thresholds and operational targets in this design are illustrative assumptions.
Digital twin with local control limits
Digital twin with local control limits
Simulation writes proposals only; the actuation worker sends committed commands; hardware limits remain independently enforced outside the platform.
Responsibilities within the application
Twin modules
Mapping, measurement management, simulation, control authorisation and effect reconciliation remain separate.
Runtime components and authoritative data
- Runtime boundary
- Model-maintenance and operations interface → twin API → relational command datastore. External controller → telemetry adapter → time-series datastore. The simulation worker reads the model and time series and writes proposals only. The actuation worker reads committed commands and sends them to the controller; responses enter through the same command datastore. Hardware limits remain explicitly outside the platform.
- Module responsibilities
- Model mapping: connects components and sensors. Measurement management: shows age and quality. Simulation: calculates proposals without physical effects. Control authorisation: binds an approved proposal to limits. Effect reconciliation: compares commands with controller confirmations.
The controller remains outside the digital twin.
The control worker crosses the external boundary with versioned commands.
The platform knows only reported effects.
The simulation performs calculations; the actuation worker transports committed commands. The time-series store holds measurements; the relational data store holds approvals, the inbox, and commands.
- Alternative considered
- Showing the controller as an internal module conceals independent failures.
- Trade-off
- Reconciliation must account for the external protocol.
- Reassess
- New systems may need their own adapters.
Try it yourself
Place simulation and the actuation worker within the architecture; name both datastores.
A hint for your attempt
The platform knows only reported effects.
Compare with a possible solution
- Processes
- Simulation computes proposals; the actuation worker transmits committed commands.
- Storage
- The time-series datastore holds measurements; the relational datastore holds authorisations, inbox records and commands.
Apply to your project
What is the equivalent of an external controller boundary in your project?