Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
HvanderStok committed Dec 13, 2024
1 parent 310d400 commit 00b1786
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion teaser/logic/buildingobjects/calculation/four_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -1549,7 +1549,7 @@ def _calc_heat_load(self):
ua_value_gf_temp : float [W/(m2*K)]
UA Value of all GroundFloors
"""
if self.thermal_zone.use_condition.base_infiltration > 0.5:
if self.thermal_zone.use_conditions.base_infiltration > 0.5:
raise warnings.warn("The base_infiltration is larger than 0.5, "
"which could lead to ideal heaters being too small.")

Expand Down
2 changes: 1 addition & 1 deletion teaser/logic/buildingobjects/calculation/one_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ def _calc_heat_load(self):
ua_value_gf_temp : float [W/(m2*K)]
UA Value of all GroundFloors
"""
if self.thermal_zone.use_condition.base_infiltration > 0.5:
if self.thermal_zone.use_conditions.base_infiltration > 0.5:
raise warnings.warn("The base_infiltration is larger than 0.5, "
"which could lead to ideal heaters being too small.")

Expand Down
2 changes: 1 addition & 1 deletion teaser/logic/buildingobjects/calculation/three_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,7 @@ def _calc_heat_load(self):
ua_value_gf_temp : float [W/(m2*K)]
UA Value of all GroundFloors
"""
if self.thermal_zone.use_condition.base_infiltration > 0.5:
if self.thermal_zone.use_conditions.base_infiltration > 0.5:
raise warnings.warn("The base_infiltration is larger than 0.5, "
"which could lead to ideal heaters being too small.")

Expand Down
2 changes: 1 addition & 1 deletion teaser/logic/buildingobjects/calculation/two_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@ def _calc_heat_load(self):
ua_value_gf_temp : float [W/(m2*K)]
UA Value of all GroundFloors
"""
if self.thermal_zone.use_condition.base_infiltration > 0.5:
if self.thermal_zone.use_conditions.base_infiltration > 0.5:
raise warnings.warn("The base_infiltration is larger than 0.5, "
"which could lead to ideal heaters being too small.")

Expand Down

0 comments on commit 00b1786

Please sign in to comment.