oemof / oemof-solph

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

Time delays in energy transport #795

Open p-snft opened 2 years ago

p-snft commented 2 years ago

For some energy carriers, i.e. heat and gas, delays in the networks play a relevant role. For large networks, transport from one location to the other can take even longer than one time step in the model.

I see two ways to tackle this:

At the moment, I believe the latter option is more intuitive and adds less complexity to the model.

jnnr commented 2 years ago

Some arguments for implementing this as a component:

fwitte commented 2 years ago

Things to consider:

p-snft commented 2 years ago

There are two PRs that want to model HeatPipeline (#619) and GasLine (#722) to model other aspects than delay.

robbiemorrison commented 2 years ago

I imagine the following openmod forum posting is highly material to this discussion:

The formalization was based on state information held by components. The supported transport delays applied to information as well as physical flows. The wider context was dynamical systems behavior and extended well beyond simply capturing transport delays. Perhaps this more fundamental approach is warranted in oemof?

p-snft commented 2 years ago

At the dev meeting (https://github.com/oemof/oemof/issues/96), we discussed that an implementation in/as a component would be more logical from the graph theoretic perspective.

jnnr commented 2 years ago

A related feature: Forcing one flow to be idle for a defined time before another can be active. Can be applied e.g. for a storage reactor which has to rest after charging before it can be discharged. Implemented in #852