Anda di halaman 1dari 11

Mohamad Angga Faurahmansyah

07111940000058

No. 5
%clear
basemva = 35; accuracy = 0.0001; accel = 1.6; maxiter = 100;

% PERHITUNGAN ALIRAN DAYA 11 BUS DENGAN METODA


% NEWTON - RAPHSON
% Bus Bus Voltage Angle ---Load---- -------Generator-----
Static Mvar
% No code Mag. Degree MW Mvar MW Mvar Qmin Qmax
+Qc/-Ql
busdata=[1 2 1.00 0.0 0.0 0.0 20.0 0.0 0 0
0
2 2 1.00 0.0 0.0 0.0 30.0 0.0 0 0
0
3 2 1.00 0.0 0.0 0.0 30.0 0.0 0 0
0
4 0 1.05 0.0 60.0 0.0 0.0 0.0 0 0
0];

% Line code
% Bus bus R X 1/2 B = 1 for lines
% nl nr p.u. p.u. p.u. > 1 or < 1 tr. tap at
bus nl
linedata=[1 4 .0 .05800 0.0 1
2 4 .0 .07200 0.0 1
3 4 .0 .06500 0.0 1];

lfybus % form the bus admittance matrix


%lfgauss % Load flow solution by Gauss-Seidel method
lfnewton % Load flow solution by Newton-Raphson
method
%lfFDecoupled % Load flow solution by Fast Decoupled
method
busout % Prints the power flow solution on the screen
lineflow % Computes and displays the line flow and losses

Ybus =

0.0000 -17.2414i 0.0000 + 0.0000i 0.0000 + 0.0000i 0.0000 +17.2414i


0.0000 + 0.0000i 0.0000 -13.8889i 0.0000 + 0.0000i 0.0000 +13.8889i
0.0000 + 0.0000i 0.0000 + 0.0000i 0.0000 -15.3846i 0.0000 +15.3846i
0.0000 +17.2414i 0.0000 +13.8889i 0.0000 +15.3846i 0.0000 -46.5149i
Mohamad Angga Faurahmansyah
07111940000058

Warning: Matrix is close to singular or badly scaled. Results may be inaccurate.


RCOND = 1.535765e-49.
Warning: Matrix is singular to working precision.
Warning: Matrix is singular, close to singular or badly scaled. Results may be
inaccurate. RCOND = NaN.
Power Flow Solution by Newton-Raphson Method
Maximum Power Mismatch = NaN
No. of Iterations = 3

Bus Voltage Angle ------Load------ ---Generation--- Injected


No. Mag. Degree MW Mvar MW Mvar Mvar

1 1.000 NaN 0.000 0.000 20.000 NaN 0.000


2 1.000 NaN 0.000 0.000 30.000 NaN 0.000
3 1.000 NaN 0.000 0.000 30.000 NaN 0.000
4 NaN NaN 60.000 0.000 0.000 0.000 0.000

Total 60.000 0.000 80.000 NaN 0.000

Line Flow and Losses

--Line-- Power at bus & line flow --Line loss-- Transformer


from to MW Mvar MVA MW Mvar tap

1 20.000 NaN NaN


4 NaN NaN NaN NaN NaN
Mohamad Angga Faurahmansyah
07111940000058

2 30.000 NaN NaN


4 NaN NaN NaN NaN NaN

3 30.000 NaN NaN


4 NaN NaN NaN NaN NaN

4 -60.000 0.000 60.000


1 NaN NaN NaN NaN NaN
2 NaN NaN NaN NaN NaN
3 NaN NaN NaN NaN NaN

Total loss NaN NaN


>>

Anda mungkin juga menyukai