I am working on modelling an energy system where I would like to put a time constraint on the Storage component so that it gets reset to the initial condition after every day or every 24 time-steps.
I am new to implementing constraints in the models. I would really appreciate it if someone could help with the same.
we currently have the option to set the storage balance between last and first time step.
I think it is easiest to modify that one. You can then either add that as an additional constraint to a model creating solph (as it is) or you can create an improved version of solph where you replace the constraint by a more flexible one. If you decide for the latter, I’d be glad to provide help to have it in the official package one day.