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

Minimum uptime/ downtime #1017

Open
p-snft opened this issue Nov 22, 2023 · 1 comment · Fixed by #1021
Open

Minimum uptime/ downtime #1017

p-snft opened this issue Nov 22, 2023 · 1 comment · Fixed by #1021
Assignees

Comments

@p-snft
Copy link
Member

p-snft commented Nov 22, 2023

For minimum_uptime and minimum_downtime time steps are counted. However, time steps might have different lengths. This can lead to inconsistencies.

@p-snft
Copy link
Member Author

p-snft commented Nov 22, 2023

Idea:

  • Keep the constraint working with time steps, but allow a list of integers. (Fix minimum up-/ downtime #1021)
  • Additionally allow pandas.Timedelta, which is then converted to the according number of time steps. For the creation of the constraint, still the list of integers is used.

@p-snft p-snft self-assigned this Nov 22, 2023
@p-snft p-snft linked a pull request Nov 22, 2023 that will close this issue
@p-snft p-snft removed a link to a pull request Dec 7, 2023
@p-snft p-snft reopened this Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant