Professional Documents
Culture Documents
PSA LAB 9.
Aim: Development of a generalized program for Load Flow Analysis using Gauss Seidal
Iterative method.
Attachments:
MATLAB Code:
l=1:1:length(line);
xy=[l' FromNode ToNode Pij Qij];
yx=[l' ToNode FromNode Pji Qji];
disp(xy)
disp(yx)
Flowchart for the Gauss-Seidal analysis:
Results:
Number of iterations : 54
Solution time : 0.021262 sec.
Total real power losses : 0.084471.
Total reactive power losses: -0.0118696.
Generation Load
Bus Volts Angle Real Reactive Real Reactive
1.0000 1.0500 0 1.0845 0.2312 0 0
2.0000 1.0500 -3.7251 0.5000 0.8686 0 0
3.0000 1.0700 -4.3343 0.6000 0.9883 0 0
4.0000 0.9864 -4.1790 0 0 0.7000 0.7000
5.0000 0.9797 -5.2243 0 0 0.7000 0.7000
6.0000 1.0014 -5.9709 0 0 0.7000 0.7000
Line Flows
#Line From Bus To Bus Real Reactive
1.0000 1.0000 2.0000 0.2912 -0.1450
2.0000 1.0000 4.0000 0.4370 0.2273
3.0000 1.0000 5.0000 0.3563 0.1489
4.0000 2.0000 3.0000 0.0298 -0.1063
5.0000 2.0000 4.0000 0.3328 0.4960
6.0000 2.0000 5.0000 0.1549 0.1847
7.0000 2.0000 6.0000 0.2643 0.1527
8.0000 3.0000 5.0000 0.1933 0.2688
9.0000 3.0000 6.0000 0.4362 0.6450
10.0000 4.0000 5.0000 0.0421 -0.0234
11.0000 5.0000 6.0000 0.0171 -0.0909
>>
Conclusion:
Load flow studies are essential for determining the operation of the excitation system. Load
flow studies give us the bus voltage magnitude and phase angle of the voltage at each bus and
power flow on the transmission lines and on the buses.
We can solve the non-linear equations with simple technique. With the help of Gauss-Seidel
method we can get the accurate results through iterations. We can solve the load flow
equations with the MATLAB coding because it is very fast and we can get real and reactive
power and voltage magnitude through some steps.
It can be seen that the algorithm converges in the least number of iterations when λ is 1.4 and
the maximum number of iterations are required when λ is 2. In fact the algorithm will start to
diverge if larger values of acceleration factor are chosen.