From 087cc7dc97730353e3d05e25b9dd56daec9d7202 Mon Sep 17 00:00:00 2001 From: Guille Date: Thu, 10 Aug 2023 13:39:25 -0400 Subject: [PATCH] Remove dataframes in mockup --- hub_api/mockup/building.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hub_api/mockup/building.py b/hub_api/mockup/building.py index da46db2..77e5065 100644 --- a/hub_api/mockup/building.py +++ b/hub_api/mockup/building.py @@ -41,12 +41,12 @@ class Building: cte.MONTH: results['monthly_domestic_hot_water_consumption'] } self._lighting_electrical_demand = { - cte.YEAR: pd.DataFrame(results['yearly_lighting_electrical_demand'], columns=['insel meb']), - cte.MONTH: pd.DataFrame(results['monthly_lighting_electrical_demand'], columns=['insel meb']) + cte.YEAR: results['yearly_lighting_electrical_demand'], + cte.MONTH: results['monthly_lighting_electrical_demand'] } self._appliances_electrical_demand = { - cte.YEAR: pd.DataFrame(results['yearly_appliances_electrical_demand'], columns=['insel meb']), - cte.MONTH: pd.DataFrame(results['monthly_appliances_electrical_demand'], columns=['insel meb']) + cte.YEAR: results['yearly_appliances_electrical_demand'], + cte.MONTH: results['monthly_appliances_electrical_demand'] } self._heating_peak_load = { cte.YEAR: results['yearly_heating_peak_load'],