Bug in either OPF or PF

54 views
Skip to first unread message

power...@gmail.com

unread,
Jul 4, 2016, 4:20:25 AM7/4/16
to pypower
Dear all,

Here is the issue: first I run a OPF, and store the results. Then, I feed the results to the PF. To my surprise, the solver iterates for the PF.

This should not be happening, since the constraints of the OPF ensure that the result will be a stable PF state. 

I am always taking about the case14, AC. The tolerance of the OPF is set smaller than that of the PF.

Here is a minimal ingredients example:
from pypower.api import case14, runopf , runpf , ppoption

opt = ppoption(VERBOSE=2)
mpc = runpf(runopf(case14(), opt), opt)

nbprofe...@gmail.com

unread,
Jul 31, 2016, 2:33:27 AM7/31/16
to pypower, power...@gmail.com
I wanted to ask about the description you gave and the minimal example.

In the description, you said you "store" the OPF results. If so, could you please show the actual commands of running the opf and storing the results, then running the pf?

Or, were you doing it exactly as shown in the minimal example, directly giving runopf() as an argument to runpf()?

Thanks for clarifying!

Nick
Reply all
Reply to author
Forward
0 new messages