One way is to simply zero out the R data for the branches …

define_constants;
mpc = loadcase('mycase');
mpc.branch(:, BR_R) = 0;
r = runopf(mpc);

Another is to simply use a DC OPF which is based on a lossless, linear 
approximation of the network model.

r = rundcopf(mpc);

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




On Apr 5, 2013, at 11:28 PM, Aftognosia Aftognosia <[email protected]> wrote:

> Hello.
> Congratulations for this list and for the matpower community ! 
> 
> I am trying to formulate an OPF problem on matpower.
> I receive the results but I would like to ignore losses!
> 
> I.e. I am giving the data for r and for x , but I would like to ignore the 
> losses.
> How can I ignore the losses please?
> 
> Thank you
> John Eaftos
> NTUA
> 

Reply via email to