Home > matpower6.0 > case6ww.m

case6ww

PURPOSE ^

CASE6WW Power flow data for 6 bus, 3 gen case from Wood & Wollenberg.

SYNOPSIS ^

function mpc = case6ww

DESCRIPTION ^

CASE6WW  Power flow data for 6 bus, 3 gen case from Wood & Wollenberg.
   Please see CASEFORMAT for details on the case file format.

   This is the 6 bus example from pp. 104, 112, 119, 123-124, 549 of
   "Power Generation, Operation, and Control, 2nd Edition",
   by Allen. J. Wood and Bruce F. Wollenberg, John Wiley & Sons, NY, Jan 1996.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function mpc = case6ww
0002 %CASE6WW  Power flow data for 6 bus, 3 gen case from Wood & Wollenberg.
0003 %   Please see CASEFORMAT for details on the case file format.
0004 %
0005 %   This is the 6 bus example from pp. 104, 112, 119, 123-124, 549 of
0006 %   "Power Generation, Operation, and Control, 2nd Edition",
0007 %   by Allen. J. Wood and Bruce F. Wollenberg, John Wiley & Sons, NY, Jan 1996.
0008 
0009 %   MATPOWER
0010 
0011 %% MATPOWER Case Format : Version 2
0012 mpc.version = '2';
0013 
0014 %%-----  Power Flow Data  -----%%
0015 %% system MVA base
0016 mpc.baseMVA = 100;
0017 
0018 %% bus data
0019 %    bus_i    type    Pd    Qd    Gs    Bs    area    Vm    Va    baseKV    zone    Vmax    Vmin
0020 mpc.bus = [
0021     1    3    0    0    0    0    1    1.05    0    230    1    1.05    1.05;
0022     2    2    0    0    0    0    1    1.05    0    230    1    1.05    1.05;
0023     3    2    0    0    0    0    1    1.07    0    230    1    1.07    1.07;
0024     4    1    70    70    0    0    1    1    0    230    1    1.05    0.95;
0025     5    1    70    70    0    0    1    1    0    230    1    1.05    0.95;
0026     6    1    70    70    0    0    1    1    0    230    1    1.05    0.95;
0027 ];
0028 
0029 %% generator data
0030 %    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
0031 mpc.gen = [
0032     1    0    0    100    -100    1.05    100    1    200    50    0    0    0    0    0    0    0    0    0    0    0;
0033     2    50    0    100    -100    1.05    100    1    150    37.5    0    0    0    0    0    0    0    0    0    0    0;
0034     3    60    0    100    -100    1.07    100    1    180    45    0    0    0    0    0    0    0    0    0    0    0;
0035 ];
0036 
0037 %% branch data
0038 %    fbus    tbus    r    x    b    rateA    rateB    rateC    ratio    angle    status    angmin    angmax
0039 mpc.branch = [
0040     1    2    0.1    0.2    0.04    40    40    40    0    0    1    -360    360;
0041     1    4    0.05    0.2    0.04    60    60    60    0    0    1    -360    360;
0042     1    5    0.08    0.3    0.06    40    40    40    0    0    1    -360    360;
0043     2    3    0.05    0.25    0.06    40    40    40    0    0    1    -360    360;
0044     2    4    0.05    0.1    0.02    60    60    60    0    0    1    -360    360;
0045     2    5    0.1    0.3    0.04    30    30    30    0    0    1    -360    360;
0046     2    6    0.07    0.2    0.05    90    90    90    0    0    1    -360    360;
0047     3    5    0.12    0.26    0.05    70    70    70    0    0    1    -360    360;
0048     3    6    0.02    0.1    0.02    80    80    80    0    0    1    -360    360;
0049     4    5    0.2    0.4    0.08    20    20    20    0    0    1    -360    360;
0050     5    6    0.1    0.3    0.06    40    40    40    0    0    1    -360    360;
0051 ];
0052 
0053 %%-----  OPF Data  -----%%
0054 %% generator cost data
0055 %    1    startup    shutdown    n    x1    y1    ...    xn    yn
0056 %    2    startup    shutdown    n    c(n-1)    ...    c0
0057 mpc.gencost = [
0058     2    0    0    3    0.00533    11.669    213.1;
0059     2    0    0    3    0.00889    10.333    200;
0060     2    0    0    3    0.00741    10.833    240;
0061 ];

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