Hi,

The solution to this issue is using the function “ext2int”. This function
will internally renumber all the buses, branches and generators. You can
find more about the function in the *.m file of the function.

Best regrads

On Mon, Jun 22, 2020 at 8:20 PM Gang Huang <[email protected]> wrote:

> Hi Jay,
>
> It is a common issue that the default bus_i is not consecutively numbered.
> You can renumber them before calculation.
>
> Best regards,
>
> Gang
> --
> Gang Huang, Ph.D.
> Research Fellow, Zhejiang Lab
>
>
> On Tue, Jun 23, 2020 at 3:19 AM jnv484 <[email protected]> wrote:
>
>> Hello,
>>
>> I want to perform some calculations for IEEE-300 bus systems such as
>> getV0, makeYbus, etc. After executing the 'runpf' or 'loadcase' commands
>> for case300,
>>
>> mpc=loadcase(case300);
>> mpc.bus;
>>
>> The bus number in the first column of mpc.bus has the following problem:
>>           1
>>           2
>>           .
>>           .
>>           .
>>           250
>>           281
>>           319
>>           320
>>           322
>>           323
>>           324
>>           526
>>           528
>>           531
>>           552
>>            .
>>            .
>>            .
>>
>>          9533
>> Till bus number 250, the results are okay, then somehow the bus number
>> shows the wrong numbers as shown above. Eventually, all the other
>> commands required to perform calculations give errors.
>>
>> Kindly, please suggest a solution to this problem, if any.
>>
>> Thank You,
>> Jay Nayak
>> Research Assistant
>> University of Regina
>> Regina, SK, Canada.
>>
>>

Reply via email to