Optimal Unit Commitment Solution Methods - Extended Abstract
Optimal Unit Commitment Solution Methods - Extended Abstract
II. LITERATURE REVIEW The publication [13] present the integration of different
Unit Commitment is identified as a topic of enormous economic methods on a single algorithm in a hope to benefit from the
and technological relevance in the late 1950s, early 1960s. Until advantages of each one and thus improve the effectiveness of
then, the scheduling and dispatch of thermoelectric units was the UC problem resolution. The results confirmed that the use
performed through empirical techniques, typically with priority of hybrid algorithms achieves results, in certain cases, with
lists. These methods were far from optimal in economic terms, greater efficiency than other single methods.
which translated into high production costs and high energy B. Stochastic Unit Commitment
prices practiced to the final consumer. The first studies
Article [14] present a probabilistic model to analyze the risk
produced, [1] and [2], concluded about the need of Unit resulting from the load uncertainty, which translates into the
Commitment in energy systems from an economic point of probability of committing insufficient capacity to compensate
view. They discuss several aspects and solution of the
for unit faults and not foreseen load variations. The presented
scheduling procedures to formulate the Unit Commitment
model solves the problem considering the power plant stops
problem, defining production costs functions and start-up and
random nature, problems in transmission lines as well as
shut-down costs. The defined economic operation criterion to
uncertainty in load forecasting.
minimize the cost function expected value can be obtained
through a constant periodic analysis of an equation that obtains C. Security Constrained Unit Commitment
the best combination of units to allocate. The publication [2] System safety must always be one of the most important aspects
introduces the UC problem application of DP: a major of power systems. The goal of minimizing production costs
breakthrough in power systems optimization. directly conflicts with the need to ensure the safe operation of
A. Classical Unit Commitment an energy system. Several models and methods have been
presented to solve the operational scheduling of units
Dynamic Programming was introduced by Lowery [2] and its considering safety power system restrictions. In [15], John J.
application to the UC problem has since then been studied by
Shaw proposed a new technique to solve System Constrained
several authors. Pang et al. [3] presents a DP approach for
Unit Commitment. The technique includes reserve
thermal units scheduling for a period up to 48 hours, including
requirements and power flow restrictions on transmission lines
start-up costs, spinning reserve and minimum up and down
to ensure system security.
times constraints. [4] compares several types of Dynamic
Programming, and the Priority List method. This comparison D. Profit Based Unit Commitment
showed that different versions of DP allow to achieve With the liberalization of energy markets, the goal of producing
significant reductions in costs. energy at a minimal cost has ceased to make sense, when there
Lagrangian Relaxation is proposed on [5] and [6]. The main are other competing companies on the market. On [16], the
processes involve solving the dual problem in an approximate formulation of the Profit Based UC problem is presented in a
way, ignoring load or reserve constraints. An iterative process perspective based on the new reality of the markets, where one
finds the possible dual reserve solution, properly adjusting does not try to minimize the cost, but to maximize the profit,
Lagrange multipliers. Finally, for the given viable dual reserve which makes sense on non-monopolized markets.
solution, a viable global solution is obtained by executing an
Economic Dispatch (ED) to satisfy the energy balance E. Unit Commitment with Environmental Considerations
equations. This method has been used for decades in the UC Article [17] analyze the problem with environmental
problem solving and still has a major importance in helping considerations, namely, the gas emissions from thermal units.
other more advanced methods [7]. Fuel costs and emissions minimization are contradictory
Mixed Integer Programming (MIP) is presented by John A. objectives, turning the problem into a multi-objective
Muckstadt et al. [8] for the simultaneous resolution of the optimization whose solution is represented by Pareto fronts:
thermoelectric UC and ED problems. A.I. Cohen et al. [9] compromise curves between polluting emissions and fuel costs.
present a Branch and Bound algorithm, which is a
F. Unit Commitment with Several Technologies
combinatorial optimization method that discards non-viable
solutions across lower and upper boundaries. A Mixed Integer Environmental concerns have considerably increased, a
Linear Programming (MILP) technique is proposed [10], which particularly key factor on the UC problem, due to pollutants
can be used for regulated or deregulated markets. The algorithm emissions. It was concluded that to reduce emissions of these
also provides the marginal energy price according to the substances, it would be necessary to implement new ways of
constraints of the system. introducing renewable energy technologies, which have a small
Genetic Algorithms (GA) are applied to the UC problem on the environmental impact. The article [18] present a strategy to
article [11]. GA are a class of Evolutionary Algorithms that use integrate thermal, hydro and renewable energy units.
techniques inspired by evolutionary biology such as heredity, G. Conclusions
mutation, and crossover.
The studies published during the last 50 years show a
Particle Swarm Optimization method is presented to solve the
complexity increase on the UC problem. The growing
UC problem on [12]. The method uses the particles information
complexity of the problem has been accompanied by a constant
to control the mutation operation and is similar to civil society
as a group of "leaders" influence the rest of the population in evolution of techniques used in its resolution. Nowadays, the
choosing a better decision. most used methods are Evolutionary and MIP Algorithms.
3
Generating units impose other restrictions on their 1. Defines a small part of the problem, finding an optimal
characteristics and physical constraints. This includes unit solution for this part;
capacity and production variance (positive: ΔUpj or negative: 2. It slightly expands this small part of the problem, finding the
ΔDownj) or minimum number of hours that the unit should be optimal solution for the new problem using the optimal solution
in each state: 1-ON (HONminj) or 0-OFF (HOFFminj). previously found;
3. Continues process 2 until the expansion of the problem leads
Production Range Restrictions: to a problem that encompasses the fullness of the original
PMinj × Ut,j ≤ Pt,j ≤ PMaxj × Ut,j (8) problem. With this problem solved, the stopping conditions are
satisfied;
Ramp Restrictions: 4. The problem solution is constructed from the optimal
-ΔDownj ≤ Pt,j - Pt-1,j ≤ ΔUpj (9) solutions found for the small problems solved throughout the
process.
Minimum Uptime and Downtime Constraints:
HONj (t) ≥ HONminj and HOFFj (t) ≥ HOFFminj (10) To avoid a complete enumeration of all states, two variables can
be added to the algorithm, n and m:
• n = number of states to search in each period.
• m = number of strategies or paths to save at each step.
Given that the energy production cost function considered in q(λ) = min Ptj, Utj ℒ(P,U, λ) (14)
this work is quadratic, the lossless economic dispatch will be
computed through quadratic programming, by MATLAB The minimum of the function (14) is found for a certain optimal
function, quadprog. As the name implies, this "special" generation, Poptj, through its first derivative.
function minimizes the production costs quadratic function by There are three distinct cases to keep in mind, depending on the
analyzing different system and unit variables. The quadprog Poptj relation with the generating units limits:
function provides the optimal output that each unit must If Poptj ≤ PMinj , so:
generate to match the demand for a given combination. The
function is presented in [20]. min [Cj (Pj) - λt Pt,j ] = Cj(PMinj) - λt PMinj (15.a)
After obtaining the optimal production of each unit for a certain If PMinj ≤ Poptj ≤ PMaxj , so:
combination and hourly demand, the minimum production cost
is obtained by adding the production cost quadratic functions, min [Cj (Pj) - λt Pt,j ] = Cj(Poptj) - λt Poptj (15.b)
for Pj, of all units committed. If Poptj ≥ PMaxj , so:
For a certain hourly demand, the process of finding the
min [Cj (Pj) - λt Pt,j ] = Cj(PMaxj) - λt PMaxj (15.c)
combination with the lowest cost of production can be a
complicated task because of the many variables on which it
It should be noted that, in order to minimize q(λ) in each state
depends and the various combinations of possible states. This
and that when the state Ut,j=0 this value is zero, then the only
process will be carried out through an increasing ordering
way to get a lower value is by having:
function, with the first element being the least cost combination.
[Cj (Pj) - λt Pt,j ] < 0 (16)
To incorporate start-up costs into the DP algorithm, when a unit
changes from "0 state" to "state 1", it is sufficient to store the B. Algorithm
previous unit state in memory and compare it with the state of
the combination to be considered:
• If the difference between the current state and the previous
state is greater than zero, it means that the unit has been turned
on in the current period and the unit starting cost in question
must be added.
• If not, the unit has been switched off or it is on for at least two
consecutive hours, with no additional costs.
V. LAGRANGIAN RELAXATION
The great resulting benefits from using Lagrangian Relaxation
are the decomposition of the problem, where each unit becomes
a single entity, being optimized individually. Thus, the
commitment of each unit is done optimally, but independently
of the others. The main advantage of this method is achieved
due to the load restrictions relaxation, not requiring the
generated power to be equal to the demand at all the iterations.
A possible solution is obtained by the iterative update of
Lagrange multipliers, which approaches the relaxed solution,
called the dual solution, to the solution that respects the load
restrictions: the so-called primal solution.
The Lagrangian function is formed in the same way as in the
Economic Dispatch problem resolution [19]:
ℒ = ∑𝑇𝑡=1 ∑𝑁𝑗=1[𝐶 j(Pt,j) + SCostt,j ] × Ut,j + ∑𝑇𝑡=1 𝜆t Dt - ∑𝑇𝑡=1 ∑𝑁𝑗=1 𝜆t Pt,j Ut,j (12)
C. Duality Gap 3. Compare fitness of each particle their best pbest so far. This
The difference between the primal and dual solutions is called process can be defined as follows:
duality gap, which must be minimized by approaching the dual 𝑝𝑏𝑒𝑠𝑡𝑘𝑖 = 𝑓𝑖𝑡𝑛𝑒𝑠𝑠(𝑥𝑘𝑖 )
If 𝑓𝑖𝑡𝑛𝑒𝑠𝑠(𝑥𝑘𝑖 ) < pbestik ,Then: { 𝑖 (20)
value to the primal value. 𝑥𝑘,𝑝𝑏𝑒𝑠𝑡 = 𝑥𝑘𝑖
The interval between the maximization of the dual cost
functions (q*) and the minimization of the primal cost functions 4. Compare fitness of all particles to find gbest, according to the
(J*), called the relative duality gap (Δ), can be used as a stop following expression:
criterion. Therefore, the duality gap is used as a measure of 𝑔𝑏𝑒𝑠𝑡 𝑖 = 𝑓𝑖𝑡𝑛𝑒𝑠𝑠(𝑥𝑘𝑖 )
If 𝑓𝑖𝑡𝑛𝑒𝑠𝑠(𝑥𝑘𝑖 ) <gbesti , Then: { 𝑖 (21)
convergence, being given by the following expression: 𝑥𝑔𝑏𝑒𝑠𝑡 = 𝑥𝑘𝑖
𝐽∗ − 𝑞∗
Δ= 𝑞∗
(17) 5. Update the velocity of each particle to the next iteration,
where w is the weight of inertia, c1 and c2 are constants and
D. Adjusting λ
rand is a random variable that assumes values between 0 and 1
Throughout this work, the Lagrange multipliers adjustment will in a uniformly distributed form:
be done as follows, as proposed in [19]: vk i+1= w ×vk i+c1 ×rand ×(𝑥𝑘,𝑝𝑏𝑒𝑠𝑡 - 𝑥𝑘𝑖 )+c2 ×rand ×( 𝑥𝑘,𝑝𝑏𝑒𝑠𝑡 - 𝑥𝑘𝑖 ) (22)
𝑑
λt = λt + [ 𝑑𝜆 q(λ) ] ε (18)
𝑤𝑚𝑎𝑥 − 𝑤𝑚𝑖𝑛
Where: w = 𝑤𝑚𝑎𝑥 − ×𝑖 (23)
𝑖𝑚𝑎𝑥
𝑑
ε = 0.01 When
𝑑𝜆
q(λ) > 0 (19.a)
6. Move each particle to a new position:
𝑑 0 𝑠𝑒 𝑟𝑎𝑛𝑑 ( ) ≥ 𝑠𝑖𝑔𝑚𝑜𝑖𝑑(𝑣𝑘𝑖+1 )
ε = 0.002 When q(λ) < 0 (19.b) 𝑥𝑘𝑖+1 = { (24)
𝑑𝜆 1 𝑠𝑒 𝑟𝑎𝑛𝑑 ( ) < 𝑠𝑖𝑔𝑚𝑜𝑖𝑑(𝑣𝑘𝑖+1 )
With:
VI. PARTICLE SWARM OPTIMIZATION
The particle swarm simulates a type of social optimization 7. Repeat from step 2 until desired convergence is achieved.
where each proposed solution (particle) is evaluated through an
B. Algorithm
eligibility function, with the best leading the rest through the
iterative process. This process is initiated to iteratively improve
the candidate solutions, with the particles evaluating the
suitability of these solutions, remembering the location where
they had the best success. Each particle provides this location
to adjacent particles, which also have access to the location
where their neighbors have been most successful. The
movements through the search space are guided by these
successes, with the population converging, generally, to the best
solution of the problem (or near it), at the end of the process.
Initially, the particles can randomly move in the search space,
shifting according to the velocities derived from their current
position and that of other particles in the swarm. The objective
function of the problem is solved using each particle, and its
assessed value is called fitness. Particles cross the entire search
space with their own experience and that of others, with
experience meaning their best physical value.
The best individual fitness value is stored as pbest (personal
best) and the best of all particles is stored as gbest (global best).
The social interaction between particles causes them to learn
from each other and motivate them to move to better positions.
So, the next movement of a particle, in a certain iteration, is
motivated by experience, with its new velocity being influenced
by its better physical fitness and that of its neighbors.
A. Procedures
The PSO algorithm steps based on a fully connected network
will be discussed below:
1. Randomly initialize the swarm of dimension equal to E
particles, with a particle pk on the position xk1 of the search
space, in iteration 1;
2. Compute the fitness value of each particle fitness(xi);
Fig. 7: PSO algorithm flow chart [21]
7
C. Application of PSO
Table 2 presents, for each method, the computation time, the
The characteristic PSO parameters used in this problem will be
total cost and its relative percentage difference in relation to the
E=50, imax=10, wmax=0.9 e wmin=0.4. The computational
optimal solution cost.
execution of the ten iterations took 50 seconds with a total
operational cost of CTotal =452510€.
TABLE 2
COMPARATIVE DATA BETWEEN ALGORITHMS
DP LR PSO
tcomp [s] 1766s 4.29 49.7
CTotal [€] 451251 459996 452510
𝑶𝒑𝒕 𝑶𝒑𝒕
(𝑪𝑻𝒐𝒕𝒂𝒍 − 𝑪𝑻𝒐𝒕𝒂𝒍 )/𝑪𝑻𝒐𝒕𝒂𝒍 [%] 0 1.94 0.28
∑𝑁 𝐻
𝑗=1 𝑃𝑀𝑎𝑥 j×Ut,j + ∑ℎ=1(𝑃ℎ𝑀𝑎𝑥h×Ut,h -Ppumpt,h) ≥Dt+Rt- Pwindt (26)
[15] John J. Shaw, “A direct method for security constrained [22] Chao-An Li, R. B. Johnson, A. J. Svoboda, Chung-Li
unit commitment”, IEEE Transactions on Power Systems, Tseng and E. Hsu, "A robust unit commitment algorithm
vol.10, no.3, pp. 1329-1342, Aug. 1995. for hydro-thermal optimization", Proceedings of the 20th
[16] C. W. Richter, G. B. Sheblé, “A profit-based unit International Conference on Power Industry Computer
commitment GA for the competitive environment”, IEEE Applications, Columbus, OH, 1997, pp. 186-191.
Transactions on Power Systems, Vol. 15, No. 2, May 2000.
[17] J. Catalão, S. Mariano, V. Mendes, L. Ferreira, “Unit
commitment with environmental considerations: a
practical approach”, 15th PSCC, Liege, 22-26 August
2005.
[18] Castro M, Peire J, Carpio J, Valcarcel M and Aldana F,
“Large Grid Solar Energy Integration Analysis”,
Proceedings of Annual Conference of Industrial
Electronics Society, vol.3, pp.575-580, Oct 1988.
[19] Allen J. Wood and Bruce F. Wollenberg, “Power
Generation, Operation and Control”, Wiley & Sons, USA,
1996.
[20] https://courses.csail.mit.edu/6.867/wiki/images/e/ef/Qp-
quadprog.pdf
APPENDIX
TABLE A
DATA OF THE GENERATING UNITS USED ON THE CASY STUDY
Unit Pminj PMaxj aj bj cj SCostj HONminj HOFFminj Ini. State
j [MW] [MW] [€/MW2] [€/MW] [€/h] [€] [h] [h] [h]