diff --git a/Fotovoltaico.py b/Fotovoltaico.py index d9d7064..06188e0 100644 --- a/Fotovoltaico.py +++ b/Fotovoltaico.py @@ -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) # 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') os.startfile(path_export)