Plans → measurements → dispatch

From day-ahead plans
to real-time dispatch.

A grid needs a plan, a picture of what is happening, and a way to respond. Follow those decisions, then change the load to see how network limits affect generation and prices.

Illustrated
Commitment schedules and the state-estimation workflow.

Calculated
Lossless DC dispatch, nodal prices, and a selected line-outage study.

The dispatch lab

A small, fictional grid. Power is in GW; energy offers and nodal prices are in $/MWh.

Lossless DC model

Start with a case

00:0023:00

Each hour is a separate snapshot. Play does not simulate a continuous operating trajectory.

20 GW75 GW

Drag the slider or the red line in the supply chart.

System demand
Dispatchable headroom
Output slack; network delivery not checked
West reference price
$/MWh · losses omitted
Metro price

Supply and dispatch

Block width is available output; height is the energy offer. Green shows accepted output. Network and ramp constraints can make a higher-cost block run before a cheaper one is full.

Accepted outputAvailable outputDemand Dashed block marks: minimum output

Select an offer block to inspect its output bounds, or use the table below.

Resource dispatch and limits
Resource Offer $/MWh Range GW Output GW

Flows and nodal prices

Both views use the same dispatch. The outage check requires it to respect limits before and after the line is removed, without corrective redispatch. Switching views changes the drawing, not the price calculation.

Within limitNear limitAt limit

Prices are the marginal cost of one more MWh at each bus. Outage flows are recomputed on the changed topology.

Bus prices and line flows

Net injection includes any load reduction. Positive line flow goes from the first named bus to the second.

Nodal prices
Bus Load GW Net injection GW Price $/MWh Congestion $/MWh
Flows in the selected network view
Line Flow GW Limit GW

The commitment schedule

An illustrated schedule, not the result of a unit-commitment optimization.

Scripted 24-hour plan
Scripted resource commitment by delivery hour
OnlineStartIllustrated intraday addition REL: manually released for this snapshot

Select a cell, or use arrow keys within the schedule, for resource and hour details. The outlined column is the selected delivery hour.

What the model includes, and what it leaves out

The dispatch calculation

Minimize energy offer cost and any emergency curtailment penalty subject to power balance, resource output bounds, and linear DC branch limits. Curtailment reduces load at its own bus. Demand response is a paid reduction in Metro load, represented as an equivalent injection.

min Σ cᵢPᵢ + 600 Σ sᵦ
qᵦ = Σᵢ at bus b Pᵢ + sᵦ − dᵦ
Σ qᵦ = 0 · |Hᵏq| ≤ Fᵏ
Pᵢ,min ≤ Pᵢ ≤ Pᵢ,max · 0 ≤ sᵦ ≤ dᵦ

P is resource dispatch, d is requested load, s is emergency load curtailment, and q is net bus injection. H maps injections to branch flows; k indexes the intact grid and, when enabled, the selected outage. One GW sustained for one hour is 1,000 MWh, so multiplying this objective by 1,000 gives the cost of the one-hour snapshot in dollars. Prices are reported in $/MWh.

In the real-time example, Pmin = max(online minimum, prior output − ramp × Δt) and Pmax = min(available capacity, prior output + ramp × Δt). Ramp rates are fictional GW/hour values and Δt = 1 hour. Real systems dispatch on a much shorter interval; PJM’s real-time energy market uses five minutes. The prior output is calculated independently from the previous hour’s intact-grid intraday example and stays fixed while you change demand or the outage check. Startup and shutdown trajectories are omitted.

The outage check removes the South–East line and recomputes all remaining flows. It checks that selected contingency, not every possible N-1 outage. Dispatchable headroom is unused output capability, excluding wind and solar; it is neither a reserve award nor a guarantee that extra power can be delivered through the network.

Nodal prices come from the dispatch problem’s linear-programming duals: the marginal offer cost of serving extra demand at each bus with commitment, availability, and ramp bounds held fixed. The energy/congestion split uses West as the reference bus; the total nodal price does not depend on that reference. At a change in the active constraints, a marginal price can be nonunique.

The illustrations

Day-ahead and intraday schedules are prescribed examples. There is no mixed-integer commitment solve, reserve co-optimization, or state-estimation calculation. Minimum up/down times and startup costs are not enforced. The state-estimation tab explains the measurement workflow; its dispatch example uses the same inputs as the intraday tab.

Losses, reactive power, voltage limits, storage energy balance, and market settlement rules are omitted. Storage is a discharge block, so playing hours does not charge or deplete a battery. Releasing fast-start blocks is a manual commitment change for the current snapshot, not an optimized start decision. The fleets, offers, ramp rates, and curtailment penalty are fictional. Actual processes and fast-start rules vary by market.

Further reading: PJM energy markets, MATPOWER’s DC optimal power flow, and DC transfer factors.