From 5ca4a802cd9620a41efa4ae49d89bb050c9fe1b3 Mon Sep 17 00:00:00 2001 From: Guille Gutierrez Date: Mon, 2 Dec 2024 14:14:28 -0500 Subject: [PATCH 1/3] Update hub/version.py --- hub/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub/version.py b/hub/version.py index e50ec9c1..134e4092 100644 --- a/hub/version.py +++ b/hub/version.py @@ -1,4 +1,4 @@ """ Hub version number """ -__version__ = '0.2.0.17' +__version__ = '0.2.0.18' From 06532adbb9e617c4240dabf8a1024082b94ac0a4 Mon Sep 17 00:00:00 2001 From: guille Date: Mon, 2 Dec 2024 20:56:06 +0100 Subject: [PATCH 2/3] bug fix --- 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 84d0aed2..0197c3e9 100644 --- a/hub/exports/building_energy/idf.py +++ b/hub/exports/building_energy/idf.py @@ -779,7 +779,10 @@ class Idf: for surface in building.surfaces: if surface.type == cte.WALL: wwr = surface.associated_thermal_boundaries[0].window_ratio - self._idf.set_wwr(wwr, construction='window_construction_1') + try: + self._idf.set_wwr(wwr, construction='window_construction_1') + except ValueError: + self._idf.set_wwr(0, construction='window_construction_1') def _add_windows_by_vertices(self, boundary): raise NotImplementedError From 7831af914410d9a4cf6eb54116652bc03ccf70e8 Mon Sep 17 00:00:00 2001 From: Guille Gutierrez Date: Mon, 2 Dec 2024 14:57:29 -0500 Subject: [PATCH 3/3] Update hub/version.py --- hub/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub/version.py b/hub/version.py index 134e4092..056f7321 100644 --- a/hub/version.py +++ b/hub/version.py @@ -1,4 +1,4 @@ """ Hub version number """ -__version__ = '0.2.0.18' +__version__ = '0.2.0.19'