oemof / oemof-solph

A model generator for energy system modelling and optimisation (LP/MILP).
https://oemof.org
MIT License
297 stars 126 forks source link

Formulation of "gradient limit" needs rework #1085

Open p-snft opened 3 months ago

p-snft commented 3 months ago

The formulation of the gradient limit is at least hard to follow. I think I did not alter it in #1077 but @jokochems, ,who changed it before, now means it smells (see https://github.com/oemof/oemof-solph/pull/1077#discussion_r1649075000). If there is an issue, it will become obvious at latest with #1080.

At the same time, it also needs rework as it does not consider the lenght of the time steps but limits the delta between two time steps. This means, it is not possible to have a constant ramp in non-equidistant time grids.