Dear PyPSA team,
I would like to run a rolling horizon optimization, therefore I have to solve the issue with storages.
I am running a preceding simplified optimization for a year with weekly timesteps to determine the storage units' SOC, which I want to use as inputs for my weekly models.
I read in previous discussions in this list about how I can set the SOC at a certain time with storage_units_t.state_of_charge_set.
This, I would like to use to pass on SOCs from one weekly model to the next. However, for the beginning of week 1 and for the end of each week, I want to do something different:
In my network there are several storage units connected to 1 node and I would like to set the sum of those storage units' SOC at the beginning of the 1st week and end of each week to be equal to my previously determined SOC for that node from the annual run.
I wanted to do this through additional constraints implemented through extra_functionality.
Finally, my question: Do I understand correctly that I either need to set cyclic_state_of_charge to True; or I need to define the initial state of charge for each storage unit? Either one is not desirable for my purpose. Is there a way around it?
Thanks in advance for your help.
Best regards,
Luca