Skip to content
Snippets Groups Projects
Forked from an inaccessible project.
Leonie Sara Plaga's avatar
Leonie Sara Plaga authored
Create tutorial

See merge request plagalq1/pypsa_to_backbone!4
1b7547b0
History

Conversion from pypsa to backbone data

This repo serves the purpose of converting data from pypsa to backbone. Thus, we leverage their weather data aggregation utilites.


preliminaries

you are required to have run the pypsa tutorial. If necessary also take a look at the first part of the tutorial.

running the conversion

  1. clone this repo
  2. install necessary packages via conda create -n pypsa-eur --file package-list.txt. This involves packages for running pypsa and the conversion
  3. activate conda env with conda activate pypsa-eur
  4. create a config.json file in the base directory and add the following contents
{
    "pypsa_model_filename": "PATH/TO/pypsa-eur/networks/elec_s_6_ec_lcopt_Co2L-24H.nc",
    "index_filename": "PATH/TO/pypsa_to_backbone/index_file.xlsx",
    "backbone_filename" : "PATH/TO/pypsa_to_backbone/data/Deutschland.xlsx"
}
  1. run pypsa_to_backbone.py