Home > matpower4.0 > case9Q.m

case9Q

PURPOSE ^

CASE9Q Case 9 with costs for reactive generation.

SYNOPSIS ^

function mpc = case9Q

DESCRIPTION ^

CASE9Q    Case 9 with costs for reactive generation.
   Please see CASEFORMAT for details on the case file format.

   Identical to case9.m, with the addition of non-zero costs for
   reactive power.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function mpc = case9Q
0002 %CASE9Q    Case 9 with costs for reactive generation.
0003 %   Please see CASEFORMAT for details on the case file format.
0004 %
0005 %   Identical to case9.m, with the addition of non-zero costs for
0006 %   reactive power.
0007 
0008 %   MATPOWER
0009 %   $Id: case9Q.m,v 1.11 2010/03/10 18:08:15 ray Exp $
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    0    345    1    1.1    0.9;
0022     2    2    0    0    0    0    1    1    0    345    1    1.1    0.9;
0023     3    2    0    0    0    0    1    1    0    345    1    1.1    0.9;
0024     4    1    0    0    0    0    1    1    0    345    1    1.1    0.9;
0025     5    1    90    30    0    0    1    1    0    345    1    1.1    0.9;
0026     6    1    0    0    0    0    1    1    0    345    1    1.1    0.9;
0027     7    1    100    35    0    0    1    1    0    345    1    1.1    0.9;
0028     8    1    0    0    0    0    1    1    0    345    1    1.1    0.9;
0029     9    1    125    50    0    0    1    1    0    345    1    1.1    0.9;
0030 ];
0031 
0032 %% generator data
0033 %    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
0034 mpc.gen = [
0035     1    0    0    300    -300    1    100    1    250    10    0    0    0    0    0    0    0    0    0    0    0;
0036     2    163    0    300    -300    1    100    1    300    10    0    0    0    0    0    0    0    0    0    0    0;
0037     3    85    0    300    -300    1    100    1    270    10    0    0    0    0    0    0    0    0    0    0    0;
0038 ];
0039 
0040 %% branch data
0041 %    fbus    tbus    r    x    b    rateA    rateB    rateC    ratio    angle    status    angmin    angmax
0042 mpc.branch = [
0043     1    4    0    0.0576    0    250    250    250    0    0    1    -360    360;
0044     4    5    0.017    0.092    0.158    250    250    250    0    0    1    -360    360;
0045     5    6    0.039    0.17    0.358    150    150    150    0    0    1    -360    360;
0046     3    6    0    0.0586    0    300    300    300    0    0    1    -360    360;
0047     6    7    0.0119    0.1008    0.209    150    150    150    0    0    1    -360    360;
0048     7    8    0.0085    0.072    0.149    250    250    250    0    0    1    -360    360;
0049     8    2    0    0.0625    0    250    250    250    0    0    1    -360    360;
0050     8    9    0.032    0.161    0.306    250    250    250    0    0    1    -360    360;
0051     9    4    0.01    0.085    0.176    250    250    250    0    0    1    -360    360;
0052 ];
0053 
0054 %%-----  OPF Data  -----%%
0055 %% area data
0056 %    area    refbus
0057 mpc.areas = [
0058     1    5;
0059 ];
0060 
0061 %% generator cost data
0062 %    1    startup    shutdown    n    x1    y1    ...    xn    yn
0063 %    2    startup    shutdown    n    c(n-1)    ...    c0
0064 mpc.gencost = [
0065     2    1500    0    3    0.11    5    150;
0066     2    2000    0    3    0.085    1.2    600;
0067     2    3000    0    3    0.1225    1    335;
0068     2    0    0    3    0.2    0    0;
0069     2    0    0    3    0.05    0    0;
0070     2    0    0    3    0.3    0    0;
0071 ];

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