Class LfLegBranch
-
- All Implemented Interfaces:
LfBranch
,LfElement
,PropertyBag
public final class LfLegBranch extends AbstractImpedantLfBranch
- Author:
- Geoffroy Jamgotchian
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.powsybl.openloadflow.network.LfBranch
LfBranch.BranchType, LfBranch.LfLimit
-
-
Field Summary
-
Fields inherited from class com.powsybl.openloadflow.network.impl.AbstractImpedantLfBranch
i1, i2, p1, p2, q1, q2
-
Fields inherited from class com.powsybl.openloadflow.network.impl.AbstractLfBranch
a1, asymLine, phaseControl, phaseControlEnabled, piModel, voltageControl, voltageControlEnabled, zeroImpedanceContextByModel
-
Fields inherited from class com.powsybl.openloadflow.network.AbstractElement
disabled, network, num
-
Fields inherited from class com.powsybl.openloadflow.network.AbstractPropertyBag
properties
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LfLegBranch
create(LfNetwork network, LfBus bus1, LfBus bus0, com.powsybl.iidm.network.ThreeWindingsTransformer twt, com.powsybl.iidm.network.ThreeWindingsTransformer.Leg leg, LfNetworkParameters parameters)
com.powsybl.security.results.BranchResult
createBranchResult(double preContingencyBranchP1, double preContingencyBranchOfContingencyP1, boolean createExtension)
LfBranch.BranchType
getBranchType()
String
getId()
static String
getId(String twtId, int legNum)
List<LfBranch.LfLimit>
getLimits1(com.powsybl.iidm.network.LimitType type)
List<String>
getOriginalIds()
boolean
hasPhaseControllerCapability()
void
updateFlows(double p1, double q1, double p2, double q2)
void
updateState(LfNetworkStateUpdateParameters parameters)
-
Methods inherited from class com.powsybl.openloadflow.network.impl.AbstractImpedantLfBranch
getI1, getI2, getP1, getP2, getQ1, getQ2, setI1, setI2, setP1, setP2, setQ1, setQ2
-
Methods inherited from class com.powsybl.openloadflow.network.impl.AbstractLfBranch
computeApparentPower1, computeApparentPower2, createSortedLimitsList, getA1, getAsymLine, getBus1, getBus2, getLimits1, getLimits2, getPhaseControl, getPiModel, getReactivePowerControl, getScaleForLimitType, getType, getVoltageControl, isAsymmetric, isConnectedAtBothSides, isPhaseControlEnabled, isPhaseControlled, isPhaseController, isSpanningTreeEdge, isVoltageControlEnabled, isVoltageController, isZeroImpedance, setA1, setAsymLine, setDisabled, setMinZ, setPhaseControl, setPhaseControlEnabled, setReactivePowerControl, setSpanningTreeEdge, setVoltageControl, setVoltageControlEnabled, updateTapPosition, updateTapPosition
-
Methods inherited from class com.powsybl.openloadflow.network.AbstractElement
getNetwork, getNum, isDisabled, notifyDisable, setNum, toString
-
Methods inherited from class com.powsybl.openloadflow.network.AbstractPropertyBag
getProperty, removeProperty, setProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.powsybl.openloadflow.network.LfBranch
getLimits2
-
Methods inherited from interface com.powsybl.openloadflow.network.LfElement
getNetwork, getNum, isDisabled, setNum
-
Methods inherited from interface com.powsybl.openloadflow.network.PropertyBag
getProperty, removeProperty, setProperty
-
-
-
-
Method Detail
-
create
public static LfLegBranch create(LfNetwork network, LfBus bus1, LfBus bus0, com.powsybl.iidm.network.ThreeWindingsTransformer twt, com.powsybl.iidm.network.ThreeWindingsTransformer.Leg leg, LfNetworkParameters parameters)
-
getId
public String getId()
-
getBranchType
public LfBranch.BranchType getBranchType()
-
getOriginalIds
public List<String> getOriginalIds()
- Specified by:
getOriginalIds
in interfaceLfElement
- Overrides:
getOriginalIds
in classAbstractElement
-
hasPhaseControllerCapability
public boolean hasPhaseControllerCapability()
-
createBranchResult
public 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)
-
-