16_ “Green” charging E-Mobility

When is it “greener” to charge an electric car?

⛶  Fullscreen ↓  Download
Demo

 What is it about?

Electric mobility is a “green” alternative to conventional gasoline and diesel cars. But can it get any “greener”? Can we find a way to reduce the environmental impact of electric car charging even more? When is it “greener” to charge an electric car in winter or in summer? Let’s find out!

Challenge:

With the help of data of CO2 equivalent emissions of electricity production and consumption in Switzerland, we want to analyze what is the environmental impact of charging electric cars. In addition to this, we want to develop a logic in order to charge electric cars as “green” as possible during the day, taking into account the environmental impact of electricity with respect to the time of the day and the different seasons.

Data:

We will provide data of CO2 equivalent emissions of electricity production and consumption for Switzerland and charging stations consumption data. Open data from various sources can also be used.

 Presentation

Title

greenchargingemobility

Open Energy Data Hackdays 2021

Link to challenge on Hackdays. Please join this challenge!

Meter data format

  • 'id': Unclear, not used.
  • 'Chargepoint': The unique identifier (number or UUID) of the physical charging station. One station can have more than one cable, and hence more than one charging session.
  • 'connector': The unique identifier (number or UUID) of the physical cable or attached device. In some cases, a cable can be left in the charging station for a long period of time, and used for multiple charging stations.
  • 'chargelogid': The unique identifier (number or UUID) of a particular session charging a battery
  • 'metervalue': Not used
  • 'increment': The amount of energy transferred (in watt-hours) in the last 15 minutes (i.e. up to the 'timestamp' value)
  • 'timestamp': The time of measurement in UTC.

CO2 data format

Columns are renamed to fit those used in the notebook here.

Generic columns

  • 'datetime': The time of measurement in UTC.
  • 'co2_intensity': The CO2 intensity (g co2/kWh)
  • 'co2_production': The CO2 intensity of Swiss production (g co2/kWh)
  • 'co2_import': The CO2 intensity of imported electricity (g co2/kWh)

Power in the CH consumption mix (production plus imports minus exports)

All values in MW * 'nuclear * 'geothermal' * 'biomass' * 'coal' * 'wind' * 'solar' * 'hydro' * 'gas' * 'oil * 'unknown' * 'battery' * 'hydro'

Coding standards

Please store notebooks in the Notebooks directory.

Please store data in the Data directory. It will be ignored by git. The data files should be named:

  • CH 2020-2021.csv
  • metervaluespseudonymized2_neu.csv
  • metervaluespseudonymized1_neu.csv

Data peculiarities

  • An increment with values of more than 5500 Wh does not make sense. The maximum power of chargers is 22 kW. The data should be cleaned by removing all values of all chargelogids that have at least one value of increment > 5500 Wh.
  • Some values for 'Chargepoint' are NaN. Luckily this is only the case where the connector is identified by a UUID. Hence we can replace the NaN with a unique number based on the connector UUID
This content is a preview from an external site.
 

Event finish

Edited

3 years ago ~ martin_baldinger

Repository updated

3 years ago ~ martin_baldinger

Output nicer graph from Martin's work

made some analysis on how the co2 intensity looks like on a per day and hour basis (@martinbaldinger-ekz)

Merge remote-tracking branch 'origin/main' into main

made some analysis on how the co2 intensity looks like on a per day and hour basis

Add notebook to merge in CO2 values to meter energy consumption

Edited

3 years ago ~ martin_baldinger

all systems go

3 years ago ~ martin_baldinger

Add files via upload

Merged the two metervalue files and deleted all chargelogids with at least one increment > 5500. (@fabiofuerst)

Edited

3 years ago ~ martin_baldinger

Joined the team

3 years ago ~ martin_baldinger

Update Merge meter with CO2 data.ipynb

bugfix (@martinbaldinger-ekz)

replace NaN Chargepoints in Notebook template.ipynb

replace NaN Chargepoints in Notebook_Martin.ipynb

Merge remote-tracking branch 'origin/main' into main

replace NaN Chargepoints in Notebook_Martin.ipynb

Update readme with CO2 dataframe labels

Create Merge meter with CO2 data.ipynb

added units for carbon intensity file to README.md (@martinbaldinger-ekz)

Create Template with joined clean meter data.ipynb

data clean-up guideline for increments > 5500: remove the whole chargelogid (@martinbaldinger-ekz)

Add note on maximum charging

Add template notebook

Add data directory

Update readme with coding standards

Create .gitignore

Merge pull request #5 from cmutel/patch-1

Update README.md with data format

Update README.md

Initial commit (@invveritas)

Start

Edited

3 years ago ~ Maud

Challenge shared
Tap here to review.

3 years ago ~ Maud
 
Contributed 3 years ago by Maud for Energy Data Hackdays 2021
All attendees, sponsors, partners, volunteers and staff at our hackathon are required to agree with the Hack Code of Conduct. Organisers will enforce this code throughout the event. We expect cooperation from all participants to ensure a safe environment for everybody. For more details on how the event is run, see the Guidelines on our website.

Creative Commons LicenceThe contents of this website, unless otherwise stated, are licensed under a Creative Commons Attribution 4.0 International License.