From a3d4390a1925f1da3245ba4ca0e8d6e785e27e8f Mon Sep 17 00:00:00 2001 From: p_monsalvete Date: Tue, 25 Jul 2023 12:02:20 -0400 Subject: [PATCH] added surface type to construction names --- hub/imports/construction/eilat_physics_parameters.py | 2 +- hub/imports/construction/nrcan_physics_parameters.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hub/imports/construction/eilat_physics_parameters.py b/hub/imports/construction/eilat_physics_parameters.py index 607af32b..181ee97d 100644 --- a/hub/imports/construction/eilat_physics_parameters.py +++ b/hub/imports/construction/eilat_physics_parameters.py @@ -97,7 +97,7 @@ class EilatPhysicsParameters: thermal_zone.infiltration_rate_system_off = archetype.infiltration_rate_for_ventilation_system_off for thermal_boundary in thermal_zone.thermal_boundaries: construction_archetype = self._search_construction_in_archetype(archetype, thermal_boundary.type) - thermal_boundary.construction_name = construction_archetype.name + thermal_boundary.construction_name = f'{thermal_boundary.type}_{construction_archetype.name}' try: thermal_boundary.window_ratio = 0 if thermal_boundary.type in (cte.WALL, cte.ROOF): diff --git a/hub/imports/construction/nrcan_physics_parameters.py b/hub/imports/construction/nrcan_physics_parameters.py index cf4debcf..fd221ba0 100644 --- a/hub/imports/construction/nrcan_physics_parameters.py +++ b/hub/imports/construction/nrcan_physics_parameters.py @@ -97,7 +97,7 @@ class NrcanPhysicsParameters: thermal_zone.infiltration_rate_system_off = archetype.infiltration_rate_for_ventilation_system_off for thermal_boundary in thermal_zone.thermal_boundaries: construction_archetype = self._search_construction_in_archetype(archetype, thermal_boundary.type) - thermal_boundary.construction_name = construction_archetype.name + thermal_boundary.construction_name = f'{thermal_boundary.type}_{construction_archetype.name}' try: thermal_boundary.window_ratio = 0 if thermal_boundary.type in ( cte.WALL, cte.ROOF):