Yes, and the value of rows, 0 means the load is applied to the all buses,
so you should also change the value of the rows by loadprofile.rows=load_index
(e.g. loadprofile.rows=[2 3 5]), if there are three loads located in bus 2,
3 and 5, respectively)

Best Regards,
Stephanie

2017-05-09 22:09 GMT+08:00 Ammar Raza <[email protected]>:

> that means
>
> loadprofile = struct( ...
>     'type', 'mpcData', ...
>     'table', CT_TLOAD, ...
>     'rows', 0, ...
>     'col', CT_LOAD_ALL_PQ, ...
>     'chgtype', CT_REP, ...
>     'values', [] );
>
> loadprofile.values(:, 1, :) = [ 24 x 99 ]
>
>
> Kind Regard,
>
> Mohammad Ammar Raza
>
>
>
>
> On 9 May 2017 at 14:55, Stephanie <[email protected]> wrote:
>
>> Hi,
>>
>> I tried it a few days before, what I did is:
>>
>> loadprofile.rows=load_index; %which applies the load to the bus it
>> locates
>> loadprofile.value (:,1,:) = [24 x 99];
>>
>> And it works in my situation
>>
>> Hope it will help you
>> ------------------------------
>> Best Regards
>> Stephanie
>>
>>
>> *From:* Ammar Raza <[email protected]>
>> *Date:* 2017-05-09 21:43
>> *To:* MATPOWER discussion forum <[email protected]>
>> *Subject:* MOST
>> Hi all,
>>
>> I am working on bus 118 with 54 generator and 99 loads.
>>
>> I would like to ask you for the multi period problem i.e. 24 hours, how I
>> will make the load profile function. Can I do like that
>>
>> loadprofile.value (:,1,1) = [24 x 99];
>>
>>
>>
>> As in case3a in the MOST manual there is only one load therefore, load
>> profile matrix is [12 x 1]
>>
>> loadprofile.value(:,1,1)=[
>> 440;
>> 480;
>> ..
>> ..
>> .. ];
>>
>>
>> Kind Regard,
>>
>> Mohammad Ammar Raza
>>
>>
>>
>>
>

Reply via email to