Class LfShuntImpl
java.lang.Object
com.powsybl.openloadflow.network.AbstractPropertyBag
com.powsybl.openloadflow.network.AbstractElement
com.powsybl.openloadflow.network.AbstractLfShunt
com.powsybl.openloadflow.network.impl.LfShuntImpl
- All Implemented Interfaces:
LfElement
,LfShunt
,PropertyBag
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>, Anne Tilloy <anne.tilloy at rte-france.com>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.powsybl.openloadflow.network.LfShunt
LfShunt.Controller
-
Field Summary
Fields inherited from class com.powsybl.openloadflow.network.AbstractElement
disabled, network, num
Fields inherited from class com.powsybl.openloadflow.network.AbstractPropertyBag
properties
-
Constructor Summary
ConstructorDescriptionLfShuntImpl
(List<com.powsybl.iidm.network.ShuntCompensator> shuntCompensators, LfNetwork network, LfBus bus, boolean voltageControlCapability, LfNetworkParameters parameters) -
Method Summary
Modifier and TypeMethodDescriptiondouble
double
getB()
double
getG()
getId()
getType()
boolean
boolean
void
reInit()
void
setB
(double b) void
setG
(double g) void
setVoltageControl
(ShuntVoltageControl voltageControl) void
setVoltageControlCapability
(boolean voltageControlCapability) void
setVoltageControlEnabled
(boolean voltageControlEnabled) void
updateState
(LfNetworkStateUpdateParameters parameters) Methods inherited from class com.powsybl.openloadflow.network.AbstractLfShunt
getP, getQ, setP, setQ
Methods inherited from class com.powsybl.openloadflow.network.AbstractElement
getNetwork, getNum, isDisabled, notifyDisable, removeEvaluable, setDisabled, 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.LfElement
getNetwork, getNum, isDisabled, removeEvaluable, setDisabled, setNum
Methods inherited from interface com.powsybl.openloadflow.network.LfShunt
getBMagnitude
Methods inherited from interface com.powsybl.openloadflow.network.PropertyBag
getProperty, removeProperty, setProperty
-
Constructor Details
-
LfShuntImpl
public LfShuntImpl(List<com.powsybl.iidm.network.ShuntCompensator> shuntCompensators, LfNetwork network, LfBus bus, boolean voltageControlCapability, LfNetworkParameters parameters)
-
-
Method Details
-
getType
-
getId
-
getOriginalIds
- Specified by:
getOriginalIds
in interfaceLfElement
- Overrides:
getOriginalIds
in classAbstractElement
-
getB
public double getB() -
setB
public void setB(double b) -
getG
public double getG() -
setG
public void setG(double g) -
hasVoltageControlCapability
public boolean hasVoltageControlCapability() -
setVoltageControlCapability
public void setVoltageControlCapability(boolean voltageControlCapability) -
isVoltageControlEnabled
public boolean isVoltageControlEnabled() -
setVoltageControlEnabled
public void setVoltageControlEnabled(boolean voltageControlEnabled) -
getVoltageControl
-
setVoltageControl
-
getControllers
-
dispatchB
public double dispatchB() -
updateState
-
reInit
public void reInit()
-