From 4a67e7f222e55d6852a225d17e46cf7519ae2289 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Tue, 20 Jun 2023 18:41:19 +0100 Subject: [PATCH] minor, need to estimate building age --- model_data/app.py | 2 +- model_data/recommendations/WallRecommendations.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/model_data/app.py b/model_data/app.py index e6caa5cf..44dcdd69 100644 --- a/model_data/app.py +++ b/model_data/app.py @@ -124,4 +124,4 @@ def handler(): # Internal wall insulation from model_data.recommendations.WallRecommendations import WallRecommendations - self = WallRecommendations(property_instance=input_properties[0]) + self = WallRecommendations(property_instance=input_properties[1]) diff --git a/model_data/recommendations/WallRecommendations.py b/model_data/recommendations/WallRecommendations.py index f48b51cb..5269fa4d 100644 --- a/model_data/recommendations/WallRecommendations.py +++ b/model_data/recommendations/WallRecommendations.py @@ -144,6 +144,7 @@ class WallRecommendations: u_value = self.property.walls["thermal_transmittance"] is_cavity_wall = self.property.walls["is_cavity_wall"] + is_solid_brick = self.property.walls["is_solid_brick"] if u_value: if self.property.walls["thermal_transmittance_unit"] != self.U_VALUE_UNIT: