-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Description
Describe the bug
After (successfully) running a multi-period optimization, obtaining results via
results = solph.processing.results(om)fails. It yields
ValueError: Results extraction failed!
caused by
.venv/lib/python3.14/site-packages/pandas/core/internals/base.py:98, in DataManager._validate_set_axis(self, axis, new_labels)
97 elif new_len != old_len:
---> 98 raise ValueError(
99 f"Length mismatch: Expected axis has {old_len} elements, new "
100 f"values have {new_len} elements"
101 )
ValueError: Length mismatch: Expected axis has 17519 elements, new values have 17520 elements
To Reproduce
Steps to reproduce the behavior:
- Obtain latest oemof-solph release, e.g. via pip
- Try out the multi-period investment tutorial from the docs
- Run
- See exception
Expected behavior
Results dictionary should be returned.
Desktop (please complete the following information):
- OS: macos Sequioa
- Python 3.14
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels