From 41a35ad1290a78b458ed670f33f33ad2a29910a5 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Tue, 22 Aug 2023 11:53:02 +0200 Subject: [PATCH] bugfix: use of n.madd with singular value prevented --- scripts/prepare_sector_network.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/prepare_sector_network.py b/scripts/prepare_sector_network.py index 92d004f1..0e200925 100644 --- a/scripts/prepare_sector_network.py +++ b/scripts/prepare_sector_network.py @@ -2900,7 +2900,8 @@ def add_industry(n, costs): n.madd( "Load", - "coal for industry", + spatial.coal.nodes, + suffix=" for industry", bus=spatial.coal.nodes, carrier="coal for industry", p_set=p_set,