Skip to content

Commit

Permalink
fix area gross area (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Letellier-Duchesne authored Jun 23, 2021
1 parent ad855d1 commit cb688b4
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pyumi/shoeboxer/shoebox.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,17 @@ def total_envelope_resistance(self):

@property
def total_envelope_area(self):
"""Get the total envelope area including walls and roofs only [m2]."""
"""Get the total gross envelope area including windows [m2].
Note:
The envelope is consisted of surfaces that have an outside boundary
condition different then `Adiabatic` or `Surface` or that participate in
the heat exchange with the exterior.
"""
total_area = 0
for surface in self.getsurfaces():
if surface.Surface_Type.lower() not in ["wall", "roof"]:
if surface.Outside_Boundary_Condition.lower() in ["adiabatic", "surface"]:
continue
total_area += surface.area
return total_area
Expand Down

0 comments on commit cb688b4

Please sign in to comment.