You can disconnect branches by changing the value of the BR_STATUS column and 
generators by the GEN_STATUS column. For example, to attempt to run an OPF with 
each branch taken out one at a time ...

defined_constants;
mpc0 = loadcase('case30');
nbr = size(mpc0, 2);
for k = 1:nbr
    mpc = mpc0;
    mpc.branch(k, BR_STATUS) = 0;
    r = runopf(mpc);
end

-- 
Ray Zimmerman
Senior Research Associate
419A Warren Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645




On Feb 16, 2012, at 1:38 PM, iman wrote:

> Dear Prof Zimmerman
> 
> By Islanding I mean its classic defenition which is disconnecting a part of 
> the network from the main grid while the embeded generator would be able to 
> supply stable operation of its network zone.
> To elaborate on the question I could ask is there any parameter designated in 
> MATPOWER to turn the circuit breakers on and off or the only way is to 
>  redesign the studied network to implement the change?
> 
> Regards
> 
> On Thu, Feb 16, 2012 at 1:28 PM, Ray Zimmerman <[email protected]> wrote:
> What exactly do you mean by "islanding studies"? MATPOWER can solve cases 
> with multiple islands so long as each island has a reference bus. I have 
> recently written some code to find the islands by traversing the topology 
> that will be included in a future version.
> 
> -- 
> Ray Zimmerman
> Senior Research Associate
> 419A Warren Hall, Cornell University, Ithaca, NY 14853
> phone: (607) 255-9645
> 
> 
> 
> 
> On Feb 16, 2012, at 5:28 AM, iman wrote:
> 
>> Dear all,
>> 
>> Does anyone know if it is feasible to do islanding studies in MATPOWER.On 
>> the other hand can you cut off the slackbus conenction?
>> 
>> -- 
>> Best regards
>> Iman
>> 
> 
> 
> 
> 
> -- 
> Best regards
> Iman
> 

Reply via email to