Home > matpower7.1 > lib > t > t_auction_case.m

t_auction_case

PURPOSE ^

T_AUCTION_CASE Power flow data for testing auction code.

SYNOPSIS ^

function [baseMVA, bus, gen, branch, areas, gencost] = t_auction_case

DESCRIPTION ^

T_AUCTION_CASE    Power flow data for testing auction code.
   Please see CASEFORMAT for details on the case file format.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [baseMVA, bus, gen, branch, areas, gencost] = t_auction_case
0002 %T_AUCTION_CASE    Power flow data for testing auction code.
0003 %   Please see CASEFORMAT for details on the case file format.
0004 
0005 %   MATPOWER
0006 
0007 %%-----  Power Flow Data  -----%%
0008 %% system MVA base
0009 baseMVA = 100;
0010 
0011 %% bus data
0012 %    bus_i    type    Pd    Qd    Gs    Bs    area    Vm    Va    baseKV    zone    Vmax    Vmin
0013 bus = [
0014     1    3    0    0    0    0    1    1    0    135    1    1.05    0.95;
0015     2    2    5.04485072    2.95251632    0    0    1    1    0    135    1    1.1    0.95;
0016     3    1    22.3182336    11.1591168    0    0    1    1    0    135    1    1.05    0.95;
0017     4    1    8.8343008    1.8598528    0    0    1    1    0    135    1    1.05    0.95;
0018     5    1    0    0    0    0.19    1    1    0    135    1    1.05    0.95;
0019     6    1    0    0    0    0    1    1    0    135    1    1.05    0.95;
0020     7    2    0    0    0    0    1    1    0    135    1    1.05    0.95;
0021     8    1    13.948896    13.948896    0    0    1    1    0    135    1    1.05    0.95;
0022     9    1    0    0    0    0    1    1    0    135    1    1.05    0.95;
0023     10    1    6.7419664    2.324816    0    0    3    1    0    135    1    1.05    0.95;
0024     11    1    0    0    0    0    1    1    0    135    1    1.05    0.95;
0025     12    1    13.0189696    8.71806    0    0    2    1    0    135    1    1.05    0.95;
0026     13    2    0    0    0    0    2    1    0    135    1    1.1    0.95;
0027     14    1    7.2069296    1.8598528    0    0    2    1    0    135    1    1.05    0.95;
0028     15    2    0    0    0    0    2    1    0    135    1    1.05    0.95;
0029     16    1    4.068428    2.0923344    0    0    2    1    0    135    1    1.05    0.95;
0030     17    1    10.461672    6.7419664    0    0    2    1    0    135    1    1.05    0.95;
0031     18    1    3.7197056    1.0461672    0    0    2    1    0    135    1    1.05    0.95;
0032     19    1    11.042876    3.9521872    0    0    2    1    0    135    1    1.05    0.95;
0033     20    1    2.5572976    0.8136856    0    0    2    1    0    135    1    1.05    0.95;
0034     21    1    3.39036344738    2.1698326063232    0    0    3    1    0    135    1    1.05    0.95;
0035     220    2    0    0    0    0    3    1    0    135    1    1.1    0.95;
0036     23    2    22.3182336    11.1591168    0    0    2    1    0    135    1    1.1    0.95;
0037     24    1    10.1129496    7.7881336    0    0.04    3    1    0    135    1    1.05    0.95;
0038     25    1    0    0    0    0    3    1    0    135    1    1.05    0.95;
0039     26    1    4.068428    2.6735384    0    0    3    1    0    135    1    1.05    0.95;
0040     27    2    0    0    0    0    3    1    0    135    1    1.1    0.95;
0041     28    1    0    0    0    0    1    1    0    135    1    1.05    0.95;
0042     29    1    2.7897792    1.0461672    0    0    3    1    0    135    1    1.05    0.95;
0043     30    2    0    0    0    0    3    1    0    135    1    1.05    0.95;
0044 ];
0045 
0046 %% generator data
0047 %    bus    Pg    Qg    Qmax    Qmin    Vg    mBase    status    Pmax    Pmin
0048 gen = [
0049     1    23.54    0    60    -15    1    100    1    60    35;
0050     2    60.97    0    60    -15    1    100    1    60    12;
0051     220    21.59    0    60    -15    1    100    1    60    12;
0052     27    26.91    0    60    -15    1    100    1    60    12;
0053     23    19.2    0    60    -15    1    100    1    60    12;
0054     13    37    0    60    -15    1    100    1    60    12;
0055     7    -30    -15    0    -15    1    100    1    0    -30;
0056     15    -30    -12    0    -12    1    100    1    0    -30;
0057     30    -10    -2.5    0    -7.5    1    100    1    0    -30;
0058 ];
0059 
0060 %% branch data
0061 %    fbus    tbus    r    x    b    rateA    rateB    rateC    ratio    angle    status
0062 branch = [
0063     1    2    0.02    0.06    0.03    10000    130    130    0    0    1;
0064     1    3    0.05    0.19    0.02    10000    130    130    0    0    1;
0065     2    4    0.06    0.17    0.02    10000    65    65    0    0    1;
0066     3    4    0.01    0.04    0    10000    130    130    0    0    1;
0067     2    5    0.05    0.2    0.02    10000    130    130    0    0    1;
0068     2    6    0.06    0.18    0.02    10000    65    65    0    0    1;
0069     4    6    0.01    0.04    0    10000    90    90    0    0    1;
0070     5    7    0.05    0.12    0.01    10000    70    70    0    0    1;
0071     6    7    0.03    0.08    0.01    10000    130    130    0    0    1;
0072     6    8    0.01    0.04    0    10000    32    32    0    0    1;
0073     6    9    0    0.21    0    10000    65    65    0    0    1;
0074     6    10    0    0.56    0    10000    32    32    0    0    1;
0075     9    11    0    0.21    0    10000    65    65    0    0    1;
0076     9    10    0    0.11    0    10000    65    65    0    0    1;
0077     4    12    0    0.26    0    10    65    65    0    0    1;
0078     12    13    0    0.14    0    10000    65    65    0    0    1;
0079     12    14    0.12    0.26    0    10000    32    32    0    0    1;
0080     12    15    0.07    0.13    0    10000    32    32    0    0    1;
0081     12    16    0.09    0.2    0    10000    32    32    0    0    1;
0082     14    15    0.22    0.2    0    10000    16    16    0    0    1;
0083     16    17    0.08    0.19    0    10000    16    16    0    0    1;
0084     15    18    0.11    0.22    0    10000    16    16    0    0    1;
0085     18    19    0.06    0.13    0    10000    16    16    0    0    1;
0086     19    20    0.03    0.07    0    10000    32    32    0    0    1;
0087     10    20    0.09    0.21    0    10000    32    32    0    0    0;
0088     10    17    0.03    0.08    0    10000    32    32    0    0    0;
0089     10    21    0.03    0.07    0    10000    32    32    0    0    1;
0090     10    220    0.07    0.15    0    10000    32    32    0    0    1;
0091     21    220    0.01    0.02    0    10000    32    32    0    0    1;
0092     15    23    0.1    0.2    0    10000    16    16    0    0    1;
0093     220    24    0.12    0.18    0    10000    16    16    0    0    1;
0094     23    24    0.13    0.27    0    10    16    16    0    0    1;
0095     24    25    0.19    0.33    0    10000    16    16    0    0    1;
0096     25    26    0.25    0.38    0    10000    16    16    0    0    1;
0097     25    27    0.11    0.21    0    10000    16    16    0    0    1;
0098     28    27    0    0.4    0    10000    65    65    0    0    1;
0099     27    29    0.22    0.42    0    10000    16    16    0    0    1;
0100     27    30    0.32    0.6    0    10000    16    16    0    0    1;
0101     29    30    0.24    0.45    0    10000    16    16    0    0    1;
0102     8    28    0.06    0.2    0.02    10000    32    32    0    0    1;
0103     6    28    0.02    0.06    0.01    10000    32    32    0    0    1;
0104 ];
0105 
0106 %%-----  OPF Data  -----%%
0107 %% area data
0108 %    area    refbus
0109 areas = [
0110     1    8;
0111     2    23;
0112     3    26;
0113 ];
0114 
0115 %% generator cost data
0116 %    1    startup    shutdown    n    x1    y1    ...    xn    yn
0117 %    2    startup    shutdown    n    c(n-1)    ...    c0
0118 gencost = [
0119     1    0    0    4    0    0    12    240    36    1200    60    2400;
0120     1    0    0    4    0    0    12    240    36    1200    60    2400;
0121     1    0    0    4    0    0    12    240    36    1200    60    2400;
0122     1    0    0    4    0    0    12    240    36    1200    60    2400;
0123     1    0    0    4    0    0    12    240    36    1200    60    2400;
0124     1    0    0    4    0    0    12    240    36    1200    60    2400;
0125     1    0    0    4    -30    -3000    -20    -2000    -10    -1000    0    0;
0126     1    0    0    4    -30    -3000    -20    -2000    -10    -1000    0    0;
0127     1    0    0    4    -30    -3000    -20    -2000    -10    -1000    0    0;
0128 ];

Generated on Fri 09-Oct-2020 11:21:31 by m2html © 2005