Newton Raphson Load Flow Analysis
Newton Raphson Load Flow Analysis
For 3 -bus system we can write (Assuming bus 1 as reference bus, bus 2 and bus 3 as load buses.)
3
P2 = V2 Y
i =1
2i Vi cos(2i + i − 2 )
2
P2 = V2 V1 Y21 cos(21 + 1 − 2 ) + V2 Y22 cos(22 ) + V2 V3 Y23 cos(23 + 3 − 2 )
2
P3 = V3 V1 Y31 cos(31 + 1 − 3 ) + V3 V2 Y32 cos(32 + 2 − 3 ) + V3 Y33 cos(33 )
2
Q2 = − V2 V1 Y21 sin(21 + 1 − 2 ) − V2 Y22 sin(22 ) − V2 V3 Y23 sin(23 + 3 − 2 )
2
Q3 = − V3 V1 Y31 sin(31 + 1 − 3 ) − V3 V2 Y32 sin(32 + 2 − 3 ) − V3 Y33 sin(33 )
Application of Newton Raphson Method for load flow Analysis
In general form, we can write
P2 = f1 (2 , 3 , V2 , V3 )
P3 = f 2 (2 , 3 , V2 , V3 )
Q2 = f3 (2 , 3 , V2 , V3 )
Q3 = f 4 (2 , 3 , V2 , V3 )
Expanding using Taylor series ( First Order) 0 0
0
f1 f1
0
f f
3 + V2 + 1 V3
0 0 0 0
P2 f1 ( 2 , 3 , V2 , V3 ) +
0 0
2 +
0 0 1
2 3 V2 V3
0 0
0
f 2
0
f 2 f f
3 + V2 + 2 V3
0 0 0 0
P3 f 2 ( 2 , 3 , V2 , V3 ) +
0 0
2 +
0 0 2
2 3 V2 V3
0 0
f 3
0
f 3
0
f f
3 + V2 + 3 V3
0 0 0 0
Q 2 f 3 ( 2 , 3 , V2 , V3 ) +
0 0
2 +
0 0 3
2 3 V2 V3
0 0
f 4
0
f 4
0
f f
3 + V2 + 4 V3
0 0 0 0
Q3 f 4 ( 2 , 3 , V2 , V3 ) +
0 0
2 +
0 0 4
2 3 V2 V3
Application of Newton Raphson Method for load flow Analysis
Since bus 2 and bus 3 are load buses information about active and reactive power at these buses are
known beforehand. So, we can replace P2 , P3 , Q 2 & Q3 by P2,sp , P3,sp , Q2,sp , Q3,sp
0 0
f
0
f 0
f1 f1
1 1
2
3 V2 V3
P −f
2,sp 1 ( 0
02 , 03 , V2 , V3
0
)
0
f 2
0
f
0 0
f 02
f 2
( , , V ) 2 2
2
0 0
P3,sp − f 2 0 0
, V3
3 V2 V3 0
=
2
3
0
2 3
0
Q2,sp − f3
( , , V
0
2
0
3 2
0
, V3
0
) f 3
0
f 3
0
f
3
0
f V2
3
V3 V3
( , , V )
0
V2
Q − f 0 0 0 0
2 3
, V3
3,sp 4 2 3 2
0 0
f
0
f
0
f 4 f 4
4 4
2
3 V2 V3
0 0
0
P2,calc = f1 (02 , 03 , V2 , V3 )
Similarly,
0 0
0
P3,calc = f 2 (02 , 03 , V2 , V3 )
0 0
Q02,calc = f3 (02 , 03 , V2 , V3 )
0 0
0
Q3,calc = f 4 (02 , 03 , V2 , V3 )
Application of Newton Raphson Method for load flow Analysis
P 0
2,calc = V2
0
V1 Y21 cos(21 + 1 − 2 ) + V2 0
( ) 0 2
Y22 cos(22 ) + V2
0
V3
0
Y23 cos(23 + 03 − 02 )
P 0
3,calc = V3
0
V1 Y31 cos(31 + 1 − 3 ) + V3 0 0
V2
0
Y32 cos(32 + 2 − 3 ) + V3
0 0
( ) 0 2
Y33 cos(33 )
Q 0
2,calc = − V2
0
V1 Y21 sin(21 + 1 − 2 ) − V2 0
( ) 0 2
Y22 sin(22 ) − V2
0
V3
0
Y23 sin(23 + 03 − 02 )
Q 0
3,calc = − V3
0
V1 Y31 sin(31 + 1 − 3 ) − V3 0 0
V2
0
Y32 sin(32 + 2 − 3 ) − V3
0 0
( ) 0 2
Y33 sin(33 )
f1 f1
1 1
2
3 V2 V3
0 0
0
f 2
0
f f 02
P2,sp − P2,calc
0
f 2
2 2
2
3 V2 V3 3
0
− P3,calc
0
P3,sp = 0
Q2,sp 0
− Q02,calc 0 0
f
0
f V2
f 3 f 3
Q3,sp − Q3,calc
0
3 3
V3 V3
0
2 3 V2
0 0
f
0
f
0
f 4 f 4
4 4
2
3 V2 V3
Application of Newton Raphson Method for load flow Analysis
The expression for function 𝑓1 , 𝑓2 , 𝑓3 and 𝑓4 are same as expressions for 𝑃2 , 𝑃3 , 𝑄2 , and 𝑄4 . So, above
equation can be written as
0
0 0
0
0
Where, 𝐽 is called the Jacobian matrix for first iteration
P2 P2 P P
2 2
2 V2 V3
3 02
0 P2,sp − P2,calc
0
3
0
P P 02
0 0 0
P2,sp − P2,calc P P3 P − P3,calc
0
3 3 0 −1 3,sp
0
or, 0 = [J ]
3
2
3 V2 V3 3
0
P3,sp − P3,calc
0
V2 Q 2,sp − Q 2,calc
0
= 0
Q2,sp 0
− Q02,calc Q
0
Q V2 Q3,sp − Q3,calc
0
V
0 0
Q 2
0
Q
Q3,sp − Q3,calc
0
2
2 2
3
V3 V3
0
2 3 V2
Values of 𝛿2 , 𝛿3 , 𝑉2 and 𝑉2 after first iteration
Q
0
Q
0 (1) (0) (0)
Q 3
0
Q3
0
3 3
𝛿2 = 𝛿2 + ∆ 𝛿2
2
3 V2 V3 (1) (0)
𝛿3 = 𝛿3 + ∆ 𝛿3
(0)
02
𝑉2 (1) = 𝑉2 (0) + ∆ 𝑉2 (0)
P2,sp −P 0
2,calc
𝑉3 (1) = 𝑉3 (0) + ∆ 𝑉3 (0)
0
P −P 0
or, 3,sp = [J 0 ]
3,calc
3
0
The iteration is continued until the difference between
Q 2,sp −Q 0 V2 successive values of assumed variables are within
2,calc
Q3,sp −Q 0
3,calc V 0
tolerance limits
3
Finding the Elements of Jacobian Matrix
Row 1 Row 3
P2 Q 2
= V2 V1 Y21 cos( 21 + 1 − 2 ) + V2 V3 Y23 cos( 23 + 3 − 2 )
= V2 V1 Y21 sin( 21 + 1 − 2 ) + V2 V3 Y23 sin( 23 + 3 − 2 )
2
2
Q 2
P2 = − V2 V3 Y23 cos( 23 + 3 − 2 )
= − V2 V3 Y23 sin( 23 + 3 − 2 )
3
3
Q 2
P2 = − V1 Y21 sin( 21 + 1 − 2 ) − 2 V2 Y22 sin( 22 ) − V3 Y23 sin( 23 + 3 − 2 )
= V1 Y21 cos( 21 + 1 − 2 ) + 2 V2 Y22 cos( 22 ) + V3 Y23 cos( 23 + 3 − 2 ) V
V 2
2 Q 2
P2 = − V2 Y23 sin( 23 + 3 − 2 )
V
= V2 Y23 cos( 23 + 3 − 2 )
V
3
3 Row 4
Row 2
Q3
P3
= − V3 V2 Y32 cos( 32 + 2 − 3 )
= − V3 V2 Y32 sin( 32 + 2 − 3 )
2
2
Q3
P3 = V3 V1 Y31 cos( 31 + 1 − 3 ) + V3 V2 Y32 cos( 32 + 2 − 3 )
= V3 V1 Y31 sin( 31 + 1 − 3 ) + V3 V2 Y32 sin( 32 + 2 − 3 )
3
3
P3
Q3
= V3 Y32 cos( 32 + 2 − 3 ) = − V3 Y32 sin( 32 + 2 − 3 )
V V
2 2
P3 P3
= V1 Y31 cos( 31 + 1 − 3 ) + V2 Y32 cos( 32 + 2 − 3 ) + 2 V3 Y33 cos( 33 ) = − V1 Y31 sin( 31 + 1 − 3 ) − V2 Y32 sin( 32 + 2 − 3 ) − 2 V3 Y33 sin( 33 )
V V
3 3
Q.1) Line impedances are in p.u. on 100MVA base. Obtain the power flow solution using newton
Raphson (NR) method.
Soln.
Y bus of the given network is
Now, we know that bus 2 and bus 3 both are load bus. Therefore, we have to expand following equations for bus 2 and
bus 3.
n
Pk = Vk Y
i =1
ki Vi cos(ki + i − k )........................(1)
n
Qk = − Vk Yi =1
ki Vi sin(ki + i − k ).....................(2)
n
Pk = Vk Y ki Vi cos(ki + i − k )........................(1)
Q.1) contd. … i =1
n
Then, Qk = − Vk Yi =1
ki Vi sin(ki + i − k ).....................(2)
2
P2 = P2,cal = V1 Y21 cos(21 + 1 − 2 ) + V2 Y22 cos(22 ) + V2 V3 Y23 cos(23 + 3 − 2 )
2
P3 = P3,cal = V3 V1 Y31 cos(31 + 1 − 3 ) + V3 V2 Y32 cos(32 + 2 − 3 ) + V3 Y33 cos(33 )
2
Q 2 = Q 2,cal = − V2 V1 Y21 sin(21 + 1 − 2 ) − V2 Y22 sin(22 ) − V2 V3 Y23 sin(23 + 3 − 2 )
2
Q3 = Q3,cal = − V3 V1 Y31 sin(31 + 1 − 3 ) − V3 V2 Y32 sin(32 + 2 − 3 ) − V3 Y33 sin(33 )
……………………….. (3)
The matrix equation for the Newton-Raphson load flow is given by
0 0
0
0
P P P P
2
2
2 2
2 3 V2 V3
0 0
0
0 0 02
P2,sp − P2,calc P3 P3 P P
3 3 P2,sp −P
0
0
2
2 3 V2 V3 3 0
2,calc
0
P
3,sp − P 0
3,calc P3,sp −P 0
= [J 0 ]
3
= 0
3,calc
Q 2,sp − Q02,calc 0 or,
0
0 0 0
Q Q V Q2,sp −Q 0 V2
Q Q
2
2,calc
3,sp − 0
3,calc
2
2
2
2
Q Q
0
Q3,sp −Q 0
2 3 V2 V3 V3 V3
0
3,calc
0 0
Q3 Q3 Q3 Q3
0 0
……………….(4)
2 3 V2 V3
Q.1) contd. …
Jacobian matrix Elements can be obtained as:
First row Third Row
P2 Q 2
= V2 V1 Y21 sin( 21 + 1 − 2 ) + V2 V3 Y23 sin( 23 + 3 − 2 ) = V2 V1 Y21 cos( 21 + 1 − 2 ) + V2 V3 Y23 cos(23 + 3 − 2 )
2
2
P2 Q 2
= − V2 V3 Y23 sin( 23 + 3 − 2 ) = − V2 V3 Y23 cos( 23 + 3 − 2 )
3
3
Q 2
P2 = − V1 Y21 sin( 21 + 1 − 2 ) − 2 V2 Y22 sin( 22 ) − V3 Y23 sin( 23 + 3 − 2 )
= V1 Y21 cos( 21 + 1 − 2 ) + 2 V2 Y22 cos( 22 ) + V3 Y23 cos( 23 + 3 − 2 ) V
V 2
2
Q 2
P2 = − V2 Y23 sin( 23 + 3 − 2 )
= V2 Y23 cos( 23 + 3 − 2 ) V
V 3
3
Second Row Fourth Row
P3 Q3
= − V3 V2 Y32 sin( 32 + 2 − 3 ) = − V3 V2 Y32 cos(32 + 2 − 3 )
2
2
P3 Q3
= V3 V1 Y31 sin( 31 + 1 − 3 ) + V3 V2 Y32 sin( 32 + 2 − 3 ) = V3 V1 Y31 cos(31 + 1 − 3 ) + V3 V2 Y32 cos(32 + 2 − 3 )
3
3
P3 Q3
= V3 Y32 cos( 32 + 2 − 3 ) = − V3 Y32 sin( 32 + 2 − 3 )
V V
2 2
P3 P3
= V1 Y31 cos( 31 + 1 − 3 ) + V2 Y32 cos( 32 + 2 − 3 ) + 2 V3 Y33 cos( 33 ) = − V1 Y31 sin( 31 + 1 − 3 ) − V2 Y32 sin( 32 + 2 − 3 ) − 2 V3 Y33 sin( 33 )
V V
3 3
Q.1) contd. …
.
Q.1) contd. …
.
Q.1) contd. …
.
Q.1) contd. …
.
Q.1) contd. …
.
Q.1) contd. …
.
Q.1) contd. …
.
Q.1) contd. …
.
.
Homework: Obtain load flow analysis after second iteration using Newton-
Raphson method