# Unit commitment problem

Authors: Fah Kumdokrub, Malcolm Hegeman, Kapil Khanal (SYSEN 6800 Fall 2021)

## Introduction

Unit commitment(UC) is a fundamentally NP-hard, mixed-integer nonlinear, non-convex optimization problem. It is used for optimizing the power generators schedule such that their operating cost is kept low over some time units(planning horizon) and within operating requirements. The problem involves integer decision variables- to operate the generators and the level of production from generators. This avoids the need for constantly running the generators.

Higher generation from renewable energy sources (RES) and responsive demand participation has made the UC problem a hard challenge, mainly due to the unpredictability and the high variability of RES

## Theory, methodology, and/or algorithmic discussions

### Mixed Integer Non-Linear Programming

The Unit Commitment Problem (UC) is a large-scale mixed-integer nonlinear program for finding the low-cost operating schedule for power generators. These problems typically have quadratic objective functions and nonlinear, non-convex transmission constraints. Typically both of these are linearized for the computational speed up

Objective function = $\min \sum _{g\in G}\sum _{t\in T}c_{g}(t)$ such that

$\sum _{g\in {G}}A_{g}(p_{g},{\bar {p}}_{g},u_{g})+N(s)=L$ $(p_{g},{\bar {p}}_{g},u_{g})\in \prod _{g}$ Here $c_{g}$ is the cost vector associated with $p_{g},{\bar {p}}_{g},u_{g}$ , such that the objective function is to minimize system operation cost. The vectors $p_{g},{\bar {p}}_{g},u_{g}$ represent the feasible generation schedule, maximum power available, and the on/off status for generator $(g)$ , respectively. The matrix $A_{g}(p_{g},{\bar {p}}_{g},u_{g})$ determines how the generator interacts with the system requirements.

General technical constraints presented are 

• Convex productions costs
• Minimum and maximum output levels
• Ramping constraints
• Minimum up and downtime

### Dynamic Programming Based Approach

Dynamic programming is an optimization approach that transforms a complex problem into a sequence of simpler problems; its essential characteristic is the multistage nature of the optimization procedure. It takes some creativity in coming up with the formulations of dynamic programming for a problem. Also, various heuristics are applied to decrease the search space and computation time. Following is the dynamic programming problem formulation 

$F_{cost}(T,R)=\min _{P}{P_{cost}(T,R)+S_{cost}(T-1,P:T,R)+F_{cost}(T-1,P)}$ where
$F_{cost}(T,R)={\text{Minimum cost price at state}}(T,R)$ $P_{cost}(T,R)={\text{The production cost at state}}(T,R)$ $S_{cost}(T-1,P:T,R)={\text{The transition cost price from state}}(T-1,P){\text{ to }}(T,R)$ $T={\text{Number of hours}}$ $R={\text{Stage of DP execution}}$ #### Other methods in literature

Apart from these two methods, there are other several methods outlined 

• Priority List Method
• Lagrangian Relaxation method
• Branch and Bound Method
• Genetic algorithm based approach

## Numerical example

### Single Period Unit Commitment

Consider an electricity market with a particular load profile, as seen below. This demand varies throughout the course of a 6-hour period and must be satisfied by the electrical energy output from a set of three generators. Each generator has a set energy output limit, as well as unit production cost associated with energy generation. Each generator may be in an on or off state and may be started or stopped throughout the 6-hour period. The utility may wish to operate the system so that the load demand is met while minimizing cost.

#### Solution

The following variables are assigned to the system:

$I\qquad$ set of generators indexed by i

$T\qquad$ Set of time intervals indexed by t

$g_{i}\qquad$ power output of generator i

$c_{i}\qquad$ cost of unit generation of generator i

$u_{i,t}\qquad$ binary on / off decision of generator i at time t

$G_{i,min}\qquad$ minimum output of generator i

$G_{i,max}\qquad$ maximum output of generator i

The three generators have the following characteristics:

Table 1 Generator power and unit cost

 G1 G2 G3 Power (MW) 800 700 1200 \$ / MWh 88 110 125

To determine the generator schedule, we carry out the following optimization problem to meet demand over the 6-hour period, while minimize operating cost, using a dynamic programming approach.

min $\sum _{i\in I}g_{i}*c_{i}$ such that

$G_{i,min}*u_{i,t}\leq g_{i}\leq G_{i,max}*u_{i,t},\forall i\in I$ `$\sum _{i\in I}g_{i}*u_{i,t}\geq d_{i,t},\forall t\in T$ $u_{i,t}\in \{0,1\},\forall i\in I,\forall t\in T$ The feasible unit combinations (states) of the generators are determined by calculating the power output for each generator combination and denoting which combination is able to satisfy the energy demand at each interval.

Costs are then calculated for each combination and the optimum combination that minimizes cost for each period may be selected, as seen below.

## Applications

Unit commitment problems can be further adjusted for components that reflect the real-world problem. A simple categorization can be divided into two major groups. One is related to the commitment of power generation/production/manufacturing process, and the other group involves output allocation to the committed units, often known as unit commitment and economic dispatch .

### Single-Period Unit Commitment

This type of problem usually optimizes the number of power generators for each facility/plant to meet the demand in a specific period. Although this might not be the case study in real-world scenarios, starting off with this type of unit commitment optimization problem might help check the correctness of other constraints before adding the complexity of time and other power generating units’ components.

### Multi-Period Unit Commitment

Many times, the production of power should be planned in advance. This planned period could be for months, weeks, or even overnight to avoid under or over-power generation and minimize the total number of generators needed. And these problems would require a multi-period unit commitment optimization.

### Unit Commitment with Additional Constraints

There are many more criteria that can be added to the unit commitment problem to truly reflect the system. Some scenarios may be required reserve constraints to ensure sufficient supply in response to a spike in demand . Ramping constraints can also be added since the generators take time to start and stop the process which both affect the cost and amount of power output . Types of power affect the optimization whether they come from a single source or multiple sources  .

### Unit Commitment and Economic Dispatch

With any attributes to the unit commitment problem, the economic aspects are always involved meaning that the allocation of power generation (energy output) for each committing unit must be economical with all the costs and revenues. Power generator plants not only need to meet the demand, but they also need to operate in the most economical ways, at the lowest possible cost or the highest possible profit. There are many costs involved in generating power, for example, the cost per unit of power generations, the cost of shutting down or starting up the generator, the cost of over generating power since it may cause damage to the plant, and there are many other costs and benefits that could be considered to the problem.

Commercialized unit commitment software is also available for use. For example, Power Optimisation company developed a software named POWEROP which is more generalized to wide ranges of users or power companies, customized software for Northern Ireland Electricity (NIE), and software developed specifically for the British Electricity Trading and Transmission Arrangements (BETTA) . Software for NIE considers power from multiple sources, including gas, coal, and oil-fired steam . Additionally, software for BETTA can generate electricity prices for both the general market and individuals by contract . The software was developed from a multi-stage mixed-integer linear programming (MILP) and adapted the constraints to serve customers’ specific requirements .

## Conclusion

The unit commitment problem considers how to best deploy energy generation resources to meet energy demand imposed by the market, while optimizing for some target – typically operating costs. There are several methods that may be utilized to solve the UC problem, including Mixed Integer Non-Linear Programming and Dynamic Programming based approaches. The implications of the UC problem extend far beyond the cost saving benefits, including resource conservation and sustainability domains.