Professional Documents
Culture Documents
Besides giving real and reactive power the load flow study provides information about line and
transformer loading the system and voltages at different points in the system for evaluation and
regulation of the performance of the power systems. The state of a power system and the methods of
calculating this state are very important in evaluating the operation and control of the power system
and the determination of future expansion for this system. The state of any power system can be
determined using load flow analysis that calculates the power flowing through the lines of the system.
There are different methods to determine the load flow for a particular system such as: Gauss-Seidel,
Newton Raphson Load, and the Fast-Decoupled method. Over the past few years, developments have
been made in finding digital computer solutions for power-system load flows. This involves increasing
the reliability and the speed of convergence of the numerical-solution techniques.
Hence, the Newton-Raphson (NR) approach is the most preferred general method. Hence, the
NR method is used to maintain an acceptable voltage profile at various buses with varying power flow.
Y bus matrix
General Formulas
P i 2 P i 2 P i 2
i
2 i 3 V i 3
P i P i 3 P i 3
Ji i3
2 i 3 V i 3
i
Q 3 Q i 3 Q i 3
2 i 3 V i 3
i
i 1 i i 1 P
i
J
i 1 i i
V V Q
1st iteration
for i=0
20 0
0
3 0
V 0 1
3
P2 , P3 & Q3
By using above initials calculating
P 0 2 P2inj P20 1.2 P2 1.2 10.05 cos 0 1.86 17.24 cos 1.74 4.87 2.0993
P 03 P3 inj P3 0 3 P3outflow 3 14.14V3 cos 1.7 17.24cos 1.74 4.83 3.1050
Q 0 Q3 inj Q30 1 14.14V3 sin 1.7 17.24 sin 1.74 29.74 0.2759
21 20 P20
1 0 1
3 3 J P3
0 0
V 1 V 0 Q 0
3 3 3
1
21 0 26.63 17 2.9 2.0993
1
3 0 17 31.02 4.91 3.1050
V 1 1 2.9 4.7 28.42 0.2759
3
21 0.1665
1
3 0.1677
V 1 2.3899
3
2nd iteration
For i =1
P 12 P2inj P21 1.2 10.05cos 21 1.86 17.24V31 cos 21 31 1.74 4.87
P 12 9.2089
P 13 P3 inj P31 3 P31 3 14.14V31 cos 31 1.7 17.24V31 cos 31 31 1.74 4.83 V31
2
P 3 0.8226
1
Q1 Q3 inj Q31 1 14.14V 13 sin 31 1.7 17.24V31 sin 31 31 1.74 29.74 V31
2
Q 102.4638
1
P i 2 P i 2 P i 2
i i
2 3 V 3
i
P i P i 3 P i 3
Ji i3
2 3 V 3
i i
i i
Q 3 Q 3 Q 3
i
i 2 i 3 V i 3
50.6172 40.6427 2.8323
J 36.0905 68.4053 1
1
0.6323
1
9.8778 29.7654 1 13.5313
22 21 P21
2 1 1 1
3 3 J P3
1
V 2 V 1 Q 1
3 3 3
22 0.1665 50.6172 40.6427 2.8323 1 9.2089
2 0.6323 0.8226
3 0.1677 36.0905 68.4053 1
V 2 2.3899 1
9.8778 29.7654 1
13.53 1 3 102.4638
3
22 36.1726
2
3 9.5616
V 2 1
3 .0518
3rd iteration
For i =2
P 3 3 P3 inj P 3 3 3 P31 3 14.14V3 2 cos 3 2 1.7 17.24V3 2 cos 3 2 3 2 1.74 4.83 V31
2
P 3 3 3 10.28 29.7680
Q3 3 Q3 inj Q33 2 14.14V 23 sin 3 2 1.7 17.24V3 2 sin 3 2 3 2 1.74 29.74 V3 2
2
Q3 2 2.69 43.5561
3
P i 2 P i 2 P i 2
i i
2 3 V 3
i
P i P i 3 P i 3
Ji i3
2 3 V 3
i i
i i
Q 3 Q 3 Q 3
i
i 2 i 3 V i 3
1 .3882 17.1894
.9013 1
J 4.6927 9.6563 30.5302
2
17.5150 21.4248 71.7409
23 22 P22
3 2 2 1
3 3 J P3
2
V 3 V 2 Q 2
3 3 3
1
23 36.1726 1 .3882 17.1894 4.9131
.9013 1
3
3 9.5616 4.6927 9.6563 30.5302 29.7680
V 3 1
3 .0518 17.5150 21.4248 71.7409 43.5561
23 52.4988
3
3 8.9525
V 3 1.2253
3
MALAB Code
if i ==0
V3 = 1
del2 = 0
del3 = 0
else
del2 =double( R(1,1) ); %element of 1st row 1st column of R will be del2
del3 = double( R(2,1) );%element of 2nd row 1st column of R will be del3
V3 = double( R(3,1) ); %element of 3rd row 1st column of R will be Q
V3
end
J = subs(J);
del_P2 = P2_inj - P2;
del_P3 = P3_inj -P3;
del_Q3 = Q3_inj - Q3;
del_P2 = x2(1,1)
del_P3 = x2(2,1)
del_Q3 = x2(3,1)
J= double(subs(J))
R = double(x1 + (J.^-1)*x2);
del2 =double( R(1,1) ) %element of 1st row 1st column of R will be del2
del3 = double( R(2,1) )%element of 2nd row 1st column of R will be del3
V3 = double( R(3,1) ) %element of 3rd row 1st column of R will be Q
end
del2 =
del3 =
del_P2 =
2.0993
del_P3 =
-3.1050
del_Q3 =
0.2759
J =
0.1665
del3 =
-0.1677
V3 =
2.3899
2.3899
del_P2 =
-9.2089
del_P3 =
-0.8226
del_Q3 =
-102.4638
J =
del2 =
-36.1726
del3 =
-9.5616
V3 =
1.0518
1.0518
del_P2 =
4.9131
del_P3 =
-29.7680
del_Q3 =
-43.5561
J =
del2 =
-52.4988
del3 =
-8.9525
V3 =
-1.2253
Conclusion
It can be seen manually calculated values of P, Q, & V are same as MATLAB.
MATLAB is easy to iterate and less time consuming with zero percent error. Manually iteration took few
hours to calculate values but MATLAB took micro seconds to give results.