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

ex_load_profile

PURPOSE ^

EX_LOAD_PROFILE Example load profile data file for stochastic unit commitment.

SYNOPSIS ^

function loadprofile = ex_load_profile

DESCRIPTION ^

EX_LOAD_PROFILE  Example load profile data file for stochastic unit commitment.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function loadprofile = ex_load_profile
0002 %EX_LOAD_PROFILE  Example load profile data file 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 [CT_LABEL, CT_PROB, CT_TABLE, CT_TBUS, CT_TGEN, CT_TBRCH, CT_TAREABUS, ...
0014     CT_TAREAGEN, CT_TAREABRCH, CT_ROW, CT_COL, CT_CHGTYPE, CT_REP, ...
0015     CT_REL, CT_ADD, CT_NEWVAL, CT_TLOAD, CT_TAREALOAD, CT_LOAD_ALL_PQ, ...
0016     CT_LOAD_FIX_PQ, CT_LOAD_DIS_PQ, CT_LOAD_ALL_P, CT_LOAD_FIX_P, ...
0017     CT_LOAD_DIS_P, CT_TGENCOST, CT_TAREAGENCOST, CT_MODCOST_F, ...
0018     CT_MODCOST_X] = idx_ct;
0019 
0020 loadprofile = struct( ...
0021     'type', 'mpcData', ...
0022     'table', CT_TLOAD, ...
0023     'rows', 0, ...
0024     'col', CT_LOAD_ALL_PQ, ...
0025     'chgtype', CT_REP, ...
0026     'values', [] );
0027 loadprofile.values(:, 1, 1) = [
0028     440;
0029     480;
0030     540
0031     525;
0032     500;
0033     450;
0034     400;
0035     350;
0036     300;
0037     325;
0038     375;
0039     425;
0040 ]-1e-3;

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