Class LfLegBranch

All Implemented Interfaces:
LfBranch, LfElement, PropertyBag

public final class LfLegBranch extends AbstractImpedantLfBranch
Author:
Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
  • Method Details

    • create

      public static LfLegBranch create(LfNetwork network, LfBus bus1, LfBus bus0, com.powsybl.iidm.network.ThreeWindingsTransformer twt, com.powsybl.iidm.network.ThreeWindingsTransformer.Leg leg, LfTopoConfig topoConfig, LfNetworkParameters parameters)
    • getId

      public static String getId(String twtId, int legNum)
    • getId

      public static String getId(com.powsybl.iidm.network.ThreeSides side, String transformerId)
    • getId

      public String getId()
    • getBranchType

      public LfBranch.BranchType getBranchType()
    • getOriginalIds

      public List<String> getOriginalIds()
      Specified by:
      getOriginalIds in interface LfElement
      Overrides:
      getOriginalIds in class AbstractElement
    • hasPhaseControllerCapability

      public boolean hasPhaseControllerCapability()
    • createBranchResult

      public List<com.powsybl.security.results.BranchResult> createBranchResult(double preContingencyBranchP1, double preContingencyBranchOfContingencyP1, boolean createExtension)
    • getLimits1

      public List<LfBranch.LfLimit> getLimits1(com.powsybl.iidm.network.LimitType type)
    • updateState

      public void updateState(LfNetworkStateUpdateParameters parameters)
    • updateFlows

      public void updateFlows(double p1, double q1, double p2, double q2)
    • createThreeWindingsTransformerResult

      public static com.powsybl.security.results.ThreeWindingsTransformerResult createThreeWindingsTransformerResult(LfNetwork network, String threeWindingsTransformerId, boolean createResultExtension)