Skip to content

Commit

Permalink
fix(construction): Fix bug related to no heat capacity
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey authored and Chris Mackey committed May 9, 2024
1 parent 49b4cbc commit 2121317
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion honeybee_doe2/construction.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ def opaque_construction_to_inp(construction):
"""
doe2_id = clean_doe2_string(construction.identifier, RES_CHARS)
# if the construction has no heat capacity, simply make a U-VALUE construction
if construction.area_heat_capacity == 0:
if construction.area_heat_capacity == 0 or \
construction.thickness <= MIN_LAYER_THICKNESS * len(construction.materials):
con_cond = UValue().to_unit([construction.u_factor], 'Btu/h-ft2-F', 'W/m2-K')[0]
keywords = ('TYPE', 'U-VALUE')
values = ('U-VALUE', round(con_cond, 6))
Expand Down

0 comments on commit 2121317

Please sign in to comment.