Skip to content

Commit

Permalink
Add phaseShifter_P connection to PhaseShifterI
Browse files Browse the repository at this point in the history
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
  • Loading branch information
Lisrte authored and flo-dup committed May 5, 2023
1 parent 43a6a9a commit a66f701
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ protected List<VarConnection> 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())
);
}
Expand Down
1 change: 1 addition & 0 deletions dynawaltz/src/test/resources/phase_shifter_i_dyd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<dyn:macroConnector id="MC_PhaseShifterI-TransformerFixedRatio">
<dyn:connect var1="phaseShifter_tap" var2="transformer_step"/>
<dyn:connect var1="phaseShifter_iMonitored" var2="transformer_i1"/>
<dyn:connect var1="phaseShifter_P" var2="transformer_P1"/>
<dyn:connect var1="phaseShifter_AutomatonExists" var2="transformer_disable_internal_tapChanger"/>
</dyn:macroConnector>
<dyn:macroConnector id="MC_TransformerFixedRatioSide1-NetworkBus">
Expand Down

0 comments on commit a66f701

Please sign in to comment.