Update hub/exports/building_energy/idf.py

This commit is contained in:
Guille Gutierrez 2024-11-28 15:52:23 -05:00
parent 383bcc976f
commit fb10e89248

View File

@ -727,7 +727,10 @@ class Idf:
else:
# idf only allows setting wwr for external walls
wwr = 0
self._idf.set_wwr(wwr)
try:
self._idf.set_wwr(wwr, construction='window_construction_1')
except ValueError:
self._idf.set_wwr(0, construction='window_construction_1')
def _add_surfaces(self, building, zone_name):
for thermal_zone in building.thermal_zones_from_internal_zones: