Lecture Note on Power System Optimization1
Lecture Note on Power System Optimization1
constraints of the problem. An optimum of the constrained problem is judged by the comparison of
admissible points.
In an optimization problem, the objective is to optimize (maximize or minimize) some function 𝑓. This
function 𝑓 is called the objective function. Formulation of an optimization problem involves taking
statements, defining general goals and requirements of a given activity, and transcribing them into a
series of well-defined mathematical statements. Single Objective Optimization is an effective approach
to achieve a “best” solution, where a single objective is maximized or minimized. In comparison,
Multiple Objective Optimization can derive a set of non-dominated optimal solutions that provide
understanding of the trade-offs between conflicting objectives.
For instance, an objective function to be maximized or minimized may be the revenue in a production of
TV sets, the yield per minute in a chemical process, the mileage per liter for a certain type of car, the
hourly number of customers served in a bank, the hardness of steel, or the tensile strength of a rope.
Conversely, one may like to minimize 𝑓 if 𝑓 is the cost per unit of producing certain Android phones, the
operating cost of some power plant, daily loss of heat in a heating system, the cost of gasoline used in
generating stations etc.
In most optimization problems the objective function 𝑓 depends on several variables
𝑥1 , . . . . 𝑥𝑛 (1)
In many problems the choice of values of Eqn. (1) is not entirely free but is subject to some constraints,
i.e., additional restrictions arising from the nature of the problem and the variables. For example, if 𝑥1 is
production cost, then 𝑥1 ≥ 0, and there are many other variables (time, weight, distance travelled by the
salesman, etc.) that can be take nonnegative values only.
Constraints can also have form of equations (instead of inequalities).
Decision Variables:
These are numerical quantities or which values are to be chosen in producing an optimum design. Such
quantities are length, mass, time, displacement, temperature, number etc. it is often represented as a
vector:
𝑋 = (𝑋1 , 𝑋2 , 𝑋3 , . . . 𝑋𝑛 ) 𝑓𝑜𝑟𝑎𝑛 𝑛 − 𝑑𝑖𝑚𝑒𝑛𝑠𝑖𝑜𝑛𝑎𝑙 𝑝𝑟𝑜𝑏𝑙𝑒𝑚.
Objective functions: This is an equation or expression associated with the system that the designer(s)
desire to optimize (maximize or minimize). In vector form, the objective function is represented by
𝐹 = 𝑓(𝑥) = 𝑥1 , 𝑥2 , 𝑥3 , . . . 𝑥𝑛 are the variable systems which varies from one variable system to n
variable system.
f(x)
f(x)
x x2 x1
The selection of the objective function is often the most important decision of the whole design process.
The nature of the objective function often influences the selection of the most efficient optimization
technique. An objective function is a single scalar value that is formulated from a set of design
responses. For example, if the design responses are defined from the strain energy of the nodes in a
region, the objective function could minimize the sum of the design responses; i.e., minimize the sum
of the strain energy, in effect maximizing the stiffness of the region. In optimization, we either
Page 3 of 45
maximize a function or minimize a function. The minimum and maximum value of the variable are
referred to as the turning point of the system.
Min
Max
Saddle
pt
Problem Variables: These are the individual elements in a group of independent variable parameters that
uniquely and completely define the design problem being considered. The variables are unknown values to be
solved in the optimization process (e.g., length, temperature, mass, time, current, voltage, resistance, etc.,).
Powell’s method and others like it will find wide application. Methods like incremental search and internal halving
are very suited for one-dimensional system only.
Let the design variable be:
That is:
𝑆1 = (100 . .0000)𝑡
𝑆2 = (010 . .0000)𝑡
𝑆3 = (001 . .0000)𝑡
.
.
𝑆𝑛 = (000 . .0001)𝑡
𝑆𝑛+1 = 𝑆1
If our starting point is 𝑆𝑞 and we take a step of length 𝛼𝑞 in the direction 𝑆𝑞 , then 𝑋𝑞+1 = 𝑋𝑞 + 𝛼𝑞 𝑆𝑞 ,
Use the value of 𝛼 to determine the new co-ordinate point. At the end of the cycle, the new direction is
given by 𝑆 = 𝑋 − 𝑌, where X is the current (new) co-ordinate point and Y is the old co-ordinate point.
The problem is to actually minimize
Example 1: Minimize 𝐹(𝑥) = 3𝑥12 + 𝑥22 − 12𝑥1 − 8𝑥2 , using Powel’s method. Start with F(0,0).
Solution:
Set Y = X = [0,0]
F(0, 0) = 0
Cycle 1:
Step1:
Page 7 of 45
Change
(0) (0) (0) (0) (0)
𝑥𝑖1 = 𝑥𝑖 + 𝛼𝑖 𝑆𝑗 = 𝑥1 𝛼1
Step 2:
(1) (0) (0) (0) (0) (0)
Change 𝑥2 𝑡𝑜 𝑥2 + 𝛼2 𝑆2 = 𝑥2 + 𝛼2
(1) (1)
Substituting the new 𝑥1 and the present 𝑥2 in the objective function, we obtain:
(1) (0) (0) (1) 2 (0) (0) 2 (1) (0) (0)
𝐹(𝑥1 , 𝑥2 + 𝛼2 ) = 3(𝑥1 ) + (𝑥2 +𝛼2 ) − 12(𝑥1 ) − 8(𝑥2 + 𝛼2 )
(1) 2 (1)
Hence, 𝐹(𝑥1 + 2𝛼1 , 𝑥2 ) = 3(𝑥1 + 2𝛼1 ) + 𝑥22 − 12(𝑥1 + 2𝛼1 ) − 8𝑥 2
Page 8 of 45
(2)
Thus,𝐹 ′ (𝛼1 ) = 6(2 + 2𝛼1 )2 − 24 = 0 which yields 𝛼1 = 0 𝑖. 𝑒. , 𝑥1 = 2
There is no need to test for convergence since there is no change in 𝑥1 .
Step 2:
(2) (1) (1) (1) (1)
Change 𝑥2 𝑡𝑜 𝑥2 + 𝛼2 = 𝑥2 + 4𝛼1
Having completed one cycle and a new value of S will be obtained via
𝑆𝑛𝑒𝑤 = 𝑋 − 𝑌
where X = new value for x and Y = old value for x.
𝑆𝑛𝑒𝑤 = (2 − 0; 4 − 0) = (2, 4)
Repeat the cycle with this new value of S
Now 𝑥1 → 𝑥1 + 𝑆𝛼 = 2 + 2𝛼
𝑭(𝒙) = 𝟑(2 + 2𝛼 )𝟐 + 𝟏𝟔 − 𝟏𝟐(2 + 2𝛼 ) − 𝟑𝟐
𝜕𝑓
= 2 × 3(2 + 2𝛼) × 2 − 24
𝜕𝛼
∴𝛼=0
Secondly 𝑥2 = 𝑥2 = 4
Since 𝛼 = 0 it means that 𝑥1 does not need any change and therefore 𝑥1 𝑟𝑒𝑚𝑎𝑖𝑛𝑠 2
Hence, 𝑥2 → 𝑥2 + 𝑆𝛼 = 4 + 4𝛼 𝑤ℎ𝑖𝑙𝑒 𝑥1 = 𝑥1 = 2
𝑭(𝑥) = 3𝑥12 + 𝑥22 − 12𝑥1 − 8𝑥2
𝐹(𝑥) = 12 + (4 + 4𝛼)2 − 24 − 8(4 + 4𝛼)
𝜕𝑓
= 2(4 + 4𝛼) × 4 − 32 = 0
𝜕𝛼
∴𝛼=0
Also, since 𝛼 = 0, then 𝒙𝟐 does not any further change remain at 𝑥2 = 4
∴ Optimum point =F(x) = -28 and the variable that produces this point are 𝑥 = 2, 4.
𝑂𝑝𝑡𝑖𝑚𝑢𝑚 𝑝𝑜𝑖𝑛𝑡 = −28
𝑉𝑎𝑟𝑖𝑎𝑏𝑙𝑒 𝑎𝑟𝑒 𝑥 = 2, 4.
GRADIENT METHODS
Unlike Powell’s method, all the variables are changed simultaneously for one cycle of the gradient
method. There are many types of gradient methods but we are going to treat to treat the steepest
decent/ascent method.
A large number of multi-dimensional optimization algorithms depend in some way in gradient
information.
In general, we have an n-dimensional vector 𝑦 = (𝑥1 , 𝑥2 ,. . . , 𝑥𝑛 ). In order to find the optimum of a
function, f, we consider a vector 𝑚𝑗 such that 𝑚1 is the direction of move or change of 𝑥1 𝑎𝑛𝑑 𝑚2 𝑖𝑠
the direction of change or move of 𝑥2 𝑎𝑛𝑑 𝑚𝑛 is the direction of change or move of 𝑥𝑛 .
𝑚1 is the direction of change or move of 𝑥𝑛
𝑚2 is the direction of change or move of 𝑥2
𝑚3 is the direction of change or move of 𝑥3
𝑚𝑛 is the direction of change or move of 𝑥𝑛
(𝑖)
That is, from position 𝑥𝑗 we move to a new position
(𝑖+𝑗) (𝑖) (𝑖)
𝑥𝑗 = 𝑥𝑗 + 𝑆𝑚𝑗 (1)
where S is the magnitude of the step size and for a 2-dimensional case.
For n-dimensional case (n-decision variables case), we have;
𝑛
𝑛 2 𝑛 2
𝑑𝑥𝑗 𝑑𝑥𝑗
1 = √∑ ( ) = ∑ ( ) (3)
𝑑𝑆 𝑑𝑆
𝑗 𝑗
This change of size will cause a change in the objective function f given by:
𝜕𝑓 𝜕𝑓 𝜕𝑓 𝜕𝑓
𝑑𝑓 = 𝑑𝑥1 + 𝑑𝑥2 + 𝑑𝑥3 + . . . + 𝑑𝑥
𝜕𝑥1 𝜕𝑥2 𝜕𝑥3 𝜕𝑥𝑛 𝑛
Dividing by dS throughout we have;
𝑛
𝑑𝑓 𝜕𝑓 𝑑𝑥1 𝜕𝑓 𝑑𝑥2 𝜕𝑓 𝑑𝑥3 𝜕𝑓 𝑑𝑥𝑛 𝜕𝑓 𝑑𝑥𝑗
= + + + . . . + =∑ (4)
𝑑𝑆 𝜕𝑥1 𝑑𝑆 𝜕𝑥2 𝑑𝑆 𝜕𝑥3 𝑑𝑆 𝜕𝑥𝑛 𝑑𝑆 𝜕𝑥𝑗 𝑑𝑆
𝑗=1
𝑑𝑓
A particular setoff displacement 𝑑𝑥𝑗 will make as large or as small as possible. This is the direction
𝜕𝑥𝑗
of the steepest ascent or descent. The problem may be stated as follows:
𝑑𝑓 𝜕𝑓 𝑑𝑥𝑗
Min/Max = ∑𝑛𝑗=1
𝑑𝑆 𝜕𝑥𝑗 𝑑𝑆
𝑑𝑥 2
s.t. ∑𝑛𝑗=1 ( 𝑑𝑆
𝑗
) =1
This is a constrained optimization problem, which must be converted to an unconstrained optimization
problem.
Min/Max:
𝑛 𝑛 2
𝜕𝑓 𝑑𝑥𝑗 𝑑𝑥𝑗
𝐿=∑ − 𝜆 {∑ ( ) − 1}
𝜕𝑥𝑗 𝑑𝑆 𝑑𝑆
𝑗=1 𝑗=1
Solution Steps:
𝑑𝑥𝑗
Step 1: Differentiate L with respect to and set to zero.
𝑑𝑆
𝑑𝐿 𝑑𝑓 𝑑𝑥𝑗
𝑑𝑥𝑗 = − 2𝜆 =0 𝑓𝑜𝑟 𝑗 = 1, 2, 3, . . . , 𝑛 (5)
⁄ 𝑑𝑥𝑗 𝑑𝑆
𝑑𝑆
Step 2:
Differentiate L w.r.t 𝜆 and setto zero, then it gives;
𝑛 2
𝑑𝑥𝑗
∑( ) = 1 (6)
𝑑𝑆
𝑗=1
𝑑𝑥𝑗 1 𝑑𝑓
From Eqn. (5) = 2𝜆 . 𝑑𝑥 (7)
𝑑𝑆 𝑗
Substituting eqn. (7) into (6) gives;
𝑛 2
1 𝑑𝑓
2
∑( ) = 1 (8)
4𝜆 𝑑𝑥𝑗
𝑗=1
2
𝑑𝑓
and 2𝜆 ± √∑𝑛𝑗=1 (𝑑𝑥 ) =1 (9)
𝑗
Note that from eqn. (8) the change in xj as we make a move is given by:
𝑑𝑥𝑗 1 𝑑𝑓
= 2𝜆 . 𝑑𝑥 𝑗 = 1, 2, . . . 𝑛 and that our new position is:
𝑑𝑆 𝑗
𝑑𝑥𝑗 (𝑖)
𝑥𝑗𝑖+1 = 𝑥𝑗𝑖 , 𝑆 = 𝑥𝑗 + 𝑚𝑗
𝑑𝑆
Page 11 of 45
𝑑𝑓
𝑑𝑥𝑗 1 𝑑𝑓 𝑑𝑥𝑗
where 𝑚𝑗 = = 2𝜆 . 𝑑𝑥 = ± (10)
𝑑𝑆 𝑗 2
𝑑𝑓
√∑𝑛
𝑗=1(𝑑𝑥 )
𝑗
The positive sign increases f and therefore it is ascent while the negative sign decreases f and is for descent.
The numerator is the gradient and the denominator is the normalizing factor. To find the step S, substitute
𝑥𝑗𝑖+1 in f and minimize w.r.t. S in order to find the optimum step size. We can test if the optimum obtained
is a minimum or maximum by checking the Hessian matrix. For minimum, H is positive definite at x.
test for convergence |𝑓(𝑥𝑗𝑖+1 ) − 𝑓(𝑥 𝑖 )| ≤ 𝜀
Solution
𝜕𝑓
± ⁄𝜕𝑥
𝑗
Applying 𝑀𝑗 = 2
𝜕𝑓
√∑𝑛
𝑗=1( )
𝜕𝑥𝑗
𝜕𝑓 𝜕𝑓
= 6𝑥1 − 12 and = 2𝑥2 − 8
𝜕𝑥1 𝜕𝑥2
Substituting the initial conditions of 𝑥 0 = (0, 0)
𝜕𝑓 𝜕𝑓
| = −12 𝑎𝑛𝑑 | = −8
𝜕𝑥1 𝑥 0 𝜕𝑥2 𝑥 0
1 2
−12
𝑇ℎ𝑒𝑛, 𝑀10 = = −0.8321
√(−12)2 +(−8)2
Page 12 of 45
−8
𝑀20 = = −0.5547
√(−12)2 +(−8)2
Step 5: New values are:
Thus, going to our equation
(1) (0)
𝑥1 = 𝑥1 + 𝑚1 𝑆 and
(1) (0)
𝑥2 = 𝑥2 + 𝑚2 𝑆
(1)
∴ 𝑥1 = 0 − 0.8321𝑆 = −0.8321𝑆
(1)
𝑥2 = 0 − 0.5547𝑆 = −0.5547𝑆
Step 6:
Substituting these values into the objective function to obtain;
Thus, 𝐹(𝑆) = 3(−0.8321𝑆)2 + (−0.5547𝑆)2 − 12(−0.8321𝑆) − 8(−0.5547𝑆)
𝜕𝑓(𝑠)
= 0;
𝜕𝑆
𝜕𝑓(𝑠)
= 6(−0.8321𝑆)(−0.8321) + 2(−0.5547𝑆)(−0.5547) + 12(0.8321) + 8(0.5547
𝜕𝑆
= 2 × 2.3849𝑆 + 14.4728 = 0
−14.4728
𝑆= = −3.0238
4.47698
Hence, substituting the value of S = -3.0238 into 𝑥1′ 𝑎𝑛𝑑 𝑥2′
(1)
𝑥1 = −0.8321 × −3.0238 = 2.5161
(1)
𝑥2 = −0.5547 × −3.0238 = 1.6773
⟹ 𝑓(2.5161, 1.6773) = −21.806
Thus, from our result we are minimizing because got a negative value which is far smaller than zero
which was the initial value we started with;
Iteration 2: Then find
𝜕𝑓
± ⁄𝜕𝑥 ⌋ ′
(1) 1 𝑥
1
𝑀1 = 2 2
𝜕𝑓 𝜕𝑓
√( ⌋ ) +( ⌋ )
𝜕𝑥1 𝑥′ 𝜕𝑥2 𝑥′
1 2
𝜕𝑓 𝜕𝑓
= 6𝑥1 − 12 and = 2𝑥2 − 8
𝜕𝑥1 𝜕𝑥2
𝜕𝑓
Hence, 𝜕𝑥 ⌋ (1)
= 6 × 2. 5161 − 12 = 3. 0966
1 𝑥1
𝜕𝑓
⌋ = 2 × 1.6773 − 8 = −4.6454
𝜕𝑥2 𝑥 (1)
2
(1) ±3.0966 3.0966
𝑀1 = = 5.5829 = 0.5547
√(3.0966)2 +(−4.6454)2
(1) −4.6454 −4.6454
𝑀2 = = = −0.8321
√(3.0966)2 +(−4.6454)2 5.5829
(1)
𝑥12 = 𝑥11 + 𝑀1 𝑆 = 2.5161 + 0.5547𝑆
(1)
𝑥22 = 𝑥21 + 𝑀2 𝑆 = 1.6773 − 0.8321𝑆
To find the value of S, plug back into the original equation and differentiate and equate to zero.
∴ 𝐹(𝑆) = 3(2.5161 + 0.5547𝑆)2 + (1.6773 − 0.8321𝑆)2 − 12(2.5161 + 0.5547𝑆)
− 8(1.6773 − 0.8321𝑆)
𝜕𝑓(𝑠)
= 0;
𝜕𝑆
Page 13 of 45
∴ 𝑆 = −1.728
𝑥12 = 𝑥11 + 𝑀1′ 𝑆 = 2.5161 + 0.5547 × −1.728 = 1.5576
𝑥2′ = 𝑥21 + 𝑀2′ 𝑆 = 1.6773 − 0.8321 × −1.728 = 3.115
𝐻𝑒𝑛𝑐𝑒, 𝑓(1.5576, 3.115) = −26.63
We are still going towards the minimum point since −26.63 < −21.806
Checking, −21.806 − (−26.63) ≤ 𝐸𝑟𝑟𝑜𝑟 𝑚𝑎𝑟𝑔𝑖𝑛
4.824 > 𝐸𝑟𝑟𝑜𝑟 𝑚𝑎𝑟𝑔𝑖𝑛 𝜀 ≤ 0.0001
𝜕𝑓
Hence, 𝜕𝑥 ⌋ = 6 × 1.5576 − 12 = −2.6544
1 𝑥12
𝜕𝑓
⌋ = 2 × 3.115 − 8 = −1.77
𝜕𝑥2 𝑥 2
2
𝜕𝑓
± ⁄𝜕𝑥 ⌋ 3
1 𝑥
𝑀12 = 2
1
2
𝜕𝑓 𝜕𝑓
√( ⌋ ) +( ⌋ )
𝜕𝑥1 𝑥3 𝜕𝑥2 𝑥3
1 2
−2.6544 −2.6544
𝑀12 = √−2.65442 = = −0.832
+(−4.6454)2 3.1904
−1.77 −1.77
𝑀22 = = = −0.5548
√(3.0966)2 +(−1.77)2 3.1904
𝑥13 = 2 2
𝑥1 + 𝑀1 𝑆 = 1.5576 + 0.832𝑆
𝑥22 = 𝑥21 + 𝑀2′ 𝑆 = 3.115 − 0.5548𝑆
∴ 𝐹(𝑆) = 3(1.5576 + 0.832𝑆 )2 + (3.115 − 0.5548𝑆)2 − 12(1.5576 + 0.832𝑆 ) − 8(3.115
− 0.5548𝑆)
𝜕𝑓(𝑠)
= 0; 6(1.5576 − 0.832𝑆 )(−0.832) + 2(3.115 − 0.5548𝑆 )(−0.5548) − 12(−0.832)
𝜕𝑆
− 8(−0.5548) = 0
−3.1905
∴𝑆= = −0.669
4.7689
𝑥13 = 𝑥11 + 𝑀1′ 𝑆 = 1.5576 − 0.832(−0.669) = 2.1142
𝑥23 = 𝑥21 + 𝑀2′ 𝑆3.115 − 0.5548𝑆(−0.669) = 3.4862
𝐻𝑒𝑛𝑐𝑒, 𝑓(1.5576, 3.115) = −27.904
Continue the iteration till the error is less than 0.0001
Constrained Minimization Problems: Indirect methods by unconstrained minimization
Constrained Optimization problems are problems for which a function is to be minimized or maximized
subject to constrains. In other hand, it is a set of methods designed to identify efficiently and
systematically the best solution (the optimal solution) to a problem characterized by a number of
potential solutions in the presence of identified constraints.
Page 14 of 45
Linear constraints are relatively easy to deal with. Nonlinear equality constraints can be hard to handle.
The penalty function approach converts a constrained problem into an unconstrained one by
introducing a penalty function into the objective function.
The repair approach maps (repairs) an infeasible solution into a feasible one.
The purist approach rejects all infeasible solutions in search.
The separatist approach considers the objective function and constraints separately.
The hybrid approach mixes two or more different constraint handling techniques.
Direct methods: The constraints are taking into account explicitly; intermediate solutions are feasible
Lagrangian multipliers
This method converts equality constrained optimization problem to unconstrained problem.
Problem formulation: Minimizing or maximizing F(x) , where x = (x1, x2, . . . xn) subject to C equality
constraints of the form gi(x) = 0, for I – 1, 2, , . . . C. it is possible sometimes to give gi(x) = 𝛼𝑖 , where
𝛼𝑖 ≠ 0
𝐦𝐢𝐧 𝒇(𝒙) =
𝒙
Subject to
𝒈(𝒙) = 𝑪
In this case we rewrite the constraint as:
𝐿𝑖 (𝑥) = 𝑔𝑖 (𝑥) − 𝛼𝑖
Define a non-negative multiplier (constants) 𝜆𝑖 , such that the constrained problem gets converted to an
unconstrained problem
To handle this, one has to introduce a 𝜆 𝑖. 𝑒. , 𝑙𝑎𝑔𝑟𝑎𝑛𝑔𝑒 𝑚𝑢𝑙𝑡𝑖𝑝𝑙𝑖𝑒𝑟; 𝐿 = 𝑙𝑎𝑔𝑟𝑎𝑛𝑔𝑒 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛
Which is an unconstrained function.
Hence,
𝑛
Once this Lagrange function is obtained you use the classical calculus to differentiate to get the answers
needed.
Solution
Applying the Lagrange multiplier
𝐿 = 3𝑥12 + 𝑥22 + 2𝑥1 𝑥2 + 6𝑥1 + 2𝑥2 − 𝜆(2𝑥1 − 𝑥2 − 4)
Start the differentiation of L w.r.t various x
𝜕𝐿
= 6𝑥1 + 2𝑥2 + 6 − 2𝜆 = 0 (i)
𝜕𝑥 1
𝜕𝐿
= 2𝑥2 + 2𝑥1 + 2 + 𝜆 = 0 (ii)
𝜕𝑥2
𝜕𝐿
𝜕𝜆
= −2𝑥1 + 𝑥2 + 4 =0 (iii)
From Eqn.(iii)
𝑥2 = 2𝑥1 − 4 (iv)
Hence, substitute 𝑥2 into Eqns. (i) & (ii)
Page 16 of 45
6𝑥1 + 2(2𝑥1 − 4) + 6 − 2𝜆 = 0
∴ 6𝑥1 + 4𝑥1 − 8 + 6 − 2𝜆 = 0
10𝑥1 − 2 − 2𝜆 = 0 (v)
2(2𝑥1 − 4) + 2𝑥1 + 2 + 𝜆 = 0
4𝑥1 − 8 + 2𝑥1 + 2 + 𝜆 =0
6𝑥1 − 6 + 𝜆 = 0 (vi)
𝟕
𝒙𝟏 =
𝟏𝟏
Therefore, substituting 𝑥1 into Eqn. (iv)
𝑥2 = 2𝑥1 − 4
7
∴ 𝑥2 = 2( )−4
11
𝟑𝟎
𝒙𝟐 = −
𝟏𝟏
Solving for 𝜆 gives
𝜆 = 5𝑥1 − 1
7
=5× −1
11
𝟐𝟒
∴𝝀=
𝟏𝟏
𝟕 𝟑𝟎
Therefore, the minimum of 𝑭(𝒙) = 𝑭 (𝟏𝟏 , − 𝟏𝟏) = 𝟐𝟏. 𝟒
𝑁
1
∑ ∅(𝐺(𝑥)) = 𝑟𝑝 ∑
𝐺; (𝑥)
𝑗=1
For exterior penalty function problems
𝑁
Example 2:
min 𝐹(𝑥) = 10𝑥12 + 𝑥22
𝑥
Subject to 𝑥1 + 𝑥2 ≥ 4 ,
let C= 0.1
start 𝑥𝑜 = (4,4).
Solution
Substitute the values of initial guess of 𝑥𝑜 (4,4) into the main function
𝐹(𝑥𝑜 ) = 10(4)2 + 42 = 176
𝑀(𝑥) = 10𝑥12 + 𝑥22 + 𝑟𝑝 (𝑥1 + 𝑥2 − 4)2 − for exterior case
To determine the initial value of 𝑟𝑝 , equate to the value of F(𝑥𝑜 ).
(0) (0)
∴ 𝐹(𝑥𝑜 ) = 𝑟𝑝 (𝑥1 + 𝑥2 − 4)2 = 176
𝑟𝑝 (4 + 4 − 4)2 = 176
𝟏𝟕𝟔
𝒓𝒑 = = 𝟏𝟏
𝟏𝟔
𝐿 = 𝑓(𝑥) + ∑ 𝜆𝑖 𝑔𝑖
𝑖=1
The resulting conditions for constrained local minima of ℓ are the following
𝑘
𝜕𝐿 𝜕𝑓 𝜕𝑔𝑖
= + ∑ 𝜆𝑖 =0 (1)
𝜕𝑥𝑖 𝜕𝑥𝑖 𝜕𝑥𝑖
𝑖=1
Page 18 of 45
𝜕𝐿
= 𝑔𝑖 = 0 (2)
𝜕𝑥𝑖
Then solving Eqns. (1) & (2) gives the parameter values for the minimum cost.
Example 3.
Apply the Lagrange method to solve constrained optimization to determine the minimum distance from
the origin of the 𝑥𝑦 plane to a circle described by
(𝑥 − 8)2 + (𝑦 − 6)2 = 25
The minimum distance is obtained by minimization of the distance square given by
𝑓(𝑥, 𝑦) = 𝑥 2 + 𝑦 2
Solution
The function can be rewritten in this form
𝑀𝑖𝑛 𝑓(𝑥, 𝑦)
s.t 𝑔𝑖 (𝑥) = (𝑥 − 8)2 + (𝑦 − 6)2 = 25
So,
ℓ = 𝑥 2 + 𝑦 2 + 𝜆{(𝑥 − 8)2 + (𝑦 − 6)2 − 25}
The necessary condition for extrema then becomes
𝜕𝐿
= 2𝑥 + 𝜆(2𝑥 − 16) = 0
𝜕𝑥
This equation gives
2𝑥(𝜆 + 1) = 16𝜆
𝜕𝐿
= 2𝑦 + 𝜆(2𝑦 − 12) = 0
𝜕𝑦
2𝑦(𝜆 + 1) = 12𝜆
Finally,
𝜕𝐿
= (𝑥 − 8)2 + (𝑦 − 6)2 − 25 = 0
𝜕𝜆
Solving the above three equations simultaneously gives
x = 4 and x = 12
y = 3 and y = 9
At 𝜆 = 1, (𝑥, 𝑦) = 4, 3
𝜆 = −3, (𝑥, 𝑦) = 12, 9
The minimum distance then becomes (𝑥, 𝑦) = 4, 3
𝐿 = 𝑓 + ∑ 𝜆𝑖 𝑔𝑖 + ∑ 𝜇𝑗 𝑈𝑗
𝑖=1 𝑗=1
Page 19 of 45
the resulting necessary conditions becomes as usual, the necessary conditions for constrained local
minima of L are the following;
𝜕𝐿
= 0, 𝑖 = 1, . . ., 𝑛
𝜕𝑥𝑖
𝜕𝐿
= 𝑔𝑖 , 𝑖 = 1, . . ., 𝑘
𝜕𝜆𝑖
𝜕𝐿
= 𝑈𝑗 , 𝑗 = 1, . . ., 𝑚
𝜕𝜇𝑗
𝜇𝑗 𝑈𝑗 = 0 𝑎𝑛𝑑 𝜇𝑗 > 0 , 𝑗 = 1, . . . , 𝑚
Example 4:
Find the minimum value of the function 𝑓(𝑥, 𝑦) = 𝑥 2 + 𝑦 2
Subject to 𝑔(𝑥, 𝑦) = 𝑥 2 − 5𝑥 − 𝑦 2 + 20 = 0
𝑈(𝑥, 𝑦) = 2𝑥 + 𝑦 ≥ 6
Solution
𝑘 𝑚
ℓ = 𝑓 + ∑ 𝜆𝑖 𝑔𝑖 + ∑ 𝜇𝑗 𝑈𝑗
𝑖=1 𝑗=1
substituting in the above equation gives
ℓ = x 2 + y 2 + λ{(𝑥 2 − 5x − 𝑦 2 + 20) + μ(2x + y − 6)}
𝜕ℓ
= 2𝑥 + λ(2𝑥 − 5) + 2𝜇 = 0 (1)
𝜕𝑥
𝜕ℓ
= 2𝑦 + λ(−2𝑦) + 𝜇 = 0
𝜕𝑦
= 2𝑦 − 2𝑦λ + 𝜇 = 0 (2)
𝜕ℓ
= 𝑥 2 − 5x − 𝑦 2 + 20 = 0 (3)
𝜕λ
𝜕ℓ
= 2x + y − 6 = 0 (4)
𝜕μ
Eliminating μ from Eqns. (1) & (2)
2𝑥 + λ(2𝑥 − 5) + 2𝜇 = 0 × 1
2𝑦 − 2𝑦λ + 𝜇 =0 × 2
2𝑥 + λ(2𝑥 − 5) + 2𝜇 = 0
4𝑦 − 4𝑦λ + 2𝜇 = 0
-
2𝑥 − 4𝑦 + λ(2𝑥 − 5) − −4𝑦λ = 0
(2𝑥 − 4𝑦) + λ(2𝑥 + 4𝑦) − 5λ = 0 (5)
From eqn. (4)
𝑦 = 6 − 2𝑥 (6)
Substituting the value of y in Eqn. (5)
[2𝑥 − 4(6 − 2𝑥 )] + λ[2𝑥 + 4(6 − 2𝑥)] − 5λ = 0
Expanding the above equation gives
10𝑥 − 6𝑥λ + 19λ − 24 = 0
(10 − 6λ)𝑥 = 24 − 19λ
24 − 19λ
∴𝑥=
10 − 6λ
Substituting x into Eqn. (6)
2(24−19λ) 60−36λ−48+38λ 𝟏𝟐+𝟐𝛌
𝑦 = 6 − 10−6λ = =
10−6λ 𝟏𝟎−𝟔𝛌
Substituting x and y into (3)
24−19λ 2 24−19λ 12+2λ 2
( 10−6λ ) − 5 ( 10−6λ ) − (10−6λ) + 20 = 0
Page 20 of 45
Exercises
No 1:
Find the optimal solution to the problem
𝑀𝑖𝑛 𝑓(𝑥) = 𝑥12 + 2𝑥22 + 10𝑥32
Subject to
𝑔1 (𝑥) = 𝑥1 + 𝑥22 + 𝑥3 − 5 = 0
𝑔2 (𝑥) = 𝑥1 + 5𝑥2 + 𝑥3 − 7 = 0
Suppose that 𝑔1 (𝑥) = 0.01 & 𝑔2 (𝑥) = 0.02. Find the corresponding change in the optimal value of f(x)
No2: An electrical company manufactures two pole models, each on separate production line. The daily
capacity of the first line is 60 poles and that of the second is 75 poles. Each unit of the first model uses
10 pieces of materials, whereas each unit of the second model requires 8 pieces of the same materials.
The maximum daily availability of the special material is 800 pieces. The profit per unit of models 1 and
2 is N30 and N20, respectively. Determine the optimum daily production of each model.
Subject to
𝑔(𝑥, 𝑦) = (𝑥 − 8)2 + (𝑦 − 6)2 = 25
𝜇(𝑥, 𝑦) = 2𝑥 + 𝑦 ≥ 12
There are two basic ways in which the LP problems are handled:
(a) The graphical method (when the problem involves only two variables).
(b) The algebraic or simplex method (when there are many variables).
VARIABLES
An unrestricted variable 𝑦1 can be expressed in terms of two nonnegative variables by using
substitution;
𝑦1 = 𝑦1′ − 𝑦1′′ , 𝑦1′ 𝑦1′′ ≥ 0.
The substitution must be effected in both the constraints and the objective function.
OBJECTIVE FUNCTION
The objective function is usually maximization or minimization of functions but one can always convert
a maximization problem to minimization and vice versa.
Example: 𝑀𝑎𝑥𝑖𝑚𝑖𝑧𝑒 𝑧 = 5𝑥1 + 2𝑥2 + 3𝑥3 , is mathematically equivalent to 𝑀𝑖𝑛𝑖𝑚𝑖𝑧𝑒 (−𝑧) =
−5𝑥1 − 2𝑥2 − 3𝑥3 .
Equivalent meaning that for the same set of constraints, that the optimum values of 𝑥1 , 𝑥2, & 𝑥3 𝑎𝑟𝑒 𝑡ℎ𝑒
𝑠𝑎𝑚𝑒 𝑖𝑛 𝑏𝑜𝑡ℎ 𝑝𝑟𝑜𝑏𝑙𝑒𝑚𝑠.
To buttress it
Write the following LP model in the standard form
𝑀𝑖𝑛 𝑍 = 2𝑥1 + 3𝑥2
Page 22 of 45
Subject to
𝑥1 + 𝑥2 = 10
−2𝑥1 + 3𝑥2 ≤ −5
7𝑥1 − 4𝑥2 ≤ 6
𝑥1 unrestricted
𝑥2 ≥ 0
X1
5
Using Eqn. (1), 𝒙𝑬 = 𝟎; 𝒙𝟏 = 𝟑 𝒘𝒉𝒆𝒏 𝒙𝟏 = 𝟎; 𝒙𝑬 = 𝟔
8
7 Using Eqn. (2), 𝒙𝑬 = 𝟎; 𝒙𝟏 = 𝟖 𝒘𝒉𝒆𝒏 𝒙𝟏 = 𝟎; 𝒙𝑬 = 𝟒
6 2
3
5 Using Eqn. (3), 𝒙𝑬 = 𝟎; 𝒙𝟏 = 𝟏 𝒘𝒉𝒆𝒏 𝒙𝟏 = 𝟎; 𝒙𝑬 = −𝟏
1 4 Using Eqn. (4); 𝒙𝟏 = 𝟐
3 G
K 4
2 H E D Using Eqn. (5); 𝒙𝑬 = 𝟎
Solution C
1 F
Space J
A B XE Using Eqn. (6); 𝒙𝟏 = 𝟎
0 1 2 3 4 5 6 6
Each point within or on the boundary of the solution ABCDEF satisfies all the constraints and hence
represents a feasible point.
𝑀𝑎𝑥 𝑍 = 3𝑥𝐸 + 2𝑥1 At Pt B: solve Eqn. (2) & (6)
At point A of Figure 1; 𝑍 = 0; 𝑥𝐸 = 0; 𝑥1 = 0
,, Point B ; 𝑍 = 12; 𝑥𝐸 = 4; 𝑥1 = 0 At Pt C; solve Eqn. (1) & (2) simultaneously
2 10 4
At Point C : 𝑍 = 12 3 ; 𝑥𝐸 = 3 ; 𝑥1 = 3 At Pt D; solve Eqn. (1) & (4)
,, Point D ; 𝑍 = 10; 𝑥𝐸 = 2; 𝑥1 = 2
At Pt E; solve Eqn. (3) & (4)
,, Point E ; 𝑍 = 7; 𝑥𝐸 = 1; 𝑥1 = 2
,, Point F ; 𝑍 = 2; 𝑥𝐸 = 0; 𝑥1 = 1 At Pt F; solve Eqn. (3) & (5)
The simplex method involves the use of algebraic solution (example the Gauss-Jordan method) in finding
the values of the variables to provide the optimal value of the objective function. The following are the
basic definitions usually associated with the simplex method.
Let there be M-constraint equations and n variables
1. Basic solution: This is the unique solution resulting from setting n-m variables equal to zero
2. Feasible basic solution: If the basic solution satisfies all the nonnegativity constant, it is called a
feasible basic solution.
3. Non-basic variables: These are the variables set to zero. The remaining are said to be basic variables
4. Entering variable: This is a current non-basic variable that will enter the set of basic variables at the
next iteration
5. The leaving variable: This is a current basic variable that will leave the basic solution in the next
solution.
6. Optimality condition: This states that in the case of maximization, if all the non-basic variables have
nonnegative coefficients in the z-equation of the current tableau, the variable with the most negative
coefficient is selected as the entering variable.
7. Entering column: This is the column that contains the entering variable.
8. Pivot equation: This is the row associated with the leaving variable.
9. The Pivot element: This is the element at the intersection of the entering column and pivot equation.
The entering variable in the maximization (minimization) is the non-basic variable in the most negative
(positive) coefficient in the z-equation. A tie is broken arbitrary. When all the non-basic coefficients in
the z- equation are nonnegative (non-positive), the optimum is reached. This is the optimality condition.
For both maximization (minimization) problems, the leaving variable is the basic variable having the
smallest ratio (with positive denominator). A tie is broken arbitrary. This is the feasibility condition.
Page 24 of 45
Worked Example 1:
𝑀𝑎𝑥𝑖𝑚𝑖𝑧𝑒 𝑍 − 2𝑥1 − 𝑥2 + 3𝑥3 − 5𝑥4 = 0
Subject to
𝑥1 + 7𝑥2 + 3𝑥3 + 7𝑥4 ≤ 46
3𝑥1 − 𝑥2 + 𝑥3 + 2𝑥4 ≤ 8
2𝑥1 + 3𝑥2 − 𝑥3 + 𝑥4 ≤ 10
𝑥1 , 𝑥2 , 𝑥3 , 𝑥4 ≥ 0
Using simplex method
Solution
The LP problem should be in standard format.
𝑀𝑎𝑥𝑖𝑚𝑖𝑧𝑒 𝑍 = 2𝑥1 + 𝑥2 − 3𝑥3 + 5𝑥4 + 0𝑆1 + 0𝑆2 + 0𝑆3
Subject to
𝑥1 + 7𝑥2 + 3𝑥3 + 7𝑥4 + 𝑆1 = 46
3𝑥1 − 𝑥2 + 𝑥3 + 2𝑥4 + 𝑆2 = 8
2𝑥1 + 3𝑥2 − 𝑥3 + 𝑥4 + 𝑆3 = 10
𝑥1 , 𝑥2 , 𝑥3 , 𝑥4 , 𝑆1 , 𝑆2 , 𝑆3 ≥ 0
n = 7
m= 3
Set n-m variable to zero, therefore, 𝑆1, 𝑆2 , 𝑎𝑛𝑑 𝑆3 becomes basic variables
Leaving Entering Variable Key column
Initial Simplex table variable
𝐶𝐵i 𝐶𝑗 2 1 -3 5 0 0 0 Solu Ratio
Basic 𝑋1 𝑋2 𝑋3 𝑋4 𝑆1 𝑆2 𝑆3 tion
Variables
0 𝑆1 1 7 3 7 1 0 0 46 46 4
=6
7 7
0 𝑆2 3 -1 1 2 0 1 0 8 8/2=4
0 𝑆3 2 3 -1 1 0 0 1 10 10/1=10
𝑍𝑗 (0x1)+(0x3 0 0 0 0 0 0
)+(0x2)=0
𝐶𝑗 − 𝑍𝑗 2 1 -3 5 0 0 0
Where 𝐶𝑗 is the coefficient of the basic variable Key row
Page 25 of 45
𝑍𝑗 = ∑(𝐶𝐵1 ) (𝑎𝑖𝑗 ) ≤ 0
𝑖=1
1
− ×0
X4: 𝑁𝑒𝑤 = 1 − ( 212⁄ ) =1
2
1
− ×1 1
S1: 𝑁𝑒𝑤 = 0 − ( 212⁄ ) = 21
2
Page 26 of 45
0
𝑆3 : 𝑁𝑒𝑤 = 0 − (7 × ) = 0
2
7×8
Solu: = 46: 𝑁𝑒𝑤 = 46 − ( 2 ) = 18
8×1
Solu: = 10: 𝑁𝑒𝑤 = 10 − ( )=6
2
SECOND ITERATION
𝐶𝐵𝑗 𝐶𝑗 2 1 -3 5 0 0 0 Solu Ratio
B.V. 𝑋1 𝑋2 𝑋3 𝑋4 𝑆1 𝑆2 𝑆3
1 𝑋2 19 1 1 0 2 7 0 12
− − −
21 21 21 21 7
5 𝑋4 22 0 10 1 1 7 0 30
21 21 21 42 7
0 𝑆3 22 0 35 0 7 7 1 0
− −
6 21 21 6
𝑍𝑗 91 1 49 5 3 21 0
21 21 21 42
49 112 3 21
𝐶𝑗 − 𝑍𝑗 0 − 21 0
− − −
21 21 42
nd 21
For 2 iteration use the pivot ( 2 ) to divide all through the row.
In the simplex problem treated earlier, the slack variables were used as the starting basic solution. In the
cases where the original constraints were an equation or of the type (≥) we no longer have a ready starting
basic feasible solution. When one encounters this kind of problem, one has to use the method usually
referred to as the M- technique (method of penalty).
Worked Example: 2
𝑀𝑖𝑛𝑖𝑚𝑖𝑧𝑒 𝑍 = 4𝑥1 + 𝑥2
Subject to:
3𝑥1 + 𝑥2 = 3
4𝑥1 + 3𝑥2 ≥ 6
Page 27 of 45
𝑥1 + 2𝑥2 ≤ 4
𝑥1 , 𝑥2 ≥ 0
Solution:
Put in the standard form to get
𝑀𝑖𝑛𝑖𝑚𝑖𝑧𝑒 𝑍 = 4𝑥1 + 𝑥2
Subject to:
3𝑥1 + 𝑥2 =3
4𝑥1 + 3𝑥2 − 𝑥3 =6
𝑥1 + 2𝑥2 + 𝑥4 =4
𝑥1 , 𝑥2 ≥ 0
The first and second equations do not have variables that play the role of a slack. Hence, we augment the
two with artificial variables 𝑅1 𝑎𝑛𝑑 𝑅2 in these two equations follows:
3𝑥1 + 𝑥2 + 𝑅1 =3
4𝑥1 + 3𝑥2 − 𝑥3 + 𝑅2 = 6
One can now penalize 𝑅1 𝑎𝑛𝑑 𝑅2 in the objective function by assigning them very large positive
coefficients in the objective function. Let M > 0 be a very large constant; then the LP with its artificial
variables becomes.
𝑀𝑖𝑛𝑖𝑚𝑖𝑧𝑒 𝑍 = 4𝑥1 + 𝑥2 + 𝑀𝑅1 + 𝑀𝑅2
Subject to:
3𝑥1 + 𝑥2 + 𝑅1 =3
4𝑥1 + 3𝑥2 − 𝑥3 + 𝑅2 =6
𝑥1 + 2𝑥2 + 𝑥4 = 4
𝑥1 , 𝑥2 , 𝑥3, 𝑅1 , 𝑅2 , 𝑥4 ≥ 0
Notice the reason behind the use artificial variables. There were 3 equations and 6 unknowns. Now we
have n-m (6-3) non-basic variables and 3 basic variables.
See the Tables below, the process is the same as the simplex method already treated.
First substitute the two artificial variables R1 and R2. After this calculate 𝒁𝒋 and 𝑪𝒋 − 𝒁𝒋
Thirdly Check optimality value Min = 𝐶𝑗 − 𝑍𝑗 ≥ 0 then get the most negative value from 𝐶𝑗 − 𝑍𝑗 in this
case is 4 - 7M. To find Key row calculate the ratio using the entering column values. Then select the least
positive value form ratio column
Initial Table
No of 𝐶𝑗 4 1 0 M M 0 solution Ratio
iterations
0 starting CB B. V. 𝑥1 𝑥2 𝑥3 𝑅1 𝑅2 𝑥4
M 𝑅1 3 1 0 1 0 0 3 3
=1 ÷𝟑
3
M 𝑅2 4 3 -1 0 1 0 6 6
= 1.5
4
0 𝑥4 1 2 0 0 0 1 4 4
=4
1
𝑍𝑗 7m 4M -M M M 0 9M
𝐶𝑗 − 𝑍𝑗 4-7M 1-4M M 0 0 0
Page 28 of 45
𝑍𝑗 4 1 1 8 1 0 18
− −
5 5 5 5
𝐶𝑗 − 𝑍𝑗 0 0 1 8 1
− 𝑀+ 𝑀+
5 5 5
No of 𝐶𝑗 4 1 0 M M 0 solution Ratio
iterations
3rd CB B. 𝑥1 𝑥2 𝑥3 𝑅1 𝑅2 𝑥4
iteration V.
4 𝑥1 1 0 0 2 0 1 2
−
5 5 5
1 𝑥2 0 1 0 1 0 3 9
−
5 5 5
0 𝑥3 0 0 1 1 −1 1 1
2 9 17
Therefore, the optimum solution gives 𝑥1 = 5 ; 𝑥2 = 5 ; 𝑥3 = 1, 𝑍𝑗 = 5
Page 29 of 45
Fuel scheduling
Considering the limitations imposed by long-term yearly fuel contracts, the objective is to schedule fuel
Deliveries and storage to meet plant requirements
Dispatching
The objective is to schedule the committed generators to meet the load, maintain voltages, frequency within
prescribed tolerances and minimize operating cost without unduly stressing equipment.
There are three factor that affect power generation at minimum cost. The factors are – efficiency of
generators, fuel cost and transmission losses. A very highly efficient plant may be located in a place with
high cost of fuel and this does not indicate minimum cost. Also, if a plant is located very far from the load
center, the transmission losses along the line may be so high that the cost of running the generator becomes
extremely exorbitant. So, the usual problem is to determine the generation of different plants such that the
total cost is minimum. Below is a brief discussion on the role of operating cost plays in economic
scheduling of plants.
Let the input to the thermal plant be Btu/h (British thermal unit/hour) and the power output measured in
Megawatts (MW). Figure 1 (a) shows the input-output curve of a thermal plant unit known as heat curve.
If the cost of fuel is so many Naira per million Btu, we get fuel cost curve.
(N/hr)
Fuel
input
(Btu/hr)
Observation of the fuel cost curve shows that cost can be approximated to the quadratic curve.
𝐶𝑖 = 𝛼𝑖 + 𝛽𝑖 𝑃𝑖 + 𝛾𝑖 𝑃𝑖2 (1)
Another important curve that usually shows a measure of how costly it will be to produce the next
increment of power is known as the incremental cost curve; it is the plotting of the derivative of the
fuel cost curve against the real power (Figure 2) that is
𝑑𝐶𝑖
= 2𝛾𝑖 𝑃𝑖 + 𝛽𝑖 (2)
𝑑𝑃𝑖
λi
N/MW
Pi (MW)
Figure 2: Incremental fuel cost curve
Page 30 of 45
Note that total operating cost usually includes fuel cost and cost of labour, supplies and maintenance.
These other costs were assumed fixed and to be a percentage of the fuel cost and for this they were
generally included in the incremental fuel cost curve.
Input - Output Characteristic of Thermal Units
For thermal units, we call the input - output characteristic the generating unit fuel consumption function,
or operating cost function. The unit of the generator fuel consumption function is Btu per hour heat input
to the unit (or MBtu/h). The fuel cost rate times Btu/h is the $ per hour ($/h) input to the unit for fuel. The
output of the generating unit will be designed by PG, the megawatt net power output of the unit.
In addition to the fuel consumption cost, the operating cost of a unit includes labor cost, maintenance cost,
and fuel transportation cost. It is difficult to express these costs directly as a function of the output of the
unit, so these costs are included as a fixed portion of the operating cost.
The thermal unit system generally consists of the boiler, the steam turbine, and the generator. The input
of the boiler is fuel, and the output is the volume of steam. The relationship of the input and output can be
expressed as a convex
curve. The input of the turbine - generator unit is the volume of steam, and the output is the electrical
power. A typical boiler - turbine - generator unit consists of a single boiler that generates steam to drive a
single turbine - generator set. The input - output characteristic of the whole generating unit system can be
obtained by combining directly the input - output characteristic of the boiler and the input - output
characteristic of the turbine - generator unit. It is a convex curve, which is shown in Figure 1
C1 C2 Cng
P2
P1 Pn
𝐶𝑡 = ∑ 𝐶𝑖 = 𝛼𝑖 + 𝛽𝑖 𝑃𝑖 + 𝛾𝑖 𝑃𝑖2 (3)
𝑖=1
s.t,
𝑛𝑔
∑ 𝑃𝑖 = 𝑃𝐷 (4)
𝑖=1
Where 𝐶𝑡 = Total production Cost; 𝐶𝑖 = production cost of ith plant, 𝑃𝑖 = generation of ith plant,
𝑃𝐷 = total load demand, ng = total number of dispatchable generating plants.
The method of Lagrange multipliers to convert the constrained optimization (non-linear) problem to
unconstrained one.
𝑛𝑔
ℒ = 𝐶𝑡 + 𝜆 (𝑃𝐷 − ∑ 𝑃𝑖 ) (5)
𝑖=1
As usual, the minimum is obtained at the point where the partial derivative of the function to its
variables are zero.
𝜕ℒ
=0 (6)
𝜕𝑃 𝑖
𝜕ℒ
=0 (7)
𝜕𝜆
𝐸𝑞𝑢𝑎𝑡𝑖𝑜𝑛 6 𝑦𝑖𝑒𝑙𝑑𝑠
𝜕 𝐶𝑡
+ 𝜆 (0 − 1)
𝜕 𝑃𝑖
𝑏𝑢𝑡 𝐶𝑡 = 𝐶1 + 𝐶2 + . . . + 𝐶𝑛𝑔
𝜕𝐶𝑡 𝑑𝐶
Then = 𝑑𝑃𝑡 = 𝜆
𝜕𝑃𝑖 𝑖
This gives the condition for optimum dispatch as
𝑑𝐶𝑡
= 𝜆, 𝑖 = 1, 2, . . . 𝑛𝑔 (8)
𝑑𝑃𝑖
𝑜𝑟 𝛽𝑖 + 2𝛾𝑖 𝑃𝑖 = 𝜆 (9)
𝑤ℎ𝑒𝑟𝑒 𝐶𝑖 = 𝛼𝑖 + 𝛽𝑖 𝑃𝑖 + 𝛾𝑖 𝑃𝑖2
Applying Eqn. (7) to (5)
𝑛𝑔
∑ 𝑃𝑖 = 𝑃𝐷 (10)
𝑖=1
We can summarize by saying that when losses were neglected with no generation limits, for most
economic operation; all plants must operate at equal incremental production cost while satisfying the
equality constraints. From Eqn. (9)
Page 32 of 45
𝜆−𝛽𝑖
𝑃𝑖 = where i= 1, 2, . . . ng (11)
2𝛾𝑖
Substituting Eqn. (11) into (10) and solving for 𝜆 gave;
𝑛𝑔
𝜆 − 𝛽𝑖
∑ = 𝑃𝐷 (12)
2𝛾𝑖
𝑖=1
𝑀aking 𝜆 the subject
𝑛𝑔 𝑛𝑔
∑ 𝜆 − 𝛽𝑖 = 𝑃𝐷 × ∑ 2𝛾𝑖
𝑖=1 𝑖=1
𝑛𝑔 𝑛𝑔
𝜆 = 𝑃𝐷 (∑ 2𝛾𝑖 ) + ∑ 𝛽𝑖
𝑖=1 𝑖=1
𝑛𝑔 𝛽
𝑃𝐷 + ∑𝑖=1 2𝛾𝑖
𝑖
∴𝜆= (13)
1
∑𝑛𝑔
𝑖=𝑖 2𝛾
𝑖
The value of 𝜆 found in Eqn. (13) is substituted in Eqn. (11) to obtain the optimal dispatch of
generation. This is the analytical method of solving this economic dispatch problem.
ITERATIVE TECHNIQUES
When the system equations become more complicated as a result of inclusion of losses, a better
approach may be used, this is the iterative techniques.
Equation (12) can be written as
𝑓(𝜆) = 𝑃𝐷 (14)
If the left-hand side is expanded in Taylor series about an operating point 𝜆(𝑘) , and ignoring higher-order
terms gave
𝑑𝑓(𝜆) (𝑘)
𝐹(𝜆)𝑘 + ( ) ∆𝜆(𝑘) = 𝑃𝐷 (15)
𝑑𝜆
Or
∆𝑃(𝑘) ∆𝑃 (𝑘)
(𝜆)𝑘 = = 𝑑𝑃𝑖 (𝑘)
(16)
𝑑𝑓 (𝑘)
( ) ∑( )
𝑑𝜆 𝑑𝜆
Or
∆𝑃 (𝑘)
∆𝜆𝑘 = 1 (See eqn. (11) (17)
∑
2𝛾𝑖
and so,
𝜆(𝑘+1) = 𝜆(𝑘) + ∆𝜆(𝑘) (18)
Page 33 of 45
𝑛𝑔 (𝑘)
where ∆𝑃(𝑘) = 𝑃𝐷 − ∑𝑖=1 𝑃𝑖 (19)
(𝑘)
the process continues until ∆𝑃 is less than a specified accuracy.
Example 1:
The fuel-cost function for three thermal plants in N/hr were given by
𝐶1 = 500 + 5.3𝑃1 + 0.004𝑃12
𝐶2 = 400 + 5.5𝑃2 + 0.006𝑃22
𝐶3 = 200 + 5.8𝑃1 + 0.009𝑃32
When P1, P2 and P3 are in MW. The total load, PD is 800 MW. Neglecting line losses and generator
limits, find the optimal dispatch and the total cost in N/hr. Using both analytical and iterative methods.
(Hint use guess of 6.0 where applicable)
Solution
(i) By analytical/gradient method
Applying Eqn. (13)
𝑛𝑔 𝛽
𝑃𝐷 +∑𝑖=1 𝑖
2𝛾𝑖
𝜆= 𝑛𝑔 1
∑𝑖=𝑖
2𝛾𝑖
800+ 5.3⁄
0.008+5.5⁄0.012+5.8⁄0.018
𝜆 = 1⁄ 1 1 (where 𝛾𝑖 = 0.004, 0.006, 0.009)
0.008+ ⁄0.012+ ⁄0.018
800+1443.0555
= 263.8889 = 8.5 𝑁/𝑀𝑊ℎ
Applying the value of 𝜆 in Eqn. (11) gives
𝜆−𝛽𝑖
𝑃𝑖 =
2𝛾𝑖
8.5−5.3
𝑃1 = 2(0.004) = 400𝑀𝑊
8.5−5.5
𝑃2 = 2(0.006) = 250𝑀𝑊
8.5−5.8
𝑃3 = 2(0.009) = 150 𝑀𝑊
Take Home
The generators’ output power was usually descripted to lie within certain minimum and maximum limits.
The problem is to find the real power generation for each plant such that the objective function
(i.e., total production cost) as defined by Eq. (3) is minimum, subject to the constraint given by Eq. (4)
and the inequality constraints given by;
𝑃𝑖 (min) ≤ 𝑃𝑖 ≤ 𝑃𝑖 (𝑚𝑎𝑥), 𝑖 = 1, 2, . . 𝑛𝑔 (20)
where 𝑃𝑖 (min) and 𝑃𝑖 (𝑚𝑎𝑥) were the minimum and maximum generating limits respectively, for plant i.
Kuhn Tucker is used in complementing the Lagrange conditions to include the inequality constraints as
additional terms. The necessary conditions for the optimal dispatch with losses neglected are:
𝑑𝐶𝑖
= 𝜆 𝑓𝑜𝑟 𝑃𝑖 (min) ≤ 𝑃𝑖 ≤ 𝑃𝑖 (𝑚𝑎𝑥),
𝑑𝑃 𝑖
𝑑𝐶𝑖
≤ 𝜆 𝑓𝑜𝑟 𝑃𝑖 = 𝑃𝑖 (𝑚𝑎𝑥),
𝑑𝑃𝑖
𝑑𝐶𝑖
≥ 𝜆 𝑓𝑜𝑟 𝑃𝑖 = 𝑃𝑖 (𝑚𝑖𝑛),
𝑑𝑃𝑖
The Gradient/iterative method is also employed here i.e., for estimated value of 𝜆, 𝑃𝑖 is found from the
coordinate equation and iteration is continued until ∑ 𝑃𝑖 = 𝑃𝐷 . If any plant reaches a maximum or
minimum, the plant is pegged at the limit. The unviolated plant operates at equal incremental cost.
Example 2:
Find the optimal dispatch and the total cost in N/hr. for the thermal plants of Example 1 when the total
load is 975 MW with the following generator limits in MW;
200 ≤ 𝑃1 ≤ 450
Page 35 of 45
150 ≤ 𝑃2 ≤ 350
100 ≤ 𝑃3 ≤ 225
Assume 𝜆(0) = 6.0
Solution
𝜆−𝛽
Using 𝑃𝑖 = 2𝛾 𝑖
𝑖
(1) 6.0 −5.3
𝑃1 = 2(0.004) = 87.5000
(1) 6.0 −5.5
𝑃2 = 2(0.006) = 41.6667
(1) 6.0 −5.8
𝑃3 = 2(0.009) = 11.1111
But PD = 975 MW given
∆𝑃(1) = 975 − (87.5 + 41.6667 + 11.1111) = 834.7222
Substitute this error in power in Eq. (17)
834.7222
∆𝜆(1) = 1 1 1 = 3.1632
+ +
2(0.004) 2(0.006) 2(0.009)
Therefore, the new value of 𝜆 is
𝜆(2) = 6.0 + 3.1632 = 9.1632
(2)
Then compute 𝑃𝑖
(2) 9.1632 −5.3
𝑃1 = 2(0.004) = 482.8947
(2) 9.1632 −5.5
𝑃2 = = 305.2632
2(0.006)
(2) 9.1632 −5.8
𝑃3 = = 186.8421
2(0.009)
(2)
Hence, ∆𝑃 = 975 − (482.8947 + 305.2632 + 186.8421) = 0
Since, ∆𝑃(2) = 0, the equality constraint is met in two iterations, but observe that P1 exceeds it
maximum limit; so, we have to peg P1 to the upper limit say P1 = 450 and continue the iteration. This
implies that
∆𝑃(2) = 975 − (450 + 305.2632 + 186.8421) = 32.8947
Then from Eq. (17);
32.8947
∆𝜆(2) = 1 1 = 0.2368
+
2(0.006) 2(0.009)
The new value of 𝜆 becomes
𝜆(3) = 9.1632 + 0.2368 = 9.4
For the 3rd iteration, we obtain
(3)
𝑃1 = 450
(2) 9.4 −5.5
𝑃2 = 2(0.006) = 325
(2) 9.4 −5.8
𝑃3 = 2(0.009) = 200
∆𝑃(2) = 975 − (450 + 325 + 200) = 0
Now, ∆𝑃(3) = 0, showing that the equality constraint is met and P2 and P3 are within their limits given
rise to the optimal dispatch as
𝑷𝟏 = 𝟒𝟓𝟎𝑴𝑾
𝑷𝟐 = 𝟑𝟓𝟎𝑴𝑾
𝑷𝟑 = 𝟐𝟎𝟎 𝑴𝑾
𝝀 = 𝟗. 𝟒 𝑵/𝑴𝑾𝒉𝒓
Therefore, the total fuel cost becomes
𝐶𝑡 = 500 + 5.3(450) + 0.004(450)2
Page 36 of 45
𝑃𝐿 = ∑ ∑ 𝑃𝑖 𝐵𝑖𝑗 𝑃𝑗 (21)
𝑖=1 𝑗=1
Secondly, by using a more general formula, containing a linear term and constant term generally referred
to as Kron’s loss formula is
𝑛𝑔 𝑛𝑔 𝑛𝑔
𝐶𝑡 = ∑ 𝐶𝑖
𝑖=1
𝑛𝑔
= ∑ 𝛼𝑖 + 𝛽𝑖 𝑃𝑖 + 𝛾𝑖 𝑃𝑖2 (23)
𝑖=1
Subject to the constraint that generation should be equal to total demands plus losses, i.e.,
𝑛𝑔
∑ 𝑃𝑖 = 𝑃𝐷 + 𝑃𝐿 (24)
𝑖=1
Satisfying the inequality constraints, expressed as follows
𝑃𝑖 (min) ≤ 𝑃𝑖 ≤ 𝑃𝑖 (𝑚𝑎𝑥), 𝑖 = 1, 2, . . 𝑛𝑔 (25)
where 𝑃𝑖 (min) and 𝑃𝑖 (𝑚𝑎𝑥) were the minimum and maximum generating limits respectively for plant i.
Employing the Lagrangian’s multiplier and adding additional terms to include the inequality constraints,
we have
𝑛𝑔 𝑛𝑔 𝑛𝑔
𝜕ℒ
=0 (27)
𝜕𝑃𝑖
Page 37 of 45
𝜕ℒ
=0 (28)
𝜕𝜆
𝜕ℒ
=0 (29)
𝜕𝜇𝑗(𝑚𝑎𝑥)
Equation (29) and (30) imply that Pi should be allowed to go beyond its limits and when Pi is within the
limits 𝜇𝑗 (𝑚𝑖𝑛) = 𝜇𝑗 (𝑚𝑎𝑥) = 0 and Khun Tucker function becomes the same as Lagrange.
Eq (27) gives
𝜕𝐶𝑡 𝜕𝑃
+ 𝜆 (0 + 𝐿 − 1) = 0 (30)
𝜕𝑃𝑖 𝜕 𝑃𝑖
Since, 𝐶𝑡 = 𝐶1 + 𝐶2 + . . . + 𝐶𝑛𝑔
Then,
𝜕𝐶𝑡 𝑑𝐶𝑡
=
𝜕𝑃𝑖 𝑑𝑃𝑖
This gives the condition for optimum dispatch to be
𝑑𝐶𝑖 𝜕𝑃
+ 𝜆 𝜕𝑃𝐿 = 𝜆 𝑖 = 1, 2, . . . 𝑛𝑔 (31)
𝑑𝑃𝑖 𝑖
𝝏 𝑷𝑳
The term = incremental transmission loss
𝝏 𝑷𝒊
Second condition Eq. (28) results to
𝑛𝑔
∑ 𝑃𝑖 = 𝑃𝐷 + 𝑃𝐿 (32)
𝑖=1
Equation (31) is classically rearranged as
1 𝑑𝐶𝑖
[ 𝜕𝑃 ] =𝜆 𝑖 = 1, 2, . . . 𝑛𝑔 (33)
1− 𝐿 𝑑𝑃𝑖
𝜕𝑃𝑖
Or
𝑑𝐶
𝐿𝑖 𝑑𝑃𝑖 = 𝜆 𝑖 = 1, 2, . . . 𝑛𝑔n (34)
𝑖
Where
𝐿𝑖 = 𝑝𝑒𝑛𝑎𝑙𝑡𝑦 𝑓𝑎𝑐𝑡𝑜𝑟 𝑜𝑓 𝑝𝑙𝑎𝑛𝑡 𝑖
1
= 𝜕𝑃𝐿 (35)
1−
𝜕𝑃𝑖
Observe that effect of transmission loss is to introduce a penalty factor with a value that depends on the
location of the plant. Eq (34) shows that the minimum cost is obtained when the incremental cost of each
plant multiplied by its penalty factor is the same for all the plants.
Eq. (2) gives the incremental production cost while from Eq. (22) the incremental transmission loss is
obtained to be
𝑛𝑔
𝜕𝑃𝐿
= 2 ∑ 𝐵𝑖𝑗 𝑃𝑗 + 𝐵0𝑖 (36)
𝜕𝑃𝑖 𝑗=1
Using both the incremental production cost and incremental transmission loss in Eq. (31) yields
𝑛𝑔
𝑛𝑔
𝛾𝑖 1 𝐵𝑖
[ + 𝐵𝑖𝑖 ] 𝑃𝑖 + ∑ 𝐵𝑖𝑖 𝑃𝑗 = [1 − 𝐵0𝑖 − ] (37)
𝜆 2 𝜆
𝑗=1
𝑗≠𝑖
Extending Eq. (37) to all plants yield the following linear equations in matrix form
𝛾1
+ 𝐵11 𝐵12 …. 𝐵1𝑛𝑔 𝐵1
𝜆 𝑃1 1 − 𝐵01 −
𝛾2 𝜆
𝐵21. + 𝐵22. … 𝐵2𝑛𝑔 𝑃2. 1 𝐵2
.. 𝜆 .. ; [ . ]= 1 − 𝐵02 − (38)
. . ; ; 2 𝜆
. 𝐵𝑛𝑔
𝑃𝑛𝑔
𝛾𝑛𝑔
[1 − 𝐵0𝑛𝑔 − ]
[ 𝐵𝑛𝑔1 𝐵𝑛𝑔2 . .. 𝜆
+ 𝐵𝑛𝑔𝑛𝑔 ] 𝜆
As usual, the iterative process is continued using the gradient method. In doing this Eq. (37), Pi at the Kth
iteration is expressed as:
𝑛𝑔
(𝑘) (𝑘)
𝑃𝑖 = 𝜆(𝑘) (1 − 𝐵0𝑖 ) − 𝐵𝑖 − 2𝜆(𝑘) ∑ 𝐵𝑖𝑗 𝑃𝑗 (39)
𝑗≠𝑖
Using Pi from Eq. (39) in (32) results in
𝑛𝑔 𝑛𝑔
(𝑘) (𝑘) (𝑘) (𝑘)
∑𝜆 (1 − 𝐵0𝑖 ) − 𝐵𝑖 − 2𝜆 ∑ 𝐵𝑖𝑗 𝑃𝑗 = 𝑃𝐷 + 𝑃𝐿 (40)
𝑗≠𝑖 𝑗≠𝑖
Or
(𝑘) (𝑘)
𝑓(𝜆) = 𝑃𝐷 + 𝑃𝐿 (41)
Expanding left hand side of Eq. (41) in Taylor’s series about an operating point 𝜆(𝑘) , and neglecting the
higher-order terms results in
𝑑𝑓(𝜆) (𝑘)
𝑓(𝜆)(𝑘) + [ ] ∆𝜆(𝑘) = 𝑃𝐷 + 𝑃𝐿 (42)
𝑑𝜆
Or
∆𝑃(𝑘) ∆𝑃 (𝑘)
∆𝜆(𝑘) = = 𝑑𝑃𝑖 (𝑘)
(43)
𝑑𝑓 (𝑘)
[ ] ∑[ ]
𝑑𝜆 𝑑𝜆
where
𝑛𝑔 (𝑘) 𝑛𝑔 𝑛𝑔 (𝑘)
𝑑𝑃𝑖 𝛾𝑖 (1 − 𝐵0𝑖 ) + 𝐵𝑖𝑗 𝐵𝑖 − 2𝛾𝑖 ∑𝑗≠𝑖 𝐵𝑖𝑗 𝑃𝑗
∑[ ] =∑ 2 (44)
𝑑𝜆 2(𝛾𝑖 + 𝜆 (𝑘)
𝐵𝑖𝑗 )
𝑖=1 𝑖=1
Therefore,
𝜆(𝑘+1) = 𝜆(𝑘) + ∆𝜆(𝑘) (45)
where
𝑛𝑔
(𝑘) (𝑘)
∆𝑃(𝑘) = 𝑃𝐷 + 𝑃𝐿 − ∑ 𝑃𝑖 (46)
𝑖=1
The process continued until ∆𝑃(𝑘) is less than a specified accuracy.
Note that if approximate loss formula is expressed by
Page 39 of 45
𝑛𝑔
(𝑘) 𝜆(𝑘) − 𝐵𝑖
𝑃𝑖 = (48)
2(𝛾𝑖 + 𝜆(𝑘) 𝐵𝑖𝑗 )
And reduces to
𝑛𝑔 𝑛𝑔
𝑑𝑃𝑖 (𝑘) 𝛾𝑖 − 𝐵𝑖𝑖 𝐵𝑖𝑗
∑[ ] =∑ 2 (49)
𝑑𝜆 2(𝛾𝑖 + 𝜆(𝑘) 𝐵 )
𝑖=1 𝑖=1 𝑖𝑗
Worked Example 3:
The fuel cost in N/hr. of three thermal plants of a power system were given as:
𝐶1 = 200 + 7.0𝑃1 + 0.008𝑃12 𝑁/ℎ𝑟.
𝐶2 = 180 + 6.3𝑃2 + 0.009𝑃22 𝑁/ℎ𝑟.
𝐶3 = 140 + 6.8𝑃1 + 0.007𝑃32 𝑁/ℎ𝑟.
where P1, P2 and P3 were in MW. Plant output were subjected to the following limits
10 𝑀𝑊 ≤ 𝑃1 ≤ 85 𝑀𝑊
10 𝑀𝑊 ≤ 𝑃2 ≤ 80 𝑀𝑊
10 𝑀𝑊 ≤ 𝑃3 ≤ 70 𝑀𝑊
Assume for this problem, that the real power loss is given by the simplified expression
𝑃𝐿 (𝑝. 𝑢) = 0.0218𝑃12 (𝑝. 𝑢) + 0.0228𝑃22 (𝑝. 𝑢) + 0.0179𝑃32 (𝑝. 𝑢)
Where the loss coefficients were specified in per unit on a 100 MVA base. Determine the optimal
dispatch of generation when the total system load is 150 MW. Assume initial value of 𝜆(0) = 8.0.
Solution
In the cost function Pi were expressed in MW. Therefore, the real power loss in terms of MW
generation should be
(𝑘) 𝜆(𝑘) −𝐵
𝑃𝑖 = 2(𝛾 +𝜆(𝑘)𝐵𝑖 and substituting the values appropriately gave rise to
𝑖 𝑖𝑗 )
Page 40 of 45
= 1592.6088 𝑁/ℎ𝑟
Efficiency of the system is given as
𝑃𝑜𝑢𝑡𝑝𝑢𝑡
𝜂= × 100%
𝑃𝑖𝑛𝑝𝑢𝑡
𝑃𝐿𝑜𝑠𝑠
=1−( )
∑𝑖 𝑃𝑖
1.699 × 106
𝜂 =1− × 100%
(35.08890 + 64.1302 + 52.4746) × 106
= 𝟗𝟖. 𝟖𝟖%
Example 3:
Derive the loss function Pl and hence the B-coefficients for the network shown in Figure Example 3.
1 3 2
Unit 1 I1 I2 Unit 2
a b
Ra Rb
c Rc
Figure Example 3
Load
Solution
Computing losses in each line section adding together gives
𝑃𝐿 = 3{|𝐼1 |2 𝑅𝑎 + |𝐼2 |2 𝑅𝑏 + |𝐼1 + 𝐼2 |2 𝑅𝑐 } (1)
𝑃2 (𝑅 +𝑅 )
𝑎 𝑐 𝑃22 (𝑅𝑏 +𝑅𝑐 ) 2𝑃 𝑃 𝑅
1
𝑃𝐿 = [ (|𝑉 |.𝑝.𝑓 )2
+ (|𝑉2 |.𝑝.𝑓2 )2
+ (|𝑉 |.𝑝.𝑓1)(|𝑉
2 𝑐
|.𝑝.𝑓 )
]
1 1 1 1 2 2
𝑅𝑎 +𝑅𝑐
Let 𝐵11 = 2
(|𝑉1 |.𝑝.𝑓1 )
𝑐 𝑅
𝐵12 = 𝐵21 = (|𝑉 |.𝑝.𝑓 )(|𝑉 |.𝑝.𝑓 )
1 1 2 2
𝑅𝑏 +𝑅𝑐
𝐵22 = 2
(|𝑉2 |.𝑝.𝑓2 )
Therefore,
𝑃𝐿 = 𝑃12 𝐵11 + 2𝑃1 𝑃2 𝐵12 + 𝑃22 𝐵22
Page 43 of 45
3 3
𝑃𝐿 = ∑ ∑ 𝑃𝑖 𝐵𝑖𝑘 𝑃𝑘
𝑖=1 𝑘=1
Principle of Equal Incremental Rate
Given a system that consists of two generators connected to a single bus serving a received electrical
load PD. The input - output characteristics of two generating units are F1(PG1) and F2(PG2), respectively.
The total fuel consumption of the system F is the sum of the fuel consumptions of the two generating
units. Assuming there is no power output limitation for both generators, the essential constraint on the
operation of this system is that the sum of the output powers must equal the load demand. The economic
power dispatch problem of the system, which is to minimize F under the above – mentioned constraint,
can be expressed as:
min F
min 𝐹 = 𝐹1 (𝑃𝐺1 ) + 𝐹2 (𝑃𝐺2 ) (1)
S.t.
𝑃𝐺1 + 𝑃𝐺2 = 𝑃𝐷 (2)
According to the principle of equal incremental rate, the total fuel consumption F will be minimal if the
incremental fuel rates of two generators are equal, that is,
𝑑𝐹1 𝑑𝐹2
= =𝜆 (3)
𝑑𝑃𝐺1 𝑑𝑃𝐺2
𝑑𝐹
where 𝑑𝑃 1 is the incremental fuel rate of generating unit i, which corresponds to the slope of the input -
𝐺1
output curve of the generating unit.
If two generators operate under the different incremental fuel rate, and
𝑑𝐹1 𝑑𝐹2
>
𝑑𝑃𝐺1 𝑑𝑃𝐺2
the total output powers maintain the same rate. If generator 1 reduces output power ∆P , generator 2 will
𝑑𝐹
increase output power ∆P . Then generator 1 will reduce fuel consumption 𝑑𝑃 1 ∆P, and generator 2 will
𝐺1
𝑑𝐹
increase fuel consumption 𝑑𝑃 2 ∆P. The total savings of fuel consumption will be
𝐺2
Example 1
Suppose the input - output characteristics of two generating units which are as follows:
2
𝐹1 = 0.0008𝑃𝐺1 + 0.02𝑃𝐺1 + 5 𝐵𝑡𝑢/ℎ
2
𝐹2 = 0.0005𝑃𝐺2 + 0.03𝑃𝐺2 + 4 𝐵𝑡𝑢/ℎ
Determine the economic operation point for these two units when delivering a total of 500 MW power demand.
Solution
Firstly, obtain the incremental fuel rate of two generating units as follows:
𝑑𝐹1
𝜆1 = = 0.0016𝑃𝐺1 + 0.02
𝑑𝑃𝐺1
Page 44 of 45
𝑑𝐹2
𝜆2 = = 0.001𝑃𝐺2 + 0.03
𝑑𝑃𝐺2
According to the principle of equal incremental rate we have
𝜆1 = 𝜆2
0.0016𝑃𝐺1 + 0.02 = 0.001𝑃𝐺2 + 0.03
When one multiply through by 1000
1.6𝑃𝐺1 − 𝑃𝐺2 = 10 (𝑖)
𝑃𝐺1 + 𝑃𝐺2 = 500 (𝑖𝑖)
Solving eqn. (i) &(ii) simultaneously gives
From Eqn. (i) 𝑃𝐺2 = 1.6𝑃𝐺1 − 10
Substitute in eqn.(ii) yields
𝑃𝐺1 + 1.6𝑃𝐺1 − 10 = 500
𝑃𝐺1 + 1.6𝑃𝐺1 = 510
2.6𝑃𝐺1 = 510
510
𝑃𝐺1 = = 196.154 𝑀𝑊
2.6
Solving for 𝑃𝐺2 from eqn. (ii)
196.154 + 𝑃𝐺2 = 500
The corresponding system incremental fuel rate under this load is obtained as follows:
𝑑𝐹1
𝜆1 = = 0.0016𝑃𝐺1 + 0.02
𝑑𝑃𝐺1
𝜆 = 0.0016(196.154 ) + 0.02
𝜆 = 0.3338
Exercises
1. The fuel function in N/hr. for two 800 MW thermal plants are given by
𝐶1 = 400 + 6.0𝑃1 + 0.004𝑃12
𝐶2 = 500 + 𝛽𝑃2 + 𝛾𝑃22
Where P1 and P2 were in MW
(a) The incremental cost of power 𝜆 is N8/ MWhr when the total power demand is 550 MW.
Neglecting losses, determine the optimal generation of each plant.
(b) The incremental cost of power 𝜆 is N10/MWhr when the total power demand is 1300 MW. Neglecting
losses, determine the optimal generation of each plant.
(c) From the results of (a) and (b), find the fuel cost coefficient 𝛽 𝑎𝑛𝑑 𝛾 of the second plant.
(d) The fuel cost functions in N/hr for three thermal plants are given by
1 Ref. bus 2
I1 I2
V1=1 00 a
Plant 1 Plant 2
b c
4. Suppose the input - output characteristics of three generating units are as follows:
2
𝐹1 = 0.0006𝑃𝐺1 + 0.5𝑃𝐺1 + 6 𝐵𝑡𝑢/ℎ
2
𝐹2 = 0.0005𝑃𝐺2 + 0.6𝑃𝐺2 + 5 𝐵𝑡𝑢/ℎ
2
𝐹3 = 0.0007𝑃𝐺3 + 0.4𝑃𝐺3 + 3 𝐵𝑡𝑢/ℎ
Determine the economic operation point for these three units when delivering a total of 500 MW
and 800 MW power demand, respectively.