diff --git a/runme_community.py b/runme_community.py index e77747b54386a2fc82b9e793048e67c07dfd45d2..f6ca2cc0a25ae0c1642b039ccc89664cc8a3ffd7 100644 --- a/runme_community.py +++ b/runme_community.py @@ -17,26 +17,15 @@ def process_each_prosumer(prosumer_name, prosumer_specification, input_profiles, return prosumer.prosumer -t_start = pd.Timestamp("2019-05-10 00:00:00") # start time of simulation -t_horizon = 240 # number of time steps to be simulated -t_step = 1 # length of a time step in hours +t_start = pd.Timestamp("2019-01-01 00:00:00") # start time of simulation +t_horizon = 365*24 # number of time steps to be simulated +t_step = 0.25 # length of a time step in hours input_profile_dict = {'irradiance_1': ['irradiance', 'input_files/data/irradiance/Lindenberg2006BSRN_Irradiance_60sec.csv'], 'temperature_1': ['air_temperature', 'input_files/data/temperature/temperature.csv'], 'demand_electric_1': ['elec_demand', 'generate', 3000], 'demand_heat_1': ['therm_demand', 'generate', 6000, 'temperature_1'], - 'demand_hot_water_1': ['hot_water_demand', 'generate', 1500, 'temperature_1'], - 'irradiance_2': ['irradiance', 'input_files/data/irradiance/Lindenberg2006BSRN_Irradiance_60sec.csv'], - 'temperature_2': ['air_temperature', 'input_files/data/temperature/temperature.csv'], - 'demand_electric_2': ['elec_demand', 'generate', 3000], - 'demand_heat_2': ['therm_demand', 'generate', 6000, 'temperature_2'], - 'demand_hot_water_2': ['hot_water_demand', 'generate', 1500, 'temperature_2'], - 'irradiance_3': ['irradiance', 'input_files/data/irradiance/Lindenberg2006BSRN_Irradiance_60sec.csv'], - 'temperature_3': ['air_temperature', 'input_files/data/temperature/temperature.csv'], - 'demand_electric_3': ['elec_demand', 'generate', 0], - 'demand_heat_3': ['therm_demand', 'generate', 0, 'temperature_3'], - 'demand_hot_water_3': ['hot_water_demand', 'generate', 0, 'temperature_3'], - 'elec_price_1': ['elec_price', 'input_files/data/prices/day-ahead/hourly_price.csv']} + 'demand_hot_water_1': ['hot_water_demand', 'generate', 1500, 'temperature_1']} input_profiles = Tooling.input_profile_processor.input_profile_processor.process_input_profiles(input_profile_dict, t_start, t_horizon, t_step) @@ -48,14 +37,7 @@ prosumer_dict = {'SCN2_CAT1_PV11_3000_6000':{'topology_path': 'input_files/model 'air_temperature': 'temperature_1', 'elec_demand': 'demand_electric_1', 'therm_demand': 'demand_heat_1', - 'hot_water_demand': 'demand_hot_water_1'}}, - 'SCN0_CAT1_3000_6000': {'topology_path': 'input_files/models/prosumer_models/SCN0_CAT1', - 'config_path': 'input_files/models/prosumer_models/SCN0_CAT1/config.csv', - 'profiles': {'irradiance': 'irradiance_2', - 'air_temperature': 'temperature_2', - 'elec_demand': 'demand_electric_2', - 'therm_demand': 'demand_heat_2', - 'hot_water_demand': 'demand_hot_water_2'}}} + 'hot_water_demand': 'demand_hot_water_1'}}} prosumer_strategy = ['annuity'] parallel_processing = False