Skip to content

Deficit

Deficit is unmet demand: load that available generation cannot serve. The model represents it as a slack variable on the bus balance with a very high penalty cost, which stands for the value of lost load.

The model always has a solution

Deficit is a recourse slack. Without it, the problem would be infeasible whenever generation cannot meet demand. The last deficit segment is unbounded, so the LP is always feasible, whatever the shortfall.

A price on lost load

The deficit cost represents the value of lost load. It is very high, above the thermal, contract and regularization costs, so deficit enters only after the lower-cost resources.

Priced in tiers

Deficit is priced piecewise: each segment covers a depth of unmet load at its own cost, and the costs rise from one segment to the next.

Deficit is the slack that closes the gap between load and generation Load Available generation and imports Deficit Cost by depth segment first segment last segment (unbounded) higher cost The last segment is unbounded, so the problem always has a solution.
Figure: the deficit as a high-cost slack. Schematic illustration, not to scale.
  • Load deficit, by segment MW

Deficit is a variable of each bus, block and segment. It enters the load balance as an injection that closes the gap and is charged at the cost of its segment, weighted by the block duration. Under feasible dispatch it is zero.

  • The deficit segments, in order: for each one, a depth in MW and a cost per MWh. The costs must be positive and strictly increasing.
  • The last segment has no depth, which makes it unbounded.
  • A case-level default for all buses, optionally replaced for a given bus.
  • Deficit segments cannot vary by stage.

Deficit segments come from exactly two sources: the segments declared on the bus in its registry, and, when the bus declares none, the default of the case-level penalty file. The first MW of unmet demand cost the first segment cost, the next ones cost the second segment cost, and so on.

Excess generation is the opposite slack of the same balance: a small regularization cost removes spurious surplus generation. Unlike deficit, its cost has no per-bus field, only the case default, which may be refined by stage.

Each bus and block reports its deficit in MW and its deficit energy in MWh. The stage cost breakdown has a column with the cost of unserved load.