PowerSystemDataModel icon indicating copy to clipboard operation
PowerSystemDataModel copied to clipboard

`TimeSeriesSource`: get activation ticks

Open sebastian-peter opened this issue 3 years ago • 1 comments

As discussed in https://github.com/ie3-institute/simona/pull/98#discussion_r793536276, the interface and corresponding implementations of edu.ie3.datamodel.io.source.TimeSeriesSource should be enhanced with a method that returns all activation ticks for a time series (after a given time):

List<ZonedDateTime> getTimeKeysAfter(ZonedDateTime time);

This way, the implementations can take into account efficient methods for each data source type (e.g. with SQL this can be solved with a simple and quick query).

sebastian-peter avatar Feb 23 '22 17:02 sebastian-peter

Possibly a duplicate of #506

sebastian-peter avatar Apr 05 '22 09:04 sebastian-peter