System Design Atlas

Electricity grid flexibility dispatch

07 / 10Worked example

Critical flow

How do you reconcile a control command that may already be active without adding to its effect?

Trace the failure through the architecture: 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. Durable acceptance, physical effect and response are separate facts.

Starting point Connect time series and dispatch state through explicit feedback.

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.

Failure point in the sequence

Lost acceptance confirmation, measurement evidence and local expiry

C-81 has been accepted locally; its confirmation is lost and the effect remains unknown until measured.

Dispatch API
Dispatch store
Transmission worker
Equipment control
Measurement ingestion
  1. 01 Dispatch API → Dispatch storeStore F-81 + C-81 generation 8
  2. 02 Transmission worker → Equipment control20 kW to 12:15
  3. 03 Equipment control · Local processinglocally accepted; response is lost
  4. 04 Transmission worker → Equipment controlQuery C-81
  5. 05 Equipment control → Transmission workerangenommen
  6. 06 Transmission worker → Dispatch storeAcceptance confirmed; effect unknown
  7. 07 Equipment control → Measurement ingestionM-81
  8. 08 Measurement ingestion → Dispatch storeFresh evidence of effect
  9. 09 Equipment control · Local processing12:15: safe fallback rule

Result: Acceptance, effect and expiry are evidenced separately; at the end, the local safe fallback rule takes over.

Confirmed acceptance remains wirkung_unbekannt without a valid measurement.

C-81 may already work. Query the same order and prevent additive repetition. A retry still requires 20 instead of 40 kW.

Effect, response and recovery

Specific error
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.
Before and after commit
Commit durably completes the local change. Before commit, the old state remains valid; afterwards, an identical retry returns the stored outcome. Reconcile the external effect using its existing reference.
Retry behaviour
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.

Resolve uncertain acceptance

Resolve uncertain acceptance

Query the same command and prevent retries from adding effects.

C-81 may already work.

A retry still requires 20 instead of 40 kW.

Alternative considered
New orders per timeout can be reserved several times.
Trade-off
Uncertainty remains visible.
Reassess
The equipment cannot provide status reconciliation.

Terms in this step

Resolve uncertain acceptance
A retry still requires 20 instead of 40 kW.

Try it yourself

C-81 may be active but its response is missing. Which next message and effect are permitted?

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
Query the same command or retry it identically where the equipment contract safely permits this.
Second part of the solution
The repetition remains a setpoint value of 20 kW and does not add to 40 kW. The effect remains unknown without measurement.

Apply to your project

Which corresponding assumption would you check first in your project when equipment cannot report command status?

Step 8 examines: diagnose measurement age.