diff --git a/config/configuration.ini b/config/configuration.ini index 394c1c61..b2ddfb04 100644 --- a/config/configuration.ini +++ b/config/configuration.ini @@ -3,3 +3,11 @@ max_location_distance_for_shared_walls = 5.0 min_coordinate = -1.7976931348623157e+308 max_coordinate = 1.7976931348623157e+308 +comnet_lighting_latent = 0 +comnet_lighting_convective = 0.5 +comnet_lighting_radiant = 0.5 +comnet_occupancy_sensible_convective = 0.9 +comnet_occupancy_sensible_radiant = 0.1 +comnet_plugs_latent = 0 +comnet_plugs_convective = 0.75 +comnet_plugs_radiant = 0.25 diff --git a/helpers/configuration_helper.py b/helpers/configuration_helper.py index de99f24a..85677ceb 100644 --- a/helpers/configuration_helper.py +++ b/helpers/configuration_helper.py @@ -39,3 +39,69 @@ class ConfigurationHelper: :return: 1.7976931348623157e+308 """ return self._config.getfloat('buildings', 'max_coordinate').real + + @property + def comnet_lighting_latent(self) -> float: + """ + Get configured latent ratio of internal gains do to lighting used for Comnet (ASHRAE) standard + :return: 0 + """ + return self._config.getfloat('buildings', 'comnet_lighting_latent').real + + @property + def comnet_lighting_convective(self) -> float: + """ + Get configured convective ratio of internal gains do to lighting used for Comnet (ASHRAE) standard + :return: 0.5 + """ + return self._config.getfloat('buildings', 'comnet_lighting_convective').real + + @property + def comnet_lighting_radiant(self) -> float: + """ + Get configured radiant ratio of internal gains do to lighting used for Comnet (ASHRAE) standard + :return: 0.5 + """ + return self._config.getfloat('buildings', 'comnet_lighting_radiant').real + + @property + def comnet_plugs_latent(self) -> float: + """ + Get configured latent ratio of internal gains do to electrical appliances used for Comnet (ASHRAE) standard + :return: 0 + """ + return self._config.getfloat('buildings', 'comnet_plugs_latent').real + + @property + def comnet_plugs_convective(self) -> float: + """ + Get configured convective ratio of internal gains do to electrical appliances used for Comnet (ASHRAE) standard + :return: 0.75 + """ + return self._config.getfloat('buildings', 'comnet_plugs_convective').real + + @property + def comnet_plugs_radiant(self) -> float: + """ + Get configured radiant ratio of internal gains do to electrical appliances used for Comnet (ASHRAE) standard + :return: 0.25 + """ + return self._config.getfloat('buildings', 'comnet_plugs_radiant').real + + @property + def comnet_occupancy_sensible_convective(self) -> float: + """ + Get configured convective ratio of the sensible part of internal gains do to occupancy + used for Comnet (ASHRAE) standard + :return: 0.9 + """ + return self._config.getfloat('buildings', 'comnet_occupancy_sensible_convective').real + + @property + def comnet_occupancy_sensible_radiant(self) -> float: + """ + Get configured radiant ratio of the sensible part of internal gains do to occupancy + used for Comnet (ASHRAE) standard + :return: 0.1 + """ + return self._config.getfloat('buildings', 'comnet_occupancy_sensible_radiant').real