Skip to content

atsangarides/pyngeso

Repository files navigation

pyngeso

Simple python wrapper for the National Grid ESO Portal.

Code style: black pre-commit

Getting started

  • Example usage
from pyngeso import NgEso

resource = "historic-day-ahead-demand-forecast"
date_col = "TARGETDATE"
start_date = "2018-01-01"
end_date = "2018-01-01"

client = NgEso(resource)
# returns content of response
r: bytes = client.query(date_col=date_col, start_date=start_date, end_date=end_date)

Tested reports

Queryable via NG's api

  • historic-day-ahead-demand-forecast
  • day-ahead-demand-forecast
  • historic-2day-ahead-demand-forecast
  • 2day-ahead-demand-forecast
  • historic-2-14-days-ahead-demand-forecast
  • historic-day-ahead-wind-forecast
  • day-ahead-wind-forecast
  • 14-days-ahead-wind-forecast
  • demand-data-update
  • dc-results-summary
  • dc-dr-dm-linear-orders
  • historic-demand-data-{year} [2009-2022]
  • historic-frequency-data [Jan21-Jan22]
  • transmission-entry-capacity-tec-register
  • dx-eac-eso-results-summary
  • dx-eac-eso-sell-orders
  • dx-eac-eso-buy-orders
  • br-eac-eso-results-summary
  • br-eac-eso-sell-orders
  • br-eac-eso-buy-orders
  • br-eac-eso-results-by-units

Download of files

  • historic-generation-mix

About

Simple python wrapper for the National Grid ESO Portal.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages