openego / eTraGo

Optimization of flexibility options for transmission grids based on PyPSA
GNU Affero General Public License v3.0
33 stars 13 forks source link

Weird p_max_pu timeseries of generators after clustering #430

Closed ClaraBuettner closed 2 years ago

ClaraBuettner commented 2 years ago

After k means clustering, the p_max_pu time series of all renewable generators in Germany are 0 for all time steps after 2nd May. This results in weird time series data, e.g. here for wind offshore: image I briefly checked that the data was correct before the clustering, so I assume there is a problem in k means clustering. I am currently creating some intermediate files which might help to find the problem.

@CarlosEpia: It would be good if we could have a look at this next week if it's fine for you.

ClaraBuettner commented 2 years ago

I'm sorry, I was completly wrong. This problem is related to egon-data. (p_max_pu timeseries of foreign generators only have a 3-hourly-resoloution because of the temporal resolution of pypsa-eur-sec.) I will fix that issue in egon-data.