Skip to content

Commit

Permalink
create separated test case
Browse files Browse the repository at this point in the history
Signed-off-by: vmouradian <valentin.mouradian@artelys.com>
  • Loading branch information
vmouradian committed Dec 2, 2024
1 parent d111f7e commit 1eb68c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ void nonImpedantBranchAndPhaseShiftingTest() {
network.getLine("L2").setX(0).setR(0);
network.getTwoWindingsTransformer("PS1").getPhaseTapChanger().getStep(1).setAlpha(2);
loadFlowRunner.run(network, parameters);
assertEquals(83.4683, network.getLine("L2").getTerminal1().getP(), 0.01); // Temporary comment : P without fix = 133.87
assertEquals(16.5316, network.getLine("L1").getTerminal1().getP(), 0.01);
assertEquals(83.4683, network.getLine("L2").getTerminal1().getP(), 0.01); // Temporary comment : P without fix = 133.87
assertEquals(-83.4683, network.getTwoWindingsTransformer("PS1").getTerminal2().getP(), 0.01);
}

Expand Down

0 comments on commit 1eb68c2

Please sign in to comment.