Hello,
I have a problem with numpy version:
pf -c case300
Traceback (most recent call last):
File "/usr/local/bin/pf", line 11, in <module>
sys.exit(pf())
File "/usr/local/lib/python2.7/site-packages/pypower/main.py", line 174, in pf
_, success = runpf(casedata, ppopt, fname, solvedcase)
File "/usr/local/lib/python2.7/site-packages/pypower/runpf.py", line 95, in runpf
ppc = ext2int(ppc)
File "/usr/local/lib/python2.7/site-packages/pypower/ext2int.py", line 152, in ext2int
o["bus"]["e2i"] = zeros(max(o["bus"]["i2e"]) + 1)
TypeError: 'numpy.float64' object cannot be interpreted as an index
Miguels-MacBook-Pro:~ miguel$ pf -c case14
Traceback (most recent call last):
File "/usr/local/bin/pf", line 11, in <module>
sys.exit(pf())
File "/usr/local/lib/python2.7/site-packages/pypower/main.py", line 174, in pf
_, success = runpf(casedata, ppopt, fname, solvedcase)
File "/usr/local/lib/python2.7/site-packages/pypower/runpf.py", line 95, in runpf
ppc = ext2int(ppc)
File "/usr/local/lib/python2.7/site-packages/pypower/ext2int.py", line 152, in ext2int
o["bus"]["e2i"] = zeros(max(o["bus"]["i2e"]) + 1)
TypeError: 'numpy.float64' object cannot be interpreted as an index