Professional Documents
Culture Documents
• Compare the value of last step with the threshold value (error).
4
• If the error is greater than the calculated difference go to step 1 (update λ).
5
• Stop
6
Example 6
Consider the input-output characteristics of generating plants as follows.
H ( MBtu / h ) =A + BP + CP 2 + DP 3
For the three units, find the optimum schedule using the lambda-iteration method.
A B C D
Unit 1 749.55 6.95 9.68×10 −4 1.27×10 −7
Unit 2 1285 7.051 7.375×10 −4 6.453×10 −8
Unit 3 1531 6.531 1.04×10 −3 9.98×10 −8
Assume the fuel cost to be 1.0 $/MBtu for each unit and unit limits as follows.
320𝑀𝑀𝑀𝑀 ≤ 𝑃𝑃1 ≤ 800𝑀𝑀𝑀𝑀
300𝑀𝑀𝑀𝑀 ≤ 𝑃𝑃2 ≤ 1200𝑀𝑀𝑀𝑀 𝐹𝐹 = 𝑓𝑓𝑓𝑓𝑓𝑓𝑓𝑓Pr𝑖𝑖𝑖𝑖𝑖𝑖 × 𝐻𝐻
275𝑀𝑀𝑀𝑀 ≤ 𝑃𝑃3 ≤ 1100𝑀𝑀𝑀𝑀
𝑑𝑑𝐹𝐹𝑖𝑖
Calculating 𝑃𝑃𝑖𝑖 from: = 𝜆𝜆
Two sample calculations are shown, both using the 𝑑𝑑𝑃𝑃𝑖𝑖
flowchart.
In this calculation, the value for ;1 on the second
iteration is always set at 10% above or below the Iteration λ Total 𝑷𝑷𝟏𝟏 𝑷𝑷𝟐𝟐 𝑷𝑷𝟑𝟑
starting value depending on the sign of the error; for the Generation
remaining iterations, lambda is projected as in Figure 1 8 1731.6 494.3 596.7 640.6
3.5.
The first example shows the advantage of starting λ near 2 8.8 2795 800 1043 952
the optimum value.
𝑃𝑃1 3 8.5781 2526 734.7 923.4 867.9
𝑃𝑃𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 = 2500𝑀𝑀𝑀𝑀
First iteration �𝑃𝑃2
𝜆𝜆𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 = 8 $⁄𝑀𝑀 𝑤𝑤𝑤 𝑃𝑃3 4 8.5566 2497.5 726.1 911.7 859.7
The second example shows the oscillatory problems that
can be encountered with a lambda-iteration approach. 5 8.5586 2500 726.9 912.7 860.4
𝑃𝑃𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 = 2500𝑀𝑀𝑀𝑀
𝜆𝜆𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠𝑠 = 10 $⁄𝑀𝑀 𝑤𝑤𝑤
Line equation
𝑒𝑒𝜆𝜆2 − 𝑒𝑒𝜆𝜆1
𝑒𝑒 − 𝑒𝑒𝜆𝜆2 = 𝜆𝜆 − 𝜆𝜆2
𝜆𝜆2 − 𝜆𝜆1
error 245 − −768.4
𝑒𝑒2 � = 2795 − 2500 = 245 𝑒𝑒 − 245 = × (𝜆𝜆 − 8.8�
𝜆𝜆2 8.8 − 8
245
Assume that both the first and second derivatives in the cost versus power output function are
available.( i.e 𝐹𝐹𝑖𝑖′ and 𝐹𝐹𝑖𝑖′′ ). As the unit load is changed by an amount ∆𝑃𝑃𝑖𝑖 the system
incremental cost moves.
𝛥𝛥𝛥𝛥
𝛥𝛥𝑃𝑃1 =
𝐹𝐹 ″1
𝛥𝛥𝛥𝛥
𝛥𝛥𝑃𝑃𝑁𝑁 = ″
𝐹𝐹 𝑁𝑁
𝛥𝛥𝑃𝑃𝑖𝑖 1⁄𝐹𝐹 ″ 𝑖𝑖
Participation factor for each unit: =
𝛥𝛥𝑃𝑃𝐷𝐷 1
� ″
𝑖𝑖 𝐹𝐹 𝑖𝑖
𝛥𝛥𝑃𝑃𝑖𝑖
𝑃𝑃𝑛𝑛𝑛𝑛𝑤𝑤𝑖𝑖 = 𝑃𝑃𝑏𝑏𝑏𝑏𝑏𝑏𝑒𝑒𝑖𝑖 + 𝛥𝛥𝑃𝑃𝐷𝐷 , 𝑓𝑓𝑓𝑓𝑓𝑓: 𝑖𝑖 = 1,2,3
𝛥𝛥𝑃𝑃𝐷𝐷
Base power
min
𝐹𝐹𝑖𝑖 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖 = 𝐹𝐹𝑖𝑖 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖
+ 𝑆𝑆𝑖𝑖1 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖1 + 𝑆𝑆𝑖𝑖2 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖2 + 𝑆𝑆𝑖𝑖3 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖3
𝑷𝑷𝒈𝒈𝒈𝒈𝒏𝒏𝒊𝒊𝟏𝟏
𝑷𝑷𝒊𝒊 �𝑷𝑷𝒈𝒈𝒈𝒈𝒏𝒏𝒊𝒊𝟐𝟐 𝑺𝑺𝒊𝒊𝟏𝟏 < 𝑺𝑺𝒊𝒊𝟐𝟐 < 𝑺𝑺𝒊𝒊𝟑𝟑
𝑷𝑷𝒈𝒈𝒈𝒈𝒏𝒏𝒊𝒊𝟑𝟑
min
𝐹𝐹𝑖𝑖 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖 = 𝐹𝐹𝑖𝑖 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖
+ 𝑆𝑆𝑖𝑖1 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖1 + 𝑆𝑆𝑖𝑖2 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖2 + 𝑆𝑆𝑖𝑖3 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖3
min
0 ≤ 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖𝑖𝑖 ≤ 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖𝑖𝑖+1
, 𝑓𝑓𝑓𝑓𝑓𝑓 → 𝑘𝑘 = 1,2,3
min
𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖 = 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖
+ 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖 + 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖1 + 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖2 + 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖3
𝐹𝐹𝑖𝑖 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖𝑖𝑖+1 − 𝐹𝐹𝑖𝑖 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖𝑖𝑖
𝑆𝑆𝑖𝑖𝑖𝑖 =
𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖𝑖𝑖+1 − 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖𝑖𝑖
Economic Dispatch with LP
𝑁𝑁𝑔𝑔𝑔𝑔𝑔𝑔
Minimize min
� 𝐹𝐹𝑖𝑖 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖
+ 𝑠𝑠𝑖𝑖1 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖1 + 𝑠𝑠𝑖𝑖2 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖2 + 𝑠𝑠𝑖𝑖3 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖3
𝑖𝑖=1
min
Unit Constraints: 0 ≤ 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖𝑖𝑖 ≤ 𝑃𝑃𝑔𝑔𝑔𝑔𝑛𝑛𝑖𝑖𝑖𝑖
𝑓𝑓𝑓𝑓𝑓𝑓, 𝑘𝑘 = 1,2,3, . . . .
𝑁𝑁𝑔𝑔𝑔𝑔𝑔𝑔
Where 𝐿𝐿𝑖𝑖 is known as the penalty factor of plant i and is given by:
1
𝐿𝐿𝑖𝑖 =
𝑑𝑑𝑃𝑃
1 − 𝐿𝐿𝐿𝐿𝐿𝐿𝐿𝐿
𝑑𝑑𝑃𝑃𝑖𝑖
E.D including transmission losses
One common practice for including the effect of transmission
losses is to express the total transmission loss as a quadratic
function of the generator power outputs.
B𝒊𝒊𝒊𝒊 are called the loss coefficients
• Simplest form: Kron’s loss formula: • They are assumed to be
𝑛𝑛𝑔𝑔𝑔𝑔𝑔𝑔 constant
𝑛𝑛𝑔𝑔𝑔𝑔𝑔𝑔 𝑛𝑛𝑔𝑔𝑔𝑔𝑔𝑔 • Reasonable accuracy is
expected when actual operating
𝑃𝑃𝐿𝐿𝑜𝑜𝑜𝑜𝑜𝑜 = � � 𝑃𝑃𝑖𝑖 . 𝐵𝐵𝑖𝑖𝑖𝑖 . 𝑃𝑃𝑗𝑗 + � 𝐵𝐵0𝑗𝑗 . 𝑃𝑃𝑗𝑗 + 𝐵𝐵00
conditions are close to the base
𝑗𝑗=1 𝑗𝑗=1
case conditions used to
𝑖𝑖=1
compute the coefficients.
Economic Dispatch including loss
There are two methods for including the effect of transmission losses
1. Expressing the total transmission loss as a quadratic function of the
generator power outputs.
2. Considering load flow as a constraint in optimization problem
(Optimal Power Flow = OPF).
Example 7
• Starting with the same units and fuel costs as in Example 3, we will
include a simplified loss expression.
𝑃𝑃𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 = 0.00003𝑃𝑃12 + 0.0000𝑃𝑃22 + 0.00012𝑃𝑃32
𝐹𝐹1 𝑃𝑃1 = 𝐻𝐻1 𝑃𝑃1 × 1.1 = 561 + 7.92𝑃𝑃1 + 0.001562𝑃𝑃12 𝑆𝑆⁄ℎ 𝑑𝑑𝐹𝐹i 𝜕𝜕𝑃𝑃𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙
𝐹𝐹2 𝑃𝑃2 = 𝐻𝐻2 𝑃𝑃2 × 1.0 = 310 + 7.85𝑃𝑃2 + 0.00194𝑃𝑃22 𝑆𝑆⁄ℎ = 𝜆𝜆 1 −
𝑑𝑑𝑃𝑃i 𝜕𝜕𝑃𝑃𝑖𝑖
𝐹𝐹3 𝑃𝑃3 = 𝐻𝐻3 𝑃𝑃3 × 1.0 = 78 + 7.97𝑃𝑃2 + 0.00482𝑃𝑃22 𝑆𝑆⁄ℎ
7.92 + 0.003124𝑃𝑃1 = 𝜆𝜆 1 − 2 0.00003 𝑃𝑃1
First derivative of F 7.85 + 0.00388𝑃𝑃2 = 𝜆𝜆 1 − 2 0.00009 𝑃𝑃2
7.97 + 0.00964𝑃𝑃3 = 𝜆𝜆 1 − 2 0.00012 𝑃𝑃3
We no longer have a set of linear equations as before. This necessitates a more complex solution
procedure as follows.
• Pick a set of starting values for 𝑃𝑃1 , 𝑃𝑃2 , and 𝑃𝑃3 that sum
1 to the load. (Ignoring losses)
• Calculate the incremental losses 𝜕𝜕𝜕𝜕𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 ⁄𝜕𝜕𝜕𝜕𝑖𝑖 , as well as
2 the total losses 𝑃𝑃𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 and total losses.
• Calculate the value of λ that causes 𝑃𝑃1 , 𝑃𝑃2 , and 𝑃𝑃3 to sum to the total load plus
losses. This is now as simple as the calculations in Example ? since the
3 equations are again linear.
• Compare the 𝑃𝑃1 , 𝑃𝑃2 , and 𝑃𝑃3 from step 3 to the values used at the start of step
2. If there is no significant change in any one of the values, go to step 5,
4 otherwise go back to step 2.
5
• End
Using this procedure, we obtain
𝑃𝑃1 = 400𝑀𝑀𝑀𝑀
Starting Values: 𝑃𝑃2 = 300𝑀𝑀𝑀𝑀 � → 𝑃𝑃𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 = 0.0003𝑃𝑃12 + 0.00009𝑃𝑃22 + 0.00012𝑃𝑃32
𝑃𝑃3 = 150𝑀𝑀𝑀𝑀
𝑃𝑃𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙 = 15.6𝑀𝑀𝑀𝑀
850MW
𝜕𝜕𝑃𝑃𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙
= 2 0.00003 400 = 0.024
𝜕𝜕𝑃𝑃1
𝜕𝜕𝑃𝑃𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙
= 2 0.00009 300 = 0.054
𝜕𝜕𝑃𝑃2
𝜕𝜕𝑃𝑃𝑙𝑙𝑙𝑙𝑙𝑙𝑙𝑙
= 2 0.00012 150 = 0.036
𝜕𝜕𝑃𝑃3