Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimeSeriesSource: get activation ticks #543

Closed
sebastian-peter opened this issue Feb 23, 2022 · 1 comment · Fixed by #1059
Closed

TimeSeriesSource: get activation ticks #543

sebastian-peter opened this issue Feb 23, 2022 · 1 comment · Fixed by #1059
Assignees
Labels
enhancement New feature or request

Comments

@sebastian-peter
Copy link
Member

sebastian-peter commented Feb 23, 2022

As discussed in ie3-institute/simona#98 (comment), 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 sebastian-peter added the code quality Code readability or structure is improved label Feb 23, 2022
@sebastian-peter sebastian-peter added this to the Version 3.0 milestone Feb 23, 2022
@sebastian-peter sebastian-peter self-assigned this Feb 23, 2022
@sebastian-peter sebastian-peter changed the title TimeSeriesSource: get first time after given time TimeSeriesSource: get first time after given time Feb 23, 2022
@sebastian-peter sebastian-peter changed the title TimeSeriesSource: get first time after given time TimeSeriesSource: get activation ticks Feb 24, 2022
@sebastian-peter
Copy link
Member Author

Possibly a duplicate of #506

@sebastian-peter sebastian-peter removed the code quality Code readability or structure is improved label Jul 28, 2022
@sebastian-peter sebastian-peter removed this from the Version 4.0 milestone Jul 25, 2023
@sebastian-peter sebastian-peter removed their assignment Feb 1, 2024
@staudtMarius staudtMarius self-assigned this Apr 8, 2024
@staudtMarius staudtMarius added the enhancement New feature or request label Apr 9, 2024
staudtMarius added a commit that referenced this issue Apr 15, 2024
…-activation-call

# Conflicts:
#	CHANGELOG.md
staudtMarius added a commit that referenced this issue May 1, 2024
…-activation-call

# Conflicts:
#	CHANGELOG.md
staudtMarius added a commit that referenced this issue May 23, 2024
…-activation-call

# Conflicts:
#	CHANGELOG.md
staudtMarius added a commit that referenced this issue Jun 10, 2024
…-activation-call

# Conflicts:
#	CHANGELOG.md
staudtMarius added a commit that referenced this issue Jun 24, 2024
…with-future-activation-call

# Conflicts:
#	CHANGELOG.md
staudtMarius added a commit that referenced this issue Jun 24, 2024
…with-future-activation-call

# Conflicts:
#	src/main/java/edu/ie3/datamodel/io/source/csv/CsvWeatherSource.java
sebastian-peter added a commit that referenced this issue Aug 22, 2024
…sSources-with-future-activation-call

Enhancing `TimeSeriesSource`s with method to extract future activation ticks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants