Class RatioTapPositionModification

All Implemented Interfaces:
NetworkModification

public class RatioTapPositionModification extends AbstractTapPositionModification
Author:
Nicolas PIERRE <nicolas.pierre at artelys.com>
  • Constructor Details

    • RatioTapPositionModification

      public RatioTapPositionModification(String transformerId, int tapPosition)
      Creates a RTC tap modification for two windings transformers, or three windings transformer with a single RTC.
      Parameters:
      transformerId - the ID of the transformer, which holds the rtc
      tapPosition - the new tap position
    • RatioTapPositionModification

      public RatioTapPositionModification(String transformerId, int tapPosition, ThreeSides leg)
      Creates a RTC tap modification for three windings transformers on the given leg.
      Parameters:
      transformerId - the ID of the three windings transformer, which holds the rtc
      tapPosition - the new tap position
      leg - defines on which leg of the three winding transformer the modification will be done.
  • Method Details

    • applyTwoWindingsTransformer

      protected void applyTwoWindingsTransformer(Network network, TwoWindingsTransformer twoWindingsTransformer, boolean throwException)
    • applyThreeWindingsTransformer

      protected void applyThreeWindingsTransformer(Network network, ThreeWindingsTransformer threeWindingsTransformer, boolean throwException)
    • apply

      public void apply(RatioTapChangerHolder rtcHolder, boolean throwException)