From 0681cf93ab4641ea081a5b112927e48afc4e2c15 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Wed, 25 Jan 2023 09:08:51 +0100 Subject: [PATCH] fix hydrogen network plotting without retrofitting --- scripts/plot_network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/plot_network.py b/scripts/plot_network.py index 53c52187..3d0641d5 100644 --- a/scripts/plot_network.py +++ b/scripts/plot_network.py @@ -310,7 +310,7 @@ def plot_h2_map(network, regions): else: - h2_total = h2_new + h2_total = h2_new.p_nom_opt link_widths_total = h2_total / linewidth_factor