Merge branch 'main' of https://git.andrestork.moe/PCTOENER/CACER-simulator
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user