From e5d55b85d6747e07be3168fd6ab88f87429dab4b Mon Sep 17 00:00:00 2001 From: yerbol-akhmetov Date: Tue, 17 Sep 2024 00:21:11 +0500 Subject: [PATCH] update names for scenarios in electricity generation plot --- plots/plot_electricity_generation.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plots/plot_electricity_generation.py b/plots/plot_electricity_generation.py index 89e068e..ac1b5f7 100644 --- a/plots/plot_electricity_generation.py +++ b/plots/plot_electricity_generation.py @@ -103,12 +103,12 @@ def plot_pies(ax, elec_mix_array): # define scenario namings if planning_horizon == BAU_HORIZON: - scenarios = {"BAU": "BAU"} + scenarios = {"BAU": "BASE 2023"} else: - scenarios = {"flexible": "OROH", - "retro_tes": "OREH", - "flexible-moderate": "LROH", - "rigid": "NREH"} + scenarios = {"flexible": "WIDE", + "retro_tes": "WIDE+ELEC", + "flexible-moderate": "LIMIT", + "rigid": "BAU+ELEC"} # define figure count_scenarios = len(scenarios.keys()) @@ -168,7 +168,7 @@ def plot_pies(ax, elec_mix_array): ax.set(aspect="equal") # set nice_name to LRGH for LR in 2040 and 2050 - nice_name = "LREH" if nice_name == "LROH" and planning_horizon in ["2040", "2050"] else nice_name + nice_name = "LIMIT+ELEC" if nice_name == "LIMIT" and planning_horizon in ["2040", "2050"] else nice_name ax.set_title(nice_name, fontsize=6) nuclear_patch = mpatches.Patch(color='#ff8c00', label='Nuclear')