From 85e445ae96c6232b908529139dea98be16b3bbe7 Mon Sep 17 00:00:00 2001 From: Pilar Date: Mon, 13 Feb 2023 06:08:55 -0500 Subject: [PATCH] modified meb exporter to accept mire than 200 surfaces --- .../building_energy/insel/insel_monthly_energy_balance.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hub/exports/building_energy/insel/insel_monthly_energy_balance.py b/hub/exports/building_energy/insel/insel_monthly_energy_balance.py index 1824cdbe..7bd2065d 100644 --- a/hub/exports/building_energy/insel/insel_monthly_energy_balance.py +++ b/hub/exports/building_energy/insel/insel_monthly_energy_balance.py @@ -176,15 +176,15 @@ class InselMonthlyEnergyBalance(Insel): file = Insel._add_block(file, i_block, 'polyg', inputs=inputs, parameters=parameters) - i_block = 300 + i_block = 300 + len(surfaces) inputs = ['4.1', '4.2'] file = Insel._add_block(file, i_block, 'cum', inputs=inputs) - i_block = 303 + i_block = 303 + len(surfaces) inputs = ['300.1', '300.2'] file = Insel._add_block(file, i_block, 'atend', inputs=inputs) - i_block = 310 + i_block = 310 + len(surfaces) inputs = ['4.1', '4.2'] parameters = ['1 % Mode', '0 % Suppress FNQ inputs',