Inferensys

Glossary

Unit Commitment

Unit commitment is the forward-looking optimization process that determines the on/off schedule for generating units days in advance to meet forecasted load reliably and at minimum cost, considering start-up times and operational constraints.
Developer reviewing LLM cost optimization spreadsheet on laptop, calculator and coffee on desk, casual finance-technical moment.
POWER SYSTEMS OPTIMIZATION

What is Unit Commitment?

Unit Commitment is the forward-looking optimization process that determines the on/off schedule for generating units days in advance to meet forecasted load reliably and at minimum cost, considering start-up times and operational constraints.

Unit Commitment is a mixed-integer optimization problem solved by grid operators to schedule which generating units will be online or offline over a future horizon, typically 24 to 168 hours. Unlike Economic Dispatch, which allocates load among already-running units, Unit Commitment decides the binary commitment status of each generator, accounting for discrete constraints such as minimum up/down times, start-up costs, and ramp rate limitations.

The objective function minimizes total system production cost—fuel expenses plus transition costs—while enforcing reliability constraints like reserve requirements and transmission limits. Modern solvers use Lagrangian relaxation, mixed-integer linear programming, or dynamic programming to navigate the combinatorial explosion of possible schedules, ensuring that sufficient capacity is synchronized to meet forecasted demand and Contingency Reserve obligations.

Forward-Looking Optimization

Key Characteristics of Unit Commitment

Unit Commitment is a foundational, forward-looking optimization process that determines the on/off schedule for generating units days in advance to meet forecasted load reliably and at minimum cost, considering start-up times and operational constraints.

01

Mixed-Integer Programming Core

Unit Commitment is fundamentally formulated as a Mixed-Integer Programming (MIP) problem. The on/off status of each generator is represented by a binary variable (0 or 1), while the power output is a continuous variable. This mathematical structure makes the problem computationally complex (NP-hard) but allows solvers to find globally optimal schedules that respect all physical constraints.

NP-Hard
Computational Complexity
02

Temporal Coupling Constraints

Unlike simpler dispatch problems, Unit Commitment is defined by intertemporal constraints that link decisions across time periods. Key examples include:

  • Minimum Up/Down Times: Once started, a thermal unit must run for a minimum duration before shutting down, and vice-versa.
  • Ramp Rate Limits: The maximum speed at which a unit can increase or decrease output between hours.
  • Start-Up Costs: A non-linear cost function that depends on how long the boiler has been cooling, making the commitment decision path-dependent.
03

Security-Constrained Formulation

Modern Unit Commitment is almost always Security-Constrained (SCUC). This means the optimization must simultaneously solve for a generation schedule that remains feasible not just under normal conditions, but also during N-1 contingencies—the unexpected loss of any single transmission line or generator. This ensures the resulting schedule is both economically efficient and meets NERC reliability standards for operating reserves.

04

Stochastic vs. Deterministic Approaches

To handle renewable energy variability, Unit Commitment has evolved beyond a single load forecast:

  • Deterministic UC: Uses a single, best-guess load and wind/solar forecast, augmented with conservative reserve margins.
  • Stochastic UC: Explicitly models a scenario tree of possible future net-load outcomes. The solver finds a single commitment schedule that minimizes the expected cost across all probabilistic scenarios, often yielding significant savings by reducing unnecessary reserve procurement.
05

Lagrangian Relaxation Decomposition

For large-scale systems with thousands of units, solving a single monolithic MIP is intractable. Lagrangian Relaxation (LR) decomposes the problem by relaxing the coupling constraints (like the power balance equation) and attaching a Lagrange multiplier (price signal) to them. This breaks the problem into independent, single-unit dynamic programming sub-problems that can be solved in parallel, iterating until the global constraints are satisfied.

06

Day-Ahead Market Clearing Engine

In restructured electricity markets (like PJM, ERCOT, or CAISO), Unit Commitment is the computational engine that clears the Day-Ahead Market. It simultaneously processes generator offers, demand bids, and virtual transactions to produce hourly Locational Marginal Prices (LMPs) and a financially binding schedule for the next operating day, ensuring that enough capacity is secured to meet the forecasted peak load.

UNIT COMMITMENT EXPLAINED

Frequently Asked Questions

Clear, technically precise answers to the most common questions about the forward-looking optimization process that schedules generating units days in advance.

Unit Commitment (UC) is the forward-looking optimization process that determines the on/off schedule for generating units days in advance to meet forecasted load reliably and at minimum cost, considering start-up times and operational constraints. The process works by solving a mixed-integer programming problem that evaluates thousands of binary decision variables—whether each generator should be committed (1) or decommitted (0) for each hourly interval of the planning horizon. The optimization engine simultaneously considers start-up costs, minimum up/down time constraints, ramp rate limitations, and spinning reserve requirements while minimizing total production cost. Modern UC solvers, such as those based on Lagrangian relaxation or branch-and-bound algorithms, process inputs including day-ahead load forecasts, renewable generation predictions, generator heat rate curves, and transmission security constraints to produce a feasible, least-cost commitment schedule.

GRID OPTIMIZATION COMPARISON

Unit Commitment vs. Related Optimization Functions

A comparison of Unit Commitment against other core power system optimization functions, highlighting differences in time horizon, decision variables, and primary objective.

FeatureUnit CommitmentEconomic DispatchAutomatic Generation Control

Primary Decision Variable

Unit on/off status (binary commitment)

Output level of committed units (continuous MW)

Control pulse magnitude and direction

Time Horizon

Day-ahead to week-ahead (24-168 hours)

5 to 15 minutes ahead

Real-time (2-6 second intervals)

Execution Frequency

Once per day (typically)

Every 5-15 minutes

Every 2-6 seconds

Objective

Minimize total start-up, no-load, and variable costs

Minimize variable fuel costs only

Reduce Area Control Error to zero

Considers Start-Up Costs

Considers Minimum Up/Down Times

Considers Ramp Rate Limits

Considers Transmission Constraints

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.