Skip to content

Commit

Permalink
update names for scenarios in electricity generation plot
Browse files Browse the repository at this point in the history
  • Loading branch information
yerbol-akhmetov committed Sep 16, 2024
1 parent 9f8786f commit e5d55b8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions plots/plot_electricity_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit e5d55b8

Please sign in to comment.