From ae0e2a905f5fc49e0973e552fa3714417050a0e0 Mon Sep 17 00:00:00 2001 From: Peter Yefi Date: Fri, 29 Oct 2021 15:26:48 +0000 Subject: [PATCH] Fixed error with reading cooling data --- imports/energy_systems/xlsx_heat_pump_parameters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/energy_systems/xlsx_heat_pump_parameters.py b/imports/energy_systems/xlsx_heat_pump_parameters.py index 4a842e07..032e0cfc 100644 --- a/imports/energy_systems/xlsx_heat_pump_parameters.py +++ b/imports/energy_systems/xlsx_heat_pump_parameters.py @@ -55,7 +55,7 @@ class XlsxHeatPumpParameters: heating_data[sheet][heating_df.iloc[i][0]] = heating_df.iloc[i + 1:i + 4, 2:8].values.tolist() i = i + 5 # extract the last cooling data - cooling_data[sheet][cooling_df.iloc[i][0]] = cooling_df.iloc[i + 1:i + 4, 2:8] + cooling_data[sheet][cooling_df.iloc[i][0]] = cooling_df.iloc[i + 1:i + 4, 2:8].values.tolist() return {"cooling": cooling_data, "heating": heating_data} def enrich_city(self):