calliope-project / euro-calliope

A workflow to build models of the European electricity system for Calliope.
https://euro-calliope.readthedocs.io
MIT License
31 stars 18 forks source link

Use original IDs of administrative units on the regional level #278

Open timtroendle opened 6 months ago

timtroendle commented 6 months ago

What can be improved?

Administrative units on the regional level have official IDs that include dots, like in AUT.1_1. Because Calliope (or YAML?) cannot handle dots, we replace dots with dashes within Calliope, like in AUT-1-1. To minimise the scope of this name change, we keep the original name in many places, such as model/regional/locations.csv. This leads to a situation in which we use both names at different places which obviously is not ideal.

This may be an issue that cannot be solved, but I am adding it here for reference and discussion.

Version

1.2.0.dev

timtroendle commented 6 months ago

It would be helpful to understand whether that is a YAML or a Calliope issue. If it's the latter, maybe a fix could be implemented on the Calliope side?

timtroendle commented 6 months ago

I wonder if this could be fixed simply by using quoting, as in "AUT.1_1".