Skip to content
Snippets Groups Projects
Commit bac5d17b authored by Christoph von Oy's avatar Christoph von Oy
Browse files

Remove old input profile processing

parent afe4cd18
No related branches found
No related tags found
No related merge requests found
Subproject commit 45ee9ad75756f37ecddd11dee4902c97bb590bbb Subproject commit d1e391b64ee8d8437d1f8d65f93cb35af638a740
Subproject commit d7e201c3af6d28b04300dbf3c6fca4900852dc10 Subproject commit 7429265e5642c02c9dd79efd5e595698edf81d7b
...@@ -48,26 +48,17 @@ input_profiles = Tooling.input_profile_processor.input_profile_processor.process ...@@ -48,26 +48,17 @@ input_profiles = Tooling.input_profile_processor.input_profile_processor.process
after_input_processing = time.time() after_input_processing = time.time()
print("runme:\t\t\tProfile Processing [s]: \t" + str(after_input_processing - start)) print("runme:\t\t\tProfile Processing [s]: \t" + str(after_input_processing - start))
# 'data_path': path to file specifying where input profiles are located # 'topology_path': path to directory that contains the matrices that define the prosumer topology
# 'topology_path': path to matrices that define the prosumer topology
# 'config_path': path to global configurations like prices, injection prices, emission costs, etc. # 'config_path': path to global configurations like prices, injection prices, emission costs, etc.
prosumer_dict = {'SCN2_CAT1_PV11_3000_6000':{'elec_demand': 3000, prosumer_dict = {'SCN2_CAT1_PV11_3000_6000':{'topology_path': 'input_files/models/prosumer_models/SCN2_CAT1_PV11',
'therm_demand': 6000,
'hot_water_demand': 1500,
'topology_path': 'input_files/models/prosumer_models/SCN2_CAT1_PV11',
'config_path': 'input_files/models/prosumer_models/SCN2_CAT1_PV11/config.csv', 'config_path': 'input_files/models/prosumer_models/SCN2_CAT1_PV11/config.csv',
'data_path': 'input_files/models/prosumer_models/SCN2_CAT1_PV11/data_path.csv',
'profiles': {'irradiance': 'irradiance_1', 'profiles': {'irradiance': 'irradiance_1',
'air_temperature': 'temperature_1', 'air_temperature': 'temperature_1',
'elec_demand': 'demand_electric_1', 'elec_demand': 'demand_electric_1',
'therm_demand': 'demand_heat_1', 'therm_demand': 'demand_heat_1',
'hot_water_demand': 'demand_hot_water_1'}}, 'hot_water_demand': 'demand_hot_water_1'}},
'SCN0_CAT1_3000_6000': {'elec_demand': 3000, 'SCN0_CAT1_3000_6000': {'topology_path': 'input_files/models/prosumer_models/SCN0_CAT1',
'therm_demand': 6000,
'hot_water_demand': 1500,
'topology_path': 'input_files/models/prosumer_models/SCN0_CAT1',
'config_path': 'input_files/models/prosumer_models/SCN0_CAT1/config.csv', 'config_path': 'input_files/models/prosumer_models/SCN0_CAT1/config.csv',
'data_path': 'input_files/models/prosumer_models/SCN0_CAT1/data_path.csv',
'profiles': {'irradiance': 'irradiance_2', 'profiles': {'irradiance': 'irradiance_2',
'air_temperature': 'temperature_2', 'air_temperature': 'temperature_2',
'elec_demand': 'demand_electric_2', 'elec_demand': 'demand_electric_2',
...@@ -95,12 +86,8 @@ print("runme:\t\t\tProsumer Optimization [s]: \t" + str(after_optimization - bef ...@@ -95,12 +86,8 @@ print("runme:\t\t\tProsumer Optimization [s]: \t" + str(after_optimization - bef
start_community = time.time() start_community = time.time()
ca_dict = {'ca_bat': {'elec_demand': 0, ca_dict = {'ca_bat': {'topology_path': 'input_files/models/district_models/example_CA',
'therm_demand': 0,
'hot_water_demand': 0,
'topology_path': 'input_files/models/district_models/example_CA',
'config_path': 'input_files/models/district_models/example_CA/config.csv', 'config_path': 'input_files/models/district_models/example_CA/config.csv',
'data_path': 'input_files/models/district_models/example_CA/data_path.csv',
'profiles': {'irradiance': 'irradiance_3', 'profiles': {'irradiance': 'irradiance_3',
'air_temperature': 'temperature_3', 'air_temperature': 'temperature_3',
'elec_demand': 'demand_electric_3', 'elec_demand': 'demand_electric_3',
...@@ -115,9 +102,7 @@ comm_assets = main.Main_CA(ca_dict, t_start, t_horizon, t_step, input_profiles) ...@@ -115,9 +102,7 @@ comm_assets = main.Main_CA(ca_dict, t_start, t_horizon, t_step, input_profiles)
after_community_assets = time.time() after_community_assets = time.time()
print("runme:\t\t\tCommunity Assets Constr. [s]: \t" + str(after_community_assets - before_community_assets)) print("runme:\t\t\tCommunity Assets Constr. [s]: \t" + str(after_community_assets - before_community_assets))
comm_dict = {'community': {'topology_path': 'input_files/models/district_models/example_community', comm_dict = {'community': {'config_path': 'input_files/models/district_models/example_community/config.csv',
'config_path': 'input_files/models/district_models/example_community/config.csv',
'data_path': 'input_files/models/district_models/example_community/data_path.csv',
'profiles': {'elec_price': 'elec_price_1'}}} 'profiles': {'elec_price': 'elec_price_1'}}}
comm_strategy = ['max_operational_profit'] comm_strategy = ['max_operational_profit']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment