Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runpf #2

Closed
luistrebejo opened this issue Apr 23, 2011 · 2 comments · Fixed by #14
Closed

runpf #2

luistrebejo opened this issue Apr 23, 2011 · 2 comments · Fixed by #14

Comments

@luistrebejo
Copy link

import pypower
from pypower.case24_ieee_rts import case24_ieee_rts
from pypower.runpf import runpf
c = case24_ieee_rts()
results, success = runpf(c)

Traceback (most recent call last):
File "<pyshell#5>", line 1, in
results, success = runpf(c)
File "build\bdist.win32\egg\pypower\runpf.py", line 96, in runpf
ppc = ext2int(ppc)
File "build\bdist.win32\egg\pypower\ext2int.py", line 150, in ext2int
o["areas"]["status"]["on"] = find( ar )
KeyError: 'areas'

@tkli
Copy link

tkli commented May 6, 2011

import pypower
from pypower.case9 import case9
from pypower.runpf import runpf
c = case9()
runpf(c)

Traceback (most recent call last):
File "", line 1, in
File "e:\pypower\runpf.py", line 96, in runpf
ppc = ext2int(ppc)
File "e:\pypower\ext2int.py", line 150, in ext2int
o["areas"]["status"]["on"] = find( ar )
KeyError: 'areas'

@rwl
Copy link
Owner

rwl commented Jul 14, 2011

This should be fixed, along with a great many other issues, under the 4.0.0 tag.

@rwl rwl closed this as completed Jul 14, 2011
charlie0389 pushed a commit to charlie0389/PYPOWER that referenced this issue Dec 9, 2014
…hon 3 compatible. Fix rwl#2 is to make runpf.py match documentation - i.e. output to a file does NOT overwrite, it is appended.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants