Home > matpower4.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 %   $Id: case6ww.m,v 1.7 2010/03/10 18:08:15 ray Exp $
0011 
0012 %% MATPOWER Case Format : Version 2
0013 mpc.version = '2';
0014 
0015 %%-----  Power Flow Data  -----%%
0016 %% system MVA base
0017 mpc.baseMVA = 100;
0018 
0019 %% bus data
0020 %    bus_i    type    Pd    Qd    Gs    Bs    area    Vm    Va    baseKV    zone    Vmax    Vmin
0021 mpc.bus = [
0022     1    3    0    0    0    0    1    1.05    0    230    1    1.05    1.05;
0023     2    2    0    0    0    0    1    1.05    0    230    1    1.05    1.05;
0024     3    2    0    0    0    0    1    1.07    0    230    1    1.07    1.07;
0025     4    1    70    70    0    0    1    1    0    230    1    1.05    0.95;
0026     5    1    70    70    0    0    1    1    0    230    1    1.05    0.95;
0027     6    1    70    70    0    0    1    1    0    230    1    1.05    0.95;
0028 ];
0029 
0030 %% generator data
0031 %    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
0032 mpc.gen = [
0033     1    0    0    100    -100    1.05    100    1    200    50    0    0    0    0    0    0    0    0    0    0    0;
0034     2    50    0    100    -100    1.05    100    1    150    37.5    0    0    0    0    0    0    0    0    0    0    0;
0035     3    60    0    100    -100    1.07    100    1    180    45    0    0    0    0    0    0    0    0    0    0    0;
0036 ];
0037 
0038 %% branch data
0039 %    fbus    tbus    r    x    b    rateA    rateB    rateC    ratio    angle    status    angmin    angmax
0040 mpc.branch = [
0041     1    2    0.1    0.2    0.04    40    40    40    0    0    1    -360    360;
0042     1    4    0.05    0.2    0.04    60    60    60    0    0    1    -360    360;
0043     1    5    0.08    0.3    0.06    40    40    40    0    0    1    -360    360;
0044     2    3    0.05    0.25    0.06    40    40    40    0    0    1    -360    360;
0045     2    4    0.05    0.1    0.02    60    60    60    0    0    1    -360    360;
0046     2    5    0.1    0.3    0.04    30    30    30    0    0    1    -360    360;
0047     2    6    0.07    0.2    0.05    90    90    90    0    0    1    -360    360;
0048     3    5    0.12    0.26    0.05    70    70    70    0    0    1    -360    360;
0049     3    6    0.02    0.1    0.02    80    80    80    0    0    1    -360    360;
0050     4    5    0.2    0.4    0.08    20    20    20    0    0    1    -360    360;
0051     5    6    0.1    0.3    0.06    40    40    40    0    0    1    -360    360;
0052 ];
0053 
0054 %%-----  OPF Data  -----%%
0055 %% generator cost data
0056 %    1    startup    shutdown    n    x1    y1    ...    xn    yn
0057 %    2    startup    shutdown    n    c(n-1)    ...    c0
0058 mpc.gencost = [
0059     2    0    0    3    0.00533    11.669    213.1;
0060     2    0    0    3    0.00889    10.333    200;
0061     2    0    0    3    0.00741    10.833    240;
0062 ];

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