got it! thanks

On Mon, Feb 23, 2015 at 5:36 AM, Vladimir Frolov <
[email protected]> wrote:

> google for mat lab variables. this is just about to take value from the
> matrix
>
> Best,
> Vladimir
>
> 22 февр. 2015 г., в 7:23, Bijay Hughes <[email protected]>
> написал(а):
>
> Thanks so much. I got the part on total number of buses. But what about
> extracting *fbus* or *tbus*? Could you please tell me how I can extract
> *fbus*, for example? Is it with *m.baseMVA*?
>
> BH
>
> On Sun, Feb 22, 2015 at 9:18 PM, Deep Kiran <[email protected]> wrote:
>
>> Hi Bijay,
>>
>> You can use m=loadcase('case') to load each data in m as structure.
>> m.baseMVA, m.gen, m.bus, m.branch, m.gencost.
>> For total number of buses:
>> i.e.
>> m = loadcase(case30);
>> nbus = numel(m.bus(:,1));
>>
>> I hope this will help.
>>
>> --
>> regards
>> Deep Kiran
>>
>
>

Reply via email to