From ef659b379848e97e2f61baa8ccf354c59df5c52b Mon Sep 17 00:00:00 2001 From: Pilar Date: Mon, 13 Feb 2023 06:49:55 -0500 Subject: [PATCH] modified meb exporter to accept mire than 200 surfaces --- .../building_energy/insel/insel_monthly_energy_balance.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 dfc08bd4..af8462c0 100644 --- a/hub/exports/building_energy/insel/insel_monthly_energy_balance.py +++ b/hub/exports/building_energy/insel/insel_monthly_energy_balance.py @@ -182,8 +182,10 @@ class InselMonthlyEnergyBalance(Insel): inputs = ['4.1', '4.2'] file = Insel._add_block(file, i_block, 'cum', inputs=inputs) + in_1 = f'{i_block}.1' + in_2 = f'{i_block}.2' i_block = 303 + len(surfaces) - inputs = ['300.1', '300.2'] + inputs = [in_1, in_2] file = Insel._add_block(file, i_block, 'atend', inputs=inputs) i_block = 310 + len(surfaces)