Coverage for bim2sim/plugins/PluginComfort/bim2sim_comfort/sim_settings.py: 0%
12 statements
« prev ^ index » next coverage.py v7.10.7, created at 2025-10-01 10:24 +0000
« prev ^ index » next coverage.py v7.10.7, created at 2025-10-01 10:24 +0000
1from pathlib import Path
3from bim2sim.sim_settings import PathSetting, BooleanSetting, ChoiceSetting
4from bim2sim.plugins.PluginEnergyPlus.bim2sim_energyplus.sim_settings import \
5 EnergyPlusSimSettings
8class ComfortSimSettings(EnergyPlusSimSettings):
9 def __init__(self):
10 super().__init__()
12 prj_use_conditions = PathSetting(
13 default=Path(__file__).parent / 'assets/UseConditionsComfort.json',
14 description="Path to a custom UseConditions.json for the specific "
15 "comfort application. These use conditions have "
16 "comfort-based use conditions as a default.",
17 for_frontend=True
18 )
19 use_dynamic_clothing = BooleanSetting(
20 default=False,
21 description='Use dynamic clothing according to ASHRAE 55 standard.',
22 for_frontend=True
23 )
24 rename_plot_keys = BooleanSetting(
25 default=False,
26 description='Rename room names for plot results',
27 for_frontend=True
28 )
29 rename_plot_keys_path = PathSetting(
30 default=Path(__file__).parent / 'assets/rename_plot_keys.json',
31 description="Path for renaming the zone keys for plot results. Path "
32 "to a json file with pairs of current keys and new keys. ",
33 for_frontend=True
34 )
35 comfort_occupancy_weighting = BooleanSetting(
36 default=False, description='Weight the comfort rating by occupancy '
37 'schedules.'
38 )
39 plot_zone_usages = ChoiceSetting(
40 default=[],
41 # default=['office', 'meeting', 'canteen', 'sanitary', 'kitchen'],
42 choices={'': 'Choose empty string to plot all zones.'},
43 description='Choose string patterns of zone usages for '
44 'evaluation of comfort results (multiple choice). Use '
45 'empty list to disable choice and plot all usages.',
46 multiple_choice=True,
47 any_string=True,
48 for_frontend=True
49 )