Past states - Edge behaviour of the storage
Since the energy calculation is made for t+1, wrong discharging or charging power can happen during the last timestep. Static constraints need to be set to prevent this edge behaviour. The past states management also has to be investigated.
Edited by EXT Hodencq