From ea3acbe8a600cd15a19991872f21624985136f6b Mon Sep 17 00:00:00 2001
From: Florian Dupuy <florian.dupuy@rte-france.com>
Date: Tue, 23 Jul 2024 17:35:23 +0200
Subject: [PATCH] Further macos tieline unit tests fixes V1_3

Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
---
 test/resources/V1_3/tieline.xml.macos           | 4 ++--
 test/resources/V1_3/tielineFictitious.xml.macos | 4 ++--
 test/resources/V1_3/tl-loading-limits.xml.macos | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/test/resources/V1_3/tieline.xml.macos b/test/resources/V1_3/tieline.xml.macos
index a51574e2..627739be 100644
--- a/test/resources/V1_3/tieline.xml.macos
+++ b/test/resources/V1_3/tieline.xml.macos
@@ -37,6 +37,6 @@
             </iidm:ratioTapChanger>
         </iidm:twoWindingsTransformer>
     </iidm:substation>
-    <iidm:tieLine id="NHV1_NHV2_1" ucteXnodeCode="X1" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.44406127929688" q1="98.740272521972656" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_1.1" r_1="1.5" x_1="16.5" g1_1="0" b1_1="9.6500000000000001e-05" g2_1="0" b2_1="9.6500000000000001e-05" xnodeP_1="-301.47434650169703" xnodeQ_1="-118.85058330380788" id_2="NHV1_NHV2_1.2" r_2="1.5" x_2="16.5" g1_2="0" b1_2="9.6500000000000001e-05" g2_2="0" b2_2="9.6500000000000001e-05" xnodeP_2="301.47231962518373" xnodeQ_2="118.76748245598193"/>
-    <iidm:tieLine id="NHV1_NHV2_2" ucteXnodeCode="X2" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.44406127929688" q1="98.740272521972656" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_2.1" r_1="1.5" x_1="16.5" g1_1="0" b1_1="9.6500000000000001e-05" g2_1="0" b2_1="9.6500000000000001e-05" xnodeP_1="-301.47434650169703" xnodeQ_1="-118.85058330380788" id_2="NHV1_NHV2_2.2" r_2="1.5" x_2="16.5" g1_2="0" b1_2="9.6500000000000001e-05" g2_2="0" b2_2="9.6500000000000001e-05" xnodeP_2="301.47231962518373" xnodeQ_2="118.76748245598193"/>
+    <iidm:tieLine id="NHV1_NHV2_1" ucteXnodeCode="X1" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.44406127929688" q1="98.740272521972656" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_1.1" r_1="1.5" x_1="16.5" g1_1="0" b1_1="9.6500000000000001e-05" g2_1="0" b2_1="9.6500000000000001e-05" xnodeP_1="-301.47434650169697" xnodeQ_1="-118.85058330380789" id_2="NHV1_NHV2_1.2" r_2="1.5" x_2="16.5" g1_2="0" b1_2="9.6500000000000001e-05" g2_2="0" b2_2="9.6500000000000001e-05" xnodeP_2="301.47231962518362" xnodeQ_2="118.76748245598193"/>
+    <iidm:tieLine id="NHV1_NHV2_2" ucteXnodeCode="X2" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.44406127929688" q1="98.740272521972656" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_2.1" r_1="1.5" x_1="16.5" g1_1="0" b1_1="9.6500000000000001e-05" g2_1="0" b2_1="9.6500000000000001e-05" xnodeP_1="-301.47434650169697" xnodeQ_1="-118.85058330380789" id_2="NHV1_NHV2_2.2" r_2="1.5" x_2="16.5" g1_2="0" b1_2="9.6500000000000001e-05" g2_2="0" b2_2="9.6500000000000001e-05" xnodeP_2="301.47231962518362" xnodeQ_2="118.76748245598193"/>
 </iidm:network>
diff --git a/test/resources/V1_3/tielineFictitious.xml.macos b/test/resources/V1_3/tielineFictitious.xml.macos
index a51574e2..627739be 100644
--- a/test/resources/V1_3/tielineFictitious.xml.macos
+++ b/test/resources/V1_3/tielineFictitious.xml.macos
@@ -37,6 +37,6 @@
             </iidm:ratioTapChanger>
         </iidm:twoWindingsTransformer>
     </iidm:substation>
