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

Create setters for temporary limits #3113

Merged
merged 17 commits into from
Aug 28, 2024
Merged

Conversation

nao1345678
Copy link
Contributor

@nao1345678 nao1345678 commented Aug 1, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?

Fixes #3060

What kind of change does this PR introduce?

With this change, we can now change the value of a temporary limit without having to recreate the whole limit.

What is the current behavior?

Temporary limits are immutable, which isn't practical if we only need to modify the limit's value.

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

If yes, please check if the following requirements are fulfilled

  • The Breaking Change or Deprecated label has been added
  • The migration steps are described in the following section

What changes might users need to make in their application due to this PR? (migration steps)

Custom IIDM implementation maintainers should implement:
LoadingLimits.setTemporaryLimitValue(int acceptableDuration, double temporaryLimitValue)

Naledi EL CHEIKH added 9 commits June 7, 2024 14:10
Signed-off-by: Naledi EL CHEIKH <naledi.elcheikh@rte-france.com>
Signed-off-by: Naledi EL CHEIKH <naledi.elcheikh@rte-france.com>
Signed-off-by: Naledi EL CHEIKH <naledi.elcheikh@rte-france.com>
Signed-off-by: Naledi EL CHEIKH <naledi.elcheikh@rte-france.com>
Signed-off-by: Naledi EL CHEIKH <naledi.elcheikh@rte-france.com>
Signed-off-by: Naledi EL CHEIKH <naledi.elcheikh@rte-france.com>
Signed-off-by: Naledi EL CHEIKH <naledi.elcheikh@rte-france.com>
Signed-off-by: Naledi EL CHEIKH <naledi.elcheikh@rte-france.com>
Signed-off-by: Naledi EL CHEIKH <naledi.elcheikh@rte-france.com>
@nao1345678 nao1345678 marked this pull request as ready for review August 1, 2024 12:45
Signed-off-by: Naledi EL CHEIKH <naledi.elcheikh@rte-france.com>
Naledi EL CHEIKH added 3 commits August 5, 2024 16:37
Signed-off-by: Naledi EL CHEIKH <naledi.elcheikh@rte-france.com>
Signed-off-by: Naledi EL CHEIKH <naledi.elcheikh@rte-france.com>
Signed-off-by: Naledi EL CHEIKH <naledi.elcheikh@rte-france.com>
Signed-off-by: Naledi EL CHEIKH <naledi.elcheikh@rte-france.com>
@nao1345678 nao1345678 requested a review from olperr1 August 8, 2024 11:33
Signed-off-by: Naledi EL CHEIKH <naledi.elcheikh@rte-france.com>
Signed-off-by: Naledi EL CHEIKH <naledi.elcheikh@rte-france.com>
Copy link
Member

@colinepiloquet colinepiloquet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

Copy link

@olperr1 olperr1 merged commit 3e22e4f into main Aug 28, 2024
7 checks passed
@olperr1 olperr1 deleted the create-setters-for-temporary-limits branch August 28, 2024 14:13
@olperr1 olperr1 added the Breaking Change API is broken label Aug 28, 2024
geofjamg pushed a commit that referenced this pull request Sep 18, 2024
Create setters for temporary limits (#3113)

Signed-off-by: Naledi EL CHEIKH <naledi.elcheikh@rte-france.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Breaking Change API is broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Operational limit setters
3 participants