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?
