Professional Documents
Culture Documents
Power Systems I
Kuhn-Tucker Method
l The unconstrained cost function becomes
L = f + ∑ λi gi + ∑ µ j u j
i j
∂L = 0 l = 1,L, n ∂L = gi = 0 i = 1,L, k
∂xl ∂λi
∂L = u j ≤ 0 j = 1,L, m µ j u j = 0 & µ j > 0 j = 1,L, m
∂µ j
Power Systems I
Example
l Use the Kuhn-Tucker method to determine the minimum
distance from the origin of the x-y plane to a circle
described by
(x − 8)2 + ( y − 6)2 = 25 or
g ( x, y ) = ( x − 8) + ( y − 6 ) − 25
2 2
constrained by
u ( x, y ) = 2 x + y ≥ 12
u The minimum distance is
obtained by minimizing the
distance squared
f ( x, y ) = x 2 + y 2
Power Systems I
Example
f ( x, y ) = x 2 + y 2 g ( x, y ) = ( x − 8) + ( y − 6 ) − 25 = 0
2 2
u ( x, y ) = 2 x + y ≥ 12
The cost function
L = f + λ ⋅ g + µ ⋅u
[ ]
= x 2 + y 2 + λ ( x − 8) + ( y − 6 ) − 25 + µ [2 x + y − 12]
2 2
∂λ ∂µ
Power Systems I
Example
u eliminating λ from the first two equations
16λ 12λ 3
= →y= x
2x 2y 4
u substituting for y in the third equation yields
2
(x − 8) + x − 6 − 25 = 0
2 3
4
25 2
x − 25 x + 75 = 0 → x = 4 & x = 12
16
extrema : (4,3), λ = 1 and (12,9 ), λ = −3
x=4
min →
y=3
Power Systems I
Economic Dispatch with Generator Limits
l The power output of any generator should not exceed its
rating nor be below the value for stable boiler operation
u Generators have a minimum and maximum real power output
limits
l The problem is to find the real power generation for each
plant such that cost are minimized, subject to:
u Meeting load demand - equality constraints
u Constrained by the generator limits - inequality constraints
l The Kuhn-Tucker conditions
dCi dPi = λ ← Pi (min) < Pi < Pi (max)
dCi dPi ≤ λ ← Pi = Pi (max)
dCi dPi ≥ λ ← Pi = Pi (min)
Power Systems I
Example
l Neglecting system losses, find the optimal dispatch and
the total cost in $/hr for the three generators and the
given load demand and generation limits
C1 = 500 + 5.3P1 + 0.004 P12 [$ / MWhr ]
C2 = 400 + 5.5P2 + 0.006 P22
C3 = 200 + 5.8P3 + 0.009 P32
200 ≤ P1 ≤ 450
150 ≤ P2 ≤ 350
100 ≤ P3 ≤ 225
PDemand = 975 MW
Power Systems I
Example
βi
n gen
PDemand + ∑
i =1 2γ i 800 + 0.5008 + 0.5012 + 05.018
.3 .5 .8
λ= = = $8.5 / MWhr
0.008 + 0.012 + 0.018
ngen 1 1 1
1
∑ i =1 2γ i
8.5 − 5.3
P1 = = 400 MW
2(0.004 )
λ − βi 8.5 − 5.5i
Pi = ⇒ P2 = = 250 MW
2γ i 2(0.006 )
8.5 − 5.8
P3 = = 150 MW
2(0.009 )
PDemand = 800 MW = 400 + 250 + 150 MW
Power Systems I
Example
l Solve using iterative methods
u initial guessλ[1] = 6.0
[1] 6.0 − 5.3 [1] 6 .0 − 5 .5
P1 = = 87.5 P2 = = 41.7
2(0.004 ) 2(0.006)
[1] 6.0 − 5.8
P3 = = 11.1
2(0.009 )
∆P [1] = 975 − (87.5 + 41.7 + 11.1) = 834.7
[1]
∆P (834.7)
∆λ[1] = [1] = = 3.1632
(∂P ∂λ ) 2 (0.004 ) + 2 (0.006 ) + 2 (0.009 )
1 1 1
( [3]
)
150 ≤ P2 = 325 ≤ 350 ( [3]
100 ≤ P3 = 200 ≤ 225 )
Ctotal = 500 + 5.3(450) + 0.004(450)
2
( ) (
+ 400 + 5.5 325 + 0.006 325 )2
Power Systems I
Economic Dispatch including Losses
l For large interconnected system where power is
transmitted over long distances with low load density
areas
u transmission line losses are a major factor
u losses affect the optimum dispatch of generation
l 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 n gen n gen
Power Systems I
Economic Dispatch including Losses
n gen n gen
f : Ctotal = ∑ Ci = ∑αi +β i Pi + γ i Pi
2
i =1 i =1
n gen
g: ∑P = P
i =1
i demand + Plosses
Power Systems I
Economic Dispatch including Losses
l When generator limits are not violated:
∂L ∂Ctotal ∂PL
=0= + λ 0 + − 1
∂Pi ∂Pi ∂Pi
∂Ctotal
∂Pi
=
∂
∂Pi
(C1 + C2 + L + Cngen =) dCi
dPi
dCi ∂PL 1 dCi dCi
∴ λ= +λ = = Li
dPi ∂Pi 1 − ∂PL ∂Pi dPi dPi
∂L
n gen n gen
= 0 = PD + PL − ∑ Pi ∴ ∑ Pi = PD + PL
∂λ i =1 i =1
Power Systems I
The Penalty Factor
l The incremental transmission loss equation becomes the
penalty factor
1
Li =
∂PL
1−
∂Pi
Power Systems I
The Penalty Factor
n gen n gen n gen
PL = ∑∑ Pi Bij Pj + ∑ B0 j Pj + B00
i =1 j =1 j =1
∂PL
n
gen
dCi
= 2∑ Bij Pj + B0i = β i + 2γ i P
∂Pi j =1 dPi
∂PL
n gen
dCi
λ= +λ = β i + 2γ i Pi + 2λ ∑ Bij Pj + λB0i
dPi ∂Pi j =1
γ 1 β1
1 − B01 −
λ + B11 B12 L B1n
P1 λ
γ2 β
B21 + B22 L B2 n P2 = 1 1 − B02 − 2
λ M 2 λ
M M O M
γn βn
B + Bnn n
P
Bn 2 L
1 − B0 n −
n1
λ
λ
or
EP=D
Power Systems I
Economic Dispatch including Losses
l To find the optimal dispatch for an estimated value of λ[1]
u The simultaneous linear equation is solved, E P = D
u Then the iterative process is continued using the gradient method
u If an approximate loss formula is used
n gen
PL = ∑ Bii Pi 2
i =1
the solution of the simultaneous equations reduces to
λ − βi
[k ] n gen
∂Pi
n gen
γ i + Bii β i
Pi [k ]
=
2(γ i + λ Bii )
∑ =∑ 2
i =1 ∂λ 2(γ i + λ Bii )
2
i =1
[k ] [ k ]
Power Systems I
Example
l Find the optimal dispatch and the total cost in $/hr
u fuel costs and plant output limits
C1 = 200 + 7.0 P1 + 0.008P12 [$ / hr ] 10 ≤ P1 ≤ 85 MW
C2 = 180 + 6.3P2 + 0.009 P22 10 ≤ P2 ≤ 80
C3 = 140 + 6.8P3 + 0.007 P32 10 ≤ P3 ≤ 70
u real power loss and total load demand
Ploss = 0.000218 P12 + 0.000228 P22 + 0.000179 P32
PDemand = 150 MW
Power Systems I
Example
First iteration with initial guess at 8.0
λ[ k ] − βi
λ = 8.0
[0]
Pi =
[k ]
2(γ i + λ[ k ] Bii )
2
8.0 − 7.0
P1 =
[1]
= 51.3
2(0.008 + 8.0 ⋅ 0.000218)
2
8.0 − 6.3
P2[1] = = 78.5
2(0.009 + 8.0 ⋅ 0.000228)
2
8.0 − 6.8
P3 =
[1]
= 71.2
2(0.007 + 8.0 ⋅ 0.000179 )
2
Ploss = 2.886
Power Systems I
Example
∆P[ k ] = PD + PL[ k ] − (P1[ k ] + P2[ k ] + P3[ k ] ) Newton-Raphson
∆P[1] = 150 + 2.9 − (51.3 + 78.5 + 71.2 ) = −48.1
∂Pi γ i + Bii β i
3 [k ] 3
J [k ]
= ∑ =∑
i =1 2 (γ i + λ Bii )
the Jacobian
i =1 ∂λ
[k ] 2
− 48.1
∆λ[1] = = −0.316 the improvement
152.5
λ[ 2 ] = λ[1] + ∆λ[1] = 8.0 − 0.316 = 7.684
Power Systems I
Example
Second iteration
λ [k ]
− βi
λ[ 2 ] = 7.684 Pi [ k ] =
2(γ i + λ Bii )
[k ] 2
7.684 − 7.0
P1 =
[2]
= 35.4
2(0.008 + 7.684 ⋅ 0.000218)
2
7.684 − 6.3
P2 =
[2]
= 64.4
2(0.009 + 7.684 ⋅ 0.000228)
2
7.684 − 6.8
P3 =
[2]
= 52.8
2(0.007 + 7.684 ⋅ 0.000179 )
2
( ) ( ) (
Ploss = 0.000218 35.4 + 0.000228 64.4 + 0.000179 52.8
2 2
)2
Ploss = 1.717
Power Systems I
Example
∆P[ k ] = PD + PL[ k ] − (P1[ k ] + P2[ k ] + P3[ k ] ) Newton-Raphson
∆P[ 2 ] = 150 + 1.7 − (35.4 + 64.4 + 52.8) = −0.84
∂Pi γ i + Bii βi
3 [k ] 3
J [k ]
= ∑ =∑
i =1 2 (γ i + λ Bii )
the Jacobian
i =1 ∂λ
[k ] 2
− 0.84
∆λ[ 2 ] = = −0.00543 the improvement
154.6
λ[ 3] = λ[ 2 ] + ∆λ[ 2 ] = 7.684 − 0.0.00543 = 7.679
Power Systems I
Example
Third iteration
λ [k ]
− βi
λ[ 3] = 7.679 Pi [ k ] =
2(γ i + λ Bii )
[k ] 2
7.679 − 7.0
P1[ 3] = = 35.09
2(0.008 + 7.679 ⋅ 0.000218)
2
7.679 − 6.3
P2 =
[ 3]
= 64.14
2(0.009 + 7.679 ⋅ 0.000228)
2
7.679 − 6.8
P3 =
[ 3]
= 52.48
2(0.007 + 7.679 ⋅ 0.000179 )
2
Ploss = 1.699
Power Systems I
Example
∆P[ k ] = PD + PL[ k ] − (P1[ k ] + P2[ k ] + P3[ k ] ) Newton-Raphson
∆P[ 3] = 150 + 1.697 − (35.09 + 64.14 + 52.48) = −0.0174
∂Pi γ i + Bii βi
3 [k ] 3
J [k ]
= ∑ =∑
i =1 2 (γ i + λ Bii )
the Jacobian
i =1 ∂λ
[k ] 2
− 0.0174
∆λ[ 3] = = −0.000113 the improvement
154.6
λ[ 4 ] = λ[ 3] + ∆λ[ 3] = 7.684 − 0.0.000113 = 7.6789
Power Systems I
Example
Forth iteration
λ [k ]
− βi
λ[ 4 ] = 7.6789 Pi [ k ] =
2(γ i + λ Bii )
[k ] 2
7.6789 − 7.0
P1[ 3] = = 35.09
2(0.008 + 7.6789 ⋅ 0.000218)
2
7.6789 − 6.3
P2 =
[ 3]
= 64.13
2(0.009 + 7.6789 ⋅ 0.000228)
2
7.6789 − 6.8
P3 =
[ 3]
= 52.47
2(0.007 + 7.6789 ⋅ 0.000179 )
2
Ploss = 1.699
Power Systems I
Example
= 1592.65 $ / hr
Power Systems I