From fb10e8924814071c25f5b3c8ea3acd9a0137b814 Mon Sep 17 00:00:00 2001 From: Guille Gutierrez Date: Thu, 28 Nov 2024 15:52:23 -0500 Subject: [PATCH] Update hub/exports/building_energy/idf.py --- hub/exports/building_energy/idf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hub/exports/building_energy/idf.py b/hub/exports/building_energy/idf.py index ecb12e8b..84d0aed2 100644 --- a/hub/exports/building_energy/idf.py +++ b/hub/exports/building_energy/idf.py @@ -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: