pypsa-meets-earth / pypsa-earth

PyPSA-Earth: A flexible Python-based open optimisation model to study energy system futures around the world.
https://pypsa-earth.readthedocs.io/en/latest/
234 stars 193 forks source link

Demand downscaling #181

Open giacfalk opened 2 years ago

giacfalk commented 2 years ago

I suggest considering additional factors (=data) to downscale national demands to multi-note demand.

E.g.

Happy to contribute to the downscaling coding work.

Cheers, Giacomo

pz-max commented 2 years ago

Great could be used also as learning input data of the subnational GEGIS approach.

  1. machine learning approach on country level
  2. statistical downscaling

We need to put raster data into national shapes. Here is the script to build national shapes:

giacfalk commented 2 years ago

For downscaling (usually done for climate data), we can follow this existing methods:

https://github.com/pangeo-data/scikit-downscale https://openresearchsoftware.metajnl.com/articles/10.5334/jors.197/

giacfalk commented 2 years ago

Reccomended efficient library to extract raster data into polygons:

https://pythonhosted.org/rasterstats/

giacfalk commented 2 years ago

This feature is in active development and updates will soon follow.