From d8ebbceb5edcdf35c0fa5f360cd6f4ee65c213a6 Mon Sep 17 00:00:00 2001 From: Andrea Fiorencis Date: Mon, 23 Jun 2025 10:53:38 +0200 Subject: [PATCH] Aggiunta stampa valori max e somma della simulazione di produzione FV --- Fotovoltaico.py | 2 ++ 1 file changed, 2 insertions(+) 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)