Closed andresorge closed 11 years ago
Working in v4.3.2.
Sadly, the new UC visualizations are not as pretty for long time series. I'll need to do some additional work on the new implementation to make things look good.
https://github.com/adamgreenhall/minpower/commit/b17e3b7d270773107cf423a5519b58c3d201cbd0
Hello, similar problem with the unit commitment test case and the --visualization option but a bit different 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 491, in visualization
self, self.generators, self.times, prices, withPrices=withPrices)
File "c:\Anaconda\envs\mp\lib\site-packages\minpower\results.py", line 837, in stack_plot_UC
T = [t.Start for t in times]
AttributeError: 'str' object has no attribute 'Start'
Thanks, André Sorge