You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently installed PYPOWER in my Ubuntu 14.04, Python 2.7.6, scipy 0.13.3 and ran the sample commands given in GitHub project page's readme. When running the command,
$ opf -c case24_ieee_rts --solvedcase=rtsout.py
to solve an OPF for the IEEE Reliability Test System and write the solved case to file.
The text was updated successfully, but these errors were encountered:
If you're getting the message TypeError: %d format: a number is required, not numpy.ndarray, this seems to be a bug in savecase.py. You can fix it by changing line 143 of savecase.py (the file location should be referenced in the traceback that is printed when the error occurs). Near the end of line 143, change bus[:, :MU_VMIN + 1]
to bus[i, :MU_VMIN + 1]
(i.e., change the first colon to an i).
As reported by Prabakaran on the mailing list:
I recently installed PYPOWER in my Ubuntu 14.04, Python 2.7.6, scipy 0.13.3 and ran the sample commands given in GitHub project page's readme. When running the command,
to solve an OPF for the IEEE Reliability Test System and write the solved case to file.
The text was updated successfully, but these errors were encountered: