funzione ingiustamente spostatw
This commit is contained in:
@@ -91,12 +91,6 @@ def export_hourly_pv_productivity(result_ac_energies_to_csv_df, path_export_hour
|
||||
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
|
||||
df_hourly = export_hourly_pv_productivity(result_ac_energies_to_csv_df, path_export_hourly)
|
||||
|
||||
def genera_giornaliero():
|
||||
# Carica il file CSV orario
|
||||
df = pd.read_csv('files/gen_pv/output_gen_pv_hourly.csv', index_col=0, parse_dates=True)
|
||||
@@ -170,6 +164,14 @@ def genera_giornaliero():
|
||||
)
|
||||
fig.show()
|
||||
|
||||
# Scegli il percorso per il nuovo file orario
|
||||
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)
|
||||
|
||||
|
||||
|
||||
if joePlaying:
|
||||
joe.terminate()
|
||||
joe.kill()
|
||||
Reference in New Issue
Block a user