1
sin( ) (2)
n
i i j ij ij j i
j
Q V V Y
=
= +
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
Hence, two variables for each bus are fixed a priori
Still the solution is not straight-forward since these are non-linear
algebraic equations
The solution can only be obtained by using an iterative numerical
technique
Depending upon which two variables are fixed a priori, the buses
are classified into 3 categories:
(i)
7
i
P
i
Q
di
Q
di
P
gi
P
gi
Q
i
V
i
i
Q
i
max
i j i j
( ) ( )
min max
;
gi gi gi
P P P
( ) ( )
min max
gi gi gi
Q Q Q
gi di L gi di L
P P P Q Q Q = + = +
gi
P
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
An iterative algorithm for solving a set of non-linear algebraic
equations
PQ buses
To start with, a solution vector is assumed (flat voltage start or
uniform voltage profile)
(Here, it is assumed that buses 2 to n are PQ buses).
RHS: the most recently calculated values of voltages should be used
Gauss-Seidel method
14
1
1
n
i i ij j
j
ii
j i
V I Y V
Y
=
(
(
=
(
(
1
1
; 2,3,......
n
i i
ij j
j
ii i
j i
P jQ
Y V i n
Y V
(
= =
(
(
1
n
i ij j
j
I Y V
=
=
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
Voltages at buses i = 2, 3, n are updated in a sequence during
each iteration
V
1
Slack bus voltage is fixed, therefore not updated
Example (4-bus system):
The entire process is repeated till the changes in voltages at all
buses are less than a pre-decided small number
Therefore, generalizing,
15
( )
( )
( ) ( )
( )
1 1 0
3 3
3 31 1 32 2 34 4
0
33
3
1 P jQ
V Y V Y V Y V
Y
V
(
= + +
(
(
( )
( )
( ) ( )
1
1
1
1 1
1
i n
m m m
i i
i ik k ik k
m
k k i
ii
i
P jQ
V Y V Y V
Y
V
= = +
(
=
(
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
Acceleration Factor :
The number of iterations required may be reduced considerably if
the voltage in an iteration is corrected by using an acceleration
factor and the previous iteration value:
=1.6 usually, and not greater than 2 - otherwise the algorithm
may diverge
16
( ) ( ) ( ) ( )
( )
1 1
(accelerated)
m m m m
i i i i
V V V V
+ +
= +
= =
= =
= = +
(
= = =
`
(
)
(
= +
`
(
)
(
=
(
=
= =
= + =
=
= +
= +
| (4)
ii
Y
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
Since |V
i
| are specified in (3), it represents a set of linear
algebraic equations in (which are (n-1) in number) as at
slack bus is specified
The equation corresponding to slack bus (n=1) is redundant as
the real power injected at this bus is fully specified
Equation (3) can be now solved explicitly (i.e non-iteratively)
for which when substituted in (4) give Q
i
s , the
reactive power bus injections.
20
) 0 with (
2 2
1
= =
= =
L
n
i
gi
n
i
di
P P P P
1
2 3
, ...
n
\
( )
0 0 0
1 2
, ,.....,
n
x x x
0 0 0
1 1 1
0 0
1 2
1 1
0 0
2 2
0 0
0 0 0
1 2
. . .
. . . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . .
n
n n
n n n
n
f f f
x x x
f x
f x
f x
f f f
x x x
(
| | | | | |
(
| | |
( ( (
\ \ \
( (
(
( (
(
( (
(
+
( (
(
( (
(
( (
(
(
(
(
| | | | | | (
| | | (
\ \ \
.
.
.
.
i
n
K
K
(
(
(
(
=
(
(
(
(
(
(
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
In matrix notations,
is known as Jacobian matrix
These are linear algebraic equations.
24
0 0 0
f J x K + =
0
J
0 0 0
1 1 1 1
0 0 0 0
0 0 0
n n n n
K f K x
K f J x J
K f K x
( (
=
( (
= =
( (
( (
=
0 0
1 1
1
0
0 0
n n
x K
J
x K
( (
( (
( =
( (
( (
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
The approximate values of corrections can be obtained by
inverting Jacobian or by using LU factorization.
25
( ) ( ) ( )
1 0 0
1
or generalizing,
m m m
x x x
x x x
+
= +
= +
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
Iterations are continued until
26
( )
( )
( ) ( )
( ) ( )
1
1
cos
sin
n
i i j ij ij j i
j
n
i i j ij ij j i
j
i i i
specified calculated
i i i
specified calculated
P V V Y
Q V V Y
P P P
Q Q Q
=
=
= +
= +
=
=
( )
( )
( )
(a specified value) = 1, 2, ....,
m m
i i i
K f x K i n = <
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
For three bus system, 1 slack bus, 2 and 3 PQ bus
Jacobian
27
2 2 2 2
2 3
2 3
2 2
3 3 3 3
2 3
2 3
3 3
2 2 2 2 2 2
2 3
2 3
3 3
3 3 3 3
2 3
2 3
P P P P
V V
P
P P P P
V V
P
Q V Q Q Q Q
V V
Q V
Q Q Q Q
V V
(
(
(
( (
(
( (
(
( (
=
(
( (
(
( (
(
(
(
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
The elements of an n bus system are,
28
( )
( )
( ) ( )
( )
1
1
sin
sin
cos 2 cos
cos
n
i
i j ij ij j i
j
i
j i
i
i j ij ij j i
j
n
i
j ij ij j i i ii ii
j
i
j i
i
i ij ij j i
j
P
V V Y
P
V V Y
P
V Y V Y
V
P
V Y
V
=
= +
= +
= + +
= +
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
29
( )
( )
( )
( )
( )
1
1
cos
cos
sin 2 sin
sin
n
i
i j ij ij j i
j
i
j i
i
i j ij ij j i
j
n
i
j ij ij j i i ii ii
j
i
j i
i
i ij ij j i
j
Q
V V Y
Q
V V Y
Q
V Y V Y
V
Q
V Y
V
=
= +
= +
= +
= +
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
Voltage magnitudes are fixed (specified) at PV buses
Voltage magnitude variable is removed
Suppose 2PQ bus, 3PV bus,
V
3
= 0 , because V
3
is fixed, also Q
3
does not exist at bus 3
since Q
3
is not specified
PV Bus
30
2 2 2
2 3 2
2 2
3 3 3
3 3
2 3 2
2 2
2 2 2
2 3 2
P P P
V
P
P P P
P
V
Q V
Q Q Q
V
(
(
(
( (
(
( (
=
(
( (
(
( (
(
(
(
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
Assume a 3 bus system:1slack, 2PQ, 3PV
Assume for 1
st
iteration, also assume
Calculate
Calculate mismatches
Calculate elements of 3x3 Jacobian
Invert Jacobian and calculate
Newton-Raphson algorithm
31
o
1 1
0 V V
0
3
0 =
2, 3, 2,
, , &
cal cal cal
P P Q
0 0 0
2 3 2
, & P P Q
1
2 2
3 3
2 2
P
J P
V Q
(
(
(
(
=
(
(
(
(
2
0 o
1 0 V
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
Update values of ,
Continue the procedure till there is convergence (all P and Q
or and |V| are less than a chosen small number).
32
2 3 2
, & V
1 0 0
1 0 0 1 0 0
2 2 2 3 3 3 2 2 2
, , V V V = + = + = +
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
In N-R method, the Jacobian matrix has to be processed (e.g.
LU factorization) in each iteration.
To reduce the computational burden, it can be calculated every
few number of iterations.
Computations can be reduced further by a decoupled power
flow method- a modified but approximate version of the N-R
method
It is based on the following two characteristics of power flow in
a network
- change in modifies P and not Q
- change in |V| mainly affects Q and to a very less extent P
The Decoupled Power Flow Method
33
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
These above characteristics have been verified in case of
regulating transformers and transmission lines
There is strong interdependence between real powers and bus
voltage angles, and between reactive powers and voltage
magnitudes in steady state conditions
Weak coupling between the two sets of variables viz. (P) and
(QV) is used in the decoupled power flow method in which
equations with P and QV variables are solved sequentially
The elements of the Jacobian matrix representing the weak
couplings are ignored
34
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
For earlier case of 3-bus system,
35
2 2
2 3
2 2
3 3
3 3
2 3
2 2
2
2
0
0
0 0
P P
P
P P
P
Q V
Q
V
(
(
(
( (
(
( (
(
( (
=
(
( (
(
( (
(
(
(
(
(
( (
(
=
( (
(
(
[ ] [ ]
1
2
2 2
2
Q
V Q
V
=
(
(
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
GS method: less number of arithmetic operations per iteration.
The network matrix is sparse
The solution technique is simple
Therefore, it requires less time per iteration.
NR method: elements of the Jacobian have to be computed in
each iteration; the time required is more
GS method: rate of convergence is slow as compared to the NR
method
The NR method needs 3 to 5 iterations to reach an acceptable
solution for a large system (irrespective of the size of the
system)
Comparison of GS and NR algorithms
37
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
Power flow with regulating transformers
38
Ideal Transformer
I
n
m m
I
S S
m
n Z
1
Y=
1: a
V
V
a
n
m
n
V
m
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
Off-nominal tap ratio, a may be real (e.g., 1.04) or imaginary
(e
j/60
or 3
shift).
Lossless transformer
39
,
m m m n n n
S V I S V I
= =
( )
or
Now, (1)
Multiplying both sides by
m n
m m m n
m n m n
n n m m n
S S
V I aV I
I aI I a I
I V aV Y aYV YV
a
=
=
= =
= = +
= =
(
( ( ( (
= = =
(
( ( ( (
(
a a
=
m
a Y
n
( a a ) 1 Y
V
n
m ( 1 a ) Y
V
But if a is imaginary (as in a phase shifting transformer), the Y bus is
not symmetrical, and we cant draw a equivalent circuit.
Ketan Badgujar EE 334 Power systems Prof. S. V. Kulkarni
Topic 9 : Power Flow Solutions
1. I. J. Nagrath and D. P. Kothari, Modern Power System Analysis, Tata
McGraw-Hill Publishing company Ltd, New Delhi, 2002
2 J. J. Grainger and W. D. Stevenson, Power System Analysis, Tata
McGraw-Hill, New Delhi, 2003.
3. H. Saadat, Power System Analysis, McGraw Hill, 1999.
4. S. V. Kulkarni and S. A. Khaparde, Transformer Engineering: Design,
Technology, and Diagnostics, Second Edition, CRC Press, Taylor &
Francis Group, New York, September 2012.
References
41