diff --git a/Carichi.py b/Carichi.py index 376117a..65f0774 100644 --- a/Carichi.py +++ b/Carichi.py @@ -1,11 +1,11 @@ from src.Functions_Load_Emulator_and_DSM import * -start_day = date(2025, 1, 1) # start day for simulation -end_day = date(2025, 12, 31) # end day for simulation +start_day = date(2025, 1, 1) # inizio simulazione +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_main_appliance_load_profile() diff --git a/Fotovoltaico.py b/Fotovoltaico.py index 690aefd..d9d7064 100644 --- a/Fotovoltaico.py +++ b/Fotovoltaico.py @@ -6,13 +6,13 @@ import time location_ita = 'Biella' # location in Italian capacity = 100 # kWp -tilt_angle = 30 # degrees -azimuth = 0 # degrees -num_years = 1 # number of years to simulate +tilt_angle = 30 # gradi +azimuth = 0 # gradi +num_years = 1 # anni di simulazione derating_factor_percent = 1 # derating factor that reduce the efficiency of the modules in percentage [%] 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 isJoe = config['joe_fight'] @@ -32,8 +32,8 @@ filename = "" key = "project_lifetime_yrs" value = num_years add_to_file_yml(path, filename, key, value) -suppress_printing(generate_calendar) # generate the calendar for the location -coordinates_dataset = suppress_printing(create_coordinates_dataset, [location_eng]) # create a dataset with the coordinates of all the locations +suppress_printing(generate_calendar) # generazione del calendario +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 # CALCOLO PRODUTTIVITA'