-
Notifications
You must be signed in to change notification settings - Fork 8
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
Disable switch without removing variables #455
Merged
Merged
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
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
# Conflicts: # src/main/java/com/powsybl/openloadflow/network/BusState.java
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
# Conflicts: # src/main/java/com/powsybl/openloadflow/sensi/AcSensitivityAnalysis.java
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
geofjamg
changed the title
Disable switch without removing variables
[WIP] Disable switch without removing variables
Feb 22, 2022
geofjamg
changed the title
[WIP] Disable switch without removing variables
Disable switch without removing variables
Feb 22, 2022
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
geofjamg
changed the title
Disable switch without removing variables
[WIP] Disable switch without removing variables
Feb 22, 2022
# Conflicts: # src/main/java/com/powsybl/openloadflow/ac/equations/AcEquationSystemUpdater.java
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
# Conflicts: # src/test/java/com/powsybl/openloadflow/sa/OpenSecurityAnalysisTest.java
geofjamg
changed the title
[WIP] Disable switch without removing variables
Disable switch without removing variables
Mar 1, 2022
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
annetill
reviewed
Mar 8, 2022
@@ -1234,4 +1235,18 @@ void testViolationsWeakenedOrEquivalent() { | |||
|
|||
assertFalse(AbstractSecurityAnalysis.violationWeakenedOrEquivalent(violation1, violation4, violationsParameters)); | |||
} | |||
|
|||
@Test | |||
void testWithNonImpedendantLineConnectedToSlackBus() { |
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.
Impedendant?
annetill
approved these changes
Mar 8, 2022
Signed-off-by: Anne Tilloy <[email protected]>
Kudos, SonarCloud Quality Gate passed! |
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.
Please check if the PR fulfills these requirements (please use
'[x]'
to check the checkboxes, or submit the PR and then click the checkboxes)Does this PR already have an issue describing the problem ? If so, link to this issue using
'#XXX'
and skip the restNo
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
feature
What is the current behavior? (You can also link to an open issue here)
When we disable a switch, we also disable the 2 dummy variables in AC (dummy P and dummy Q).
What is the new behavior (if this is a feature change)?
When we disable a switch, we keep dummy P and Q and set it to zero. As a consequence, the Jacobian dimension is constant, allowing further performance improvements.
Does this PR introduce a breaking change or deprecate an API? If yes, check the following:
Other information:
(if any of the questions/checkboxes don't apply, please delete them entirely)