Skip to content

Commit ae4701c

Browse files
committed
Add magnetizing reactance support to TwoWindingsTransformerFortescue
Signed-off-by: Coline Piloquet <coline.piloquet@rte-france.com>
1 parent 45b857f commit ae4701c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

iidm/iidm-tck/src/test/java/com/powsybl/iidm/network/tck/extensions/AbstractFortescueExtensionTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ public void testTwoWindingsTransformer() {
111111
fortescue.setRz(0.11d);
112112
fortescue.setXz(2.03d);
113113
fortescue.setFreeFluxes(false);
114+
fortescue.setXm(0.5d);
114115
fortescue.setConnectionType1(WindingConnectionType.Y);
115116
fortescue.setConnectionType2(WindingConnectionType.Y_GROUNDED);
116117
fortescue.setGroundingR1(0.03d);
@@ -121,6 +122,7 @@ public void testTwoWindingsTransformer() {
121122
assertEquals(0.11d, fortescue.getRz());
122123
assertEquals(2.03d, fortescue.getXz());
123124
assertFalse(fortescue.isFreeFluxes());
125+
assertEquals(0.5d, fortescue.getXm());
124126
assertSame(WindingConnectionType.Y, fortescue.getConnectionType1());
125127
assertSame(WindingConnectionType.Y_GROUNDED, fortescue.getConnectionType2());
126128
assertEquals(0.03d, fortescue.getGroundingR1());

0 commit comments

Comments
 (0)