Great breakout group! Unfortunately, I can’t make it next week, but I wanted to flag that PyPSA-Eur has recently added functionality to cluster by administrative regions (incl. NUTS{1,2,3}). We have a few years of experience with processing various high-resolution datasets – if you want to chat, reach out to @lkstrp who will be there from the PyPSA dev team.
master ← cluster-by-shapes
opened 03:54PM - 17 Jan 25 UTC
**Closes https://github.com/PyPSA/pypsa-eur/issues/263**
## Changes proposed … in this Pull Request
- Implementing feature to cluster by NUTS shapes (NUTS0 to NUTS3 for EU countries and OSM administration levels 0-1 for BA, MD, UA, and XK)
- Building on PR https://github.com/PyPSA/pypsa-eur/pull/1479 and using updated `nuts3_shapes.geojson`
- Administration levels can be set for entire modelling region or for individual countries
## Example for illustrative purposes
- All European countries set to NUTS0/country level
- DE set to NUTS3
- FR set to NUTS2
- EE set to NUTS0/country_level

## Example config
```
clustering:
mode: admin
admin:
level: 1
DE: 3 # optional
FR: 2 # optional
ES: 0 # optional
...
```
## Checklist
- [X] I tested my contribution locally and it works as intended.
- [X] Code and workflow changes are sufficiently documented.
- [X] Changes in configuration options are added in `config/config.default.yaml`.
- [X] Changes in configuration options are documented in `doc/configtables/*.csv`.
- [X] Sources of newly added data are documented in `doc/data_sources.rst` (Done here: https://github.com/PyPSA/pypsa-eur/pull/1479)
- [X] A release note `doc/release_notes.rst` is added.
3 Likes