Correct bug in insel meb import
This commit is contained in:
parent
673296f860
commit
43030626ce
|
@ -46,8 +46,8 @@ class InselMonthlyEnergyBalance:
|
||||||
if insel_output_file_path.is_file():
|
if insel_output_file_path.is_file():
|
||||||
building.heating[cte.MONTH], building.cooling[cte.MONTH] = self._demand(insel_output_file_path)
|
building.heating[cte.MONTH], building.cooling[cte.MONTH] = self._demand(insel_output_file_path)
|
||||||
building.heating[cte.YEAR] = pd.DataFrame(
|
building.heating[cte.YEAR] = pd.DataFrame(
|
||||||
[building.heating[cte.MONTH][cte.INSEL_MEB].sum()], columns=[cte.INSEL_MEB]
|
[float(building.heating[cte.MONTH][cte.INSEL_MEB]).sum()], columns=[cte.INSEL_MEB]
|
||||||
)
|
)
|
||||||
building.cooling[cte.YEAR] = pd.DataFrame(
|
building.cooling[cte.YEAR] = pd.DataFrame(
|
||||||
[building.cooling[cte.MONTH][cte.INSEL_MEB].sum()], columns=[cte.INSEL_MEB]
|
[float(building.cooling[cte.MONTH][cte.INSEL_MEB]).sum()], columns=[cte.INSEL_MEB]
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user