Home > matpower6.0 > case5.m

case5

PURPOSE ^

CASE5 Power flow data for modified 5 bus, 5 gen case based on PJM 5-bus system

SYNOPSIS ^

function mpc = case5

DESCRIPTION ^

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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function mpc = case5
0002 %CASE5  Power flow data for modified 5 bus, 5 gen case based on PJM 5-bus system
0003 %   Please see CASEFORMAT for details on the case file format.
0004 %
0005 %   Based on data from ...
0006 %     F.Li and R.Bo, "Small Test Systems for Power System Economic Studies",
0007 %     Proceedings of the 2010 IEEE Power & Energy Society General Meeting
0008 
0009 %   Created by Rui Bo in 2006, modified in 2010, 2014.
0010 %   Distributed with permission.
0011 
0012 %   MATPOWER
0013 
0014 %% MATPOWER Case Format : Version 2
0015 mpc.version = '2';
0016 
0017 %%-----  Power Flow Data  -----%%
0018 %% system MVA base
0019 mpc.baseMVA = 100;
0020 
0021 %% bus data
0022 %    bus_i    type    Pd    Qd    Gs    Bs    area    Vm    Va    baseKV    zone    Vmax    Vmin
0023 mpc.bus = [
0024     1    2    0    0    0    0    1    1    0    230    1    1.1    0.9;
0025     2    1    300    98.61    0    0    1    1    0    230    1    1.1    0.9;
0026     3    2    300    98.61    0    0    1    1    0    230    1    1.1    0.9;
0027     4    3    400    131.47    0    0    1    1    0    230    1    1.1    0.9;
0028     5    2    0    0    0    0    1    1    0    230    1    1.1    0.9;
0029 ];
0030 
0031 %% generator data
0032 %    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
0033 mpc.gen = [
0034     1    40    0    30    -30    1    100    1    40    0    0    0    0    0    0    0    0    0    0    0    0;
0035     1    170    0    127.5    -127.5    1    100    1    170    0    0    0    0    0    0    0    0    0    0    0    0;
0036     3    323.49    0    390    -390    1    100    1    520    0    0    0    0    0    0    0    0    0    0    0    0;
0037     4    0    0    150    -150    1    100    1    200    0    0    0    0    0    0    0    0    0    0    0    0;
0038     5    466.51    0    450    -450    1    100    1    600    0    0    0    0    0    0    0    0    0    0    0    0;
0039 ];
0040 
0041 %% branch data
0042 %    fbus    tbus    r    x    b    rateA    rateB    rateC    ratio    angle    status    angmin    angmax
0043 mpc.branch = [
0044     1    2    0.00281    0.0281    0.00712    400    400    400    0    0    1    -360    360;
0045     1    4    0.00304    0.0304    0.00658    0    0    0    0    0    1    -360    360;
0046     1    5    0.00064    0.0064    0.03126    0    0    0    0    0    1    -360    360;
0047     2    3    0.00108    0.0108    0.01852    0    0    0    0    0    1    -360    360;
0048     3    4    0.00297    0.0297    0.00674    0    0    0    0    0    1    -360    360;
0049     4    5    0.00297    0.0297    0.00674    240    240    240    0    0    1    -360    360;
0050 ];
0051 
0052 %%-----  OPF Data  -----%%
0053 %% generator cost data
0054 %    1    startup    shutdown    n    x1    y1    ...    xn    yn
0055 %    2    startup    shutdown    n    c(n-1)    ...    c0
0056 mpc.gencost = [
0057     2    0    0    2    14    0;
0058     2    0    0    2    15    0;
0059     2    0    0    2    30    0;
0060     2    0    0    2    40    0;
0061     2    0    0    2    10    0;
0062 ];

Generated on Fri 16-Dec-2016 12:45:37 by m2html © 2005