Update hub/exports/building_energy/idf.py
This commit is contained in:
parent
383bcc976f
commit
fb10e89248
@ -727,7 +727,10 @@ class Idf:
|
|||||||
else:
|
else:
|
||||||
# idf only allows setting wwr for external walls
|
# idf only allows setting wwr for external walls
|
||||||
wwr = 0
|
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):
|
def _add_surfaces(self, building, zone_name):
|
||||||
for thermal_zone in building.thermal_zones_from_internal_zones:
|
for thermal_zone in building.thermal_zones_from_internal_zones:
|
||||||
|
Loading…
Reference in New Issue
Block a user