-
Notifications
You must be signed in to change notification settings - Fork 0
[WIP] Add integration of Reactiv Limits Outerloop #12
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
Open
YoannAnezin
wants to merge
20
commits into
feat/resilient-lf
Choose a base branch
from
feat/direct_integration_of_reactive_limits
base: feat/resilient-lf
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 17 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
336078f
feat(solver): add a first version of the Resilient LF with Reactiv Li…
YoannAnezin 5da5022
feat(solver): Implementation of the Resilient LF with Reactiv Limits …
YoannAnezin 2afc091
feat(solver): Implementation of the Resilient LF with Reactiv Limits …
YoannAnezin cc80abb
feat(solver): First jacobienne implementation & tests
YoannAnezin e7c36ca
feat(solver): Tests with and without jacobienne for the ReactiveLimit…
YoannAnezin 8f6ce92
feat(solver): Corrections
YoannAnezin 5af9074
feat(solver): Corrections
YoannAnezin 548e96c
Update Resilient Knitro Solver
p-arvy 85b1f80
feat(solver): Tests with jacobienne
YoannAnezin c44f806
Change voltage upper limit to 5
YoannAnezin 375945e
feat(solver): Scaling P, Q slack variables and tests with jacobienne
YoannAnezin 3f802f8
feat(solver): Scaling P, Q slack variables and tests with jacobienne
YoannAnezin 5c93524
feat(solver): Balance obj weights and get best feasible solution
YoannAnezin 12f74c1
feat(solver): WIP
YoannAnezin 57ca446
feat(solver): WIP Time computing optimization
YoannAnezin 808b299
feat(solver): WIP Add Logs' writter and pertubation tests
YoannAnezin 5a37193
feat(solver): Correction of checker and considering only Q equation w…
YoannAnezin 04065be
feat(solver): Correction of checker and considering only Q equation w…
YoannAnezin 6483776
feat(solver): Add time spent in solver class
YoannAnezin 1e83186
feat(solver): Correction checker
YoannAnezin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,8 @@ | |
| import com.powsybl.commons.extensions.AbstractExtension; | ||
| import com.powsybl.loadflow.LoadFlowParameters; | ||
|
|
||
| import java.util.logging.Logger; | ||
|
|
||
| /** | ||
| * @author Jeanne Archambault {@literal <jeanne.archambault at artelys.com>} | ||
| * @author Martin Debouté {@literal <martin.deboute at artelys.com>} | ||
|
|
@@ -27,6 +29,15 @@ public class KnitroLoadFlowParameters extends AbstractExtension<LoadFlowParamete | |
| private boolean alwaysUpdateNetwork = KnitroSolverParameters.ALWAYS_UPDATE_NETWORK_DEFAULT_VALUE; | ||
| private boolean checkLoadFlowSolution = KnitroSolverParameters.CHECK_LOAD_FLOW_SOLUTION_DEFAULT_VALUE; | ||
| private KnitroSolverParameters.KnitroSolverType knitroSolverType = KnitroSolverParameters.DEFAULT_KNITRO_SOLVER_TYPE; | ||
| private KnitroWritter knitroWritter; | ||
|
|
||
| public KnitroLoadFlowParameters(KnitroWritter knitroWritter) { | ||
| this.knitroWritter = knitroWritter; | ||
| } | ||
|
|
||
| public KnitroLoadFlowParameters() { | ||
| this.knitroWritter = new KnitroWritter("Logs.txt"); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same, this will be removed before merging. |
||
| } | ||
|
|
||
| public int getGradientComputationMode() { | ||
| return gradientComputationMode; | ||
|
|
@@ -142,9 +153,17 @@ public KnitroLoadFlowParameters setKnitroSolverType(KnitroSolverParameters.Knitr | |
| return this; | ||
| } | ||
|
|
||
| public KnitroWritter getKnitroWritter() { | ||
| return knitroWritter; | ||
| } | ||
|
|
||
| public KnitroLoadFlowParameters setKnitroWritter(KnitroWritter knitroWritter) { | ||
| this.knitroWritter = knitroWritter; | ||
| return this; | ||
| } | ||
|
|
||
| @Override | ||
| public String getName() { | ||
| return "knitro-load-flow-parameters"; | ||
| } | ||
|
|
||
| } | ||
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For testing this is ok. We'll have to change this before merging.