-
Notifications
You must be signed in to change notification settings - Fork 25
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
Adding constraints on injection-witdrawal cumulation with constant RHS [ANT-1885] #2535
Merged
flomnes
merged 28 commits into
develop
from
feature/ANT-1885-Contraintes-sur-des-cumuls-d-injections-et-ou-de-soutirage
Dec 19, 2024
Merged
Adding constraints on injection-witdrawal cumulation with constant RHS [ANT-1885] #2535
flomnes
merged 28 commits into
develop
from
feature/ANT-1885-Contraintes-sur-des-cumuls-d-injections-et-ou-de-soutirage
Dec 19, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
flomnes
changed the title
[Ant-1885 ] adding constraints on injection-witdrawal cumulation
Adding constraints on injection-witdrawal cumulation [ANT-1885]
Dec 16, 2024
flomnes
reviewed
Dec 17, 2024
src/solver/optimisation/constraints/ShortTermStorageCumulation.cpp
Outdated
Show resolved
Hide resolved
...er/optimisation/include/antares/solver/optimisation/constraints/ShortTermStorageCumulation.h
Outdated
Show resolved
Hide resolved
flomnes
reviewed
Dec 17, 2024
Quality Gate passedIssues Measures |
flomnes
changed the title
Adding constraints on injection-witdrawal cumulation [ANT-1885]
Adding constraints on injection-witdrawal cumulation with constant RHS [ANT-1885]
Dec 19, 2024
flomnes
approved these changes
Dec 19, 2024
flomnes
deleted the
feature/ANT-1885-Contraintes-sur-des-cumuls-d-injections-et-ou-de-soutirage
branch
December 19, 2024 13:36
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces new functionality for handling additional constraints in the short-term storage component of the Antares Simulator. The changes include adding new files, modifying existing classes to support the new constraints, and updating the build configuration to include the new files. Below are the most important changes:
New Functionality for Additional Constraints
AdditionalConstraint
structure and related methods to handle validation and storage of constraints. (src/libs/antares/study/include/antares/study/parts/short-term-storage/AdditionalConstraint.h
, src/libs/antares/study/include/antares/study/parts/short-term-storage/AdditionalConstraint.hR1-R53)src/libs/antares/study/parts/short-term-storage/AdditionalConstraint.cpp
, src/libs/antares/study/parts/short-term-storage/AdditionalConstraint.cppR1-R65)Modifications to Existing Classes
STStorageCluster
to include a vector ofAdditionalConstraint
objects and added necessary methods to handle these constraints. (src/libs/antares/study/include/antares/study/parts/short-term-storage/cluster.h
, src/libs/antares/study/include/antares/study/parts/short-term-storage/cluster.hR39-R54)STStorageInput
to load constraints from an INI file and calculate the cumulative constraint count. (src/libs/antares/study/include/antares/study/parts/short-term-storage/container.h
, [1];src/libs/antares/study/parts/short-term-storage/container.cpp
, [2] [3]Build Configuration Updates
CMakeLists.txt
to include new header and source files for additional constraints. (src/libs/antares/study/CMakeLists.txt
, [1];src/solver/optimisation/CMakeLists.txt
, [2]Solver Integration
src/solver/optimisation/constraints/Group1.cpp
, [1] [2] [3] [4]Runtime Information
StudyRuntimeInfos
to include cumulative constraint counts for short-term storage. (src/libs/antares/study/runtime/runtime.h
, [1];src/libs/antares/study/runtime/runtime.cpp
, [2] [3]These changes collectively add support for additional constraints in the short-term storage component, ensuring they are loaded, validated, and integrated into the simulation and optimization processes.