openego / eGon-data

GNU Affero General Public License v3.0
10 stars 4 forks source link

PV rooftop plants in status quo sometimes have wrong bus ID #1124

Open khelfen opened 1 year ago

khelfen commented 1 year ago

At the moment the bus ID for PV rooftop plants in status quo is determined on the grid district boundaries. This is sometimes wrong as the bus IDs for buildings is determined by the zensus cell which always have one distinct bus ID determined by the centroid, but the boundaries usually do not match. This needs to be changed:

https://github.com/openego/eGon-data/blob/5b5dcaab6e12b710df5b9dcea173b1eb074ea082/src/egon/data/datasets/power_plants/pv_rooftop_buildings.py#L2157-L2182