Min Zhou
unread,Dec 24, 2024, 5:42:15 AM12/24/24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pyp...@googlegroups.com
Dear Pypower community,
I hope this email finds you well.
Currently, I am using pypower to solve the optimal power flow problem.
However, I found that the OPF solver does not converge. I ran the
following toy example and found that it does not converge:
from pypower.api import case9, runopf, printpf, opf
# Get the case data (case9)
ppc = case9()
# Run the Optimal Power Flow
results = opf(ppc)
# Check if the OPF was successful
if results['success']:
# Print the results
printpf(results)
else:
print("OPF did not converge successfully.")
I run the same code in Matpower, and it converges. Thus, I was
wondering how to address this issue.
Thank you very much for your help.
Best regards.
--
Min ZHOU
School of Data Science
City University of Hong Kong