Using rooftop photovoltaic generation to cover individual electric vehicle demand - a detailed case study

This repository contains the code of the (still unpublished) paper Using rooftop photovoltaic generation to cover individual electric vehicle demand - a detailed case study. The goal of the project is to analyze how much of our mobility energy demand (created by battery electric vehicles) we can cover by using only PV installed on our own home.

All source code is organized in the src directory.

Preprocessing:

  • BEV data is preprocessed using the main function in in src/ecar_data_preprocessing.py.
  • PV generation data is created using scripts in the src/pv_generation folder.

Experiment:

  • The main experiment is is run using src/calculate_scenarios.py.
  • The different charging scenarios are defined in src/methods/scenarios_for_users.py

Evaluation:

  • All indicators are calculated using src\calculate_all_indicators.py.
  • All figures are created using the scrips in src\plotting\*
  • All figures are available in plots
  • calculate_all_indicators.py is used to calculate indicators used in the paper (such as the total distance driven), generate_all_plots.py generates all plots.

__Data: __

The BEV data used is part of the SBB Green Class E-Car pilot study and the related research project. Data access was provided by the Swiss Federal Railways and can not be published to preserve the privacy of the study participants.