From ea3d405c73404110c423f76c2643cea4984061a1 Mon Sep 17 00:00:00 2001 From: Andrea Fiorencis Date: Mon, 23 Jun 2025 12:28:13 +0200 Subject: [PATCH] fix (quasi) definitivo --- Fotovoltaico.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Fotovoltaico.py b/Fotovoltaico.py index dcd8111..bcf6835 100644 --- a/Fotovoltaico.py +++ b/Fotovoltaico.py @@ -163,6 +163,7 @@ def genera_giornaliero(): yaxis_title="Energia [kWh]" ) fig.show() + return df_monthly # Scegli il percorso per il nuovo file orario path_export_hourly = path_export.replace('.csv', '_hourly.csv') @@ -170,7 +171,10 @@ path_export_hourly = path_export.replace('.csv', '_hourly.csv') # Esporta il file orario df_hourly = export_hourly_pv_productivity(result_ac_energies_to_csv_df, path_export_hourly) - +# ES HORA DI ESEGUIRE LE FUNZIONIIIIS +generate_grafico_barrette_df(result_ac_energies_to_csv_df, "Produttività Fotovoltaica per kWp") +generate_grafico_barrette_df(df_hourly, "Produttività Fotovoltaica su Base Oraria") +generate_grafico_torri_mensile_df(genera_giornaliero(), "Produttività Fotovoltaica Mensile") if joePlaying: joe.terminate()