You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optimal objective 0 - 0 iterations time 0.002, Presolve 0.00
Total time (CPU seconds): 0.00 (Wallclock seconds): 0.01
INFO - Optimization successful...
INFO - Solved the model. Elapsed time: 0:00:00.063417
INFO - Model solved. Collecting results.
Traceback (most recent call last):
File "/darth/vader/miniconda3/envs/apipe_py310/lib/python3.10/site-packages/oemof/solph/processing.py", line 162, in set_result_index
df_dict[k].index = result_index
File "/darth/vader/.local/lib/python3.10/site-packages/pandas/core/generic.py", line 6218, in __setattr__
return object.__setattr__(self, name, value)
File "properties.pyx", line 69, in pandas._libs.properties.AxisProperty.__set__
File "/darth/vader/.local/lib/python3.10/site-packages/pandas/core/generic.py", line 767, in _set_axis
self._mgr.set_axis(axis, labels)
File "/darth/vader/.local/lib/python3.10/site-packages/pandas/core/internals/managers.py", line 227, in set_axis
self._validate_set_axis(axis, new_labels)
File "/darth/vader/.local/lib/python3.10/site-packages/pandas/core/internals/base.py", line 85, in _validate_set_axis
raise ValueError(
ValueError: Length mismatch: Expected axis has 5 elements, new values have 3 elements
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/darth/vader/miniconda3/envs/apipe_py310/lib/python3.10/site-packages/oemof/solph/processing.py", line 166, in set_result_index
df_dict[k].index = result_index
File "/darth/vader/.local/lib/python3.10/site-packages/pandas/core/generic.py", line 6218, in __setattr__
return object.__setattr__(self, name, value)
File "properties.pyx", line 69, in pandas._libs.properties.AxisProperty.__set__
File "/darth/vader/.local/lib/python3.10/site-packages/pandas/core/generic.py", line 767, in _set_axis
self._mgr.set_axis(axis, labels)
File "/darth/vader/.local/lib/python3.10/site-packages/pandas/core/internals/managers.py", line 227, in set_axis
self._validate_set_axis(axis, new_labels)
File "/darth/vader/.local/lib/python3.10/site-packages/pandas/core/internals/base.py", line 85, in _validate_set_axis
raise ValueError(
ValueError: Length mismatch: Expected axis has 4 elements, new values have 3 elements
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/darth/vader/dummy/path/apipe/apipe/esys/scripts/optimize.py", line 326, in <module>
es.results = processing.results(m)
File "/darth/vader/miniconda3/envs/apipe_py310/lib/python3.10/site-packages/oemof/solph/processing.py", line 254, in results
result = _extract_standard_model_result(
File "/darth/vader/miniconda3/envs/apipe_py310/lib/python3.10/site-packages/oemof/solph/processing.py", line 345, in _extract_standard_model_result
set_result_index(df_dict, k, result_index)
File "/darth/vader/miniconda3/envs/apipe_py310/lib/python3.10/site-packages/oemof/solph/processing.py", line 173, in set_result_index
str(e) + msg.format(k[0].label, k[1].label)
AttributeError: 'NoneType' object has no attribute 'label'
The text was updated successfully, but these errors were encountered:
(HEAD: 5604829, oemof-solph version 0.5.2.dev1)
When running
snakemake -j1 postprocessed_esys_appdata
optimization is successful but postprocessing fails at this point:apipe/apipe/esys/scripts/optimize.py
Line 323 in 676a411
since timeindex differs here:
Full traceback:
The text was updated successfully, but these errors were encountered: