Final design
Connect control limits and physical effects end to end. Which evidence establishes completion?
A simulation-only run does not test physical effects.
Starting point Block new effects until revision reconciliation.
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.
Effect with evidence
Digital twin with local control limits
Simulation writes proposals only; the actuation worker sends committed commands; hardware limits remain independently enforced outside the platform.
Test plan with expected outcomes
| Input and initial state | Expected result | Return to an earlier step |
|---|---|---|
| G-42 controllerRevision=4 → commands A/B and B/A against revision 4 | The controller accepts at most one; the second conflicts, and the platform reconciles the evidence. | Step 5/7 |
| S-42 setpoint 60 accepted → identical replay, then setpoint 61 under the same key | One command; the second payload conflicts. | Step 4 |
| 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. | Step 2 |
| Effect already 60%, response lost → timer 5 s, then matching confirmation | Initially unresolved, then Applied; no new control command. | Step 7/9 |
G-42 controllerRevision=4 → commands A/B and B/A against revision 4
- Expected result
- The controller accepts at most one; the second conflicts, and the platform reconciles the evidence.
- Return to an earlier step
- Step 5/7
S-42 setpoint 60 accepted → identical replay, then setpoint 61 under the same key
- Expected result
- One command; the second payload conflicts.
- Return to an earlier step
- Step 4
Measurement age → 29,999/30,000/30,001 ms and setpoint 19/20/80/81 %
- Expected result
- Only the first age is permitted; 20 and 80 are allowed, 19/81 rejected.
- Return to an earlier step
- Step 2
Effect already 60%, response lost → timer 5 s, then matching confirmation
- Expected result
- Initially unresolved, then Applied; no new control command.
- Return to an earlier step
- Step 7/9
End-to-end test and unresolved agreements
- First end-to-end path
- Propose and authorise 60%, lose the controller response and reconcile the same command. Then reject a measurement exactly 30 seconds old and a setpoint of 81%.
- Clarify before real use
- Real protocols, equipment authorisations, fallback procedures and functional safety require equipment-specific specialist design.
The end-to-end test connects control boundaries and physical effects.
Test boundary checks and a lost response together.
A simulation-only run does not test physical effects.
The API rejects 30 s and 81%; revisit step 2 on failure. The worker reconciles S-42 rather than creating another command; revisit steps 4 and 7 on failure.
- Alternative considered
- Testing only the happy path hides uncertainty about physical effects.
- Trade-off
- Controlled error points are necessary.
- Reassess
- Real equipment requires separate technical approval.
Try it yourself
Assign the boundary test and response-loss test to modules and earlier steps to revisit.
A hint for your attempt
A simulation-only run does not test physical effects.
Compare with a possible solution
- Boundary test
- The API rejects 30 s and 81%; revisit step 2 on failure.
- Effect test
- The worker reconciles S-42 rather than creating another command; revisit steps 4 and 7 on failure.
Apply to your project
What is the equivalent of connecting control limits with evidenced effects in your project?
Start your own design
Choose a small case from your project. The template collects the ten design tasks and leaves space for your sketches, decisions, and open assumptions. You can edit it in your text editor or note-taking app.
Download design template (.md)Compare the ten tasks with the example case
Purpose and boundary
What is the equivalent of simulation without physical effects in your project?
In the example: Explicit control authorisation separates simulation from physical effect.
Requirements
What is the equivalent of checking data age and control limits together in your project?
In the example: Age<30 s and 20..80 % must both hold.
Scale estimates
What is the equivalent of telemetry determining raw volume in your project?
In the example: Size time-series storage and control decisions separately.
Interfaces
What is the equivalent of retaining a command’s setpoint in your project?
In the example: commandKey binds the setpoint and measurement basis.
Data and states
What is the equivalent of an explicit unresolved-outcome state in your project?
In the example: Only evidence permits terminal effect states.
Overall architecture
What is the equivalent of an external controller boundary in your project?
In the example: The control worker crosses the external boundary with versioned commands.
Critical flow
What is the equivalent of reconciling the same command after response loss in your project?
In the example: Querying S-42 resolves the effect.
Bottlenecks and trade-offs
What is the equivalent of diagnosing rejection causes in your project?
In the example: Measure rejection reasons separately.
Operations and security
What is the equivalent of reconciling physical effects before recovery in your project?
In the example: Block new effects until revision reconciliation.
Final design
What is the equivalent of connecting control limits with evidenced effects in your project?
In the example: Test boundary checks and a lost response together.