Store the meb as float

This commit is contained in:
Guille Gutierrez 2023-02-24 15:49:40 -05:00
parent cc26a8004b
commit 34172055a6

View File

@ -35,8 +35,8 @@ class InselMonthlyEnergyBalance:
demand[i] = '0' demand[i] = '0'
heating.append(demand[0]) heating.append(demand[0])
cooling.append(demand[1]) cooling.append(demand[1])
monthly_heating = pd.DataFrame(heating, columns=[cte.INSEL_MEB]) monthly_heating = pd.DataFrame(heating, columns=[cte.INSEL_MEB]).astype(float)
monthly_cooling = pd.DataFrame(cooling, columns=[cte.INSEL_MEB]) monthly_cooling = pd.DataFrame(cooling, columns=[cte.INSEL_MEB]).astype(float)
return monthly_heating, monthly_cooling return monthly_heating, monthly_cooling
def enrich(self): def enrich(self):