Equipment can be taken out of service by simply changing the value of the 
status column in the corresponding matrix, e.g. …

mpc.gen(i, GEN_STATUS) = 0;
mpc.branch(:, BR_STATUS) = 0;

Keep in mind, however, that this can create islands, require redispatch, etc 
and you may need to think more carefully about how to calculate EDNS, beyond 
simply attempting to run a DC power flow. Make sure you understand exactly what 
the power flow is computing and what inputs you need to provide.

  Ray


> On Mar 10, 2015, at 2:06 AM, prashant gupta <[email protected]> 
> wrote:
> 
> Dear Sir,
> 
> I want to calculate the EDNS (Expected Demand not served ) of power system. 
> For that i want to remove certain transmission lines or generators in case 
> file and run a dc load flow analysis to get load curtailed in the system . 
> So, how to modify matpower case to remove certain lines and generators ?? I 
> am using Stagg and El-abiad 5 Bus system in which there are 2 generators and 
> 7 transmission lines. Please give some suggestion. It will be very helpful to 
> me.
> 
> Best Regards

Reply via email to