From 69c6a4dca418d01e6f74c7a95ed64ad2ea3afb38 Mon Sep 17 00:00:00 2001 From: lisazeyen Date: Fri, 2 Aug 2024 16:45:57 +0200 Subject: [PATCH] set e_max_pu to force municipal waste to be used --- scripts/prepare_sector_network.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/prepare_sector_network.py b/scripts/prepare_sector_network.py index 87170287..142ecca5 100644 --- a/scripts/prepare_sector_network.py +++ b/scripts/prepare_sector_network.py @@ -2358,7 +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) n.madd( "Store", spatial.msw.nodes, @@ -2366,6 +2367,7 @@ def add_biomass(n, costs): carrier="municipal solid waste", e_nom=msw_biomass_potentials_spatial, marginal_cost=0, # costs.at["municipal solid waste", "fuel"], + e_max_pu=e_max_pu, e_initial=msw_biomass_potentials_spatial, )