-
Notifications
You must be signed in to change notification settings - Fork 43
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
3204 fix the handle of not applicable networkmodification when throwexception boolean is present #3304
base: main
Are you sure you want to change the base?
Conversation
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.
@cphili Some units tests are failing and should be fixed.
We will fix the DCO check later. Please just don't merge main
in this branch for now.
iidm/iidm-modification/src/main/java/com/powsybl/iidm/modification/AbstractDisconnection.java
Outdated
Show resolved
Hide resolved
iidm/iidm-modification/src/main/java/com/powsybl/iidm/modification/util/ModificationLogs.java
Show resolved
Hide resolved
iidm/iidm-modification/src/test/java/com/powsybl/iidm/modification/SwitchModificationsTest.java
Outdated
Show resolved
Hide resolved
...-modification/src/main/java/com/powsybl/iidm/modification/PercentChangeLoadModification.java
Outdated
Show resolved
Hide resolved
...fication/src/main/java/com/powsybl/iidm/modification/LoadFlowBasedPhaseShifterOptimizer.java
Outdated
Show resolved
Hide resolved
iidm/iidm-modification/src/main/java/com/powsybl/iidm/modification/PhaseShifterOptimizer.java
Outdated
Show resolved
Hide resolved
...rc/main/java/com/powsybl/iidm/modification/topology/ReplaceTeePointByVoltageLevelOnLine.java
Outdated
Show resolved
Hide resolved
1e0f8f5
to
c5f6b5b
Compare
8526da0
to
942758c
Compare
6296a23
to
8195040
Compare
action-api/src/test/java/com/powsybl/action/ApplyActionToNetworkTest.java
Outdated
Show resolved
Hide resolved
...rc/main/java/com/powsybl/iidm/modification/topology/AbstractCreateConnectableFeederBays.java
Outdated
Show resolved
Hide resolved
...rc/main/java/com/powsybl/iidm/modification/topology/AbstractCreateConnectableFeederBays.java
Outdated
Show resolved
Hide resolved
...src/main/java/com/powsybl/iidm/modification/topology/AbstractLineConnectionModification.java
Outdated
Show resolved
Hide resolved
...-modification/src/main/java/com/powsybl/iidm/modification/topology/CreateCouplingDevice.java
Outdated
Show resolved
Hide resolved
...dm-modification/src/test/java/com/powsybl/iidm/modification/NetworkModificationListTest.java
Outdated
Show resolved
Hide resolved
...tion/src/test/java/com/powsybl/iidm/modification/topology/ConnectVoltageLevelOnLineTest.java
Outdated
Show resolved
Hide resolved
...ication/src/test/java/com/powsybl/iidm/modification/topology/CreateBranchFeederBaysTest.java
Outdated
Show resolved
Hide resolved
...ification/src/test/java/com/powsybl/iidm/modification/topology/CreateCouplingDeviceTest.java
Outdated
Show resolved
Hide resolved
...m-modification/src/test/java/com/powsybl/iidm/modification/topology/CreateFeederBayTest.java
Outdated
Show resolved
Hide resolved
dcb25ea
to
2508851
Compare
Signed-off-by: Clement Philipot <[email protected]>
Signed-off-by: Clement Philipot <[email protected]>
Signed-off-by: Clement Philipot <[email protected]>
Signed-off-by: Clement Philipot <[email protected]>
Signed-off-by: Clement Philipot <[email protected]>
Signed-off-by: Clement Philipot <[email protected]>
2508851
to
e4e90df
Compare
...ication/src/test/java/com/powsybl/iidm/modification/VscConverterStationModificationTest.java
Outdated
Show resolved
Hide resolved
...on/src/test/java/com/powsybl/iidm/modification/TestThreeWindingsTransformerModification.java
Outdated
Show resolved
Hide resolved
...ion/src/test/java/com/powsybl/iidm/modification/topology/CreateVoltageLevelTopologyTest.java
Outdated
Show resolved
Hide resolved
...dm-modification/src/test/java/com/powsybl/iidm/modification/tripping/BranchTrippingTest.java
Show resolved
Hide resolved
Can you also take a look at the sonar issues? Some can be easily fixed. |
Signed-off-by: Clement Philipot <[email protected]>
Signed-off-by: Clement Philipot <[email protected]>
|
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
Fixes #3204
What kind of change does this PR introduce?
Call logOrThrow method in NetworkModification::apply implementations
Some NetworkModifications threw an Exception in all cases, now they only throw when throwException is true :
AbstractTripping
CloseSwitch
ConnectGenerator
OpenSwitch
PhaseShifterOptimizeTap
PhaseShifterSetAsFixedTap
PhaseShifterShiftTap
ShuntCompensatorModification
Does this PR introduce a new Powsybl Action implying to be implemented in simulators or pypowsybl?
What is the current behavior?
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change or deprecate an API?
If yes, please check if the following requirements are fulfilled
What changes might users need to make in their application due to this PR? (migration steps)
Not really a breaking change, but the behavior of some
NetworkModification
s was changed by this PR. They threw an Exception when a problem was encountered, even whenthrowException
was set tofalse
when calling theapply(...)
method. They are:<to be completed>
Other information: