0001 function loadprofile = ex_load_profile
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
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;