-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathhousehold_cluster_advanced_hp_pv_battery_ems.py
537 lines (468 loc) · 24.5 KB
/
household_cluster_advanced_hp_pv_battery_ems.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
""" Basic household new system setup. """
# clean
from typing import Optional, Any, Union, List
import re
import os
from utspclient.helpers.lpgdata import Households
from utspclient.helpers.lpgpythonbindings import JsonReference
from hisim.simulator import SimulationParameters
from hisim.components import loadprofilegenerator_utsp_connector
from hisim.components import weather
from hisim.components import generic_pv_system
from hisim.components import building
from hisim.components import (
advanced_heat_pump_hplib,
advanced_battery_bslib,
controller_l2_energy_management_system,
simple_hot_water_storage,
heat_distribution_system,
generic_heat_pump_modular,
generic_hot_water_storage_modular,
controller_l1_heatpump,
electricity_meter,
)
from hisim.result_path_provider import ResultPathProviderSingleton, SortingOptionEnum
from hisim.sim_repository_singleton import SingletonSimRepository, SingletonDictKeyEnum
from hisim.postprocessingoptions import PostProcessingOptions
from hisim import loadtypes as lt
from hisim import log
from system_setups.household_cluster_reference_advanced_hp import (
BuildingPVWeatherConfig,
)
__authors__ = "Katharina Rieck"
__copyright__ = "Copyright 2022, FZJ-IEK-3"
__credits__ = ["Noah Pflugradt"]
__license__ = "MIT"
__version__ = "1.0"
__maintainer__ = "Noah Pflugradt"
__status__ = "development"
def setup_function(
my_sim: Any, my_simulation_parameters: Optional[SimulationParameters] = None
) -> None: # noqa: too-many-statements
"""Household system setup.
This setup function emulates an household including the following components:
- Simulation Parameters
- Components
- Occupancy (Residents' Demands)
- Weather
- Photovoltaic System
- Building
- Heat Pump
- Heat Pump Controller
- Heat Distribution System
- Heat Distribution Controller
- Heat Water Storage
- Battery
- Energy Management System
- Domestic water heat pump
- Electricity Meter
"""
# =================================================================================================================================
# Set System Parameters from Config
# household-pv-config
config_filename = my_sim.my_module_config_path
my_config: BuildingPVWeatherConfig
if isinstance(config_filename, str) and os.path.exists(config_filename.rstrip("\r")):
with open(config_filename.rstrip("\r"), encoding="unicode_escape") as system_config_file:
my_config = BuildingPVWeatherConfig.from_json(system_config_file.read()) # type: ignore
log.information(f"Read system config from {config_filename}")
log.information("Config values: " + f"{my_config.to_dict}" + "\n")
else:
my_config = BuildingPVWeatherConfig.get_default()
log.information("No module config path from the simulator was given. Use default config.")
# Set Simulation Parameters
year = 2021
seconds_per_timestep = 60
if my_simulation_parameters is None:
my_simulation_parameters = SimulationParameters.full_year(year=year, seconds_per_timestep=seconds_per_timestep)
my_simulation_parameters.post_processing_options.append(
PostProcessingOptions.PREPARE_OUTPUTS_FOR_SCENARIO_EVALUATION
)
my_simulation_parameters.post_processing_options.append(PostProcessingOptions.COMPUTE_OPEX)
my_simulation_parameters.post_processing_options.append(PostProcessingOptions.COMPUTE_CAPEX)
my_simulation_parameters.post_processing_options.append(PostProcessingOptions.COMPUTE_AND_WRITE_KPIS_TO_REPORT)
my_simulation_parameters.post_processing_options.append(PostProcessingOptions.MAKE_RESULT_JSON_FOR_WEBTOOL)
my_simulation_parameters.post_processing_options.append(PostProcessingOptions.OPEN_DIRECTORY_IN_EXPLORER)
my_sim.set_simulation_parameters(my_simulation_parameters)
# Set ems strategies
surplus_control: bool = True # strategy 2: storage temperature modifier
surplus_control_building_temperature_modifier: bool = True # strategy 3: building temperature modifier
# Set Photovoltaic System
azimuth = my_config.pv_azimuth
tilt = my_config.pv_tilt
# Set Building (scale building according to total base area and not absolute floor area)
building_code = my_config.building_code
total_base_area_in_m2 = None
absolute_conditioned_floor_area_in_m2 = my_config.conditioned_floor_area_in_m2
number_of_apartments = my_config.number_of_dwellings_per_building
# Set occupancy
cache_dir_path = "/fast/home/k-rieck/lpg-utsp-data"
# get household attribute jsonreferences from list of strings
lpg_households: Union[JsonReference, List[JsonReference]]
if isinstance(my_config.lpg_households, List):
if len(my_config.lpg_households) == 1:
lpg_households = getattr(Households, my_config.lpg_households[0])
elif len(my_config.lpg_households) > 1:
lpg_households = []
for household_string in my_config.lpg_households:
if hasattr(Households, household_string):
lpg_household = getattr(Households, household_string)
lpg_households.append(lpg_household)
else:
raise ValueError("Config list with lpg household is empty.")
else:
raise TypeError(f"Type {type(my_config.lpg_households)} is incompatible. Should be List[str].")
# =================================================================================================================================
# Set Fix System Parameters
# Set Heat Pump Controller
hp_controller_mode = 2 # mode 1 for on/off and mode 2 for heating/cooling/off (regulated)
set_heating_threshold_outside_temperature_for_heat_pump_in_celsius = 16.0
set_cooling_threshold_outside_temperature_for_heat_pump_in_celsius = 22.0
temperature_offset_for_state_conditions_in_celsius = 5.0
# Set Heat Pump
group_id: int = 1 # outdoor/air heat pump (choose 1 for regulated or 4 for on/off)
heating_reference_temperature_in_celsius: float = -7 # t_in #TODO: get real heating ref temps according to location
flow_temperature_in_celsius = 21 # t_out_val
# =================================================================================================================================
# Build Basic Components
# Build Building
my_building_config = building.BuildingConfig.get_default_german_single_family_home(
heating_reference_temperature_in_celsius=heating_reference_temperature_in_celsius,
)
my_building_config.building_code = building_code
my_building_config.total_base_area_in_m2 = total_base_area_in_m2
my_building_config.absolute_conditioned_floor_area_in_m2 = absolute_conditioned_floor_area_in_m2
my_building_config.number_of_apartments = number_of_apartments
my_building_config.enable_opening_windows = True
my_building_information = building.BuildingInformation(config=my_building_config)
my_building = building.Building(config=my_building_config, my_simulation_parameters=my_simulation_parameters)
# Build Occupancy
my_occupancy_config = loadprofilegenerator_utsp_connector.UtspLpgConnectorConfig.get_default_utsp_connector_config()
my_occupancy_config.household = lpg_households
my_occupancy_config.cache_dir_path = cache_dir_path
my_occupancy = loadprofilegenerator_utsp_connector.UtspLpgConnector(
config=my_occupancy_config, my_simulation_parameters=my_simulation_parameters
)
# Build Weather
my_weather_config = weather.WeatherConfig.get_default(location_entry=weather.LocationEnum.AACHEN)
my_weather = weather.Weather(config=my_weather_config, my_simulation_parameters=my_simulation_parameters)
# Build PV
my_photovoltaic_system_config = generic_pv_system.PVSystemConfig.get_scaled_pv_system(
rooftop_area_in_m2=my_building_information.scaled_rooftop_area_in_m2
)
my_photovoltaic_system_config.azimuth = azimuth
my_photovoltaic_system_config.tilt = tilt
my_photovoltaic_system = generic_pv_system.PVSystem(
config=my_photovoltaic_system_config,
my_simulation_parameters=my_simulation_parameters,
)
# Build Heat Distribution Controller
my_heat_distribution_controller_config = heat_distribution_system.HeatDistributionControllerConfig.get_default_heat_distribution_controller_config(
set_heating_temperature_for_building_in_celsius=my_building_information.set_heating_temperature_for_building_in_celsius,
set_cooling_temperature_for_building_in_celsius=my_building_information.set_cooling_temperature_for_building_in_celsius,
heating_load_of_building_in_watt=my_building_information.max_thermal_building_demand_in_watt,
heating_reference_temperature_in_celsius=heating_reference_temperature_in_celsius,
)
my_heat_distribution_controller = heat_distribution_system.HeatDistributionController(
my_simulation_parameters=my_simulation_parameters,
config=my_heat_distribution_controller_config,
)
my_hds_controller_information = heat_distribution_system.HeatDistributionControllerInformation(
config=my_heat_distribution_controller_config
)
# Build Heat Pump Controller
my_heat_pump_controller = advanced_heat_pump_hplib.HeatPumpHplibController(
config=advanced_heat_pump_hplib.HeatPumpHplibControllerL1Config(
name="HeatPumpController",
mode=hp_controller_mode,
set_heating_threshold_outside_temperature_in_celsius=set_heating_threshold_outside_temperature_for_heat_pump_in_celsius,
set_cooling_threshold_outside_temperature_in_celsius=set_cooling_threshold_outside_temperature_for_heat_pump_in_celsius,
temperature_offset_for_state_conditions_in_celsius=temperature_offset_for_state_conditions_in_celsius,
heat_distribution_system_type=my_hds_controller_information.heat_distribution_system_type,
),
my_simulation_parameters=my_simulation_parameters,
)
# Build Heat Pump
my_heat_pump_config = advanced_heat_pump_hplib.HeatPumpHplibConfig.get_scaled_advanced_hp_lib(
heating_load_of_building_in_watt=my_building_information.max_thermal_building_demand_in_watt,
heating_reference_temperature_in_celsius=heating_reference_temperature_in_celsius,
)
my_heat_pump_config.group_id = group_id
my_heat_pump_config.flow_temperature_in_celsius = flow_temperature_in_celsius
my_heat_pump = advanced_heat_pump_hplib.HeatPumpHplib(
config=my_heat_pump_config,
my_simulation_parameters=my_simulation_parameters,
)
# Build Heat Distribution System
my_heat_distribution_system_config = heat_distribution_system.HeatDistributionConfig.get_default_heatdistributionsystem_config(
temperature_difference_between_flow_and_return_in_celsius=my_hds_controller_information.temperature_difference_between_flow_and_return_in_celsius,
water_mass_flow_rate_in_kg_per_second=my_hds_controller_information.water_mass_flow_rate_in_kp_per_second,
)
my_heat_distribution_system = heat_distribution_system.HeatDistribution(
config=my_heat_distribution_system_config,
my_simulation_parameters=my_simulation_parameters,
)
# Build Heat Water Storage
my_simple_heat_water_storage_config = simple_hot_water_storage.SimpleHotWaterStorageConfig.get_scaled_hot_water_storage(
max_thermal_power_in_watt_of_heating_system=my_heat_pump_config.set_thermal_output_power_in_watt,
temperature_difference_between_flow_and_return_in_celsius=my_hds_controller_information.temperature_difference_between_flow_and_return_in_celsius,
heating_system_name=my_heat_pump.component_name,
water_mass_flow_rate_from_hds_in_kg_per_second=my_hds_controller_information.water_mass_flow_rate_in_kp_per_second,
)
my_simple_hot_water_storage = simple_hot_water_storage.SimpleHotWaterStorage(
config=my_simple_heat_water_storage_config,
my_simulation_parameters=my_simulation_parameters,
)
# Build EMS
my_electricity_controller_config = controller_l2_energy_management_system.EMSConfig.get_default_config_ems()
my_electricity_controller = controller_l2_energy_management_system.L2GenericEnergyManagementSystem(
my_simulation_parameters=my_simulation_parameters,
config=my_electricity_controller_config,
)
# Build Battery
my_advanced_battery_config = advanced_battery_bslib.BatteryConfig.get_scaled_battery(
total_pv_power_in_watt_peak=my_photovoltaic_system_config.power_in_watt
)
my_advanced_battery = advanced_battery_bslib.Battery(
my_simulation_parameters=my_simulation_parameters,
config=my_advanced_battery_config,
)
# Build DHW (this is taken from household_3_advanced_hp_diesel-car_pv_battery.py)
my_dhw_heatpump_config = generic_heat_pump_modular.HeatPumpConfig.get_scaled_waterheating_to_number_of_apartments(
number_of_apartments=my_building_information.number_of_apartments,
default_power_in_watt=6000,
)
my_dhw_heatpump_controller_config = (
controller_l1_heatpump.L1HeatPumpConfig.get_default_config_heat_source_controller_dhw(
name="DHWHeatpumpController"
)
)
my_dhw_storage_config = (
generic_hot_water_storage_modular.StorageConfig.get_scaled_config_for_boiler_to_number_of_apartments(
number_of_apartments=my_building_information.number_of_apartments,
default_volume_in_liter=450,
)
)
my_dhw_storage_config.compute_default_cycle(
temperature_difference_in_kelvin=my_dhw_heatpump_controller_config.t_max_heating_in_celsius
- my_dhw_heatpump_controller_config.t_min_heating_in_celsius
)
my_domnestic_hot_water_storage = generic_hot_water_storage_modular.HotWaterStorage(
my_simulation_parameters=my_simulation_parameters, config=my_dhw_storage_config
)
my_domnestic_hot_water_heatpump_controller = controller_l1_heatpump.L1HeatPumpController(
my_simulation_parameters=my_simulation_parameters,
config=my_dhw_heatpump_controller_config,
)
my_domnestic_hot_water_heatpump = generic_heat_pump_modular.ModularHeatPump(
config=my_dhw_heatpump_config, my_simulation_parameters=my_simulation_parameters
)
# Build Electricity Meter
my_electricity_meter = electricity_meter.ElectricityMeter(
my_simulation_parameters=my_simulation_parameters,
config=electricity_meter.ElectricityMeterConfig.get_electricity_meter_default_config(),
)
# -----------------------------------------------------------------------------------------------------------------
# Add outputs to EMS
if surplus_control:
connect_automatically = False
# connect EMS with PV
my_electricity_controller.add_component_input_and_connect(
source_object_name=my_photovoltaic_system.component_name,
source_component_output=my_photovoltaic_system.ElectricityOutput,
source_load_type=lt.LoadTypes.ELECTRICITY,
source_unit=lt.Units.WATT,
source_tags=[lt.InandOutputType.ELECTRICITY_PRODUCTION],
source_weight=999,
)
my_electricity_controller.add_component_input_and_connect(
source_object_name=my_occupancy.component_name,
source_component_output=my_occupancy.ElectricityOutput,
source_load_type=lt.LoadTypes.ELECTRICITY,
source_unit=lt.Units.WATT,
source_tags=[lt.InandOutputType.ELECTRICITY_CONSUMPTION_UNCONTROLLED],
source_weight=999,
)
# connect EMS with DHW
my_domnestic_hot_water_heatpump_controller.connect_input(
my_domnestic_hot_water_heatpump_controller.StorageTemperatureModifier,
my_electricity_controller.component_name,
my_electricity_controller.StorageTemperatureModifier,
)
my_electricity_controller.add_component_input_and_connect(
source_object_name=my_domnestic_hot_water_heatpump.component_name,
source_component_output=my_domnestic_hot_water_heatpump.ElectricityOutput,
source_load_type=lt.LoadTypes.ELECTRICITY,
source_unit=lt.Units.WATT,
source_tags=[
lt.ComponentType.HEAT_PUMP_DHW,
lt.InandOutputType.ELECTRICITY_REAL,
],
source_weight=1,
)
my_electricity_controller.add_component_output(
source_output_name=lt.InandOutputType.ELECTRICITY_TARGET,
source_tags=[
lt.ComponentType.HEAT_PUMP_DHW,
lt.InandOutputType.ELECTRICITY_TARGET,
],
source_weight=1,
source_load_type=lt.LoadTypes.ELECTRICITY,
source_unit=lt.Units.WATT,
output_description="Target electricity for dhw heat pump.",
)
# connect EMS with Heatpump
my_heat_pump_controller.connect_input(
my_heat_pump_controller.SimpleHotWaterStorageTemperatureModifier,
my_electricity_controller.component_name,
my_electricity_controller.SimpleHotWaterStorageTemperatureModifier,
)
my_electricity_controller.add_component_input_and_connect(
source_object_name=my_heat_pump.component_name,
source_component_output=my_heat_pump.ElectricalInputPower,
source_load_type=lt.LoadTypes.ELECTRICITY,
source_unit=lt.Units.WATT,
source_tags=[
lt.ComponentType.HEAT_PUMP_BUILDING,
lt.InandOutputType.ELECTRICITY_REAL,
],
source_weight=2,
)
my_electricity_controller.add_component_output(
source_output_name=lt.InandOutputType.ELECTRICITY_TARGET,
source_tags=[
lt.ComponentType.HEAT_PUMP_BUILDING,
lt.InandOutputType.ELECTRICITY_TARGET,
],
source_weight=2,
source_load_type=lt.LoadTypes.ELECTRICITY,
source_unit=lt.Units.WATT,
output_description="Target electricity for Heat Pump. ",
)
# connect EMS with Battery
my_electricity_controller.add_component_input_and_connect(
source_object_name=my_advanced_battery.component_name,
source_component_output=my_advanced_battery.AcBatteryPower,
source_load_type=lt.LoadTypes.ELECTRICITY,
source_unit=lt.Units.WATT,
source_tags=[lt.ComponentType.BATTERY, lt.InandOutputType.ELECTRICITY_REAL],
source_weight=3,
)
electricity_to_or_from_battery_target = my_electricity_controller.add_component_output(
source_output_name=lt.InandOutputType.ELECTRICITY_TARGET,
source_tags=[
lt.ComponentType.BATTERY,
lt.InandOutputType.ELECTRICITY_TARGET,
],
source_weight=3,
source_load_type=lt.LoadTypes.ELECTRICITY,
source_unit=lt.Units.WATT,
output_description="Target electricity for Battery Control. ",
)
# connect EMS BuildingTemperatureModifier with set_heating_temperature_for_building_in_celsius
if surplus_control_building_temperature_modifier:
my_heat_distribution_controller.connect_input(
my_heat_distribution_controller.BuildingTemperatureModifier,
my_electricity_controller.component_name,
my_electricity_controller.BuildingTemperatureModifier,
)
my_building.connect_input(
my_building.BuildingTemperatureModifier,
my_electricity_controller.component_name,
my_electricity_controller.BuildingTemperatureModifier,
)
else:
connect_automatically = True
# without surplus control
# use only default connections of ems and add outputs
my_electricity_controller.add_component_output(
source_output_name=lt.InandOutputType.ELECTRICITY_TARGET,
source_tags=[
lt.ComponentType.HEAT_PUMP_DHW,
lt.InandOutputType.ELECTRICITY_TARGET,
],
# source_weight=my_domnestic_hot_water_heatpump.config.source_weight,
source_weight=1,
source_load_type=lt.LoadTypes.ELECTRICITY,
source_unit=lt.Units.WATT,
output_description="Target electricity for dhw heat pump.",
)
my_electricity_controller.add_component_output(
source_output_name=lt.InandOutputType.ELECTRICITY_TARGET,
source_tags=[
lt.ComponentType.HEAT_PUMP_BUILDING,
lt.InandOutputType.ELECTRICITY_TARGET,
],
source_weight=2,
source_load_type=lt.LoadTypes.ELECTRICITY,
source_unit=lt.Units.WATT,
output_description="Target electricity for Heating Heat Pump. ",
)
electricity_to_or_from_battery_target = my_electricity_controller.add_component_output(
source_output_name=lt.InandOutputType.ELECTRICITY_TARGET,
source_tags=[
lt.ComponentType.BATTERY,
lt.InandOutputType.ELECTRICITY_TARGET,
],
source_weight=3,
source_load_type=lt.LoadTypes.ELECTRICITY,
source_unit=lt.Units.WATT,
output_description="Target electricity for Battery Control. ",
)
# -----------------------------------------------------------------------------------------------------------------
# Connect Battery
my_advanced_battery.connect_dynamic_input(
input_fieldname=advanced_battery_bslib.Battery.LoadingPowerInput,
src_object=electricity_to_or_from_battery_target,
)
# -----------------------------------------------------------------------------------------------------------------
# Connect Electricity Meter
my_electricity_meter.add_component_input_and_connect(
source_object_name=my_electricity_controller.component_name,
source_component_output=my_electricity_controller.ElectricityToOrFromGrid,
source_load_type=lt.LoadTypes.ELECTRICITY,
source_unit=lt.Units.WATT,
source_tags=[lt.InandOutputType.ELECTRICITY_PRODUCTION],
source_weight=999,
)
# =================================================================================================================================
# Add Components to Simulation Parameters
my_sim.add_component(my_occupancy)
my_sim.add_component(my_weather)
my_sim.add_component(my_photovoltaic_system, connect_automatically=True)
my_sim.add_component(my_building, connect_automatically=True)
my_sim.add_component(my_heat_distribution_controller, connect_automatically=True)
my_sim.add_component(my_heat_distribution_system, connect_automatically=True)
my_sim.add_component(my_simple_hot_water_storage, connect_automatically=True)
my_sim.add_component(my_heat_pump_controller, connect_automatically=True)
my_sim.add_component(my_heat_pump, connect_automatically=True)
my_sim.add_component(my_domnestic_hot_water_storage, connect_automatically=True)
my_sim.add_component(my_domnestic_hot_water_heatpump_controller, connect_automatically=True)
my_sim.add_component(my_domnestic_hot_water_heatpump, connect_automatically=True)
my_sim.add_component(my_electricity_meter)
my_sim.add_component(my_advanced_battery)
my_sim.add_component(my_electricity_controller, connect_automatically=connect_automatically)
# Set Results Path
# if config_filename is given, get hash number and sampling mode for result path
if config_filename is not None:
config_filename_splitted = config_filename.split("/")
hash_number = re.findall(r"\-?\d+", config_filename_splitted[-1])[0]
sampling_mode = config_filename_splitted[-2]
sorting_option = SortingOptionEnum.MASS_SIMULATION_WITH_HASH_ENUMERATION
SingletonSimRepository().set_entry(
key=SingletonDictKeyEnum.RESULT_SCENARIO_NAME,
entry=f"surplus_modifier_{hash_number}",
)
# if config_filename is not given, make result path with index enumeration
else:
hash_number = None
sorting_option = SortingOptionEnum.MASS_SIMULATION_WITH_INDEX_ENUMERATION
sampling_mode = None
ResultPathProviderSingleton().set_important_result_path_information(
module_directory=my_sim.module_directory, # r"/storage_cluster/projects/2024-k-rieck-hisim-mass-simulations/hisim_results",
model_name=my_sim.module_filename,
variant_name="surplus_modifier_",
hash_number=hash_number,
sorting_option=sorting_option,
sampling_mode=sampling_mode,
)