Ah,yes,I forgot! Thank you very much! I got the right result!
------------------ ???????? ------------------ ??????: "rz10"<[email protected]>; ????????: 2016??10??4??(??????) ????3:01 ??????: "MATPOWER discussion forum"<[email protected]>; ????: Re: a question about MOST If the RAMP_30 column of the gen matrix is set to zero this means that the generator cannot change its dispatch from one period to the next, since it has zero ramp capability. I think it should work if you set reasonable ramp rates. Ray On Oct 3, 2016, at 1:26 PM, YE lei <[email protected]> wrote: Thanks a lot, now I try to edit load_profile like follow. After I ran MOST, the result was still incorrect??it showed "No feasible solution found"??but in this load value I can run the command of "runopf" successfully?? The load bus is 4,5,6. function loadprofile = ex160929_load_profile [CT_LABEL, CT_PROB, CT_TABLE, CT_TBUS, CT_TGEN, CT_TBRCH, CT_TAREABUS, ... CT_TAREAGEN, CT_TAREABRCH, CT_ROW, CT_COL, CT_CHGTYPE, CT_REP, ... CT_REL, CT_ADD, CT_NEWVAL, CT_TLOAD, CT_TAREALOAD,BUS_I... BUS_TYPE,PD,QD] = idx_ct; loadprofile = struct( ... 'type', 'mpcData', ... 'table', CT_TBUS, ... 'rows', [4;5;6], ... 'col', PD, ... 'chgtype', CT_REP, ... 'values', [] ); loadprofile.values(:, 1, 1) = [ 45; 43; 40; 40; 39; 41; ]-1e-3; loadprofile.values(:, 1, 2) = [ 97; 92; 89; 85; 87; 90; ]-1e-3; loadprofile.values(:, 1, 3) = [ 36; 33; 32; 32; 32; 32; ]-1e-3; Did I modify load_profile right? I do not know what goes wrong...orz ------------------ ???????? ------------------ ??????: "Ray Zimmerman";<[email protected]>; ????????: 2016??10??4??(??????) ????1:04 ??????: "MATPOWER discussion forum"<[email protected]>; ????: Re: a question about MOST The 3rd dimension of loadprofile.values is only 3, corresponding to the length of loadprofile.rows. So when you assign the data it should be to loadprofile.values(:, 1, 1), loadprofile.values(:, 1, 2), and loadprofile.values(:, 1, 3), not indexes 4, 5 and 6. Ray On Sep 29, 2016, at 1:21 PM, YE lei <[email protected]> wrote: Recently, I was learning MOST in the MATPOWER, and I got a question. When I wanted to do an experiment, I found that I do not know how to modify the load value of each load bus in each period. The example only have one load bus in MOST manual. If I have 3 load bus("case6ww.m" file on the root directory of MATPOWER) and load value series as fig-1, how to edit "ex_load_profile.m" file(D:\MatLab\toolbox\matpower6.0b1\most\t) ? <[email protected]> fig-1 I edited ex_load_profile.m like fig-2, and it can not run correctly. <[email protected]> fig-2 Could you help me to edit ex_load_profile.m correctly??
