1) Make sure that when you isolate a bus you set it's BUS_TYPE to NONE and that
your system still has a REF bus.
2) I'm not sure what you mean, but you can always load the case and make
changes before running it, like …
define_constants;
mpc = loadcase('case118');
mpc.branch(110, BR_STATUS) = 0;
r = runopf(mpc);
--
Ray Zimmerman
Senior Research Associate
419A Warren Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645
On Apr 20, 2013, at 10:53 PM, Ashwin Venkataramanan <[email protected]> wrote:
> Dear Dr.Zimmerman
>
> I am a graduate student in electrical engineering from Arizona
> state university. I have a doubt about opening buses using MATPOWER. I have
> two questions.
>
> 1) My simulation involves removing a substation out of the network and
> testing if the power flow converges. Just like first contingency analysis for
> substations. Each bus is characterized as a substation or in some cases
> combination of 2 buses are classified as substation. I have read the MATPOWER
> user manual, from which I find only ways to remove branches and generator
> from the network. I have tried the simulation by removing the branches
> connected to the bus using the command
>
> mpc.branch(110,BR_STATUS)=0;
>
> for removing the branch 110 which may connect two buses. Similarly removing
> all the branches connected to a bus in order to isolate a bus. I believe this
> approach is right to remove a bus. But my powerflow diverges each time I
> remove any bus(or substation). I believe this will not be a case as system
> most of time must work for first contingency involving substation. I have
> tested my code on both 118 and 30 bus case. Is there any way to remove bus
> directly off other than removing using the branches(above mentioned approach)
> ?
>
> 2) Is there any way to do convert the existing “case118.m” to modified 118
> bus?
>
>
> Best Regards
>
> Ashwin Venkataramanan
>
> Arizona state university
>