Home > matpower7.0 > lib > t > t_case9_save2psse.m

t_case9_save2psse

PURPOSE ^

T_CASE9_SAVE2PSSE Power flow data to test SAVE2PSSE.

SYNOPSIS ^

function mpc = t_case9_save2psse

DESCRIPTION ^

T_CASE9_SAVE2PSSE   Power flow data to test SAVE2PSSE.
   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 mpc = t_case9_save2psse
0002 %T_CASE9_SAVE2PSSE   Power flow data to test SAVE2PSSE.
0003 %   Please see CASEFORMAT for details on the case file format.
0004 
0005 %   MATPOWER
0006 
0007 %% MATPOWER Case Format : Version 2
0008 mpc.version = '2';
0009 
0010 %%-----  Power Flow Data  -----%%
0011 %% system MVA base
0012 mpc.baseMVA = 100;
0013 
0014 %% bus data
0015 %    bus_i    type    Pd    Qd    Gs    Bs    area    Vm    Va    baseKV    zone    Vmax    Vmin
0016 mpc.bus = [
0017     1    3    0    0    0    0    1    1    0    345    1    1.1    0.9;
0018     2    2    0    0    0    0    1    1    0    345    1    1.1    0.9;
0019     3    2    0    0    0    0    1    1    0    345    1    1.1    0.9;
0020     4    1    0    0    0    0    1    1    0    345    1    1.1    0.9;
0021     5    1    90    30    0    0    1    1    0    345    1    1.1    0.9;
0022     6    1    0    0    0    0    1    1    0    345    1    1.1    0.9;
0023     7    1    100    35    0    0    1    1    0    345    1    1.1    0.9;
0024     8    1    0    0    0    0    1    1    0    345    1    1.1    0.9;
0025     9    1    125    50    0    0    1    1    0    345    1    1.1    0.9;
0026 ];
0027 
0028 %% generator data
0029 %    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
0030 mpc.gen = [
0031     1    0    0    300    -300    1    100    1    250    90    0    0    0    0    0    0    0    0    0    0    0;
0032     2    163    0    300    -300    1    100    1    300    10    0    0    0    0    0    0    0    0    0    0    0;
0033     3    85    0    300    -300    1    100    1    270    10    0    0    0    0    0    0    0    0    0    0    0;
0034 ];
0035 
0036 %% branch data
0037 %    fbus    tbus    r    x    b    rateA    rateB    rateC    ratio    angle    status    angmin    angmax
0038 mpc.branch = [
0039     1    4    0    0.0576    0    250    250    250    0    0    1    -360    360;
0040     4    5    0.017    0.092    0.158    250    250    250    0    0    1    -360    360;
0041     5    6    0.039    0.17    0.358    150    150    150    0    0    1    -360    360;
0042     4    5    0.017    0.092    0.158    250    250    250    0    0    1    -360    360;
0043     3    6    0    0.0586    0    300    300    300    0    0    1    -360    360;
0044     6    7    0.0119    0.1008    0.209    40    150    150    0    0    1    -360    360;
0045     6    7    0.0119    0.1008    0.209    40    150    150    0    0    1    -360    360;
0046     7    8    0.0085    0.072    0.149    250    250    250    0    0    1    -360    360;
0047     6    7    0.0119    0.1008    0.209    40    150    150    0    0    1    -360    360;
0048     8    2    0    0.0625    0    250    250    250    0    0    1    -360    360;
0049     8    9    0.032    0.161    0    250    250    250    0.935    0    1    -360    360;
0050     9    4    0.01    0.085    0    250    250    250    0    5    1    -360    360;
0051 ];
0052 
0053 %%-----  DC Line Data  -----
0054 %    fbus    tbus    status    Pf    Pt    Qf    Qt    Vf    Vt    Pmin    Pmax    QminF    QmaxF    QminT    QmaxT    loss0    loss1
0055 mpc.dcline = [
0056     3    4    1    4    4    0    0    1    1    3.4    4.6    1.0718    4.0448    1.0718    4.0448    0    0;
0057     4    7    1    3    3    0    0    1    1    2.55    3.45    0.8038    3.0336    0.8038    3.0336    0    0;
0058 ];
0059 
0060 mpc.bus_name = {
0061             'bus 1       ';
0062             'bus 2       ';
0063             'bus 3       ';
0064             'bus 4       ';
0065             'bus 5       ';
0066             'bus 6       ';
0067             'bus 7       ';
0068             'bus 8       ';
0069             'bus 9       ';
0070 };

Generated on Mon 24-Jun-2019 15:58:45 by m2html © 2005