Interface LfBranch

All Superinterfaces:
LfElement, PropertyBag
All Known Implementing Classes:
AbstractImpedantLfBranch, AbstractLfBranch, LfBranchImpl, LfDanglingLineBranch, LfLegBranch, LfSwitch, LfTieLineBranch

public interface LfBranch extends LfElement
Author:
Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
  • Method Details

    • createIndex

      static int[] createIndex(LfNetwork network, List<LfBranch> branches)
    • getBranchType

      LfBranch.BranchType getBranchType()
    • getBus1

      LfBus getBus1()
    • getBus2

      LfBus getBus2()
    • setP1

      void setP1(Evaluable p1)
    • getP1

      Evaluable getP1()
    • setP2

      void setP2(Evaluable p2)
    • getP2

      Evaluable getP2()
    • getQ1

      Evaluable getQ1()
    • setQ1

      void setQ1(Evaluable q1)
    • getQ2

      Evaluable getQ2()
    • setQ2

      void setQ2(Evaluable q2)
    • getPiModel

      PiModel getPiModel()
    • setI1

      void setI1(Evaluable i1)
    • setI2

      void setI2(Evaluable i2)
    • getI1

      Evaluable getI1()
    • getI2

      Evaluable getI2()
    • getLimits1

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

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

      void updateState(LfNetworkStateUpdateParameters parameters)
    • updateFlows

      void updateFlows(double p1, double q1, double p2, double q2)
    • hasPhaseControllerCapability

      boolean hasPhaseControllerCapability()
    • getPhaseControl

      Optional<TransformerPhaseControl> getPhaseControl()
    • setPhaseControl

      void setPhaseControl(TransformerPhaseControl phaseControl)
    • isPhaseController

      boolean isPhaseController()
    • isPhaseControlled

      boolean isPhaseControlled()
    • isPhaseControlEnabled

      boolean isPhaseControlEnabled()
    • setPhaseControlEnabled

      void setPhaseControlEnabled(boolean phaseControlEnabled)
    • getVoltageControl

      Optional<TransformerVoltageControl> getVoltageControl()
    • isVoltageControlEnabled

      boolean isVoltageControlEnabled()
    • setVoltageControlEnabled

      void setVoltageControlEnabled(boolean voltageControlEnabled)
    • isVoltageController

      boolean isVoltageController()
    • setVoltageControl

      void setVoltageControl(TransformerVoltageControl transformerVoltageControl)
    • createBranchResult

      com.powsybl.security.results.BranchResult createBranchResult(double preContingencyBranchP1, double preContingencyBranchOfContingencyP1, boolean createExtension)
    • computeApparentPower1

      double computeApparentPower1()
    • computeApparentPower2

      double computeApparentPower2()
    • isZeroImpedance

      boolean isZeroImpedance(LoadFlowModel loadFlowModel)
    • setSpanningTreeEdge

      void setSpanningTreeEdge(LoadFlowModel loadFlowModel, boolean spanningTreeEdge)
    • isSpanningTreeEdge

      boolean isSpanningTreeEdge(LoadFlowModel loadFlowModel)
    • getA1

      Evaluable getA1()
    • setA1

      void setA1(Evaluable a1)
    • getA

      static double getA(LfBranch branch)
    • getDiscretePhaseControlTarget

      static double getDiscretePhaseControlTarget(LfBranch branch, TransformerPhaseControl.Unit unit)
    • getReactivePowerControl

      Optional<ReactivePowerControl> getReactivePowerControl()
    • setReactivePowerControl

      void setReactivePowerControl(ReactivePowerControl reactivePowerControl)
    • isConnectedAtBothSides

      boolean isConnectedAtBothSides()
    • setMinZ

      void setMinZ(double lowImpedanceThreshold)
    • getAsymLine

      LfAsymLine getAsymLine()
    • setAsymLine

      void setAsymLine(LfAsymLine asymLine)
    • isAsymmetric

      boolean isAsymmetric()