diff --git a/dynawaltz/src/main/java/com/powsybl/dynawaltz/models/automatons/phaseshifters/PhaseShifterIAutomaton.java b/dynawaltz/src/main/java/com/powsybl/dynawaltz/models/automatons/phaseshifters/PhaseShifterIAutomaton.java index 3a6219c02..9f2923c0f 100644 --- a/dynawaltz/src/main/java/com/powsybl/dynawaltz/models/automatons/phaseshifters/PhaseShifterIAutomaton.java +++ b/dynawaltz/src/main/java/com/powsybl/dynawaltz/models/automatons/phaseshifters/PhaseShifterIAutomaton.java @@ -32,6 +32,7 @@ protected List getVarConnectionsWithTransformer(TransformerModel return Arrays.asList( new VarConnection("phaseShifter_tap", connected.getStepVarName()), new VarConnection("phaseShifter_iMonitored", connected.getIMonitoredVarName()), + new VarConnection("phaseShifter_P", connected.getPMonitoredVarName()), new VarConnection("phaseShifter_AutomatonExists", connected.getDisableInternalTapChangerVarName()) ); } diff --git a/dynawaltz/src/test/resources/phase_shifter_i_dyd.xml b/dynawaltz/src/test/resources/phase_shifter_i_dyd.xml index d7be849b7..c72a7e8da 100644 --- a/dynawaltz/src/test/resources/phase_shifter_i_dyd.xml +++ b/dynawaltz/src/test/resources/phase_shifter_i_dyd.xml @@ -5,6 +5,7 @@ +