System Design Atlas

Electricity grid flexibility dispatch

06 / 10Worked example

The overall architecture

How does the architecture connect control path and measurement feedback?

The data contract leads to this topology: grid operations → dispatch API → dispatch and availability store. Transmission worker → secured equipment adapter → local equipment control. Measurement ingestion → time-series store → effect assessment, which writes evidence back to the dispatch. Local safety logic stays outside the platform boundary and operates without connectivity. Domain modules are code boundaries; separate processes have their own operational lifecycle.

Starting point Check overlapping commitments against availability atomically.

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.

Runtime architecture

Runtime architecture · platform control and local safety boundary

Grid operationsRequest a dispatch

Flexibility platform

Dispatch APIPlanning
Dispatch and availability storeF-81 + Availability
Transmission workerSend C-81
Equipment adapterSecured channel
Measurement ingestionM-81
Time-series datastoreMeasurement history
Effect assessmentRequested/actual
Equipment controlExecute locally
Local safety logicIndependent fallback rule
Grid operations → Dispatch APIF-81
Dispatch API → Dispatch and availability storeReservation + command
Dispatch and availability store → Transmission workerC-81
Transmission worker → Equipment adapterSecured command
Equipment adapter → Equipment controlGeneration 8
Equipment control → Measurement ingestionM-81
Measurement ingestion → Time-series datastoreMeasurement
Time-series datastore → Effect assessmentValid measurement history
Effect assessment → Dispatch and availability storeEvidence
Equipment control → Local safety logicSafe fallback rule

The platform transmits time-limited commands; local safety logic works even without a connection.

Measurements are common, control orders rare. Connect time series and call state with clear feedback. Measurement load does not block every change in disposition.

Domain modules within the application

Inside dispatch · five domain modules

AvailabilitykW + time window
Dispatch planningReserve flexibility
Control contractGeneration + expiry
Measurement qualityTime + Unit
Effect assessmentRequested/actual history

The control contract assigns a generation and expiry; effect assessment remains separate from evidence of acceptance.

Availability binds agreed kW and time windows. Dispatch planning reserves flexibility. Control commands assign generations and expiry. Measurement quality checks time, unit and quality. Effect assessment compares requested and evidenced behaviour.

Operational boundaries

Runtime
Grid operations → dispatch API → dispatch and availability store. Transmission worker → secured equipment adapter → local equipment control. Measurement ingestion → time-series store → effect assessment, which writes evidence back to the dispatch. Local safety logic stays outside the platform boundary and operates without connectivity.
Persistence
Transactional store for equipment A-81, dispatch F-81 and control command C-81. Authoritative changes and retry results commit together; external effects require separate evidence.

Keep the measurement path separate

Keep the measurement path separate

Connect time series and dispatch state through explicit feedback.

Measurements are common, control orders rare.

Measurement load does not block every dispatch change.

Alternative considered
One unstructured event collection makes evidence harder to trace.
Trade-off
Two data sets need explicit assignment.
Reassess
Measuring volumes or detection rules change.

Terms in this step

Keep the measurement path separate
Measurement load does not block every dispatch change.

Try it yourself

Draw the control path and measurement feedback; indicate the external safety responsibility.

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
The dispatch API and worker send C-81 through the equipment adapter to local control.
Second part of the solution
Measurement ingestion, time series and effect assessment return the evidence. Local safety logic stays at the equipment, outside the platform's authority.

Apply to your project

Which corresponding assumption would you check first in your project when measurement volume or evidence rules change?

Step 7 examines: resolve uncertain acceptance.