From b62db804351166ae548d727af95d8ba621b10b7f Mon Sep 17 00:00:00 2001 From: lisazeyen Date: Fri, 2 Aug 2024 16:59:42 +0200 Subject: [PATCH] fix bug with e_max_pu --- scripts/prepare_sector_network.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/prepare_sector_network.py b/scripts/prepare_sector_network.py index 4e736176a..c7080f630 100644 --- a/scripts/prepare_sector_network.py +++ b/scripts/prepare_sector_network.py @@ -2358,8 +2358,8 @@ def add_biomass(n, costs): * costs.at["solid biomass", "CO2 intensity"], p_nom_extendable=True, ) - - e_max_pu = pd.Series([1] * (len(snapshots) - 1) + [0], index=n.snapshots) + + e_max_pu = pd.Series([1] * (len(n.snapshots) - 1) + [0], index=n.snapshots) n.madd( "Store", spatial.msw.nodes,