EE3741 - L4 - Power Flow PDF
EE3741 - L4 - Power Flow PDF
EE3741 - L4 - Power Flow PDF
1 2
I1
AC
I2
AC
y12= y21
'
y12'
y12
3 2
2 y13 = y31 I3 y23=y32
I1=(V1-V3)Y13+V1(Y12’/2+Y13’/2)-(V2-V1)Y12
I2=(V2-V1)Y12+V2(Y12’/2+Y23’/2)-(V3-V2)Y23
I3=(V
( 3-V2)Y
) 23+V3(Y
( 13’/2+Y
’/ 23’/2)-(V
’/ ) ( 1-V3)Y
) 13
⎡ I 1 ⎤ ⎡Y 11 Y 12 Y 13 ⎤ ⎡V 1 ⎤
⎢ I 2 ⎥ = ⎢Y 21 Y 22 Y 23⎥ ⎢V 2 ⎥
⎢ ⎥ ⎢ ⎥⎢ ⎥
⎢⎣ I 3 ⎥⎦ ⎢⎣Y 31 Y 32 Y 33⎥⎦ ⎢⎣V 3 ⎥⎦
7 Electrical Engineering, HKPU EE3741 Ass. Prof Zhao Xu
Solving for Bus Currents
For example,
p , ina two
pprevious
nodecase
y assume
system with Ybus
Bus Bus
⎡ 1.0 ⎤ 2
V=⎢ ⎥
1
⎣ 0
0.8
8 − j 0.2
0 2 ⎦
Then
⎡12 − j15.9 −12 + j16 ⎤ ⎡ 1.0 ⎤ ⎡ 5.60 − j 0.70 ⎤
⎢ −12 + j16 12 − j15 ⎥ ⎢ ⎥ =⎢ ⎥
⎣ 15.9
9 ⎦⎣ 0
0.8
8 − j 0
0.2
2 ⎦ ⎣ −5
5.58
58 + j 0.88
0 88 ⎦
Therefore the power injected at bus 1 is
S1 = V1I1* = 1.0 × (5.60 + j 0.70) = 5.60 + j 0.70
S2 = V2 I 2* = (0.8
(0 8 − j 0.2)
0 2) × (−5.58
5 58 − j 0.88)
0 88) = −4.64
4 64 + j 0.41
0 41
8 Electrical Engineering, HKPU EE3741 Ass. Prof Zhao Xu
Solving for Bus Voltages
For example,
example in previous case assume
⎡ 5.0 ⎤
I=⎢ ⎥
⎣ − 4
4.8
8 ⎦
Then
−1
⎡12 − j15.9 −12 + j16 ⎤ ⎡ 5.0 ⎤ ⎡ 0.0738 − j 0.902 ⎤
⎢ −12 + j16 12 − j15 ⎥ ⎢ ⎥ =⎢ ⎥
⎣ 15.9
9 ⎦ ⎣ − 4
4.8
8 ⎦ ⎣ − 0
0.0738
0738 − j1.098
1 098 ⎦
Therefore the power injected is
S1 = V1I1* = (0.0738 − j 0.902) × 5 = 0.37 − j 4.51
S 2 = V2 I 2* = ( −00.0738
0738 − j11.098)
098) × ( −44.8)
8) = 00.35
35 + j 55.27
27
9 Electrical Engineering, HKPU EE3741 Ass. Prof Zhao Xu
Effect of Shunt Elements
• System
S t power flow
fl can be
b controlled
t ll d by
b switching
it hi
of shunt capacitor banks, shunt reactors, and static
VAR systems.
systems If there is a shunt capacitor of Y Y’ at
bus 1, the self-admittance at bus 1 changes to Y11 =
(y12+ y13+ y12’/2+ y13’/2) + Y’ and no other elements
will be affected.
• Both tap-changing and regulating transformers are
modelled by a transformer with off nominal turns
ratio a and equivalent series admittance Yeq (as
shown in Figure next page). page) Then the
corresponding elements in the YBus (Yii, Yij and Yjj)
g
need to be changed.
10 Electrical Engineering, HKPU EE3741 Ass. Prof Zhao Xu
Tap-changing and Regulating Transformers
• Equivalent π Circuit
a Yeq
i j
(1 a)Yeq
(1-a) (a 2-a) Yeq
G
Ground
d
yij
i j
y'ij/2 y'ij/2
Note-
Ground
conjugate!
12 Electrical Engineering, HKPU EE3741 Ass. Prof Zhao Xu
Power Balance Equations
From KCL we know at each bus i in an n bus system
the current injection, I i , must be equal to the current
that flows into the network
n
I i = I Gi − I Di = ∑ Iik
k =1
Since I = Ybus V wee also kno
know
n
I i = I Gi − I Di = ∑ YikVk
k =1
θ ik = θ i − θ k
Recall e jθ = cosθ + j sin θ
14 Electrical Engineering, HKPU EE3741 Ass. Prof Zhao Xu
Real Power Balancen Equations
n
Si = Pi + jQi = Vi ∑ Yik*Vk* = ∑ Vi Vk e jθik (Gik − jBik )
k =1 k =1
n
= ∑ Vi Vk (cosθ ik + j sin θ ik )(Gik − jBik )
k =1
Resolving into the real and imaginary parts
n
Pi = ∑ Vi Vk (Gik cosθ ik + Bik sinθ ik ) = PGi − PDi
k =1
n
Qi = ∑ Vi Vk (Gik sinθ ik − Bik cosθ ik ) = QGi − QDi
k =1
I the
In th power flow
fl we assume we know
k Si and
d the
th
Ybus . We would like to solve for the V's. The problem
is the below equation has no closed form solution:
*
⎛ n ⎞ n
Si = Vi I i* = Vi ⎜ ∑ YikVk ⎟ = Vi ∑ Yik*Vk*
⎝ k =1 ⎠ k =1
Rath er, wealgebraic
Nonlinear must pursue an iterative
equation set, notapproach.
exactly
solvable but can be solved through iterative
solvable,
process
V—magnitude and angle !
16 Electrical Engineering, HKPU EE3741 Ass. Prof Zhao Xu
Gauss Iteration
There are a number of different iterative methods
we can use. We'll consider two: Gauss and Newton.
⎝ k =1 ⎠ k =1
n n
S*i = Vi* I i = Vi* ∑ YikVk = Vi* ∑ YikVk
k =1 k =1
S*i n n
Vi*
= ∑ YikVk = YiiVi + ∑ YikVk
k =1 k =1,
1 k ≠i
1 ⎛ S*i n ⎞
Vi = ⎜ * − ∑ YikkVk ⎟
Yii ⎜⎝ V k =1,k ≠i
⎟
⎠
20
i
Electrical Engineering, HKPU EE3741 Ass. Prof Zhao Xu
Gauss Two Bus Power Flow Example
p
•A
A 100 MW, 50 Mvar load is connected to a generator
•through a line with z = 0.02 + j0.06 p.u. and line charging of 5 Mvar on
each end (100 MVA base). Also, there is a 25 Mvar capacitor at bus 2. If the
generator voltage is 1.0 p.u., what is V2?
1 ⎛ S*i n ⎞
Vi(v +1) = ⎜ ( v )* − ∑ YikVk( v ) ⎟
Yii ⎜ V = ≠ ⎟
⎝ i k 1
1, k i ⎠
= (v) (v) (v )
hi (V1 ,V2 ,...,Vn )
But after we've determined Vi(v +1) we have a better
estimate
i off its
i voltage
l , so it
i makes
k sense to use this
hi
new value. This approach is known as the
26
Gauss-Seidel iteration.
Electrical Engineering, HKPU EE3741 Ass. Prof Zhao Xu
Gauss-Seidel Iteration
Immediatelyy use the new voltage
g estimates:
V2( v +1) = h2 (V1 ,V2( v ) ,V3( v ) ,…,Vn( v ) )
( v +1)) ( v +1))
V3 = h2 (V1 ,V2 ,V3 ,…,Vn )(v) (v )
Voltage Ng Pi |V i | Ng (only P Ng
Controlled Equations)
Load Bus NN- Ng -1
1 Pi Q I 2(N- Ng -1)
2(N 1) 2(N- Ng -1)
2(N 1)
⎡ ( v )* n (v ) ⎤
Hence (v )
Qi = − Im ⎢Vi ∑ YikV ⎥
⎣ k =1
k
⎦
In the iteration we use (v)
Si = Pi + (v )
jQi
1 ⎛ Si( v )* n ⎞
Vi ( v +1)
= ⎜ (v )* − ∑ YikVk ⎟ (v)
Yii ⎜ V = ≠ ⎟
⎝ i k 1, k i ⎠
But since Vi is specified, replace Vi( v +1) by Vi
Magnitude is known
Bus 1 Bus 2
V1 = 1.0
10 V2 = 1.05
1 05
(slack bus)
P2 = 0 MW
Gauss-Seidel Disadvantages
g
zTends to converge relatively slowly, although this can be
improved with acceleration
zHas tendency to miss solutions,
solutions particularly on large systems
zTends to diverge on cases with negative branch reactance
(common with compensated lines)
N d tto program using
zNeed i complex
l numbers
b
x ( v +1)
= x (v) ⎡ 1 ⎤ (v) 2
− ⎢ ( v ) ⎥ (( x ) - 2)
⎣2x ⎦
47 Electrical Engineering, HKPU EE3741 Ass. Prof Zhao Xu
Jacobian matrix
x (v+1) ⎡ 1 ⎤ (v) 2
= x − ⎢ (v) ⎥ ((x ) -2)
(v)
⎣2x ⎦
Guess x(0) =1. Iteratively solving we get
v x(v) f (x(v) ) Δx(v)
0 1 −1 0.5
1 1.5 0.25 −0.08333
2 1.41667
141667 6953×10−3
6.953 2454×10−3
−2.454
3 1.41422 6.024×10−6
x (v+1) ⎡ 1 ⎤ (v) 2
= x − ⎢ (v) ⎥ ((x ) -2)
(v)
⎣2x ⎦
Guess x(0) =1. Iteratively solving we get
v x(v) f (x(v) ) Δx(v)
0 1 −1 0.5
1 1.5 0.25 −0.08333
−3 −3
2 1.41667
141667 6953×10
6.953 −2.454
2454×10
3 1.41422 6.024×10−6
49 Electrical Engineering, HKPU EE3741 Ass. Prof Zhao Xu
Bus type and Jacobian formulation