Home > matpower6.0 > case30pwl.m

case30pwl

PURPOSE ^

CASE30PWL Case 30 with piece-wise linear generator costs.

SYNOPSIS ^

function mpc = case30pwl

DESCRIPTION ^

CASE30PWL    Case 30 with piece-wise linear generator costs.
   Please see CASEFORMAT for details on the case file format.

   Identical to case30.m, except with piece-wise linear generator costs.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function mpc = case30pwl
0002 %CASE30PWL    Case 30 with piece-wise linear generator costs.
0003 %   Please see CASEFORMAT for details on the case file format.
0004 %
0005 %   Identical to case30.m, except with piece-wise linear generator costs.
0006 
0007 %   MATPOWER
0008 
0009 %% MATPOWER Case Format : Version 2
0010 mpc.version = '2';
0011 
0012 %%-----  Power Flow Data  -----%%
0013 %% system MVA base
0014 mpc.baseMVA = 100;
0015 
0016 %% bus data
0017 %    bus_i    type    Pd    Qd    Gs    Bs    area    Vm    Va    baseKV    zone    Vmax    Vmin
0018 mpc.bus = [
0019     1    3    0    0    0    0    1    1    0    135    1    1.05    0.95;
0020     2    2    21.7    12.7    0    0    1    1    0    135    1    1.1    0.95;
0021     3    1    2.4    1.2    0    0    1    1    0    135    1    1.05    0.95;
0022     4    1    7.6    1.6    0    0    1    1    0    135    1    1.05    0.95;
0023     5    1    0    0    0    0.19    1    1    0    135    1    1.05    0.95;
0024     6    1    0    0    0    0    1    1    0    135    1    1.05    0.95;
0025     7    1    22.8    10.9    0    0    1    1    0    135    1    1.05    0.95;
0026     8    1    30    30    0    0    1    1    0    135    1    1.05    0.95;
0027     9    1    0    0    0    0    1    1    0    135    1    1.05    0.95;
0028     10    1    5.8    2    0    0    3    1    0    135    1    1.05    0.95;
0029     11    1    0    0    0    0    1    1    0    135    1    1.05    0.95;
0030     12    1    11.2    7.5    0    0    2    1    0    135    1    1.05    0.95;
0031     13    2    0    0    0    0    2    1    0    135    1    1.1    0.95;
0032     14    1    6.2    1.6    0    0    2    1    0    135    1    1.05    0.95;
0033     15    1    8.2    2.5    0    0    2    1    0    135    1    1.05    0.95;
0034     16    1    3.5    1.8    0    0    2    1    0    135    1    1.05    0.95;
0035     17    1    9    5.8    0    0    2    1    0    135    1    1.05    0.95;
0036     18    1    3.2    0.9    0    0    2    1    0    135    1    1.05    0.95;
0037     19    1    9.5    3.4    0    0    2    1    0    135    1    1.05    0.95;
0038     20    1    2.2    0.7    0    0    2    1    0    135    1    1.05    0.95;
0039     21    1    17.5    11.2    0    0    3    1    0    135    1    1.05    0.95;
0040     22    2    0    0    0    0    3    1    0    135    1    1.1    0.95;
0041     23    2    3.2    1.6    0    0    2    1    0    135    1    1.1    0.95;
0042     24    1    8.7    6.7    0    0.04    3    1    0    135    1    1.05    0.95;
0043     25    1    0    0    0    0    3    1    0    135    1    1.05    0.95;
0044     26    1    3.5    2.3    0    0    3    1    0    135    1    1.05    0.95;
0045     27    2    0    0    0    0    3    1    0    135    1    1.1    0.95;
0046     28    1    0    0    0    0    1    1    0    135    1    1.05    0.95;
0047     29    1    2.4    0.9    0    0    3    1    0    135    1    1.05    0.95;
0048     30    1    10.6    1.9    0    0    3    1    0    135    1    1.05    0.95;
0049 ];
0050 
0051 %% generator data
0052 %    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
0053 mpc.gen = [
0054     1    23.54    0    150    -20    1    100    1    80    0    0    0    0    0    0    0    0    0    0    0    0;
0055     2    60.97    0    60    -20    1    100    1    80    0    0    0    0    0    0    0    0    0    0    0    0;
0056     22    21.59    0    62.5    -15    1    100    1    50    0    0    0    0    0    0    0    0    0    0    0    0;
0057     27    26.91    0    48.7    -15    1    100    1    55    0    0    0    0    0    0    0    0    0    0    0    0;
0058     23    19.2    0    40    -10    1    100    1    30    0    0    0    0    0    0    0    0    0    0    0    0;
0059     13    37    0    44.7    -15    1    100    1    40    0    0    0    0    0    0    0    0    0    0    0    0;
0060 ];
0061 
0062 %% branch data
0063 %    fbus    tbus    r    x    b    rateA    rateB    rateC    ratio    angle    status    angmin    angmax
0064 mpc.branch = [
0065     1    2    0.02    0.06    0.03    130    130    130    0    0    1    -360    360;
0066     1    3    0.05    0.19    0.02    130    130    130    0    0    1    -360    360;
0067     2    4    0.06    0.17    0.02    65    65    65    0    0    1    -360    360;
0068     3    4    0.01    0.04    0    130    130    130    0    0    1    -360    360;
0069     2    5    0.05    0.2    0.02    130    130    130    0    0    1    -360    360;
0070     2    6    0.06    0.18    0.02    65    65    65    0    0    1    -360    360;
0071     4    6    0.01    0.04    0    90    90    90    0    0    1    -360    360;
0072     5    7    0.05    0.12    0.01    70    70    70    0    0    1    -360    360;
0073     6    7    0.03    0.08    0.01    130    130    130    0    0    1    -360    360;
0074     6    8    0.01    0.04    0    32    32    32    0    0    1    -360    360;
0075     6    9    0    0.21    0    65    65    65    0    0    1    -360    360;
0076     6    10    0    0.56    0    32    32    32    0    0    1    -360    360;
0077     9    11    0    0.21    0    65    65    65    0    0    1    -360    360;
0078     9    10    0    0.11    0    65    65    65    0    0    1    -360    360;
0079     4    12    0    0.26    0    65    65    65    0    0    1    -360    360;
0080     12    13    0    0.14    0    65    65    65    0    0    1    -360    360;
0081     12    14    0.12    0.26    0    32    32    32    0    0    1    -360    360;
0082     12    15    0.07    0.13    0    32    32    32    0    0    1    -360    360;
0083     12    16    0.09    0.2    0    32    32    32    0    0    1    -360    360;
0084     14    15    0.22    0.2    0    16    16    16    0    0    1    -360    360;
0085     16    17    0.08    0.19    0    16    16    16    0    0    1    -360    360;
0086     15    18    0.11    0.22    0    16    16    16    0    0    1    -360    360;
0087     18    19    0.06    0.13    0    16    16    16    0    0    1    -360    360;
0088     19    20    0.03    0.07    0    32    32    32    0    0    1    -360    360;
0089     10    20    0.09    0.21    0    32    32    32    0    0    1    -360    360;
0090     10    17    0.03    0.08    0    32    32    32    0    0    1    -360    360;
0091     10    21    0.03    0.07    0    32    32    32    0    0    1    -360    360;
0092     10    22    0.07    0.15    0    32    32    32    0    0    1    -360    360;
0093     21    22    0.01    0.02    0    32    32    32    0    0    1    -360    360;
0094     15    23    0.1    0.2    0    16    16    16    0    0    1    -360    360;
0095     22    24    0.12    0.18    0    16    16    16    0    0    1    -360    360;
0096     23    24    0.13    0.27    0    16    16    16    0    0    1    -360    360;
0097     24    25    0.19    0.33    0    16    16    16    0    0    1    -360    360;
0098     25    26    0.25    0.38    0    16    16    16    0    0    1    -360    360;
0099     25    27    0.11    0.21    0    16    16    16    0    0    1    -360    360;
0100     28    27    0    0.4    0    65    65    65    0    0    1    -360    360;
0101     27    29    0.22    0.42    0    16    16    16    0    0    1    -360    360;
0102     27    30    0.32    0.6    0    16    16    16    0    0    1    -360    360;
0103     29    30    0.24    0.45    0    16    16    16    0    0    1    -360    360;
0104     8    28    0.06    0.2    0.02    32    32    32    0    0    1    -360    360;
0105     6    28    0.02    0.06    0.01    32    32    32    0    0    1    -360    360;
0106 ];
0107 
0108 %%-----  OPF Data  -----%%
0109 %% generator cost data
0110 %    1    startup    shutdown    n    x1    y1    ...    xn    yn
0111 %    2    startup    shutdown    n    c(n-1)    ...    c0
0112 mpc.gencost = [
0113     1    0    0    4    0    0    12    144    36    1008    60    2832;
0114     1    0    0    4    0    0    12    240    36    1296    60    3312;
0115     1    0    0    4    0    0    12    240    36    1296    60    3312;
0116     1    0    0    4    0    0    12    144    36    1008    60    2832;
0117     1    0    0    4    0    0    12    240    36    1296    60    3312;
0118     1    0    0    4    0    0    12    144    36    1008    60    2832;
0119 ];

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