From f72ccde19ee88a574c3dc13ddfe25b75625a6871 Mon Sep 17 00:00:00 2001 From: ogavalda <33801000+ogavalda@users.noreply.github.com> Date: Wed, 16 Oct 2024 17:18:21 -0400 Subject: [PATCH] Solving an error in infiltration_area that affected the MEB but not the idf. Now it is solved --- .../building_demand/thermal_archetype.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hub/city_model_structure/building_demand/thermal_archetype.py b/hub/city_model_structure/building_demand/thermal_archetype.py index 242e5104..30c33e23 100644 --- a/hub/city_model_structure/building_demand/thermal_archetype.py +++ b/hub/city_model_structure/building_demand/thermal_archetype.py @@ -20,8 +20,8 @@ class ThermalArchetype: self._indirect_heated_ratio = None self._infiltration_rate_for_ventilation_system_off = None self._infiltration_rate_for_ventilation_system_on = None - self._infiltration_rate_area_for_ventilation_system_off=None - self._infiltration_rate_area_for_ventilation_system_on=None + self._infiltration_rate_area_for_ventilation_system_off = None + self._infiltration_rate_area_for_ventilation_system_on = None @property def constructions(self) -> [Construction]: @@ -141,7 +141,7 @@ class ThermalArchetype: Get infiltration rate for ventilation system off in l/s/m2 :return: float """ - return self._infiltration_rate_for_ventilation_system_off + return self._infiltration_rate_area_for_ventilation_system_off @infiltration_rate_area_for_ventilation_system_off.setter def infiltration_rate_area_for_ventilation_system_off(self, value): @@ -149,7 +149,7 @@ class ThermalArchetype: Set infiltration rate for ventilation system off in l/s/m2 :param value: float """ - self._infiltration_rate_for_ventilation_system_off = value + self._infiltration_rate_area_for_ventilation_system_off = value @property def infiltration_rate_area_for_ventilation_system_on(self): @@ -157,7 +157,7 @@ class ThermalArchetype: Get infiltration rate for ventilation system on in l/s/m2 :return: float """ - return self._infiltration_rate_for_ventilation_system_on + return self._infiltration_rate_area_for_ventilation_system_on @infiltration_rate_area_for_ventilation_system_on.setter def infiltration_rate_area_for_ventilation_system_on(self, value): @@ -165,4 +165,4 @@ class ThermalArchetype: Set infiltration rate for ventilation system on in l/s/m2 :param value: float """ - self._infiltration_rate_for_ventilation_system_on = value + self._infiltration_rate_area_for_ventilation_system_on = value