leggibilità perché probabilmente i meno anglofoni prendevano il fucile e facevano buckshot roulette

This commit is contained in:
2025-06-19 08:09:43 +02:00
parent 871d325d2c
commit 532c8fcbb8
2 changed files with 10 additions and 10 deletions

View File

@@ -1,11 +1,11 @@
from src.Functions_Load_Emulator_and_DSM import * from src.Functions_Load_Emulator_and_DSM import *
start_day = date(2025, 1, 1) # start day for simulation start_day = date(2025, 1, 1) # inizio simulazione
end_day = date(2025, 12, 31) # end day for simulation end_day = date(2025, 12, 31) # fine simulazione
num_days = (end_day - start_day).days + 1 # total number of days num_days = (end_day - start_day).days + 1 # numero di giorni
num_user = 20 # number of emulated users num_user = 20 # numero di utenti emulati
plot_appliance_usage_probability() plot_appliance_usage_probability()
plot_main_appliance_load_profile() plot_main_appliance_load_profile()

View File

@@ -6,13 +6,13 @@ import time
location_ita = 'Biella' # location in Italian location_ita = 'Biella' # location in Italian
capacity = 100 # kWp capacity = 100 # kWp
tilt_angle = 30 # degrees tilt_angle = 30 # gradi
azimuth = 0 # degrees azimuth = 0 # gradi
num_years = 1 # number of years to simulate num_years = 1 # anni di simulazione
derating_factor_percent = 1 # derating factor that reduce the efficiency of the modules in percentage [%] derating_factor_percent = 1 # derating factor that reduce the efficiency of the modules in percentage [%]
config = yaml.safe_load(open("config.yml", 'r')) config = yaml.safe_load(open("config.yml", 'r'))
path_export = str(config['filename_output_csv_gen_pv']) # path to save the results path_export = str(config['filename_output_csv_gen_pv']) # percorso del file di output
# IGNORE THIS # IGNORE THIS
isJoe = config['joe_fight'] isJoe = config['joe_fight']
@@ -32,8 +32,8 @@ filename = ""
key = "project_lifetime_yrs" key = "project_lifetime_yrs"
value = num_years value = num_years
add_to_file_yml(path, filename, key, value) add_to_file_yml(path, filename, key, value)
suppress_printing(generate_calendar) # generate the calendar for the location suppress_printing(generate_calendar) # generazione del calendario
coordinates_dataset = suppress_printing(create_coordinates_dataset, [location_eng]) # create a dataset with the coordinates of all the locations coordinates_dataset = suppress_printing(create_coordinates_dataset, [location_eng]) # crea un dataset con le coordinate di tutte le posizioni
derating_factor = derating_factor_percent / 100 derating_factor = derating_factor_percent / 100
# CALCOLO PRODUTTIVITA' # CALCOLO PRODUTTIVITA'