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

Generated on Mon 26-Jan-2015 14:56:45 by m2html © 2005