Design and evidence
Which tests protect retry behaviour and local expiry of the control command?
The final design reuses the complete runtime topology from step 6. Test markers connect key decisions to expected results and earlier steps to revisit. The following items form a test plan; measured evidence is still outstanding.
Starting point Give equipment operators the measurement gap and command reference.
Assumptions for the example case
A fictional design with controllable equipment and an agreed power range; 15-minute dispatch; UTC time windows; local safety limits and measured effects. Figures and quality targets are illustrative test assumptions. Protection systems, primary frequency control, market bids and evidence of specific energy-regulation compliance remain outside its scope.
Overall architecture with evidence
Runtime architecture · platform control and local safety boundary
- 1 · Reserve flexibility
- 2 · Send C-81
- 3 · Ingest M-81
- 4 · Assess the effect
Flexibility platform
The platform transmits time-limited commands; local safety logic works even without a connection.
Test plan with review loops
| Validation | Expected result | Return to an earlier step |
|---|---|---|
| Concurrency in both orders | Two dispatchers concurrently request 30 and 40 kW from 50 kW of available flexibility. In either commit order, only the first reservation succeeds; the second conflicts. A newer generation replaces an older one only after an explicit replacement decision. | Steps 3 and 5 |
| Identical and changed retries | Send C-81 with generation 8 and 20 kW twice: the same acknowledgement, no additive 40 kW effect. The same identity with 25 kW is rejected. Generation 7 arriving after generation 8 remains ineffective. | Step 4 |
| Exact value or time limit | Measurement ages of 29,999 and 30,000 ms permit new dispatch; 30,001 ms is stale. C-81 is valid at 12:14:59.999 and expires at 12:15:00.000, when the local safe fallback rule takes over. | Steps 2 and 5 |
| Lost response and restart | Equipment control accepts C-81 but its acknowledgement is lost. Dispatchers show acceptance unknown and query the same command. Even after confirmed acceptance, the effect remains unknown without valid measurements; expiry activates the local safe fallback rule. | Steps 7 and 9 |
Concurrency in both orders
- Expected result
- Two dispatchers concurrently request 30 and 40 kW from 50 kW of available flexibility. In either commit order, only the first reservation succeeds; the second conflicts. A newer generation replaces an older one only after an explicit replacement decision.
- Return to an earlier step
- Steps 3 and 5
Identical and changed retries
- Expected result
- Send C-81 with generation 8 and 20 kW twice: the same acknowledgement, no additive 40 kW effect. The same identity with 25 kW is rejected. Generation 7 arriving after generation 8 remains ineffective.
- Return to an earlier step
- Step 4
Exact value or time limit
- Expected result
- Measurement ages of 29,999 and 30,000 ms permit new dispatch; 30,001 ms is stale. C-81 is valid at 12:14:59.999 and expires at 12:15:00.000, when the local safe fallback rule takes over.
- Return to an earlier step
- Steps 2 and 5
Lost response and restart
- Expected result
- Equipment control accepts C-81 but its acknowledgement is lost. Dispatchers show acceptance unknown and query the same command. Even after confirmed acceptance, the effect remains unknown without valid measurements; expiry activates the local safe fallback rule.
- Return to an earlier step
- Steps 7 and 9
First end-to-end validation
- End-to-end path
- Send C-81 twice, lose a measurement and pass the expiry time. No additive effect occurs; safe local completion is preserved.
- Open decision
- Further equipment and partial dispatches may follow. Protection systems, primary frequency control, market bids and evidence of specific energy-regulation compliance require a separate design.
Test dispatch through expiry
Send C-81 twice, lose a measurement and pass the expiry time.
The critical case combines repetition and time.
No additive effect; safe local closure is maintained.
- Alternative considered
- A normal 20 kW test does not check the limits.
- Trade-off
- System simulator requires controlled time.
- Reassess
- Several installations and partial calls will then be supplemented.
Terms in this step
- Test dispatch through expiry
- No additive effect; safe local closure is maintained.
Try it yourself
Connect retry and expiry behaviour to two architecture tests and the earlier steps to revisit.
A hint for your attempt
Use the specific entities and conditions from this step. The two solution parts distinguish the decision from its evidenced outcome.
Compare with a possible solution
- First part of the solution
- Send C-81 twice: the equipment adapter and control retain 20 kW without an additive effect; failure leads back to steps 4/7.
- Second part of the solution
- At exactly 12:15, the local fallback rule takes over; failure leads back to the boundary in steps 1/5. Missing measurement evidence stays separately unresolved.
Apply to your project
Which corresponding assumption would you check first in your project when multiple assets and partial dispatches are added?
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
Which corresponding assumption would you check first in your project when a different equipment class changes safety requirements?
In the example: Enforce equipment limits and safe fallback behaviour locally. An expired remote command must not retain a lasting effect.
Requirements
Which corresponding assumption would you check first in your project when reliable local evidence of effect becomes available?
In the example: Track acknowledgements and measurement evidence separately. Requesting 20 kW does not mean 20 kW was delivered.
Scale estimates
Which corresponding assumption would you check first in your project when billing requires a separate baseline?
In the example: Multiply 20 kW by 0.25 h to obtain 5 kWh. The setpoint gains a verifiable time dimension.
Interfaces
Which corresponding assumption would you check first in your project when clock deviations exceed the agreed tolerance?
In the example: Check the generation and expiry locally. Old or expired commands do not take effect later.
Data and states
Which corresponding assumption would you check first in your project when many partial dispatches justify a richer model?
In the example: Check overlapping commitments against availability atomically. The second commitment does not exceed the available limit.
Overall architecture
Which corresponding assumption would you check first in your project when measurement volume or evidence rules change?
In the example: Connect time series and dispatch state through explicit feedback. Measurement load does not block every dispatch change.
Critical flow
Which corresponding assumption would you check first in your project when equipment cannot report command status?
In the example: Query the same command and prevent retries from adding effects. A retry still requests 20 rather than 40 kW.
Bottlenecks and trade-offs
Which corresponding assumption would you check first in your project when time quality repeatedly falls below requirements?
In the example: Analyse measurement time and receipt time separately. A measurement aged 30,001 ms cannot justify a new commitment.
Operations and security
Which corresponding assumption would you check first in your project when frequent equipment faults change the availability assessment?
In the example: Give equipment operators the measurement gap and command reference. Operational investigation ends with an evidenced history or documented deviation.
Final design
Which corresponding assumption would you check first in your project when multiple assets and partial dispatches are added?
In the example: Send C-81 twice, lose a measurement and pass the expiry time. No additive effect occurs; safe local completion is preserved.