handle error in wwr
This commit is contained in:
parent
383bcc976f
commit
90353cde16
@ -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:
|
||||
|
@ -1,4 +1,4 @@
|
||||
"""
|
||||
Hub version number
|
||||
"""
|
||||
__version__ = '0.2.0.15'
|
||||
__version__ = '0.2.0.16'
|
||||
|
Loading…
Reference in New Issue
Block a user