Calculate the sum of consumption commons and hot water tanks from a new file
I am working on getting the data of the new file : Communs_+chauffe_eau_180924_au_190826.csv. It has an other format than the others that is why I was working on implementing a new function for FixconsumptionUnit to be able to use the data from the file. It represents the consumption of the commons and the hot water tanks. But the code doesn't manage to calculate the sum of this consumption whereas it can do it for the others consumptions unit as the one of the dwellings (LOAD)
Steps to reproduce
- Collect the file : TestcommonsandHWT_from24to26nov.csv which is the file we want to extract the datas.
- Use my proposition of version input_data where I created an adapted function which can read this file (it has not the same format than the others): read_dateiniso8601_data_csv_file(file_path=None, start=None, end=None):
- Run the code input-data.py (new version) and terrain1_enogrid_BRIANT.py
What is the current bug behavior?
It says the CONSCHWT has a total consumption of 0 kWh (total consumption of the hot water tanks and the commons), which is not possible.
What is the expected correct behavior?
CONSCHWT has a total consumption of 67,1 kWh