Home > matpower7.0 > most > lib > t > ex_wind_profile.m

ex_wind_profile

PURPOSE ^

EX_WIND_PROFILE Example wind profile data for stochastic unit commitment.

SYNOPSIS ^

function windprofile = ex_wind_profile

DESCRIPTION ^

EX_WIND_PROFILE  Example wind profile data for stochastic unit commitment.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function windprofile = ex_wind_profile
0002 %EX_WIND_PROFILE  Example wind profile data for stochastic unit commitment.
0003 
0004 %   MOST
0005 %   Copyright (c) 2015-2016, Power Systems Engineering Research Center (PSERC)
0006 %   by Ray Zimmerman, PSERC Cornell
0007 %
0008 %   This file is part of MOST.
0009 %   Covered by the 3-clause BSD License (see LICENSE file for details).
0010 %   See https://github.com/MATPOWER/most for more info.
0011 
0012 %% define constants
0013 [GEN_BUS, PG, QG, QMAX, QMIN, VG, MBASE, GEN_STATUS, PMAX, PMIN, ...
0014     MU_PMAX, MU_PMIN, MU_QMAX, MU_QMIN, PC1, PC2, QC1MIN, QC1MAX, ...
0015     QC2MIN, QC2MAX, RAMP_AGC, RAMP_10, RAMP_30, RAMP_Q, APF] = idx_gen;
0016 [CT_LABEL, CT_PROB, CT_TABLE, CT_TBUS, CT_TGEN, CT_TBRCH, CT_TAREABUS, ...
0017     CT_TAREAGEN, CT_TAREABRCH, CT_ROW, CT_COL, CT_CHGTYPE, CT_REP, ...
0018     CT_REL, CT_ADD, CT_NEWVAL, CT_TLOAD, CT_TAREALOAD, CT_LOAD_ALL_PQ, ...
0019     CT_LOAD_FIX_PQ, CT_LOAD_DIS_PQ, CT_LOAD_ALL_P, CT_LOAD_FIX_P, ...
0020     CT_LOAD_DIS_P, CT_TGENCOST, CT_TAREAGENCOST, CT_MODCOST_F, ...
0021     CT_MODCOST_X] = idx_ct;
0022 
0023 windprofile = struct( ...
0024     'type', 'mpcData', ...
0025     'table', CT_TGEN, ...
0026     'rows', 1, ...
0027     'col', PMAX, ...
0028     'chgtype', CT_REL, ...
0029     'values', [] );
0030 windprofile.values(:, :, 1) = [
0031     0.72    0.80    0.88;
0032     0.49    0.65    0.81;
0033     0.36    0.60    0.84;
0034     0.50    0.82    1.14;
0035     0.60    1.00    1.40;
0036     0.22    0.70    1.18;
0037     0.00    0.50    1.00;
0038     0.33    0.85    1.37;
0039     0.46    1.00    1.54;
0040     0.54    1.10    1.66;
0041     0.48    1.06    1.64;
0042     0.35    0.95    1.55;
0043 ];

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