Home > matpower7.1 > most > lib > t > t_case3_most.m

t_case3_most

PURPOSE ^

T_CASE3_MOST Three bus example system

SYNOPSIS ^

function mpc = t_case3_most

DESCRIPTION ^

T_CASE3_MOST  Three bus example system
   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_case3_most
0002 %T_CASE3_MOST  Three bus example system
0003 %   Please see CASEFORMAT for details on the case file format.
0004 
0005 %   MOST
0006 %   Copyright (c) 2015-2016, Power Systems Engineering Research Center (PSERC)
0007 %   by Ray Zimmerman, PSERC Cornell
0008 %
0009 %   This file is part of MOST.
0010 %   Covered by the 3-clause BSD License (see LICENSE file for details).
0011 %   See https://github.com/MATPOWER/most for more info.
0012 
0013 %% MATPOWER Case Format : Version 2
0014 mpc.version = '2';
0015 
0016 %%-----  Power Flow Data  -----%%
0017 %% system MVA base
0018 mpc.baseMVA = 100;
0019 
0020 %% bus data
0021 %    bus_i    type    Pd    Qd    Gs    Bs    area    Vm    Va    baseKV    zone    Vmax    Vmin
0022 mpc.bus = [
0023     1    3    0    0    0    0    1    1    0    135    1    1.05    0.95;
0024     2    2    0    0    0    0    1    1    0    135    1    1.05    0.95;
0025     3    2    0    0    0    0    1    1    0    135    1    1.05    0.95;
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    250    0    50    -50    1    100    1    400    0    0    0    0    0    0    0    0    100    100    0    0;
0032     2    200    0    50    -50    1    100    1    300    0    0    0    0    0    0    0    0    100    100    0    0;
0033     3    -450    0    0    0    1    100    1    0    -450    0    0    0    0    0    0    0    450    450    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    2    0.005    0.01    0    300    300    300    0    0    1    -360    360;
0040     1    3    0.005    0.01    0    240    240    240    0    0    1    -360    360;
0041     2    3    0.005    0.01    0    300    300    300    0    0    1    -360    360;
0042 ];
0043 
0044 %%-----  OPF Data  -----%%
0045 %% generator cost data
0046 %    1    startup    shutdown    n    x1    y1    ...    xn    yn
0047 %    2    startup    shutdown    n    c(n-1)    ...    c0
0048 % mpc.gencost = [
0049 %     1    0    0    2    0    0    1    25;
0050 %     1    0    0    2    0    0    1    30;
0051 %     1    0    0    2    -1    -10000    0    0;
0052 % ];
0053 mpc.gencost = [
0054     2    0    0    2    25    0;
0055     2    0    0    2    30    0;
0056     2    0    0    2    1000    0;
0057 ];

Generated on Fri 09-Oct-2020 11:21:31 by m2html © 2005