diff --git a/hub/imports/results/insel_monthly_energry_balance.py b/hub/imports/results/insel_monthly_energry_balance.py index 385a8aa8..91a4c7c7 100644 --- a/hub/imports/results/insel_monthly_energry_balance.py +++ b/hub/imports/results/insel_monthly_energry_balance.py @@ -46,8 +46,8 @@ class InselMonthlyEnergyBalance: if insel_output_file_path.is_file(): building.heating[cte.MONTH], building.cooling[cte.MONTH] = self._demand(insel_output_file_path) building.heating[cte.YEAR] = pd.DataFrame( - [building.heating[cte.MONTH][cte.INSEL_MEB].sum()], columns=[cte.INSEL_MEB] + [building.heating[cte.MONTH][cte.INSEL_MEB].astype(float).sum()], columns=[cte.INSEL_MEB] ) building.cooling[cte.YEAR] = pd.DataFrame( - [building.cooling[cte.MONTH][cte.INSEL_MEB].sum()], columns=[cte.INSEL_MEB] + [building.cooling[cte.MONTH][cte.INSEL_MEB].astype(float).sum()], columns=[cte.INSEL_MEB] )