KEMBAR78
Nombre: Jonathan de Mora Script Del Programa: Function | PDF | Electrical Engineering | Electricity
0% found this document useful (0 votes)
82 views2 pages

Nombre: Jonathan de Mora Script Del Programa: Function

The document summarizes the results of a power flow analysis on a modified 5 bus, 5 generator test power system. It provides the bus voltages, generator outputs and loads, as well as branch flows and losses. Bus 1 has the highest voltage of 1.05 pu, while generators 1 and 3 supply a total of 418 MW. Branch 1 has the highest losses of 8.4 MW and 16.8 MVar.

Uploaded by

Jhonatan de Mora
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
82 views2 pages

Nombre: Jonathan de Mora Script Del Programa: Function

The document summarizes the results of a power flow analysis on a modified 5 bus, 5 generator test power system. It provides the bus voltages, generator outputs and loads, as well as branch flows and losses. Bus 1 has the highest voltage of 1.05 pu, while generators 1 and 3 supply a total of 418 MW. Branch 1 has the highest losses of 8.4 MW and 16.8 MVar.

Uploaded by

Jhonatan de Mora
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Nombre: Jonathan De Mora

Script del programa


function mpc = case5
%CASE5 Power flow data for modified 5 bus, 5 gen case based on PJM 5-bus
system
% Please see CASEFORMAT for details on the case file format.
%
% Based on data from ...
% F.Li and R.Bo, "Small Test Systems for Power System Economic
Studies",
% Proceedings of the 2010 IEEE Power & Energy Society General Meeting

% Created by Rui Bo in 2006, modified in 2010, 2014.


% Distributed with permission.

% MATPOWER

%% MATPOWER Case Format : Version 2


mpc.version = '2';

%%----- Power Flow Data -----%%


%% system MVA base
mpc.baseMVA = 100;

%% bus data
% bus_i type Pd Qd Gs Bs area Vm Va baseKV zone Vmax
Vmin
mpc.bus = [
1 3 0 0 0 0 1 1.05 0.00 230 1 1.1 0.9;
2 1 400 250 0 0 1 1.00 0.00 230 1 1.1 0.9;
3 2 0 0 0 0 1 1.04 0.00 230 1 1.1 0.9;
];

%% generator data
% bus Pg Qg Qmax Qmin Vg mBase status Pmax Pmin Pc1
Pc2 Qc1min Qc1max Qc2min Qc2max ramp_agc ramp_10 ramp_30 ramp_q
apf
mpc.gen = [
1 0.00 0 150.0 -150.0 1.05 100 1 0 0 0 0 0 0
0 0 0 0 0 0 0;
3 200.0 0 240.5 -240.5 1.04 100 1 200 0 0 0 0 0
0 0 0 0 0 0 0;
];

%% branch data
% fbus tbus r x b rateA rateB rateC ratio angle
status angmin angmax
mpc.branch = [
1 2 0.02 0.04 0 0 0 0 0 0 1 -360 360;
1 3 0.01 0.03 0 0 0 0 0 0 1 -360 360;
2 3 0.0125 0.025 0 0 0 0 0 0 1 -360 360;
];

%%----- OPF Data -----%%


Solución del problema
Bus Voltage Generation Load

# Mag(pu) Ang(deg) P (MW) Q (MVAr) P (MW) Q (MVAr)

----- ------- -------- -------- -------- -------- --------

1 1.050 0.000* 218.42 140.85 - -

2 0.972 -2.696 - - 400.00 250.00

3 1.040 -0.499 200.00 146.18 - -

-------- -------- -------- --------

Total: 418.42 287.03 400.00 250.00

================================================================================

| Branch Data |

================================================================================

Brnch From To From Bus Injection To Bus Injection Loss (I^2 * Z)

# Bus Bus P (MW) Q (MVAr) P (MW) Q (MVAr) P (MW) Q (MVAr)

----- ----- ----- -------- -------- -------- -------- -------- --------

1 1 2 179.36 118.73 -170.97 -101.95 8.393 16.79

2 1 3 39.06 22.12 -38.88 -21.57 0.183 0.55

3 2 3 -229.03 -148.05 238.88 167.75 9.847 19.69

-------- --------

Total: 18.423 37.03

You might also like