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.
Why it matters
Seção intitulada “Why it matters”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.
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.
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.
A high-cost slack closes the gap
Seção intitulada “A high-cost slack closes the gap”What the model decides
Seção intitulada “What the model decides”- 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.
What you provide
Seção intitulada “What you provide”- 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.
How the deficit cost is resolved
Seção intitulada “How the deficit cost is resolved”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.
The mirror: excess
Seção intitulada “The mirror: excess”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.
In the results
Seção intitulada “In the results”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.
Go deeper
Seção intitulada “Go deeper”For those who run the model
Seção intitulada “For those who run the model”Files where this entity appears.