From 298edda696efab9775bb3d67df8f69bf37f31de1 Mon Sep 17 00:00:00 2001 From: ClaraBuettner Date: Wed, 27 Sep 2023 12:19:24 +0200 Subject: [PATCH] Fix assigning fixed link timeseries --- etrago/execute/grid_optimization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etrago/execute/grid_optimization.py b/etrago/execute/grid_optimization.py index eff18bf5..ca5dcbd1 100644 --- a/etrago/execute/grid_optimization.py +++ b/etrago/execute/grid_optimization.py @@ -112,7 +112,7 @@ def add_redispatch_generators(self): ## Set p_min_pu of links using results from (disaggregated) market model self.network.links_t.p_min_pu.loc[ - :, gens_redispatch + :, links_redispatch ] = self.market_model.links_t.p0[links_redispatch].mul( 1 / self.market_model.links.p_nom[links_redispatch] )