pypsa-eur-sec icon indicating copy to clipboard operation
pypsa-eur-sec copied to clipboard

Add more options for temporal aggregation

Open lisazeyen opened this issue 2 years ago • 1 comments

This PR should add two more options to aggregate the network temporally: (1) aggregate timeseries to representative snapshots with e.g. 25sn as sector_opts would results in taking every 25th snapshot (2) using segmentation method from tsam similar to PyPSA-Eur, except that all time-dependent data is considered (to include e.g. also the COP of heat pumps) and that the options is added to overwrite the pypsa time-series with time profiles generated by tsam. For example 60SEG in sector_opts would results in 60 representative snapshots of the original timeseries.

lisazeyen avatar Aug 08 '22 06:08 lisazeyen

I am actually pretty sure that the options to aggregate to x representative snapshots with xsn was tat some point in the code. @fneum to you have any experience with overwriting the timeseries of pypsa with the ones generated by the tsam package? I just did a quick check but they didn't seem to be very similar. Therefore, I am currently setting the option to overwrite them as False and haven't moved the option to the config. We could also remove this part if it is not helpful.

lisazeyen avatar Aug 08 '22 07:08 lisazeyen

Thanks a lot for the review @fneum !

lisazeyen avatar Sep 14 '22 14:09 lisazeyen