Home > matpower6.0 > most > t > t_case30_most.m

t_case30_most

PURPOSE ^

T_CASE30_MOST Modified case30.m for security constrained OPF.

SYNOPSIS ^

function mpc = t_case30_most

DESCRIPTION ^

T_CASE30_MOST   Modified case30.m for security constrained OPF.
   Please see CASEFORMAT for details on the case file format.

 This is case30V19.m with the following modifications:
   1. Generator costs (not including dispatchable loads) have
      been converted back to single segment piece-wise linear
      in order to test the automatic convert to polynomial
      done by OPF.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function mpc = t_case30_most
0002 %T_CASE30_MOST   Modified case30.m for security constrained OPF.
0003 %   Please see CASEFORMAT for details on the case file format.
0004 %
0005 % This is case30V19.m with the following modifications:
0006 %   1. Generator costs (not including dispatchable loads) have
0007 %      been converted back to single segment piece-wise linear
0008 %      in order to test the automatic convert to polynomial
0009 %      done by OPF.
0010 
0011 %   MOST
0012 
0013 %% MATPOWER Case Format : Version 2
0014 mpc.version = '2';
0015 
0016 %%-----  Power Flow Data  -----%%
0017 %% system MVA base
0018 mpc.baseMVA = 100;
0019 
0020 %% bus data
0021 %    bus_i    type    Pd    Qd    Gs    Bs    area    Vm    Va    baseKV    zone    Vmax    Vmin
0022 mpc.bus = [
0023     1    3    0    0    0    0    1    1    0    135    1    1.05    0.95;
0024     2    2    0    0    0    0    1    1    0    135    1    1.1    0.95;
0025     3    1    0    0    0    0    1    1    0    135    1    1.05    0.95;
0026     4    1    0    0    0    0    1    1    0    135    1    1.05    0.95;
0027     5    1    0    0    0    0    1    1    0    135    1    1.05    0.95;
0028     6    1    0    0    0    0    1    1    0    135    1    1.05    0.95;
0029     7    1    0    0    0    0    1    1    0    135    1    1.05    0.95;
0030     8    1    0    0    0    0    1    1    0    135    1    1.05    0.95;
0031     9    1    0    0    0    0    1    1    0    135    1    1.05    0.95;
0032     10    1    0    0    0    0    3    1    0    135    1    1.05    0.95;
0033     11    1    0    0    0    0    1    1    0    135    1    1.05    0.95;
0034     12    1    0    0    0    0    2    1    0    135    1    1.05    0.95;
0035     13    2    0    0    0    0    2    1    0    135    1    1.1    0.95;
0036     14    1    0    0    0    0    2    1    0    135    1    1.05    0.95;
0037     15    1    0    0    0    0    2    1    0    135    1    1.05    0.95;
0038     16    1    0    0    0    0    2    1    0    135    1    1.05    0.95;
0039     17    1    0    0    0    0    2    1    0    135    1    1.05    0.95;
0040     18    1    0    0    0    0    2    1    0    135    1    1.05    0.95;
0041     19    1    0    0    0    0    2    1    0    135    1    1.05    0.95;
0042     20    1    0    0    0    0    2    1    0    135    1    1.05    0.95;
0043     21    1    0    0    0    0    3    1    0    135    1    1.05    0.95;
0044     22    2    0    0    0    0    3    1    0    135    1    1.1    0.95;
0045     23    2    0    0    0    0    2    1    0    135    1    1.1    0.95;
0046     24    1    0    0    0    0    3    1    0    135    1    1.05    0.95;
0047     25    1    0    0    0    0    3    1    0    135    1    1.05    0.95;
0048     26    1    0    0    0    0    3    1    0    135    1    1.05    0.95;
0049     27    2    0    0    0    0    3    1    0    135    1    1.1    0.95;
0050     28    1    0    0    0    0    1    1    0    135    1    1.05    0.95;
0051     29    1    0    0    0    0    3    1    0    135    1    1.05    0.95;
0052     30    1    0    0    0    0    3    1    0    135    1    1.05    0.95;
0053 ];
0054 
0055 %% generator data
0056 %    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
0057 mpc.gen = [
0058     1    5.88    0    15    -10    1    100    1    20    0    0    20    -14    18    -6    8    20    20    20    170    0;
0059     1    10.3    0    26.25    -17.5    1    100    1    35    0    0    35    -24.5    31.5    -10.5    14    35    35    35    170    0;
0060     2    19.05    0    18.75    -12.5    1    100    1    25    0    0    25    -17.5    22.5    -7.5    10    25    25    25    80    0;
0061     2    22.87    0    22.5    -15    1    100    1    30    0    0    30    -21    27    -9    12    30    30    30    80    0;
0062     22    12.95    0    22.5    -15    1    100    1    30    0    0    30    -21    27    -9    12    3    3    3    77.5    0;
0063     22    8.64    0    15    -10    1    100    1    20    0    0    20    -14    18    -6    8    20    20    20    77.5    0;
0064     27    17.12    0    26.25    -17.5    1    100    1    35    0    0    35    -24.5    31.5    -10.5    14    3.5    3.5    3.5    63.7    0;
0065     27    9.79    0    15    -10    1    100    1    20    0    0    20    -14    18    -6    8    20    20    20    63.7    0;
0066     23    10.47    0    15    -10    1    100    1    20    0    0    20    -14    18    -6    8    2    2    2    50    0;
0067     23    18.33    0    26.25    -17.5    1    100    1    35    0    0    35    -24.5    31.5    -10.5    14    7    7    7    50    0;
0068     13    25.62    0    22.5    -15    1    100    1    30    0    0    30    -21    27    -9    12    3    3    3    59.7    0;
0069     13    29.88    0    26.25    -17.5    1    100    1    35    0    0    35    -24.5    31.5    -10.5    14    7    7    7    59.7    0;
0070 % dispatchable loads
0071     2    -21.7    -12.7    0    -12.7    1    100    1    0    -21.7    0    0    0    0    0    0    100    100    100    0    0;
0072     3    -2.4    -1.2    0    -1.2    1    100    1    0    -2.4    0    0    0    0    0    0    100    100    100    0    0;
0073     4    -7.6    -1.6    0    -1.6    1    100    1    0    -7.6    0    0    0    0    0    0    100    100    100    0    0;
0074     7    -22.8    -10.9    0    -10.9    1    100    1    0    -22.8    0    0    0    0    0    0    100    100    100    0    0;
0075     8    -30    -15    0    -15    1    100    1    0    -30    0    0    0    0    0    0    100    100    100    0    0;
0076     10    -5.8    -2    0    -2    1    100    1    0    -5.8    0    0    0    0    0    0    100    100    100    0    0;
0077     12    -11.2    -7.5    0    -7.5    1    100    1    0    -11.2    0    0    0    0    0    0    100    100    100    0    0;
0078     14    -6.2    -1.6    0    -1.6    1    100    1    0    -6.2    0    0    0    0    0    0    100    100    100    0    0;
0079     15    -8.2    -2.5    0    -2.5    1    100    1    0    -8.2    0    0    0    0    0    0    100    100    100    0    0;
0080     16    -3.5    -1.8    0    -1.8    1    100    1    0    -3.5    0    0    0    0    0    0    100    100    100    0    0;
0081     17    -9    -4.8    0    -4.8    1    100    1    0    -9    0    0    0    0    0    0    100    100    100    0    0;
0082     18    -3.2    -0.9    0    -0.9    1    100    1    0    -3.2    0    0    0    0    0    0    100    100    100    0    0;
0083     19    -9.5    -3.4    0    -3.4    1    100    1    0    -9.5    0    0    0    0    0    0    100    100    100    0    0;
0084     20    -2.2    -0.7    0    -0.7    1    100    1    0    -2.2    0    0    0    0    0    0    100    100    100    0    0;
0085     21    -17.5    -11.2    0    -11.2    1    100    1    0    -17.5    0    0    0    0    0    0    100    100    100    0    0;
0086     23    -3.2    -1.6    0    -1.6    1    100    1    0    -3.2    0    0    0    0    0    0    100    100    100    0    0;
0087     24    -8.7    -6.7    0    -6.7    1    100    1    0    -8.7    0    0    0    0    0    0    100    100    100    0    0;
0088     26    -3.5    -2.3    0    -2.3    1    100    1    0    -3.5    0    0    0    0    0    0    100    100    100    0    0;
0089     29    -2.4    -0.9    0    -0.9    1    100    1    0    -2.4    0    0    0    0    0    0    100    100    100    0    0;
0090     30    -10.6    -1.9    0    -1.9    1    100    1    0    -10.6    0    0    0    0    0    0    100    100    100    0    0;
0091 ];
0092 
0093 %% branch data
0094 %    fbus    tbus    r    x    b    rateA    rateB    rateC    ratio    angle    status    angmin    angmax
0095 mpc.branch = [
0096     1    2    0.02    0.06    0.03    130    130    130    1    0    1    -360    360;
0097     1    3    0.05    0.19    0.02    130    130    130    1    0    1    -360    360;
0098     2    4    0.06    0.17    0.02    65    65    65    1    0    1    -360    360;
0099     3    4    0.01    0.04    0    130    130    130    1    0    1    -360    360;
0100     2    5    0.05    0.2    0.02    130    130    130    1    0    1    -360    360;
0101     2    6    0.06    0.18    0.02    65    65    65    1    0    1    -360    360;
0102     4    6    0.01    0.04    0    90    90    90    1    0    1    -360    360;
0103     5    7    0.05    0.12    0.01    70    70    70    1    0    1    -360    360;
0104     6    7    0.03    0.08    0.01    130    130    130    1    0    1    -360    360;
0105     6    8    0.005    0.02    0    66    66    66    1    0    1    -360    360;
0106     6    9    0    0.21    0    65    65    65    1    0    1    -360    360;
0107     6    10    0    0.56    0    20    20    20    1    0    1    -360    360;
0108     9    11    0    0.21    0    65    65    65    1    0    1    -360    360;
0109     9    10    0    0.11    0    30    30    30    1    0    1    -360    360;
0110     4    12    0    0.13    0    45    45    45    1    0    1    -360    360;
0111     12    13    0    0.14    0    90    90    90    1    0    1    -360    360;
0112     12    14    0.12    0.26    0    32    32    32    1    0    1    -360    360;
0113     12    15    0.07    0.13    0    32    32    32    1    0    1    -360    360;
0114     12    16    0.09    0.2    0    32    32    32    1    0    1    -360    360;
0115     14    15    0.22    0.2    0    16    16    16    1    0    1    -360    360;
0116     16    17    0.08    0.19    0    16    16    16    1    0    1    -360    360;
0117     15    18    0.11    0.22    0    16    16    16    1    0    1    -360    360;
0118     18    19    0.06    0.13    0    16    16    16    1    0    1    -360    360;
0119     19    20    0.03    0.07    0    32    32    32    1    0    1    -360    360;
0120     10    20    0.09    0.21    0    17    17    17    1    0    1    -360    360;
0121     10    17    0.03    0.08    0    32    32    32    1    0    0    -360    360;
0122     10    21    0.03    0.07    0    32    32    32    1    0    1    -360    360;
0123     10    22    0.07    0.15    0    32    32    32    1    0    1    -360    360;
0124     21    22    0.005    0.01    0    64    64    64    1    0    1    -360    360;
0125     15    23    0.05    0.1    0    45    45    45    1    0    1    -360    360;
0126     22    24    0.12    0.18    0    16    16    16    1    0    1    -360    360;
0127     23    24    0.13    0.27    0    20    20    20    1    0    1    -360    360;
0128     24    25    0.19    0.33    0    16    16    16    1    0    1    -360    360;
0129     25    26    0.25    0.38    0    16    16    16    1    0    1    -360    360;
0130     25    27    0.11    0.21    0    16    16    16    1    0    1    -360    360;
0131     28    27    0    0.4    0    25    25    25    1    0    1    -360    360;
0132     27    29    0.22    0.42    0    16    16    16    1    0    1    -360    360;
0133     27    30    0.32    0.6    0    16    16    16    1    0    1    -360    360;
0134     29    30    0.24    0.45    0    16    16    16    1    0    1    -360    360;
0135     8    28    0.06    0.2    0.02    32    32    32    1    0    1    -360    360;
0136     6    28    0.02    0.06    0.01    32    32    32    1    0    1    -360    360;
0137 ];
0138 
0139 %%-----  OPF Data  -----%%
0140 %% generator cost data
0141 %    1    startup    shutdown    n    x1    y1    ...    xn    yn
0142 %    2    startup    shutdown    n    c(n-1)    ...    c0
0143 mpc.gencost = [
0144     1    0    0    2    0    0    1    80;
0145     1    0    0    2    0    0    1    95;
0146     1    0    0    2    0    0    1    80;
0147     1    0    0    2    0    0    1    95;
0148     1    0    0    2    0    0    1    5;
0149     1    0    0    2    0    0    1    55;
0150     1    0    0    2    0    0    1    5;
0151     1    0    0    2    0    0    1    55;
0152     1    0    0    2    0    0    1    5;
0153     1    0    0    2    0    0    1    25;
0154     1    0    0    2    0    0    1    5;
0155     1    0    0    2    0    0    1    25;
0156 % dispatchable loads
0157     2    0    0    2    10000    0    0    0;
0158     2    0    0    2    10000    0    0    0;
0159     2    0    0    2    10000    0    0    0;
0160     2    0    0    2    10000    0    0    0;
0161     2    0    0    2    10000    0    0    0;
0162     2    0    0    2    5000    0    0    0;
0163     2    0    0    2    5000    0    0    0;
0164     2    0    0    2    5000    0    0    0;
0165     2    0    0    2    5000    0    0    0;
0166     2    0    0    2    5000    0    0    0;
0167     2    0    0    2    5000    0    0    0;
0168     2    0    0    2    5000    0    0    0;
0169     2    0    0    2    5000    0    0    0;
0170     2    0    0    2    5000    0    0    0;
0171     2    0    0    2    5000    0    0    0;
0172     2    0    0    2    5000    0    0    0;
0173     2    0    0    2    5000    0    0    0;
0174     2    0    0    2    5000    0    0    0;
0175     2    0    0    2    5000    0    0    0;
0176     2    0    0    2    5000    0    0    0;
0177 ];

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