Skip to content

Commit

Permalink
Fix DanglingLine boundary flows computation (#3169)
Browse files Browse the repository at this point in the history
* don't split shunt admittance in dangling lines
* fix broken test
* fix sonar "Only one method invocation is expected when testing runtime exceptions"
* Simplifying

Signed-off-by: Caio Luke <[email protected]>
Co-authored-by: Damien Jeandemange <[email protected]>
  • Loading branch information
caioluke and jeandemanged authored Oct 8, 2024
1 parent f1fadb9 commit 473d382
Show file tree
Hide file tree
Showing 21 changed files with 101 additions and 109 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#Branches (sim1/InitialState)
#"variant" "num" "bus1" "bus2" "3wt num" "sub.1" "sub.2" "r (pu)" "x (pu)" "g1 (pu)" "g2 (pu)" "b1 (pu)" "b2 (pu)" "cst ratio (pu)" "ratio tc" "phase tc" "p1 (MW)" "p2 (MW)" "q1 (MVar)" "q2 (MVar)" "patl1 (A)" "patl2 (A)" "merged" "fault" "curative" "id" "description"
1 2 2 5 -1 2 5 0.00103878 0.0138504 0.000722000 0.000722000 0.139346 0.139346 1.00000 -1 -1 302.444 -301.316 98.7403 -116.525 100.000 -99999.0 false 0 0 "NHV1_XNODE1" "NHV1_XNODE1"
1 3 5 3 -1 5 3 0.00103878 0.00900277 0.000722000 0.000722000 0.139346 0.139346 1.00000 -1 -1 301.782 -300.434 116.442 -137.188 -99999.0 100.000 false 0 0 "XNODE1_NHV2" "XNODE1_NHV2"
1 5 2 6 -1 2 6 0.00103878 0.0138504 0.000722000 0.000722000 0.139346 0.139346 1.00000 -1 -1 302.444 -301.316 98.7403 -116.525 100.000 -99999.0 false 0 0 "NHV1_XNODE2" "NHV1_XNODE2"
1 6 6 3 -1 6 3 0.00103878 0.00900277 0.000722000 0.000722000 0.139346 0.139346 1.00000 -1 -1 301.782 -300.434 116.442 -137.188 -99999.0 100.000 false 0 0 "XNODE2_NHV2" "XNODE2_NHV2"
1 2 2 5 -1 2 5 0.00103878 0.0138504 0.000722000 0.000722000 0.139346 0.139346 1.00000 -1 -1 302.444 -301.278 98.7403 -116.563 100.000 -99999.0 false 0 0 "NHV1_XNODE1" "NHV1_XNODE1"
1 3 5 3 -1 5 3 0.00103878 0.00900277 0.000722000 0.000722000 0.139346 0.139346 1.00000 -1 -1 301.745 -300.434 116.567 -137.188 -99999.0 100.000 false 0 0 "XNODE1_NHV2" "XNODE1_NHV2"
1 5 2 6 -1 2 6 0.00103878 0.0138504 0.000722000 0.000722000 0.139346 0.139346 1.00000 -1 -1 302.444 -301.278 98.7403 -116.563 100.000 -99999.0 false 0 0 "NHV1_XNODE2" "NHV1_XNODE2"
1 6 6 3 -1 6 3 0.00103878 0.00900277 0.000722000 0.000722000 0.139346 0.139346 1.00000 -1 -1 301.745 -300.434 116.567 -137.188 -99999.0 100.000 false 0 0 "XNODE2_NHV2" "XNODE2_NHV2"
1 7 1 2 -1 1 2 0.000184615 0.00769009 0.00000 0.00000 0.00000 0.00000 1.05263 -1 -1 605.558 -604.891 225.283 -197.480 -99999.0 -99999.0 false 0 0 "NGEN_NHV1" "NGEN_NHV1"
1 8 3 4 -1 3 4 0.000210000 0.0179988 0.00000 0.00000 0.00000 0.00000 1.00067 1 -1 600.868 -600.000 274.377 -200.000 -99999.0 -99999.0 false 0 0 "NHV2_NLOAD" "NHV2_NLOAD"
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
* @author Miora Ralambotiana {@literal <miora.ralambotiana at rte-france.com>}
*/
public class DanglingLineBoundaryImpl implements Boundary {
// for SV use: side represents the network side, that is always
// Side.ONE for a dangling line.
// Notes about SV utility class usage here:
// - side represents the network side, which is always Side.ONE for a dangling line.
// - DanglingLine model has shunt admittance on network side only, hence splitShuntAdmittance argument in SV methods must be set to false.

private final DanglingLine parent;

Expand All @@ -29,7 +30,7 @@ public DanglingLineBoundaryImpl(DanglingLine parent) {
@Override
public double getV() {
if (useHypothesis(parent)) {
DanglingLineData danglingLineData = new DanglingLineData(parent, true);
DanglingLineData danglingLineData = new DanglingLineData(parent);
return danglingLineData.getBoundaryBusU();
}

Expand All @@ -38,22 +39,22 @@ public double getV() {
if (zeroImpedance(parent)) {
return getV(b);
} else {
return new SV(t.getP(), t.getQ(), getV(b), getAngle(b), TwoSides.ONE).otherSideU(parent, true);
return new SV(t.getP(), t.getQ(), getV(b), getAngle(b), TwoSides.ONE).otherSideU(parent, false);
}
}

@Override
public double getAngle() {
if (useHypothesis(parent)) {
DanglingLineData danglingLineData = new DanglingLineData(parent, true);
DanglingLineData danglingLineData = new DanglingLineData(parent);
return Math.toDegrees(danglingLineData.getBoundaryBusTheta());
}
Terminal t = parent.getTerminal();
Bus b = t.getBusView().getBus();
if (zeroImpedance(parent)) {
return getAngle(b);
} else {
return new SV(t.getP(), t.getQ(), getV(b), getAngle(b), TwoSides.ONE).otherSideA(parent, true);
return new SV(t.getP(), t.getQ(), getV(b), getAngle(b), TwoSides.ONE).otherSideA(parent, false);
}
}

Expand All @@ -67,7 +68,7 @@ public double getP() {
if (zeroImpedance(parent)) {
return -t.getP();
} else {
return new SV(t.getP(), t.getQ(), getV(b), getAngle(b), TwoSides.ONE).otherSideP(parent, true);
return new SV(t.getP(), t.getQ(), getV(b), getAngle(b), TwoSides.ONE).otherSideP(parent, false);
}
}

Expand All @@ -81,7 +82,7 @@ public double getQ() {
if (zeroImpedance(parent)) {
return -t.getQ();
} else {
return new SV(t.getP(), t.getQ(), getV(b), getAngle(b), TwoSides.ONE).otherSideQ(parent, true);
return new SV(t.getP(), t.getQ(), getV(b), getAngle(b), TwoSides.ONE).otherSideQ(parent, false);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ public class DanglingLineData {
private final double boundaryBusTheta;

public DanglingLineData(DanglingLine danglingLine) {
this(danglingLine, true);
}

public DanglingLineData(DanglingLine danglingLine, boolean splitShuntAdmittance) {
this.danglingLine = Objects.requireNonNull(danglingLine);

double u1 = getV(danglingLine);
Expand All @@ -47,32 +43,26 @@ public DanglingLineData(DanglingLine danglingLine, boolean splitShuntAdmittance)
return;
}

double g1 = splitShuntAdmittance ? danglingLine.getG() * 0.5 : danglingLine.getG();
double b1 = splitShuntAdmittance ? danglingLine.getB() * 0.5 : danglingLine.getB();
double g2 = splitShuntAdmittance ? danglingLine.getG() * 0.5 : 0.0;
double b2 = splitShuntAdmittance ? danglingLine.getB() * 0.5 : 0.0;

Complex v1 = ComplexUtils.polar2Complex(u1, theta1);

// DanglingLine model has shunt admittance on network side only, so it is not split between both sides.
Complex vBoundaryBus = new Complex(Double.NaN, Double.NaN);
if (danglingLine.getP0() == 0.0 && danglingLine.getQ0() == 0.0) {
LinkData.BranchAdmittanceMatrix adm = LinkData.calculateBranchAdmittance(danglingLine.getR(), danglingLine.getX(), 1.0, 0.0, 1.0, 0.0, new Complex(g1, b1), new Complex(g2, b2));
LinkData.BranchAdmittanceMatrix adm = LinkData.calculateBranchAdmittance(
danglingLine.getR(), danglingLine.getX(), 1.0, 0.0, 1.0, 0.0, new Complex(danglingLine.getG(), danglingLine.getB()), new Complex(0, 0));
vBoundaryBus = adm.y21().multiply(v1).negate().divide(adm.y22());
} else {

// Two buses Loadflow
Complex sBoundary = new Complex(-danglingLine.getP0(), -danglingLine.getQ0());
Complex ytr = new Complex(danglingLine.getR(), danglingLine.getX()).reciprocal();
Complex ysh2 = new Complex(g2, b2);
Complex zt = ytr.add(ysh2).reciprocal();
Complex v0 = ytr.multiply(v1).divide(ytr.add(ysh2));
double v02 = v0.abs() * v0.abs();
Complex zt = new Complex(danglingLine.getR(), danglingLine.getX());
double v12 = v1.abs() * v1.abs();

Complex sigma = zt.multiply(sBoundary.conjugate()).multiply(1.0 / v02);
Complex sigma = zt.multiply(sBoundary.conjugate()).multiply(1.0 / v12);
double d = 0.25 + sigma.getReal() - sigma.getImaginary() * sigma.getImaginary();
// d < 0 Collapsed network
if (d >= 0) {
vBoundaryBus = new Complex(0.5 + Math.sqrt(d), sigma.getImaginary()).multiply(v0);
vBoundaryBus = new Complex(0.5 + Math.sqrt(d), sigma.getImaginary()).multiply(v1);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void test() {
DanglingLine danglingLine = new DanglingLineTestData().getDanglingLine();
DanglingLineData dlData = new DanglingLineData(danglingLine);

boolean ok = dlCompareBoundaryBusVoltage(dlData, 406.63382758266334, -8.573434828294932);
boolean ok = dlCompareBoundaryBusVoltage(dlData, 406.63378691, -8.57343339);
assertTrue(ok);
}

Expand All @@ -39,7 +39,7 @@ void testP0Q0zero() {
DanglingLine danglingLine = dlTestData.getDanglingLine();
DanglingLineData dlData = new DanglingLineData(danglingLine);

boolean ok = dlCompareBoundaryBusVoltage(dlData, 406.6200406620039, -8.60000143239463);
boolean ok = dlCompareBoundaryBusVoltage(dlData, 406.62, -8.60);
assertTrue(ok);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,10 @@ void testWithGeneration() {
danglingLine.getTerminal().setQ(-7.413);
danglingLine.getTerminal().getBusView().getBus().setAngle(0.0);
danglingLine.getTerminal().getBusView().getBus().setV(100.0);
assertEquals(389.999, danglingLine.getBoundary().getP(), tol);
assertEquals(16.250, danglingLine.getBoundary().getQ(), tol);
assertEquals(130.037, danglingLine.getBoundary().getV(), tol);
assertEquals(0.995, danglingLine.getBoundary().getAngle(), tol);
assertEquals(389.953, danglingLine.getBoundary().getP(), tol);
assertEquals(16.314, danglingLine.getBoundary().getQ(), tol);
assertEquals(130.087, danglingLine.getBoundary().getV(), tol);
assertEquals(0.999, danglingLine.getBoundary().getAngle(), tol);
}

@Test
Expand Down
4 changes: 2 additions & 2 deletions iidm/iidm-serde/src/test/resources/V1_0/tieline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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.4440612792969" q1="98.74027252197266" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_1.1" r_1="1.5" x_1="16.5" g1_1="0.0" b1_1="9.65E-5" g2_1="0.0" b2_1="9.65E-5" xnodeP_1="-301.47434650169697" xnodeQ_1="-118.8505833038079" id_2="NHV1_NHV2_1.2" r_2="1.5" x_2="16.5" g1_2="0.0" b1_2="9.65E-5" g2_2="0.0" b2_2="9.65E-5" xnodeP_2="301.472319625184" xnodeQ_2="118.76748245598334"/>
<iidm:tieLine id="NHV1_NHV2_2" ucteXnodeCode="X2" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.4440612792969" q1="98.74027252197266" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_2.1" r_1="1.5" x_1="16.5" g1_1="0.0" b1_1="9.65E-5" g2_1="0.0" b2_1="9.65E-5" xnodeP_1="-301.47434650169697" xnodeQ_1="-118.8505833038079" id_2="NHV1_NHV2_2.2" r_2="1.5" x_2="16.5" g1_2="0.0" b1_2="9.65E-5" g2_2="0.0" b2_2="9.65E-5" xnodeP_2="301.472319625184" xnodeQ_2="118.76748245598334"/>
<iidm:tieLine id="NHV1_NHV2_1" ucteXnodeCode="X1" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.4440612792969" q1="98.74027252197266" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_1.1" r_1="1.5" x_1="16.5" g1_1="0.0" b1_1="9.65E-5" g2_1="0.0" b2_1="9.65E-5" xnodeP_1="-301.43898434342725" xnodeQ_1="-118.89616773372641" id_2="NHV1_NHV2_1.2" r_2="1.5" x_2="16.5" g1_2="0.0" b1_2="9.65E-5" g2_2="0.0" b2_2="9.65E-5" xnodeP_2="301.43897577958876" xnodeQ_2="118.89616087695104"/>
<iidm:tieLine id="NHV1_NHV2_2" ucteXnodeCode="X2" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.4440612792969" q1="98.74027252197266" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_2.1" r_1="1.5" x_1="16.5" g1_1="0.0" b1_1="9.65E-5" g2_1="0.0" b2_1="9.65E-5" xnodeP_1="-301.43898434342725" xnodeQ_1="-118.89616773372641" id_2="NHV1_NHV2_2.2" r_2="1.5" x_2="16.5" g1_2="0.0" b1_2="9.65E-5" g2_2="0.0" b2_2="9.65E-5" xnodeP_2="301.43897577958876" xnodeQ_2="118.89616087695104"/>
</iidm:network>
4 changes: 2 additions & 2 deletions iidm/iidm-serde/src/test/resources/V1_0/tl-loading-limits.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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.4440612792969" q1="98.74027252197266" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_1.1" r_1="1.5" x_1="16.5" g1_1="0.0" b1_1="9.65E-5" g2_1="0.0" b2_1="9.65E-5" xnodeP_1="-301.47434650169697" xnodeQ_1="-118.8505833038079" id_2="NHV1_NHV2_1.2" r_2="1.5" x_2="16.5" g1_2="0.0" b1_2="9.65E-5" g2_2="0.0" b2_2="9.65E-5" xnodeP_2="301.472319625184" xnodeQ_2="118.76748245598334">
<iidm:tieLine id="NHV1_NHV2_1" ucteXnodeCode="X1" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.4440612792969" q1="98.74027252197266" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_1.1" r_1="1.5" x_1="16.5" g1_1="0.0" b1_1="9.65E-5" g2_1="0.0" b2_1="9.65E-5" xnodeP_1="-301.43898434342725" xnodeQ_1="-118.89616773372641" id_2="NHV1_NHV2_1.2" r_2="1.5" x_2="16.5" g1_2="0.0" b1_2="9.65E-5" g2_2="0.0" b2_2="9.65E-5" xnodeP_2="301.43897577958876" xnodeQ_2="118.89616087695104">
<iidm:currentLimits1 permanentLimit="350.0">
<iidm:temporaryLimit name="20'" acceptableDuration="1200" value="370.0"/>
<iidm:temporaryLimit name="10'" acceptableDuration="600" value="380.0"/>
Expand All @@ -47,5 +47,5 @@
<iidm:temporaryLimit name="10'" acceptableDuration="600" value="380.0"/>
</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.4440612792969" q1="98.74027252197266" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_2.1" r_1="1.5" x_1="16.5" g1_1="0.0" b1_1="9.65E-5" g2_1="0.0" b2_1="9.65E-5" xnodeP_1="-301.47434650169697" xnodeQ_1="-118.8505833038079" id_2="NHV1_NHV2_2.2" r_2="1.5" x_2="16.5" g1_2="0.0" b1_2="9.65E-5" g2_2="0.0" b2_2="9.65E-5" xnodeP_2="301.472319625184" xnodeQ_2="118.76748245598334"/>
<iidm:tieLine id="NHV1_NHV2_2" ucteXnodeCode="X2" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.4440612792969" q1="98.74027252197266" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_2.1" r_1="1.5" x_1="16.5" g1_1="0.0" b1_1="9.65E-5" g2_1="0.0" b2_1="9.65E-5" xnodeP_1="-301.43898434342725" xnodeQ_1="-118.89616773372641" id_2="NHV1_NHV2_2.2" r_2="1.5" x_2="16.5" g1_2="0.0" b1_2="9.65E-5" g2_2="0.0" b2_2="9.65E-5" xnodeP_2="301.43897577958876" xnodeQ_2="118.89616087695104"/>
</iidm:network>
4 changes: 2 additions & 2 deletions iidm/iidm-serde/src/test/resources/V1_1/tieline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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.4440612792969" q1="98.74027252197266" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_1.1" r_1="1.5" x_1="16.5" g1_1="0.0" b1_1="9.65E-5" g2_1="0.0" b2_1="9.65E-5" xnodeP_1="-301.47434650169697" xnodeQ_1="-118.8505833038079" id_2="NHV1_NHV2_1.2" r_2="1.5" x_2="16.5" g1_2="0.0" b1_2="9.65E-5" g2_2="0.0" b2_2="9.65E-5" xnodeP_2="301.472319625184" xnodeQ_2="118.76748245598334"/>
<iidm:tieLine id="NHV1_NHV2_2" ucteXnodeCode="X2" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.4440612792969" q1="98.74027252197266" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_2.1" r_1="1.5" x_1="16.5" g1_1="0.0" b1_1="9.65E-5" g2_1="0.0" b2_1="9.65E-5" xnodeP_1="-301.47434650169697" xnodeQ_1="-118.8505833038079" id_2="NHV1_NHV2_2.2" r_2="1.5" x_2="16.5" g1_2="0.0" b1_2="9.65E-5" g2_2="0.0" b2_2="9.65E-5" xnodeP_2="301.472319625184" xnodeQ_2="118.76748245598334"/>
<iidm:tieLine id="NHV1_NHV2_1" ucteXnodeCode="X1" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.4440612792969" q1="98.74027252197266" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_1.1" r_1="1.5" x_1="16.5" g1_1="0.0" b1_1="9.65E-5" g2_1="0.0" b2_1="9.65E-5" xnodeP_1="-301.43898434342725" xnodeQ_1="-118.89616773372641" id_2="NHV1_NHV2_1.2" r_2="1.5" x_2="16.5" g1_2="0.0" b1_2="9.65E-5" g2_2="0.0" b2_2="9.65E-5" xnodeP_2="301.43897577958876" xnodeQ_2="118.89616087695104"/>
<iidm:tieLine id="NHV1_NHV2_2" ucteXnodeCode="X2" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.4440612792969" q1="98.74027252197266" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_2.1" r_1="1.5" x_1="16.5" g1_1="0.0" b1_1="9.65E-5" g2_1="0.0" b2_1="9.65E-5" xnodeP_1="-301.43898434342725" xnodeQ_1="-118.89616773372641" id_2="NHV1_NHV2_2.2" r_2="1.5" x_2="16.5" g1_2="0.0" b1_2="9.65E-5" g2_2="0.0" b2_2="9.65E-5" xnodeP_2="301.43897577958876" xnodeQ_2="118.89616087695104"/>
</iidm:network>
4 changes: 2 additions & 2 deletions iidm/iidm-serde/src/test/resources/V1_1/tl-loading-limits.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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.4440612792969" q1="98.74027252197266" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_1.1" r_1="1.5" x_1="16.5" g1_1="0.0" b1_1="9.65E-5" g2_1="0.0" b2_1="9.65E-5" xnodeP_1="-301.47434650169697" xnodeQ_1="-118.8505833038079" id_2="NHV1_NHV2_1.2" r_2="1.5" x_2="16.5" g1_2="0.0" b1_2="9.65E-5" g2_2="0.0" b2_2="9.65E-5" xnodeP_2="301.472319625184" xnodeQ_2="118.76748245598334">
<iidm:tieLine id="NHV1_NHV2_1" ucteXnodeCode="X1" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.4440612792969" q1="98.74027252197266" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_1.1" r_1="1.5" x_1="16.5" g1_1="0.0" b1_1="9.65E-5" g2_1="0.0" b2_1="9.65E-5" xnodeP_1="-301.43898434342725" xnodeQ_1="-118.89616773372641" id_2="NHV1_NHV2_1.2" r_2="1.5" x_2="16.5" g1_2="0.0" b1_2="9.65E-5" g2_2="0.0" b2_2="9.65E-5" xnodeP_2="301.43897577958876" xnodeQ_2="118.89616087695104">
<iidm:currentLimits1 permanentLimit="350.0">
<iidm:temporaryLimit name="20'" acceptableDuration="1200" value="370.0"/>
<iidm:temporaryLimit name="10'" acceptableDuration="600" value="380.0"/>
Expand All @@ -47,5 +47,5 @@
<iidm:temporaryLimit name="10'" acceptableDuration="600" value="380.0"/>
</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.4440612792969" q1="98.74027252197266" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_2.1" r_1="1.5" x_1="16.5" g1_1="0.0" b1_1="9.65E-5" g2_1="0.0" b2_1="9.65E-5" xnodeP_1="-301.47434650169697" xnodeQ_1="-118.8505833038079" id_2="NHV1_NHV2_2.2" r_2="1.5" x_2="16.5" g1_2="0.0" b1_2="9.65E-5" g2_2="0.0" b2_2="9.65E-5" xnodeP_2="301.472319625184" xnodeQ_2="118.76748245598334"/>
<iidm:tieLine id="NHV1_NHV2_2" ucteXnodeCode="X2" bus1="NHV1" connectableBus1="NHV1" voltageLevelId1="VLHV1" bus2="NHV2" connectableBus2="NHV2" voltageLevelId2="VLHV2" p1="302.4440612792969" q1="98.74027252197266" p2="-300.43389892578125" q2="-137.18849182128906" id_1="NHV1_NHV2_2.1" r_1="1.5" x_1="16.5" g1_1="0.0" b1_1="9.65E-5" g2_1="0.0" b2_1="9.65E-5" xnodeP_1="-301.43898434342725" xnodeQ_1="-118.89616773372641" id_2="NHV1_NHV2_2.2" r_2="1.5" x_2="16.5" g1_2="0.0" b1_2="9.65E-5" g2_2="0.0" b2_2="9.65E-5" xnodeP_2="301.43897577958876" xnodeQ_2="118.89616087695104"/>
</iidm:network>
Loading

0 comments on commit 473d382

Please sign in to comment.