Closed andresorge closed 11 years ago
Glad to hear you got Minpower installed. Sorry about the visualizations - they fell victim to some code rot. Should be fixed now with v4.3.2 (and I wrote some tests so it shouldn't happen again).
https://github.com/adamgreenhall/minpower/commit/b17e3b7d270773107cf423a5519b58c3d201cbd0
Hello, I'm running minpower in an anaconda windows installation. Calling the economic dispatch test case with --visualization option I got following traceback:
Traceback (most recent call last): File "c:\Anaconda\envs\mp\Scripts\minpower-script.py", line 9, in
load_entry_point('minpower==4.3.1', 'console_scripts', 'minpower')()
File "c:\Anaconda\envs\mp\lib\site-packages\minpower\solve.py", line 258, in main
try: solve_problem(directory)
File "c:\Anaconda\envs\mp\lib\site-packages\minpower\solve.py", line 140, in solve_problem
if user_config.visualization: solution.visualization()
File "c:\Anaconda\envs\mp\lib\site-packages\minpower\results.py", line 281, in visualization
minGen = min(getattrL(generators, 'Pmin'))
File "c:\Anaconda\envs\mp\lib\site-packages\minpower\commonscripts.py", line 196, in getattrL
return [getattr(item, attribute) for item in L]
AttributeError: 'Generator' object has no attribute 'Pmin'
Best regards, André Sorge