Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Mitri <[email protected]>
  • Loading branch information
pet-mit committed Dec 6, 2024
1 parent 5486287 commit f68e74e
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,9 @@ void smallRaoWithout2P() throws IOException {
@Test
void smallRaoWith2POptimalPRAsAlreadyApplied() throws IOException {
// Same RAO as before but activating 2P => results should be better

network = Network.read("small-network-2P.uct", getClass().getResourceAsStream("/network/small-network-2P.uct"));
crac = Crac.read("small-crac-2P.json", getClass().getResourceAsStream("/crac/small-crac-2P.json"), network);
Set.of(crac.getNetworkAction("close_de3_de4"), crac.getNetworkAction("open_fr1_fr2")).forEach(na -> na.apply(network));
network.write("XIIDM", new Properties(), "/home/mitripet", "test_net.xiidm");

RaoInput raoInput = RaoInput.build(network, crac).build();
RaoParameters raoParameters = JsonRaoParameters.read(getClass().getResourceAsStream("/parameters/RaoParameters_2P_v2.json"));
Expand Down

0 comments on commit f68e74e

Please sign in to comment.