Class LfLegBranch
- All Implemented Interfaces:
LfBranch
,LfElement
,PropertyBag
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
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
Modifier and TypeMethodDescriptionstatic LfLegBranch
create
(LfNetwork network, LfBus bus1, LfBus bus0, com.powsybl.iidm.network.ThreeWindingsTransformer twt, com.powsybl.iidm.network.ThreeWindingsTransformer.Leg leg, boolean retainPtc, boolean retainRtc, LfNetworkParameters parameters) com.powsybl.security.results.BranchResult
createBranchResult
(double preContingencyBranchP1, double preContingencyBranchOfContingencyP1, boolean createExtension) static com.powsybl.security.results.ThreeWindingsTransformerResult
createThreeWindingsTransformerResult
(LfNetwork network, String threeWindingsTransformerId, boolean createResultExtension) getId()
static String
static String
getLimits1
(com.powsybl.iidm.network.LimitType type) boolean
void
updateFlows
(double p1, double q1, double p2, double q2) void
updateState
(LfNetworkStateUpdateParameters parameters) Methods inherited from class com.powsybl.openloadflow.network.impl.AbstractImpedantLfBranch
getAngle1, getAngle2, getI1, getI2, getP1, getP2, getQ1, getQ2, getV1, getV2, 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 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, boolean retainPtc, boolean retainRtc, LfNetworkParameters parameters) -
getId
-
getId
-
getId
-
getBranchType
-
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
-
updateState
-
updateFlows
public void updateFlows(double p1, double q1, double p2, double q2) -
createThreeWindingsTransformerResult
-