Dear MATPOWER Team,

Thanks for this creative tool.

I am new using MATPOWER, am not sure if I do it correctly here. I am trying to 
do load shedding scenarios using load2dis() in OPF for case9. But in the normal 
scenario the cost increased and become negative.
What I should to fix this?

Using this code

mpc=loadcase(case9);
mpc = load2disp(mpc);
r=runopf(mpc);
cost=r.f

Ans

cost =

         -1569703.31218761


Thank you in advance , any help is appreciated

Khaldon Qaid


Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

Reply via email to