Assignment 1 Solution (Doctor) PDF
Assignment 1 Solution (Doctor) PDF
1 Solution
∂F dC1
=0⇒ = 0.005P1 + 3.2 (1.2)
∂P1 dP1
∂F dC2
=0⇒ = 0.0066P2 + 5.1 (1.3)
∂P2 dP2
∂F dC3
=0⇒ = 0.006P3 + 4.2 (1.4)
∂P3 dP3
∂F
= 0 ⇒ 1000 − P1 − P2 − P3 = 0 (1.5)
∂λ
and the incremental cost of generation for each unit in this case is equal to the system marginal
cost, i.e.:
dC1 dC2 dC3
= = =λ (1.6)
dP1 dP2 dP3
Solving (1.2) to (1.6) yields: P1 = 561.41 MW, P2 = 137.43 MW, and P3 = 301.16 MW.
As P1 and P3 are violating maximum limits, they are fixed at P1 = 500 MWand P3 = 300 MW,
which yields P2 = 200 MW.
Thus, the incremental costs are:
where system marginial cost λ = 6.42 $/MWh, as P2 is not violating any limits. The incremental
costs of P1 and P3 satisfy the conditions of optimality as they both are less than λ while violating
their maximum limits.
1
ECE 666 Assignment 1 Solution Winter 2014
2 Solution
∂F dC1
=0⇒ = 5.092P1 + 23.45 (2.2)
∂P1 dP1
∂F dC2
=0⇒ = 37.08P2 + 78.43 (2.3)
∂P2 dP2
∂F dC3
=0⇒ = 10.708P3 + 54.34 (2.4)
∂P3 dP3
∂F
= 0 ⇒ 1145 − P1 − P2 − P3 = 0 (2.5)
∂λ
and the incremental cost of generation for each unit in this case is equal to the system marginal
cost, i.e.:
dC1 dC2 dC3
= = =λ (2.6)
dP1 dP2 dP3
Solving (2.2) to (2.6) yields: P1 = 712.56 MW, P2 = 96.37 MW, and P3 = 336.07 MW.
As P1 and P2 are violating their maximum and minimum limits, respectively, they are fixed at
P1 = 700 MWand P2 = 100 MW, which yields P3 = 345 MW.
Thus, the incremental costs are:
where system marginial cost λ = 3748.61 $/MWh, as P3 is not violating any limits. The incre-
mental costs of P1 and P2 satisfy the conditions of optimality as:
dC1 dC2
< λ (as P1 violates maximum limit) and > λ (as P2 violates minimum limit)
dP1 dP2
2
ECE 666 Assignment 1 Solution Winter 2014
3 Solution
∂F dC1
=0⇒ = 0.00506P1 + 3.19 (3.2)
∂P1 dP1
∂F dC2
=0⇒ = 0.0065P2 + 5.11 (3.3)
∂P2 dP2
∂F
= 0 ⇒ 1200 − P1 − P2 = 0 (3.4)
∂λ
and the incremental cost of generation for each unit in this case is equal to the system marginal
cost, i.e.:
dC1 dC2 dC3
= = =λ (3.5)
dP1 dP2 dP3
Solving (3.2) to (3.5) yields: P1 = 840.83 MW, and P2 = 359.17 MW. As P1 is violating the
maximum limit, it is fixed at P1 = 600 MW, which yields P2 = 600 MW and λ = 9.01 $/MWh.
The Lagrangian considering losses is given by:
where
PLoss = 11 × 10−5 P21 + 6 × 10−5 P22 (3.7)
Thus the incremental loss factors and penalty factors (pf ) for the two units are:
∂PLoss ∂PLoss
= 0.00022P1 and = 0.00012P1 (3.8)
∂P1 ∂P2
1 1
pf1 = and pf2 = (3.9)
1 − 0.00022P1 1 − 0.00012P2
3
ECE 666 Assignment 1 Solution Winter 2014
The KKT conditions for the Lagrangian in (3.6) are derived as follows:
∂F
= 0 ⇒ 0.00506P1 + 3.19 + λ(0.00022P1 − 1) = 0 (3.10)
∂P1
∂F
= 0 ⇒ 0.0065P2 + 5.11 + λ(0.00012P2 − 1) = 0 (3.11)
∂P2
∂F
= 0 ⇒ 1200 + (0.00011P21 + 0.00006P22 ) − P1 − P2 = 0 (3.12)
∂λ
Thus, the coordination equations can be written by re-arranging the above KKT conditions:
!
1
(0.00506P1 + 3.19) = λ (3.13)
1 − 0.00022P1
!
1
(0.0065P2 + 5.11) = λ (3.14)
1 − 0.00012P2
1200 + (0.00011P21 + 0.00006P22 ) − P1 − P2 = 0 (3.15)
In order to solve the above set of equations we use the iteration method and start from the initial
ELD solution, neglecting losses, i.e., P1 = 600 MW, P2 = 600 MW and λ = 9.01 $/MWh. An
error is defined as:
= [PD + PLoss ] − [P1 + P2 ] (3.18)
and the objective is to minimize this below a certain value (say 0.15).
The iteration is shown in the following table.
4
ECE 666 Assignment 1 Solution Winter 2014
Iteration P1 P2 PLoss PD + PLoss λ P1 P2
pf 1 pf 2
count MW MW MW MW $/MWh MW MW MW
1 600 600 61.2 1.152074 1.077586 1261.2 9.01 915 500.19 -153.99
8.5 827.67 427.38 6.15
2 827.67 427.38 86.31 1.222625 1.054058 1286.31 8.5 743.53 454.47 88.31
8.75 783.94 490.96 11.41
3 783.94 490.96 82.06 1.208411 1.062604 1282.06 8.75 800.58 480.69 0.79
4 800.58 480.69 84.37 1.213780 1.061214 1284.37 8.75 794.25 482.35 7.77
8.8 802.39 489.6 -7.62
8.775 798.32 485.97 0.08
5 798.32 485.97 84.28 1.213048 1.061928 1284.28 8.775 799.18 485.12 -0.02
6 799.18 485.12 84.38 1.213327 1.061813 1284.38 8.775 798.85 485.26 0.27
Thus, the ELD solution, neglecting the generation limits, is P1 = 798.85 MW, P2 = 485.26 MW
and λ = 8.775 $/MWh.
If the generation limits are considered, then P1 = 600 MW, and using (3.15) P2 = 666.23 MW.
The system marginal cost, i.e., the second generator’s incremental cost, is λ = 9.441 $/MWh,
and the first generator’s incremental cost is 6.226 $/MWh (satisfying the condition of optimality).
5
ECE 666 Assignment 1 Solution Winter 2014
4 Solution
where λ = 30 $/MWh and PD is the unknown demand. The loss function PLoss is given as:
∂PLoss ∂PLoss
= 0.00022P1 + 0.0045P2 and = 0.00012P1 + 0.0045P1 (4.3)
∂P1 ∂P2
The KKT conditions for the Lagrangian in (4.1) are derived as follows:
∂F ∂PLoss
!
dC1
=0⇒ +λ −1 =0 (4.4)
∂P1 dP1 ∂P1
⇒ 0.00643P1 + 3.37 + 30 (0.00022P1 + 0.0045P2 − 1) = 0 (4.5)
⇒ 0.01303P1 + 0.135P2 = 26.63 (4.6)
∂F ∂PLoss
!
dC2
=0⇒ +λ −1 =0 (4.7)
∂P2 dP2 ∂P2
⇒ 0.00364P1 + 7.19 + 30 (0.00012P2 + 0.0045P1 − 1) = 0 (4.8)
⇒ 0.135P1 + 0.00724P2 = 22.81 (4.9)
∂F
= 0 ⇒ PD + 0.00011P21 + 0.00006P22 + 0.0045P1 P2 − P1 − P2 = 0 (4.10)
∂λ
Solving (4.6) and (4.9) gives P1 = 159.21 MW and P2 = 181.89 MW as the optimal dispatches.
6
ECE 666 Assignment 1 Solution Winter 2014
5 Solution
If the generating units are operating on economic dispatch, the incremental cost of all the three
generators must be equal to the Lagrange multiplier λ. A relation for the increment in total cost
∆Ct in terms of the generator incremental cost functions can be written as:
as
dC1 dC2 dC3
= = =λ (5.3)
dP1 dP2 dP3
The first set of reading gives:
0 = λ × (1 + 1 − 2) = λ × 0 = 0 (5.4)
which does not provide any information on λ. The second set of reading shows:
30 = λ × (1 + 1 + 1) = 3λ (5.5)
⇒ λ = 10 $/MWh (5.6)
20 = λ × (−3 + 1 + 1) (5.7)
⇒ λ = 20 $/MWh (5.8)
Therefore, we can conclude that the system is NOT on economic dispatch and Jill was right.
7
ECE 666 Assignment 1 Solution Winter 2014
6 Solution
where the significance of λ is that, it denotes the increase in emission (in Kg) for a 1 MW increase
in demand. For economic emission load dispatch we derive the following equations using KKT
conditions:
∂F dE1
=0⇒ −λ=0 (6.2)
∂P1 dP1
⇒ 0.055P1 + 3.5 = λ (6.3)
∂F dE2
=0⇒ −λ (6.4)
∂P2 dP2
⇒ 0.13P2 + 6.2 = λ (6.5)
∂F
= 0 ⇒ 900 − P1 − P2 = 0 (6.6)
∂λ
Solving (6.3), (6.5), and (6.6) gives P1 = 647.03 MW and P2 = 252.97 MW as the optimal dis-
patches, and the incremental emission λ = 39.09 Kg/MWh, i.e., the emission will increase by
39.09 Kg/h for an increase of 1 MW in generation.
A comparison of the total system emissions in case of joint dispatch with that when the utilities
operate independently will provide the amount of emission reduction, as shown below:
8
ECE 666 Assignment 1 Solution Winter 2014
7 Solution
jmax
X
Min. J= n j C(PS j ) (7.1)
j=1
PH j + PS j = PD j (7.2)
jmax
X
n j q j = QT OT (7.3)
j=1
jmax jmax
j
X X max
X
F= n j C(PS j ) + λ j P D j − P H j − PS j + γ n j q j − QT OT (7.4)
j=1 j=1 j=1
∂F dC(PS j )
= 0 ⇒ nj = λj (7.5)
∂PS j dPS j
∂F ∂q(PH j )
= 0 ⇒ γ · nj = λj (7.6)
∂PH j ∂PH j
∂F
= 0 ⇒ PD j − PH j − PS j = 0 (7.7)
∂λ j
jmax
∂F X
=0⇒ n j q j − QT OT = 0 (7.8)
∂γ j=1
9
ECE 666 Assignment 1 Solution Winter 2014
b) Substituting values:
4 × 0.0054PS 1 + 9 − λ1 = 0
(7.9)
4 × 0.0054PS 2 + 9 − λ2 = 0
(7.10)
−λ1 + 4 × γ (5.64) = 0 (7.11)
−λ2 + 4 × γ (5.64) = 0 (7.12)
725 − PH1 − PS 1 = 0 (7.13)
615 − PH2 − PS 2 = 0 (7.14)
4 × (5.64PH1 + 180) + 4 × (5.64PH2 + 180) − 25000 = 0 (7.15)
Starting iteration:
10
ECE 666 Assignment 1 Solution Winter 2014
8 Solution
ET H 5200
T T∗ H = ∗ = = 94.94 h (8.2)
PT H 54.77
b) The hydro generator is delivering 150 – 54.77 = 95.23 MW for 94.94 h and 150 MW for
168 – 94.94 = 73.06 h. Thus, the total volume of water discharged from the reservoir is computed
as:
c) Let T S be the required amount of time that the thermal generator must operate, then the
hydro generator is operating for T S hours at 95.23 MW and 168 – T S hours at 150 MW. Thus
the total water discharge can be written as:
11
ECE 666 Assignment 1 Solution Winter 2014
9 Solution
ET H 5600
T T∗ H = = = 112 h (9.2)
P∗T H 50
b) The hydro generator is delivering 200 – 50 = 150 MW for 112 h and 200 MW for 168 –
112 = 56 h. Thus, the total volume of water discharged from the reservoir is computed as:
c) The new water draw-down is: QT ot = 0.95 · 750, 400 = 712,880 acre-ft. Let T S be
the required amount of time that the thermal generator must operate, then the hydro generator is
operating for T S hours at 150 MW and 168 – T S hours at 200 MW. Thus the total water discharge
can be written as:
12
ECE 666 Assignment 1 Solution Winter 2014
10 Solution
PA + PB = 650MW (10.1)
13
ECE 666 Assignment 1 Solution Winter 2014
The system cost = CA+B = C A + C B = (0.09 × 3002 + 15 × 300 + 5) + (0.06 × 3502 + 6.5 × 350 +
2) = 22,232 $/h.
System savings = (20,405 + 5,377) – 22,232 = 3,550 $/h.
Marginal cost of Utility–A: λ A = 0.18 × 300 + 15 = 69 $/h.
Marginal cost of Utility–B: λ B = 0.12 × 350 + 6.5 = 48.5 $/h.
Using split-the-savings principle, Utility A pays to B: Increased cost of B + 12 ×the savings =
(9,627 – 5,377) + 12 ×3,550 = 6,025 $/h
14