Skip to content

Deutschiftland/energiewende-entsoe-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Script to query ENTSO-E database using entsoe-py for production data and compute corresponding emissions to plot this kind of graphic:

See all plots available here: plots.

To make a new plot:

Step 1: install librairies

pip install pandas
pip install matplotlib
pip install entsoe-py

Step 2: clone repository locally

cd path/to/folder
git clone <repo_name>

Step 3: enter parameters

  • open data_analyis_request_ENTSO_E.py
  • replace ${{ secrets.TOKEN_API }} with your API key
  • for yearly plots:
    • change range
    • comment for month in range(1,13):
    • choose start = pd.Timestamp(year=year, month=1, day=1, tz='Europe/Brussels') and end = pd.Timestamp(year=year, month=12, day=31, tz='Europe/Brussels')
  • for monthly plots:
    • uncomment for month in range(1,13):
    • choose start = pd.Timestamp(year=year, month=month, day=1, tz='Europe/Brussels') and end = pd.Timestamp(year=year, month=month, day=start.daysinmonth, tz='Europe/Brussels')
  • choose countries in country_code (see list here)

Step 4: run script data_analyis_request_ENTSO_E

Wait... and find your new plots in /plots

Step 5: push new data and plots to remote repo so everyone benefits from your query

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages