rwl / PYPOWER

Port of MATPOWER to Python
http://rwl.github.io/PYPOWER/api/
Other
329 stars 110 forks source link

pylon case #3

Closed luistrebejo closed 13 years ago

luistrebejo commented 13 years ago

import sys import logging import pylon logging.basicConfig(stream=sys.stdout, level=logging.debug) case=pylon.Case.load_Matpower("c:\data\case30pwl.m")

Traceback (most recent call last): File "<pyshell#4>", line 1, in case=pylon.Case.load_Matpower("c:\data\case30pwl.m") AttributeError: type object 'Case' has no attribute 'load_Matpower'

rwl commented 13 years ago

This is a Pylon error and should be reported at: http://github.com/rwl/pylon/issues

However, the class method is "load_mathpower(casefile)". http://github.com/rwl/pylon/blob/master/pylon/case.py#L933

rwl commented 13 years ago

A first release of PYPOWER has been made and is available here:

http://pypi.python.org/pypi/PYPOWER