System Design Atlas

Building digital twin with controlled equipment actions

07 / 10Worked example

Critical flow

Response loss leads back to the same command. Which evidence resolves the effect?

Controller sets 60%, feedback is lost.

Starting point The control worker crosses the external boundary with versioned commands.

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.

Lost actuation response

Lost actuation response

The controller applied 60%, but its response is missing.

Building operations
Digital twin API
Command datastore
Actuation worker
Controller
  1. 01 Building operations → Digital twin APIAuthorise S-42
  2. 02 Digital twin API → Command datastoreCommit the command
  3. 03 Actuation worker → Controller60 % revision4
  4. 04 Actuation worker · Local processingResponse lost
  5. 05 Actuation worker → ControllerS-42 status
  6. 06 Controller → Digital twin APIrevision5 · 60 %

Result: No new command; matching confirmation produces Applied.

Reconciliation uses the identity, revision and setpoint of the same command.

Operations → API → datastore commit → actuation worker → controller; effect, response loss and query of the same command.

Commit, response loss and resumption

G-42 controllerRevision=4
Submit commands A/B and B/A against revision 4 → the controller accepts at most one; the second conflicts, and the platform reconciles the evidence.
S-42 setpoint 60 accepted
Identical replay, then setpoint 61 under the same key → one command; the second payload conflicts.
Measurement age
29,999/30,000/30,001 ms and setpoint 19/20/80/81 % → only the first age is permitted; 20 and 80 are allowed, 19/81 rejected.

A lost response leads back to the same command.

A lost response leads back to the same command.

Querying S-42 resolves the effect.

Controller sets 60%, feedback is lost.

Effect unresolved with an investigation signal; no new authorisation. A matching setpoint and revision complete the command as Applied.

Alternative considered
A new order may repeat an outdated intention.
Trade-off
Status-query support must be agreed.
Reassess
Without controller history, investigation may require on-site checks.

Try it yourself

Predict the state after 5 seconds and after matching confirmation.

A hint for your attempt

Controller sets 60%, feedback is lost.

Compare with a possible solution
After 5 seconds
Effect unresolved with an investigation signal; no new authorisation.
After evidence arrives
A matching setpoint and revision complete the command as Applied.

Apply to your project

What is the equivalent of reconciling the same command after response loss in your project?

Step 8: investigate a high rejection rate. Which measurements distinguish causes?