Open SabineHaas opened 7 months ago
Thanks for bringing that up, @SabineHaas. I also noticed that in the course of development, but must have forgotten to open a dedicated issue or it has just not been high enough on my priority list. The inconsistencies seem to have been introduced a while ago when the better distinction between time intervals (TIMESTEPS) and discrete time points (TIMEPOINTS) was introduced.
@nailend and @SabineHaas It only holds for "standard", i.e. single period investment models, as I decided to alter the implementation for the multi-period case (and obviously, I also decided on introducing new bugs in the course of that 🙃).
@jokochems: You are right. This looks like it was not updated when we introduced the new indexing. In the result you see what I would have expected with the old (solph v0.4) behaviour. I'll have a closer look.
Describe the bug The storage_content sequence of an investment optimization problem is missing the first time step.
Energy system consists of: el_bus, load, el-storage, excess, shortage
To Reproduce invest_storage.txt
Screenshots Results of the storage, check sequence of storage_content:
Expected behavior
Desktop (please complete the following information):
Linux Mint 20.3
Python version 3.9
oemof.solph version 0.5.2.dev0
This might be interesting for you, @nailend