Home > matpower5.1 > 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 %   $Id: case5.m 2408 2014-10-22 20:41:33Z ray $
0014 
0015 %% MATPOWER Case Format : Version 2
0016 mpc.version = '2';
0017 
0018 %%-----  Power Flow Data  -----%%
0019 %% system MVA base
0020 mpc.baseMVA = 100;
0021 
0022 %% bus data
0023 %    bus_i    type    Pd    Qd    Gs    Bs    area    Vm    Va    baseKV    zone    Vmax    Vmin
0024 mpc.bus = [
0025     1    2    0    0    0    0    1    1    0    230    1    1.1    0.9;
0026     2    1    300    98.61    0    0    1    1    0    230    1    1.1    0.9;
0027     3    2    300    98.61    0    0    1    1    0    230    1    1.1    0.9;
0028     4    3    400    131.47    0    0    1    1    0    230    1    1.1    0.9;
0029     5    2    0    0    0    0    1    1    0    230    1    1.1    0.9;
0030 ];
0031 
0032 %% generator data
0033 %    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
0034 mpc.gen = [
0035     1    40    0    30    -30    1    100    1    40    0    0    0    0    0    0    0    0    0    0    0    0;
0036     1    170    0    127.5    -127.5    1    100    1    170    0    0    0    0    0    0    0    0    0    0    0    0;
0037     3    323.49    0    390    -390    1    100    1    520    0    0    0    0    0    0    0    0    0    0    0    0;
0038     4    0    0    150    -150    1    100    1    200    0    0    0    0    0    0    0    0    0    0    0    0;
0039     5    466.51    0    450    -450    1    100    1    600    0    0    0    0    0    0    0    0    0    0    0    0;
0040 ];
0041 
0042 %% branch data
0043 %    fbus    tbus    r    x    b    rateA    rateB    rateC    ratio    angle    status    angmin    angmax
0044 mpc.branch = [
0045     1    2    0.00281    0.0281    0.00712    400    400    400    0    0    1    -360    360;
0046     1    4    0.00304    0.0304    0.00658    0    0    0    0    0    1    -360    360;
0047     1    5    0.00064    0.0064    0.03126    0    0    0    0    0    1    -360    360;
0048     2    3    0.00108    0.0108    0.01852    0    0    0    0    0    1    -360    360;
0049     3    4    0.00297    0.0297    0.00674    0    0    0    0    0    1    -360    360;
0050     4    5    0.00297    0.0297    0.00674    240    240    240    0    0    1    -360    360;
0051 ];
0052 
0053 %%-----  OPF Data  -----%%
0054 %% generator cost data
0055 %    1    startup    shutdown    n    x1    y1    ...    xn    yn
0056 %    2    startup    shutdown    n    c(n-1)    ...    c0
0057 mpc.gencost = [
0058     2    0    0    2    14    0;
0059     2    0    0    2    15    0;
0060     2    0    0    2    30    0;
0061     2    0    0    2    40    0;
0062     2    0    0    2    10    0;
0063 ];

Generated on Fri 20-Mar-2015 18:23:34 by m2html © 2005