From 251521b80cd1e318d2fdeb51961d7414b44dba23 Mon Sep 17 00:00:00 2001 From: KathiEsterl Date: Wed, 15 May 2024 13:27:49 +0200 Subject: [PATCH] Adapt figures --- etrago/rev_figures.py | 2 +- etrago/sensitivities_rev3.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/etrago/rev_figures.py b/etrago/rev_figures.py index 238d5842..6d7e0a37 100644 --- a/etrago/rev_figures.py +++ b/etrago/rev_figures.py @@ -280,7 +280,7 @@ def foreign_sto_expansion(network): ax2.legend(loc='upper right', fontsize=20) ax.set_ylabel('costs in billion Euro') -ax2.set_ylabel('difference in % (k-medoids Dijkstra - k-means)') +ax2.set_ylabel('rel. difference in %') ax.set_xlabel('number of nodes') diff --git a/etrago/sensitivities_rev3.py b/etrago/sensitivities_rev3.py index e6e8fb43..96cab5b2 100644 --- a/etrago/sensitivities_rev3.py +++ b/etrago/sensitivities_rev3.py @@ -398,7 +398,7 @@ def TVA_km(network): ############################################################################### -'''# ehv clustering +# ehv clustering kmeans = Etrago(csv_folder_name="Calcs/kmeans_ehv/300") kmeans.calc_results() @@ -436,7 +436,7 @@ def TVA_km(network): loads = dijkstra.network.generators[dijkstra.network.generators.carrier=='load shedding'] ls=dijkstra.network.generators_t.p.transpose().loc[loads.index].sum().sum() -ls_costs = ls * 10000''' +ls_costs = ls * 10000