- Introduced by
- Charles J. Baldwin
- Year
- 1959
- Type
- Combinatorial optimization for generator turn-on/turn-off scheduling
- Family
- Integer programming, scheduling
What does it do?
Unit Commitment (UC) decides which power generation units should be switched on or off over a planning horizon, typically 24 to 168 hours, while meeting demand and reserve requirements at minimum operating cost.
The problem is traced to the 1959 work of Baldwin, Dale and Dittrich on the economic shutdown of generating units in daily dispatch. It combines discrete on/off decisions with continuous choices of power output.
The intuition behind the method
Thermal generators have startup and shutdown costs, minimum up and down times, minimum load levels and ramp rate limits. Switching a unit on or off incurs these costs and restrictions, while keeping an unnecessary unit running wastes fuel. UC must choose a commit and decommit schedule that balances these trade-offs across all periods of the horizon. The core difficulty is that the on/off decisions are binary, while the power outputs are continuous and linked to those decisions through cost and constraint relationships. Volatile renewable generation makes the forecasts behind the schedule less certain, which increases the need for fast, flexible UC solutions.
History
Baldwin, Dale and Dittrich's 1959 paper on the economic shutdown of generating units in daily dispatch is the origin cited for the problem. Solution approaches have since expanded from dynamic programming and Lagrangian relaxation to mixed-integer programming and metaheuristics, which are the classes listed under analysis. Stochastic UC addresses renewable uncertainty, and security-constrained UC adds contingency constraints for reliability.
When to use it
Use UC when a system must schedule generators over several hours or days and start-up costs, minimum up and down times or ramping limits materially affect the result. Typical settings are day-ahead market clearing, maintenance scheduling and capacity planning. It becomes more important when many fast-start units, such as gas turbines or batteries, make frequent changes in commitment feasible. It is less needed in systems dominated by baseload units whose commitment hardly changes, where economic dispatch over the horizon may be sufficient. Frequent renewable-driven adjustments make the problem harder and may call for stochastic or rolling-horizon variants. Before applying UC, confirm the modelling assumptions: demand and renewable output are represented by forecasts, generator costs follow a convex or piecewise-linear curve, startup costs are specified for each unit (often depending on how long it has been off), and the reserve requirement is defined either as a fixed amount or as a fraction of forecast demand for each period.
Limitations and considerations
- The mixed-integer structure makes the problem NP-hard, so no polynomial-time algorithm is known for guaranteed global optimality on general instances
- The number of possible on/off combinations grows exponentially with the number of units and the number of periods, so computation time rises rapidly with system size
- Solution quality depends on accurate, forward-looking estimates of demand and renewable output; errors in these forecasts propagate into the schedule
- Very large instances with many units and constraints may require long computation times even with modern solvers, which can limit their use in near-real-time operation
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Represents start-up and shutdown costs and the timing constraints of generators, which a single-period economic dispatch cannot capture
- Handles minimum up and down times, minimum load levels and ramping limits jointly with the commitment decisions
- Decomposition methods such as Lagrangian relaxation separate the commitment decisions from the dispatch problem, which makes large systems tractable
- Its output (commitment schedule, production cost and reserve margins) feeds directly into electricity market clearing and pricing
Applications
- Day-ahead market clearing and locational marginal price calculation by system operators
- Commitment scheduling for utility operations centres and individual power plants
- Security-constrained UC that includes N-1 contingency criteria
- Stochastic UC that incorporates wind and solar forecast uncertainty
- Commitment of fast reserves for frequency regulation and emergency operation
How it works
How it works
Collect generator cost data (startup, shutdown and fuel costs), operating constraints (minimum load and ramping limits), the demand forecast and the reserve requirement for each period of the planning horizon.
Remove options that cannot be optimal, such as units that are never economical to run, and check which units must run to satisfy the constraints. Identify must-run units and units whose minimum uptime or downtime constraints fix their status in part of the horizon.
Solve the commitment problem with a method such as dynamic programming, Lagrangian relaxation, mixed-integer programming or a metaheuristic, aiming for an optimal or near-optimal commitment schedule. The problem minimises total cost over the horizon, which is production cost plus startup and shutdown costs. Binary variables record whether each unit is on in each period, and continuous variables record its output. The main constraints are: a power balance so that total output meets demand in every period; a reserve requirement that committed capacity exceeds demand by a specified margin; minimum and maximum output limits for each committed unit, with zero output when the unit is off; ramp limits between consecutive periods; and minimum up and down times after a change in status.
For each period, given the units committed in the schedule, solve an economic dispatch problem to determine the output of each committed generator.
Report the commitment schedule (which units are on or off in each period), the expected production cost, the reserve margins and the resulting dispatch plan. Sensitivity analysis shows how these results change with the demand forecast and cost inputs. When a mixed-integer solver is used, its reported optimality gap bounds how far the schedule's cost can lie from the best achievable value; heuristic methods give no such bound. Check each period's committed capacity against the reserve requirement, since a schedule that meets demand but falls short of reserve is not operationally acceptable.
Common pitfalls
- Reusing historical commitment patterns as if they were optimal under new demand, cost or renewable conditions
- Omitting ramping constraints, which can make a nominally optimal schedule infeasible when implemented
- Using outdated startup cost data; these costs depend on fuel prices and unit operating conditions
- Setting reserve requirements too high wastes money through unnecessary commitment, while setting them too low raises the risk of supply shortfalls
Frequently asked questions
How is Unit Commitment different from Economic Dispatch?
UC decides which units are on or off across multiple periods and includes their startup and shutdown costs. Economic Dispatch (ED) takes the set of committed units as given and finds their optimal outputs for a single period, without commitment costs. UC is therefore usually solved first, and ED is then solved for each period of the resulting schedule.
Why is UC an NP-hard problem?
UC contains binary variables for the on/off state of each unit in each period. These are coupled with continuous power outputs through cost functions and constraints. The number of possible on/off combinations grows exponentially with the number of units and periods, which is why no general polynomial-time exact method is known.
How can I solve large UC problems in reasonable time?
Decomposition approaches such as Lagrangian relaxation, Benders decomposition or column generation are commonly used. Modern commercial solvers combined with heuristics can often find near-optimal schedules, though large instances may still need substantial computation time. For real-time applications, fast approximations or machine learning surrogates are alternatives, with their accuracy checked against the full problem.
Can UC handle uncertainty in demand and renewables?
Deterministic UC uses point forecasts. Stochastic UC models uncertainty as a set of scenarios, while robust UC seeks schedules that remain feasible across a range of outcomes. Both are harder to solve than the deterministic form, but they become important as renewable penetration increases. Security-constrained UC is a separate variant that adds contingency constraints (N-1 criteria) for reliability, and it can be combined with stochastic modelling.
Related methods
Sources
Baldwin, C. J., Dale, K. M., & Dittrich, R. F. (1959). A study of the economic shutdown of generating units in daily dispatch. AIEE Transactions, 78(3), 272-282.
Open publication referencePadhy, N. P. (2004). Unit commitment in power systems. International Journal of Electrical Power & Energy Systems, 26(5), 363-375.
Open publication referenceWood, A. J., Wollenberg, B. F., & Sheblé, G. B. (2013). Power Generation, Operation, and Control (3rd ed.). Wiley-Interscience.
Open publication reference