Lab 7 Power Flow Solution by Newton Raphson
Lab 7 Power Flow Solution by Newton Raphson
Aim:
To develop a software program to obtain real and reactive power flows, bus voltage magnitude
and angles by using N – R method.
Theory:
Load flow study in power system parlance is the steady state solution of the power system
network. The main information obtained from this study comprises the magnitudes and phase
angles of load bus voltages, reactive powers at generator buses, real and reactive power flow on
transmission lines, other variables being specified. This information is essential for the
continuous monitoring of current state of the system and for analyzing the effectiveness of
alternative plans for future system expansion to meet increased load demand.
Newton-Raphson method is an iterative method that approximates the set of non linear
simultaneous equations to a set of linear simultaneous equations using Taylor’s series expansion
and the terms are limited to first approximation. The rate of convergence is fast as compared to
the FDLF program and also it is suitable for large size system. So we go for N-R method.
The non-linear equations governing the power system network are,
I p Y pqV p for all p
pq
Let , V p V p e jp
V q V q e j q
pq p q and
Y pq Y pq e jpq
n
S p Pp jQ p V p Vq e j p q | Y pq | e jpq (2)
q 1
Separating the Real and Imaginary parts we get,
n
Pp V p Vq Y pq cos( p pq q )
q 1
n
Qp V p Vq Y pq sin( p pq q ) (3)
q 1
The Newton –Raphson method requires that a set of linear equations be formed expressing the
relationship between the changes in real and reactive powers and the components of the bus
voltages as follows:
P2( r ) P2
(r )
P2
(r )
P2
(r )
P2
(r)
( r )
| 2
V V
2 n 2 n
|
Pn
(r ) (r ) (r ) (r)
Pn P2 Pn
|
P ( r )
V
V
(r )
n 2 n 2 n
n
| (4)
(r)
Q2 Q2
(r )
Q2
(r )
Q2
(r )
Q2
(r )
V ( r )
| 2
V V
2 n 2 n
|
Qn Qn
(r ) (r ) (r ) (r )
Q2 Qn
|
Qn
( r )
n V2
Vn Vn( r )
2
where, the coefficient matrix is known as Jacobian matrix.
In the above equation, bus 1 is assumed to be the slack bus. The Jacobian matrix gives
the linearized relationship between small changes in voltage angle i(r ) and voltage magnitude
Vi r with the small changes in real and reactive power Pi r and Qir . Elements of the
Jacobian matrix are the partial derivatives of (2) and (3) evaluated at ir and Vi r .
The above relationship can be written in a compact form as,
P J11 J12
Q J (5)
21 J 22 V
Pp n
Q
V p V q Y pq sin( p p2Vpqp Ypp sin
n
q ) pp V q Y pq sin( p pq q ) (7 ) (9 )
p q 1 Vp q 1
q p q p
J 12 :
Pp
V p Y pq cos( p pq q ) q p (10) All
Vq quantit
ies in
Pp n
2 V p Y pp cos pp V q Y pq cos( p pq q ) (11) the
Vp q 1 linear
q p
Equati
on (4)
J 21 :
pertai
Q p n to
V p V q Y pq cos( p pq q ) q p (12 )
q iterati
Q p n on r.
p
V p V q Y pq cos( p pq q ) (13 ) The
q 1
q p linear
equati
on when solved for , ΔV gives the correction to be applied to |V| and , i.e.
Iter = Iter +1
V V V
new old account
Yes
Solve the equation
1 2 P Calculate real & reactive
V Q line flows in all the lines
3 4
Algorithm:
The computational procedure for Newton-Raphson method using polar coordinate is as follows:
Q kp Q p sp Q kp cal p 2,3.....n
For PV buses, the exact value of Q p is not specified, but its limits are known. If
the calculated value of Q p is within limits, only Pp is calculated. If the
calculated value of Q p is beyond the limits, then an appropriate limit is imposed
and Q p is also calculated by subtracting the calculated value of Q p from the
appropriate limit. The bus under consideration is now treated as a load on
(PQ) bus.
Step 5: Compute the elements of the Jacobian matrix using the estimated V p and p
from step2.
Step 6: Obtain and V p from Equations (4) and (5).
Step 7: Using the values of p and V p calculated in step 6, modify the voltage
magnitude and phase angle at all loads by the Equations (14) and (15). Start the
next iteration cycle at step 2 with these modified V p and p .
Step 8: Continue until scheduled errors Ppk and Q kp for all load buses are within a
Sample Problem:
The load flow data for a 3-bus system is given in tables 1 and 2. The voltage magnitude at bus 2
is to be maintained at 1.0 p.u. The maximum and minimum reactive power limits for bus 2 are
0.3 and 0 p.u. respectively. Taking bus 1 as slack bus, determine the voltages of the various
buses at the end of first iteration starting with a flat voltage profile for all buses except slack bus
using N-R method.
Solution:
Formation of Ybus :
1
Y13 = - =-(5-j15)
0.02 j 0.06
= 15.81 108.4 0
1
Y23 = - =-(2.5-j7.5)
0.04 j 0.12
= 7.906 108.4 0
1 1
Y11 = + + j0.05+j0.06 =6.667-j19.89
0.06 j 0.18 0.02 j 0.06
=21.97 71.50
1 1
Y22 = + + j0.05+j0.05 =4.167-j12.4
0.06 j 0.18 0.04 j 0.12
=13.08 71.50
1 1
Y33 = + + j0.06+j0.05=7.5-j22.39
0.02 j 0.06 0.04 j 0.12
=23.61 71.50
Given V1 = 1.06+ j0 ; δ1 = 00 ; V3 = 1 0 0
n
Pp V p Vq Y pq cos( p pq q )
q 1
n
Q p V p Vq Y pq sin( p pq q )
q 1
Elements of J1:
P2
2 |V2||Y22|cos θ22 +|V1||Y21|cos(δ2 + θ21 - δ1) + |V3||Y23|cos(δ3 + θ23 – δ2)
V2
P2
|V2||Y23|cos(δ2 + θ23 – δ3)
V3
= 1 7.906 cos(108.4)
= -2.5
P3
|V3||Y32|cos( θ32 + δ2 - δ3 )
V2
= 1 7.906 cos(108.4)
= -2.5
P3
2|V3||Y33|cos θ33 +|V1||Y31|cos(δ1 + θ31 – δ3) + |V2||Y32|cos( θ32 + δ2 - δ3 )
V3
= 2 1 23.61 cos(-71.5) + 1.06 15.81cos(108.4) + 1 7.906cos(108.4)
= 7.2
Elements of J2:
P2
|V2||V1||Y21|sin(δ2 + θ21 – δ1) - |V2||V3||Y23|sin(δ3 + θ23 – δ2)
2
= 1 1.06 5.27sin(108.4) – 1 1 7.906 sin(108.4)
= -12.8
P2
- |V2||V3||Y23|sin(δ2 + θ23 – δ3)
3
= - 1 1 7.906 sin (108.4)
= -7.5
P3
- |V3| |V2||Y32|sin(δ3 + θ32 – δ2)
2
= - 1 1 7.906 sin (108.4)
= -7.5
P3
-|V3||V1||Y31|sin(δ3 + θ31 – δ1) - |V3||V2||Y32|sin(δ3 + θ32 – δ2)
3
= - 1 1.06 15.81sin(108.4)-1 1 7.906sin(108.4)
= - 23.4
Elements of J3:
Q2
{2|V2||Y22|sin θ22 + |V1||Y21|sin(δ2 + θ21 – δ1) +|V3||Y23|sin(δ2 + θ23 – δ3 ) }
V2
= {2 1 13.08 sin(-71.5) + 1.06 5.27sin(108.4) + 1 7.906sin(108.4)}
= - 12.01
Q2
{ |V2||Y23|sin(δ2 + θ23 – δ3) }
V3
={ 1 7.906sin(108.4)}
= 7.5
Q3
{ |V3||Y32|sin(δ2 + θ32 – δ3)}
V2
= { 1 7.906sin(108.4)}
= 7.5
Q3
{ 2|V3||Y33|sin θ33 - |V1||Y31|sin(δ3 + θ31 – δ1) - |V2||Y32|sin(δ3 + θ32 – δ2)
V3
= {2 1 23.61 sin(-71.5) +1 1.06 15.81sin(108.4) + 1 7.906 sin (108.4)}
= 21.4
Elements of J4:
Q2
{ |V2||V1||Y21|cos(δ2 + θ21 - δ1)+ |V2||V3||Y23|cos(δ2 + θ23 – δ3) }
2
= 1 1.06 5.27cos(108.4) + 1 7.906cos(108.4)
= -4.26
Q2
{ |V2||V3||Y23|cos(δ2 + θ23 – δ3) }
3
= - { 1 7.906cos(108.4)}
= 2.5
Q3
{ |V3||V1||Y31|cos(δ3 + θ31 – δ1) + |V3||V2||Y32|cos(δ3 + θ32 – δ2)
3
= 1 1.06 15.81cos(108.4) + 1 7.906cos(108.4)
= - 7.8
P J 11 J 12 V
Q J J 22
21
Result:
The load flow study of the given power system using Newton-Raphson method was conducted
using MATLAB and results was verified.