diff --git a/runme.py b/runme.py index e24b918216b4ed65a784160c6d116d4a29dcbb2c..883e4a87c9d44f4e9bcc0880a3eedf8d4a13af2d 100644 --- a/runme.py +++ b/runme.py @@ -16,7 +16,7 @@ class SimulationScope(Enum): simulation_scope = SimulationScope.DISTRICT t_start = pd.Timestamp("2019-01-01 00:00:00") # start time of simulation -t_horizon = 8760 # number of time steps to be simulated +t_horizon = 100 # number of time steps to be simulated t_step = 1 # length of a time step in hours inputpath_dataframe = 'input_files/models/prosumer_models/building_types_aachen_2022/running_77_2022.csv' @@ -33,7 +33,7 @@ input_profile_dict = {'pv_factors_aachen_1': ['pv_factors', 'input_files/data/ir 'dhw_mhf_passive': ['hot_water_demand', 'input_files/data/demand/domestic_hot_water/synPRO_passive_multi_party_house_dhw_2021_to_2019_kW.csv'], 'elec_price_1': ['prices', 'input_files/data/prices/day-ahead/hourly_price.csv']} -for i in building_types.index[44:55]: +for i in building_types.index[53:56]: if 'A_' in building_types.iloc[i]['ID_Building']: pass else: @@ -102,7 +102,7 @@ print('Number of PV: ' + str(count_pv)) print('Number of AC: ' + str(count_ac)) consumer_count = 0 -for i in building_types.index[44:55]: +for i in building_types.index[53:56]: if 'A_' in building_types.iloc[i]['ID_Building']: # get the index of the reference profile for this building type @@ -163,7 +163,7 @@ prosumer_dict = {'SCN2_CAT1_PV11_3000_6000':{'config_path': 'input_files/models/ 'dhw_dmd': 'demand_hot_water_2'}}} """ -prosumer_main = main_prosumer.ProsumerMain(prosumer_dict, input_profiles, t_horizon, t_step, new_prosumers=True) +prosumer_main = main_prosumer.ProsumerMain(prosumer_dict, input_profiles, t_horizon, t_step) prosumer_sizing_strategy = 'annuity' prosumer_main.optimize_sizing(prosumer_sizing_strategy)