Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • O OMEGAlpes
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • OMEGAlpes
  • OMEGAlpes
  • Issues
  • #43

Closed
Open
Created Nov 14, 2019 by Clélia Briant@briantcReporter

Calculate the sum of consumption commons and hot water tanks from a new file

Summary

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

Relevant logs and/or screenshots, python output

Capture_d_écran_2019-11-14_à_11.38.21

Capture_d_écran_2019-11-14_à_11.39.47

Capture_d_écran_2019-11-14_à_11.39.57

Capture_d_écran_2019-11-14_à_11.40.15

Capture_d_écran_2019-11-14_à_11.40.35

Capture_d_écran_2019-11-14_à_11.40.45

Capture_d_écran_2019-11-14_à_11.41.04

Assignee
Assign to
Time tracking