System Design Atlas

Generation forecasts and energy balances

08 / 10Worked example

Bottlenecks and trade-offs

How do you distinguish a large forecast deviation from a delayed comparison run?

The sequence is defined; now examine its possible bottlenecks. Large forecast deviations may result from model errors or missing measurement intervals. Consider completeness, input age and forecast error separately. The following measures are initial decisions to test; their benefits have yet to be measured.

Starting point Older jobs must not overwrite current measurement revisions.

Assumptions for the example case

A fictional example design for a generation facility using fixed 15-minute intervals and separate forecast and measurement versions. Each interval spans 900 seconds, inclusive at the start and exclusive at the end; a measurement at exactly 900 seconds belongs to the next interval. All figures and test targets are illustrative assumptions.

Trace symptoms to their causes

Branched diagnostic tree

2 MW / 0.5 MWh deviationSignal
Check the complete, fresh actual revision and model versionMeasurement
ForecastersResponsible
Actual interval missingSignal
Check interval completeness and source statusMeasurement
Data quality teamResponsible
Comparison waits for 60 sSignal
Measure 60 s queue age with 1 s job runtimeMeasurement
Platform operationsResponsible

Signal, measurement and responsible role remain connected for each cause.

Large forecast deviations may result from model errors or missing measurement intervals. Consider completeness, input age and forecast error separately.

Measure before making changes

SymptomValidationTargeted action
Assess quality against a complete measurement seriesIllustrative test: a forecast of 10 MW and a fully evidenced actual mean of 8 MW for the same UTC quarter-hour interval produce an absolute deviation of 2 MW, equivalent to 0.5 MWh. The measurement revision is complete and fresh; the comparison job runs at normal speed. First review the input and model revisions with domain expertise, preserving the historical forecast. Missing actual intervals instead produce an incomplete result, rather than an asserted model error.Repeat the measurement with the same input state and preserve the domain invariant.
Measure processing delayIllustrative measurement: the complete actual revision has been available for 60 seconds, but the comparison still waits. Job runtime remains 1 second while queue age rises. Check arrival and completion rates and available workers, then adjust capacity within limits. If the actual interval itself is missing, the delay originates at the source; additional compute capacity cannot close that data gap.Repeat the measurement with the same input state and preserve the domain invariant.
96 interval corrections for one day at the same facilityMeasure the duration of the atomic decision and concurrent access.Move lengthy work outside the commit; preserve the business invariant in the concurrency test.
Stale display despite stored evidenceCompare the authoritative version with the projection version.Rebuild the projection; continue deciding state changes from the authoritative state.

Assess quality against a complete measurement series

Validation
Illustrative test: a forecast of 10 MW and a fully evidenced actual mean of 8 MW for the same UTC quarter-hour interval produce an absolute deviation of 2 MW, equivalent to 0.5 MWh. The measurement revision is complete and fresh; the comparison job runs at normal speed. First review the input and model revisions with domain expertise, preserving the historical forecast. Missing actual intervals instead produce an incomplete result, rather than an asserted model error.
Targeted action
Repeat the measurement with the same input state and preserve the domain invariant.

Measure processing delay

Validation
Illustrative measurement: the complete actual revision has been available for 60 seconds, but the comparison still waits. Job runtime remains 1 second while queue age rises. Check arrival and completion rates and available workers, then adjust capacity within limits. If the actual interval itself is missing, the delay originates at the source; additional compute capacity cannot close that data gap.
Targeted action
Repeat the measurement with the same input state and preserve the domain invariant.

96 interval corrections for one day at the same facility

Validation
Measure the duration of the atomic decision and concurrent access.
Targeted action
Move lengthy work outside the commit; preserve the business invariant in the concurrency test.

Stale display despite stored evidence

Validation
Compare the authoritative version with the projection version.
Targeted action
Rebuild the projection; continue deciding state changes from the authoritative state.

Investigate data gaps before model quality

Investigate data gaps before model quality

Investigate data gaps before model quality.

Large forecast deviations may result from model errors or missing measurement intervals. Consider completeness, input age and forecast error separately.

Large forecast deviations may result from model errors or missing measurement intervals. Consider completeness, input age and forecast error separately. The exercise specifies the input and expected result.

Alternative considered
Adding compute capacity indiscriminately does not resolve missing business evidence.
Trade-off
Multiple measurement points and separate causes increase the diagnostic effort.
Reassess
Use measurements after the targeted change to decide whether further scaling is needed.

Try it yourself

Examine a large forecast deviation and a delayed comparison calculation separately. For each, name a metric, distinguishing observation and initial action.

A hint for your attempt

Record the business reason for waiting, source age and technical compute time separately.

Compare with a possible solution
Assess quality against a complete measurement series
Illustrative test: a forecast of 10 MW and a fully evidenced actual mean of 8 MW for the same UTC quarter-hour interval produce an absolute deviation of 2 MW, equivalent to 0.5 MWh. The measurement revision is complete and fresh; the comparison job runs at normal speed. First review the input and model revisions with domain expertise, preserving the historical forecast. Missing actual intervals instead produce an incomplete result, rather than an asserted model error.
Measure processing delay
Illustrative measurement: the complete actual revision has been available for 60 seconds, but the comparison still waits. Job runtime remains 1 second while queue age rises. Check arrival and completion rates and available workers, then adjust capacity within limits. If the actual interval itself is missing, the delay originates at the source; additional compute capacity cannot close that data gap.

Apply to your project

Which similar display could have two different causes in your project?

Next, correction permissions are scoped to facilities.