Anda di halaman 1dari 2

DataBus3

This program saves bus data and line data in the MATLAB workspace

1. busdata --> workspace


2. linedata --> workspace
>> lfybus
This program obtains the Bus Admittance Matrix (Ybus) for power flow solution

1. branch admittance
2. formation of the off diagonal elements
3. formation of the diagonal elements
4. Ybus --> workspace
>> lfnewton
Power flow solution by Newton-Raphson method
--> Designed for two or more parallel lines

1. Parameters
+ Power accuracy: accuracy = 0.001 p.u.
+ Max iterations: maxiter = 30

2. Iterative process
+ Iteration 1: maxerror = 0.6678
+ Iteration 2: maxerror = 0.0189
+ Iteration 3: maxerror = 0.0000

-OK-> ITERATIVE SOLUTION CONVERGED!


>> busout
Power Flow Solution by Newton-Raphson Method
Maximum Power Mismatch = 2.92889e-05
No. of Iterations = 3

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


No. Mag. Degree MW Mvar MW Mvar Mvar

1 1.030 0.000 0.000 0.000 70.470 28.358 0.000


2 1.010 -1.271 80.000 3.000 90.000 2.342 0.000
3 1.003 -3.281 70.000 20.000 0.000 0.000 0.000
4 1.013 -1.403 10.000 3.000 0.000 0.000 0.000

Total 160.000 26.000 160.470 30.700 0.000

>> lineflow

Line Flow and Losses

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


from to MW Mvar MVA MW Mvar tap

1 70.470 28.358 75.962


3 61.454 23.368 65.747 0.407 4.075
4 9.016 4.992 10.306 0.030 0.300

2 10.000 -0.658 10.022


3 8.985 1.027 9.044 0.032 0.321
4 1.015 -1.684 1.966 0.001 0.008

3 -70.000 -20.000 72.801


1 -61.047 -19.293 64.023 0.407 4.075
2 -8.953 -0.707 8.981 0.032 0.321
4 -10.000 -3.000 10.440
1 -8.986 -4.692 10.137 0.030 0.300
2 -1.014 1.692 1.972 0.001 0.008

Total loss 0.470 4.703


>> 2+2
ans =
4
>>

Anda mungkin juga menyukai