Chiamata funzioni generazione grafico (delta 15min e base oraria)
This commit is contained in:
@@ -75,13 +75,17 @@ def export_hourly_pv_productivity(result_ac_energies_to_csv_df, path_export_hour
|
||||
df_hourly = result_ac_energies_to_csv_df.resample('H').sum()
|
||||
df_hourly.to_csv(path_export_hourly, encoding='utf-8')
|
||||
print(f"File CSV orario salvato in: {path_export_hourly}")
|
||||
return df_hourly
|
||||
|
||||
# Scegli il percorso per il nuovo file orario
|
||||
path_export_hourly = path_export.replace('.csv', '_hourly.csv')
|
||||
|
||||
# Esporta il file orario
|
||||
export_hourly_pv_productivity(result_ac_energies_to_csv_df, path_export_hourly)
|
||||
df_hourly = export_hourly_pv_productivity(result_ac_energies_to_csv_df, path_export_hourly)
|
||||
|
||||
# GENERAZIONE GRAFICI
|
||||
generate_grafico_df(result_ac_energies_to_csv_df)
|
||||
generate_grafico_df(df_hourly)
|
||||
|
||||
if joePlaying:
|
||||
joe.terminate()
|
||||
|
||||
Reference in New Issue
Block a user