The example in most_ex5_mpopf()
<http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/most/t/most_ex5_mpopf.html>
uses the load profile from ex_load_profile()
<http://www.pserc.cornell.edu/matpower/docs/ref/matpower6.0/most/t/ex_load_profile.html>
which scales all loads at the same time (since rows is set to 0). If you want
to scale loads individually, you need to set rows to a vector of bus indices
and add columns for each to the values field. For example, a load profile with
something like the following, would scale loads at buses 1, 3 and 5 according
to the values in the 3 columns of the values field ...
loadprofile = struct( ...
'type', 'mpcData', ...
'table', CT_TLOAD, ...
'rows', [1 3 5], ...
'col', CT_LOAD_ALL_PQ, ...
'chgtype', CT_REP, ...
'values', [] );
loadprofile.values(:, 1, 1) = [
100 120 110;
120 140 125;
150 150 135;
140 155 130;
...
]
You can also scale the load by areas, as opposed to by individual load, by
setting table to 'CT TAREALOAD’.
Hope this helps,
Ray
> On Mar 14, 2017, at 9:57 PM, 田其生 <[email protected]> wrote:
>
> Dear all
> I need help about dealing with the dynamic optimal power flow through
> most. if there are not only one bus load which are varying with time,how to
> set the load-profile (for example in ex_load_profile).It will be much better
> and clearer,if i get a simple example.
>
> thanks
>
> Qisheng Tian
>
> March 15, 2017