From a57135b086f63e0a6dfc6e84c7ecfdf56421247f Mon Sep 17 00:00:00 2001 From: martavp Date: Thu, 17 Jun 2021 15:12:10 +0200 Subject: [PATCH] Split colours for H2 in Industry and H2 in shipping when plotting balances. When plotting the balance for H2, the rename dictionary merges all the demands containing H2. This commit disables such merging and keeps different colours for H2 in shipping and H2 in industry. This is useful when one wants to look at the H2 balance and have an overview of where the H2 is consumed in the model. --- config.default.yaml | 2 ++ scripts/plot_summary.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config.default.yaml b/config.default.yaml index 06f4af86..26937853 100644 --- a/config.default.yaml +++ b/config.default.yaml @@ -388,6 +388,8 @@ plotting: "biogas" : "#800000" "solid biomass" : "#DAA520" "today" : "#D2691E" + "H2 for industry" : "#222222" + "H2 for shipping" : "#6495ED" "shipping" : "#6495ED" "shipping oil emissions" : "#6495ED" "electricity distribution grid" : "#333333" diff --git a/scripts/plot_summary.py b/scripts/plot_summary.py index 9b3a81e1..276dc842 100644 --- a/scripts/plot_summary.py +++ b/scripts/plot_summary.py @@ -20,7 +20,9 @@ def rename_techs(label): rename_if_contains_dict = {"water tanks" : "hot water storage", "retrofitting" : "building retrofitting", - "H2" : "hydrogen storage", + "H2 Electrolysis" : "hydrogen storage", + "H2 Fuel Cell" : "hydrogen storage", + "H2 pipeline" : "hydrogen storage", "battery" : "battery storage", "CC" : "CC"}