Coverage for bim2sim/plugins/PluginComfort/bim2sim_comfort/sim_settings.py: 0%

10 statements  

« prev     ^ index     » next       coverage.py v7.6.12, created at 2025-03-12 17:09 +0000

1from pathlib import Path 

2 

3from bim2sim.sim_settings import PathSetting, BooleanSetting 

4from bim2sim.plugins.PluginEnergyPlus.bim2sim_energyplus.sim_settings import \ 

5 EnergyPlusSimSettings 

6 

7 

8class ComfortSimSettings(EnergyPlusSimSettings): 

9 def __init__(self): 

10 super().__init__() 

11 

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 )