Thank you Ray

Therefore, Transmat should be like that?

transmat = cell(1, nt);
T = [ 1x 99];
[transmat{:}] = deal(T * ones(1,1));
transmat{1} = T;

Kind Regard,

Mohammad Ammar Raza




On 11 May 2017 at 13:42, Ray Zimmerman <[email protected]> wrote:

> Just to clarify, if loadprofile.rows  = 0, then loadprofile.values(:, 1,
> :) = [24 x 1] and all loads are scaled together. Otherwise, the number of
> columns in loadprofile.values(:, 1, :) must equal the length of
> loadprofile.rows and each of the specified loads is scaled separately.
>
>    Ray
>
>
> On May 9, 2017, at 10:29 AM, Ammar Raza <[email protected]> wrote:
>
> Its means
>
> loadprofile.rows= [1 x 99 ]
>
> Thanks Stephanie for your help.
>
> Kind Regard,
>
> Mohammad Ammar Raza
>
>
>
>
> On 9 May 2017 at 15:25, Stephanie <[email protected]> wrote:
>
>> 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