From 697be2d9e3f7cccd9300ebaa089ba77c898d9a46 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Wed, 25 Jan 2023 08:41:08 +0100 Subject: [PATCH] fix capacities of biomass transport The biomass transport links are split into either direction because they have a marginal cost associated with the transport. With p_nom_extendable, many decision variables are created. This commit tries another way where capacities are non-extendable and set to sufficiently high values. --- 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 76b71fc8..7fcadacb 100644 --- a/scripts/prepare_sector_network.py +++ b/scripts/prepare_sector_network.py @@ -1911,10 +1911,10 @@ def add_biomass(n, costs): biomass_transport.index, bus0=biomass_transport.bus0 + " solid biomass", bus1=biomass_transport.bus1 + " solid biomass", - p_nom_extendable=True, + p_nom_extendable=False, + p_nom=5e4, length=biomass_transport.length.values, marginal_cost=biomass_transport.costs * biomass_transport.length.values, - capital_cost=1, carrier="solid biomass transport" )