Power System Analysis / Power Flow
Power System Analysis / Power Flow
1.1 Lecture
11
1. Power flow calculation
G1 G3
1 Bus (node)
11
Line
Area 1 Area 2
10 Generator
3 101 13 120 110
Transformer
Load
20
2 4 14 12
G2 G4
In the system shown below, determine the relationship between currents and voltages
Yd
Yb Yc
I1 Ya I3
1.3 THE YBUS MATRIX
Example 1 Yd
Currents at node 1:
I1 U 1Y a U 1
U 2
Yb U 1
U 3
Yd Yb Yc
I1 Ya I3
Currents at node 2:
0 U 2
U 1 Yb U 2
U 3
Yc
Currents at node 3:
I3 U 3
U 1
Yd U 3
U 2
Yc
I1 Ya Yb Yc Yb Yd U 1
In matrix form: 0 Yb Yb Yc Yc U 2
I3 Yd Yc Yc Yd U 3
Yd
1.3 THE YBUS MATRIX
Example 1
Yb Yc
I1 Ya I3
I1 Ya Yb Y cd Yb Yd U 1
0 Yb Yb Yc Yc U 2
I3 Yd Yc Yc Yd U 3
Generalizing for any system, the network admittance matrix, Ybus, relates the
nodal voltages vector, U, to the nodal currents vector, I, such that:
I N x1
Y bus U N x1
N : to ta l n u m b e r o f n e tw o r k b u s e s ( n o d e s )
N xN
Example 2 G1 YL1 G2
I1 Y L1 Y L1 0 0 U1
Y L1 Y L1 YL2 YL4 YL4 YL2 YL4
I2 U 2 YL2
I3 0 YL4 Y L3 YL4 YL3 U 3 P3 jQ3
I4 0 YL2 YL3 YL2 YL3 U 4 G4
1 4 4 4 4 4 4 4 4 4 2 4 4 4 4 4 4 4 4 4 3 YL3
Y bus
T
Y bus A Yp A Y p : p r im itiv e a d m itta n c e m a tr ix
M M
Y L1 0 L 0
N B : n u m b er of b ra n c h e s
0 Y L1 0 0
Yp =
M M O M O rd e r of Yp: N B
N B
0 0 L Y LN
B
1.3 THE YBUS MATRIX
Incidence Matrix: AM
(More convenient for automated generation of Ybus in large networks)
O rd e r o f A M
: N B
N
T
Y bus A M
Yp A M N B : n u m b er of b ra n c h e s
N : to ta l n u m b e r o f n e tw o r k b u s e s ( n o d e s )
Elements of AM
Convention for current direction is important, e.g.
m I n 0 If l-th branch is not connected to node m
amn 1 If current in l-th branch is directed away from node m
YL4
Y L1 0 0 0 1 1 0 0 YL2
P3 jQ3
T 0 YL2 0 0 0 1 0 1
Y bus AM G4
{ 1 2 3 0 0 YL3 0 0 0 1 1 YL3
N N N N B
0 0 0 YL4 0 1 1 0
1 4 4 4 2 4 4 4 3 1 4 44 2 4 4 43
Yp [ N B N B ] A M [N B N ]
Y ij Y ij ij
Y ij c o s ij
j s in ij
G ij j B ij
Ii Ui
The voltage of the network nodes (e.g. at node i) :
U i
U i i
U i
cos i
j s in i
i
Si Pi jQi
Therefore, the current injected at node i can be obtained as:
N
Ii Y i1 U 1
Yi2 U 2
. .. Y iN U N
Y in U n
n 1
Considering
N
Ii Y i1 U 1
Yi2 U 2
. .. Y iN U N
Y in U n
n 1
Ii Ui
The active power injected into node i, is given by
i
*
Si Pi jQ i U i
Ii Si Pi jQi
N N
Pi U iU n Y i n c o s i n in
Qi U iU n Y i j s i n i n in
n 1 n 1
N : to ta l n u m b e r o f n e tw o r k b u s e s ( n o d e s )
1.5 NETWORK NODE TYPES
N
Pi U iU n Y i n c o s i n in
n 1
PV bus (generation)
Pi and Ui i and Qi
(associated to Pi)
PQ bus (load)
Pi and Qi i and Ui
(associated to Pi and Qi)
T
N : to ta l n u m b e r o f n e tw o r k n o d e s T
x 2
,K , N
,U N 2
K ,U N
g
G1 YL1 G2
1.5 NETWORK NODE TYPES
Example 4
YL4
In the 4 node network: YL2
1. Slack node node 1 P3 jQ3
2. PV node 1 active power equation (P2)
3. PQ node 1 active and 1 reactive power equation (P3,Q3) G4
YL3
4. PV node 1 active power equation (P4).
Node Number of Known Unkown Number of equations
Type nodes Variables Variables per bus type
Slack bus 1 U1 and 1 P1 and Q1 0
P2 and U2 2 and Q2
PV buses 2 2 (related to P2 and P4)
P4 and U4 4 and Q4
PQ bus 4-2-1 P3 and Q3 3 and U3 2 (related to P3 and Q3)
Total of 4 equations, and 4 state variables, x = [ T
2 3 4 U 3]
h(x)
dh ( x0 )
dx
1.6 NEWTON RAPHSON METHOD
The mismatch equations are nothing more than the power flow equations,
cleverly re-written, so that they become zero when the method converges:
Pi x Pi Pi x Pi U iU n Y in c o s i n in
n 1
Specified for node i
Iteratively computed for node i
N
Qi x Qi Qi x Qi U iU n Y in s in i n in
n 1
T
T
x 2
,K , N
,U N 2
K ,U N
Updated throughout the iterations
g
2 N
U N +2
U N
J 11 g
J 12
M . .. M M . .. M
fp fp PN . .. PN PN . .. PN
J 11 J 12 2 N
U N g
+2
U N
J J
J 21 J 22
fq fq QN
g
+2
. .. QN
g
+2
QN
g
+2
. .. QN
g
+2
2 N
U N +2
U N
g
J 21 M . .. M . .. . .. M J 22
QN . .. QN QN . .. QN
2 N
U N +2
U N
g
2 N
U N +2
U N
g
k k
M . .. M M . .. M 2
P2
PN . .. PN PN . .. PN M M
k k
2 N
U N +2
U N PN
g N
k k
QN +2
. .. QN +2
QN +2
. .. QN +2 U QN
g g g g N g +2 g +2
2 N
U N +2
U N M M
g
M . .. M . .. . .. M U
k
QN
k
N
QN . .. QN QN . .. QN
U U
2 N N g
+2 N Corrections Mismatches
Jacobian
J11 block:
N
Pi
Diagonal elements: U iU n Y i n s in in n i
i n 1
n i
Pi
Off-diagonal elements: U iU j Y i j s i n ij j i
j
J12 block: N
Pi
Diagonal elements: 2 U iY i i c o s ii
U n Y in c o s in n i
U i n 1
n i
Pi
Off-diagonal elements: U iY i j c o s ij j i
U j
J21 block:
N
Qi
Diagonal elements: U iU n Y i n c o s in n i
i n 1
n i
Qi
Off-diagonal elements: U iU j Y i j c o s ij j i
j
1.6 NEWTON RAPHSON METHOD
J22 block:
N
Qi
Diagonal elements: 2 U i Y i i s in ii
U n Y in s i n in n i
U i n 1
n i
Qi
Off-diagonal elements: U iY i j s i n ij j i
U j
Ybus
T
k k k
k 0, x
T
k k k
h (x ) Pi x Q i
x
k
m ax( h(x ) ) ? s to p .
k
m ax( h(x ) ) ? g o to 5 .
k k
J J (x )
T
k k k k 1 k
x ( ) ( )
k 1 k k
k 1 k k
N e w i t e r a t io n k 1: x x x
k 1 k k
U U U
i s a p r e - s p e c if i e d t o l e r a n c e e .g . 0 .0 0 0 1
1.8 DECOUPLED POWER FLOW (DPF)
For real electrical systems, inverting the Jacobian matrix at every iteration of the
power flow calculation process increases the computational burden.
Solution: use the Jacobian matrix calculated at step k = 0, in all steps of the power flow
calculation. Approach usually termed as dishonest Newton method
k 0 0
J J J (x )
Disadvantage: More iterations are needed to reach the final results (longer convergence).
1. Resistance of the overhead lines much smaller than the reactance (X >> R)
1 1 j
2
Y ij j Y ij e
jX ij
X ij
s in ( i j
) i j
cos( i j
) 1
1.8 DECOUPLED POWER FLOW (DPF)
Consequences:
J12 and J21 = 0
k k k
J (x ) x h (x )
k
As long as the mismatch
0
J 11 0
k Pi x equations are evaluated in the
0 k k
exact manner, i.e. without the
0 J U Q x
22 i simplifications, the DPF method
1
will provide accurate solutions,
k 0
11 i
k
but it will just need more
iterations to converge.
1
k 0 k
U J 22
Q i
x
M L M M M
B N ,N 2
L BNN U N
Q N
g
U N
1.8 DECOUPLED POWER FLOW (DPF)
Ybus
T
k k k
x
k k k
Pi U i
, i
U i
1
k 0 k k
11 i
,
k 1 k k
k k 1 k
Qi U i
, i
U i
1
k 0 k k 1
U J 22 Q i
U ,
k 1 k k
U U U
k
m ax( h (x ) ) ? s to p .
k
m ax( h(x ) ) ? g o to 3 .
i s a p r e - s p e c if i e d t o l e r a n c e e .g . 0 .0 0 0 1
1.9
Based on the same hypothesis of the DPF, the non linear equations are
linearized to solve only the active power channel.
N
Original power
Pi x Pi Pi x Pi U iU n Y in c o s i n in
0 flow equations
n 1
j
U i
U j
1 p u , Y ij Y ij e 2
, i j
0 DC power flow hypotheses
1.9
Resulting DCPF equation:
N N
Pi U iU n Y i n c o s i n in
Y in s i n n i
n 1 n 1
n 1
N
Pi Y ij i n
n 1
n 1 Row and column corresponding
to the slack bus deleted
In Matrix form, it is possible to demonstrate that:
P2 B 22 . .. BN 2
P B
1
M M . .. M M
PN B N2 . .. B NN N