This commit is contained in:
2025-06-23 11:43:01 +02:00

View File

@@ -50,6 +50,8 @@ result_ac_energies_gens_derated = suppress_printing(simulate_gens_derated_produc
result_ac_energies_to_csv_df = suppress_printing(simulate_unstacked_productivity, result_ac_energies_gens_derated) # create two unstacked dataframe (the other functions work with dictionaries) result_ac_energies_to_csv_df = suppress_printing(simulate_unstacked_productivity, result_ac_energies_gens_derated) # create two unstacked dataframe (the other functions work with dictionaries)
# ESPORTAZIONE RISULTATI IN CSV # ESPORTAZIONE RISULTATI IN CSV
print("Valore massimo:",max(result_ac_energies_to_csv_df.gen_pv_100_kWp)) # print the maximum value of the generated energy
print("Somma totale:",sum(result_ac_energies_to_csv_df.gen_pv_100_kWp)) # print the total sum of the generated energy
result_ac_energies_to_csv_df.to_csv(path_export, encoding='utf-8') result_ac_energies_to_csv_df.to_csv(path_export, encoding='utf-8')
os.startfile(path_export) os.startfile(path_export)