openego / eTraGo

Optimization of flexibility options for transmission grids based on PyPSA
GNU Affero General Public License v3.0
30 stars 13 forks source link

Use pypsa's optimize_with_rolling_horizon() functionality #664

Open ulfmueller opened 9 months ago

ulfmueller commented 9 months ago

in particular for our market simulation... see pypsa depends on #663

ulfmueller commented 7 months ago

First running example is implemented here. But details remain to be done:

ClaraBuettner commented 5 months ago

When I understand the code correctly, there is currently no extra_functionality set in the rolling_horizont optimization. We would need that at least for defining the CHP heat and electricity dispatch. We should find out if it is possible to add extra_functionalities to the rolling_horizont optimization and if yes, we need to use the constraints for linopy. They are already translated, but these changes are not on dev yet.

ClaraBuettner commented 4 months ago

When I understand the code correctly, there is currently no extra_functionality set in the rolling_horizont optimization. We would need that at least for defining the CHP heat and electricity dispatch. We should find out if it is possible to add extra_functionalities to the rolling_horizont optimization and if yes, we need to use the constraints for linopy. They are already translated, but these changes are not on dev yet.

Update: We can add extra_functionalities to the rolling_horizont optimization easily. So we just need the translated constraints from the other branch. I will do this soon.