Class PhaseTapPositionModification

    • Constructor Detail

      • PhaseTapPositionModification

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

        public PhaseTapPositionModification​(String transformerId,
                                            int tapPosition,
                                            ThreeWindingsTransformer.Side leg)
        Creates a PTC tap modification for three windings transformers on the given leg.
        Parameters:
        transformerId - the ID of the three windings transformer, which holds the PTC
        tapPosition - the new tap position
        leg - defines on which leg of the three winding transformer the modification will be done.
    • Method Detail

      • applyTwoWindingsTransformer

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

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