Re: Bus order error - DC line DCOPF

2015-08-03 Thread João Gorenstein Dedecca
Hi Ray, glad to help - allowed me to understand Matpower's implementation better. Regards, João On Fri, Jul 31, 2015 at 5:18 PM, Ray Zimmerman r...@cornell.edu wrote: Thanks João. Sorry I haven’t responded to your earlier e-mail about this issue. I’ve been swamped with other deadlines and

AW: Why use the square of real power for the branch limits?

2015-08-03 Thread Meyer-Huebner, Nico (IEH)
It's only minor changes. Given the case that there is an option Z for the square of real power and an option P for the real power, the code in opf_hessfcn.m changes in the lines 171-177 to: if upper(mpopt.opf.flow_lim(1)) == 'Z' %% square of real power [Hfaa, Hfav, Hfva, Hfvv] =

OPF question convergence

2015-08-03 Thread Gamze Dogan
Dear all, I have a very strange problem using the matpower function runuopf. I launch several iteration of runuopf and one case give me a non convergent solution (success flag is zero). Within my code, I save the values the runuopf function uses, so it goes: save casefileresultsOPF =