-    <iidm:tieLine id="NHV1_NHV2_1" ucteXnodeCode="X1" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.44406127929688" q1="98.740272521972656" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_1.1" r_1="1.5" x_1="16.5" g1_1="0" b1_1="9.6500000000000001e-05" g2_1="0" b2_1="9.6500000000000001e-05" xnodeP_1="-301.47434650169703" xnodeQ_1="-118.85058330380788" id_2="NHV1_NHV2_1.2" r_2="1.5" x_2="16.5" g1_2="0" b1_2="9.6500000000000001e-05" g2_2="0" b2_2="9.6500000000000001e-05" xnodeP_2="301.47231962518373" xnodeQ_2="118.76748245598193"/>
-    <iidm:tieLine id="NHV1_NHV2_2" ucteXnodeCode="X2" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.44406127929688" q1="98.740272521972656" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_2.1" r_1="1.5" x_1="16.5" g1_1="0" b1_1="9.6500000000000001e-05" g2_1="0" b2_1="9.6500000000000001e-05" xnodeP_1="-301.47434650169703" xnodeQ_1="-118.85058330380788" id_2="NHV1_NHV2_2.2" r_2="1.5" x_2="16.5" g1_2="0" b1_2="9.6500000000000001e-05" g2_2="0" b2_2="9.6500000000000001e-05" xnodeP_2="301.47231962518373" xnodeQ_2="118.76748245598193"/>
+    <iidm:tieLine id="NHV1_NHV2_1" ucteXnodeCode="X1" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.44406127929688" q1="98.740272521972656" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_1.1" r_1="1.5" x_1="16.5" g1_1="0" b1_1="9.6500000000000001e-05" g2_1="0" b2_1="9.6500000000000001e-05" xnodeP_1="-301.47434650169697" xnodeQ_1="-118.85058330380789" id_2="NHV1_NHV2_1.2" r_2="1.5" x_2="16.5" g1_2="0" b1_2="9.6500000000000001e-05" g2_2="0" b2_2="9.6500000000000001e-05" xnodeP_2="301.47231962518362" xnodeQ_2="118.76748245598193"/>
+    <iidm:tieLine id="NHV1_NHV2_2" ucteXnodeCode="X2" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.44406127929688" q1="98.740272521972656" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_2.1" r_1="1.5" x_1="16.5" g1_1="0" b1_1="9.6500000000000001e-05" g2_1="0" b2_1="9.6500000000000001e-05" xnodeP_1="-301.47434650169697" xnodeQ_1="-118.85058330380789" id_2="NHV1_NHV2_2.2" r_2="1.5" x_2="16.5" g1_2="0" b1_2="9.6500000000000001e-05" g2_2="0" b2_2="9.6500000000000001e-05" xnodeP_2="301.47231962518362" xnodeQ_2="118.76748245598193"/>
 </iidm:network>
diff --git a/test/resources/V1_3/tl-loading-limits.xml.macos b/test/resources/V1_3/tl-loading-limits.xml.macos
index 1a1bb9f1..166e6205 100644
--- a/test/resources/V1_3/tl-loading-limits.xml.macos
+++ b/test/resources/V1_3/tl-loading-limits.xml.macos
@@ -37,7 +37,7 @@
             </iidm:ratioTapChanger>
         </iidm:twoWindingsTransformer>
     </iidm:substation>
-    <iidm:tieLine id="NHV1_NHV2_1" ucteXnodeCode="X1" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.44406127929688" q1="98.740272521972656" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_1.1" r_1="1.5" x_1="16.5" g1_1="0" b1_1="9.6500000000000001e-05" g2_1="0" b2_1="9.6500000000000001e-05" xnodeP_1="-301.47434650169703" xnodeQ_1="-118.85058330380788" id_2="NHV1_NHV2_1.2" r_2="1.5" x_2="16.5" g1_2="0" b1_2="9.6500000000000001e-05" g2_2="0" b2_2="9.6500000000000001e-05" xnodeP_2="301.47231962518373" xnodeQ_2="118.76748245598193">
+    <iidm:tieLine id="NHV1_NHV2_1" ucteXnodeCode="X1" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.44406127929688" q1="98.740272521972656" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_1.1" r_1="1.5" x_1="16.5" g1_1="0" b1_1="9.6500000000000001e-05" g2_1="0" b2_1="9.6500000000000001e-05" xnodeP_1="-301.47434650169697" xnodeQ_1="-118.85058330380789" id_2="NHV1_NHV2_1.2" r_2="1.5" x_2="16.5" g1_2="0" b1_2="9.6500000000000001e-05" g2_2="0" b2_2="9.6500000000000001e-05" xnodeP_2="301.47231962518362" xnodeQ_2="118.76748245598193">
         <iidm:currentLimits1 permanentLimit="350">
             <iidm:temporaryLimit name="20'" acceptableDuration="1200" value="370"/>
             <iidm:temporaryLimit name="10'" acceptableDuration="600" value="380"/>
@@ -47,5 +47,5 @@
             <iidm:temporaryLimit name="10'" acceptableDuration="600" value="380"/>
         </iidm:currentLimits2>
     </iidm:tieLine>
-    <iidm:tieLine id="NHV1_NHV2_2" ucteXnodeCode="X2" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.44406127929688" q1="98.740272521972656" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_2.1" r_1="1.5" x_1="16.5" g1_1="0" b1_1="9.6500000000000001e-05" g2_1="0" b2_1="9.6500000000000001e-05" xnodeP_1="-301.47434650169703" xnodeQ_1="-118.85058330380788" id_2="NHV1_NHV2_2.2" r_2="1.5" x_2="16.5" g1_2="0" b1_2="9.6500000000000001e-05" g2_2="0" b2_2="9.6500000000000001e-05" xnodeP_2="301.47231962518373" xnodeQ_2="118.76748245598193"/>
+    <iidm:tieLine id="NHV1_NHV2_2" ucteXnodeCode="X2" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.44406127929688" q1="98.740272521972656" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_2.1" r_1="1.5" x_1="16.5" g1_1="0" b1_1="9.6500000000000001e-05" g2_1="0" b2_1="9.6500000000000001e-05" xnodeP_1="-301.47434650169697" xnodeQ_1="-118.85058330380789" id_2="NHV1_NHV2_2.2" r_2="1.5" x_2="16.5" g1_2="0" b1_2="9.6500000000000001e-05" g2_2="0" b2_2="9.6500000000000001e-05" xnodeP_2="301.47231962518362" xnodeQ_2="118.76748245598193"/>
 </iidm:network>