Class LfStaticVarCompensatorImpl
- java.lang.Object
-
- com.powsybl.openloadflow.network.AbstractPropertyBag
-
- com.powsybl.openloadflow.network.impl.AbstractLfGenerator
-
- com.powsybl.openloadflow.network.impl.LfStaticVarCompensatorImpl
-
- All Implemented Interfaces:
LfGenerator
,LfStaticVarCompensator
,PropertyBag
public final class LfStaticVarCompensatorImpl extends AbstractLfGenerator implements LfStaticVarCompensator
- Author:
- Geoffroy Jamgotchian
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.powsybl.openloadflow.network.LfGenerator
LfGenerator.GeneratorControlType, LfGenerator.ReactiveRangeMode
-
Nested classes/interfaces inherited from interface com.powsybl.openloadflow.network.LfStaticVarCompensator
LfStaticVarCompensator.StandByAutomaton
-
-
Field Summary
-
Fields inherited from class com.powsybl.openloadflow.network.impl.AbstractLfGenerator
bus, calculatedQ, controlledBranchId, controlledBranchSide, controlledBusId, DEFAULT_DROOP, generatorControlType, initialTargetP, network, remoteTargetQ, targetP, targetV
-
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 LfStaticVarCompensatorImpl
create(com.powsybl.iidm.network.StaticVarCompensator svc, LfNetwork network, AbstractLfBus bus, LfNetworkParameters parameters, com.powsybl.openloadflow.network.impl.LfNetworkLoadingReport report)
double
getB0()
String
getId()
double
getMaxP()
double
getMinP()
protected Optional<com.powsybl.iidm.network.ReactiveLimits>
getReactiveLimits()
double
getSlope()
Optional<LfStaticVarCompensator.StandByAutomaton>
getStandByAutomaton()
Optional<LfShunt>
getStandByAutomatonShunt()
double
getTargetQ()
void
setSlope(double slope)
void
setStandByAutomatonShunt(LfShunt standByAutomatonShunt)
void
updateState()
-
Methods inherited from class com.powsybl.openloadflow.network.impl.AbstractLfGenerator
checkActivePowerControl, checkTargetV, checkVoltageControlConsistency, getBus, getCalculatedQ, getControlledBranch, getControlledBranchSide, getControlledBus, getGeneratorControlType, getInitialTargetP, getMaxQ, getMinQ, getOriginalId, getRangeQ, getRemoteControlReactiveKey, getRemoteTargetQ, getTargetP, getTargetV, hasRemoteReactivePowerControl, isDisabled, isFictitious, setBus, setCalculatedQ, setDisabled, setGeneratorControlType, setParticipating, setReactivePowerControl, setTargetP, setVoltageControl, 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.LfGenerator
getBus, getCalculatedQ, getControlledBranch, getControlledBranchSide, getControlledBus, getDroop, getGeneratorControlType, getInitialTargetP, getMaxQ, getMinQ, getOriginalId, getParticipationFactor, getRangeQ, getRemoteControlReactiveKey, getRemoteTargetQ, getTargetP, getTargetV, hasRemoteReactivePowerControl, isDisabled, isFictitious, isParticipating, setBus, setCalculatedQ, setDisabled, setGeneratorControlType, setParticipating, setTargetP
-
Methods inherited from interface com.powsybl.openloadflow.network.PropertyBag
getProperty, removeProperty, setProperty
-
-
-
-
Method Detail
-
create
public static LfStaticVarCompensatorImpl create(com.powsybl.iidm.network.StaticVarCompensator svc, LfNetwork network, AbstractLfBus bus, LfNetworkParameters parameters, com.powsybl.openloadflow.network.impl.LfNetworkLoadingReport report)
-
getId
public String getId()
- Specified by:
getId
in interfaceLfGenerator
-
getTargetQ
public double getTargetQ()
- Specified by:
getTargetQ
in interfaceLfGenerator
-
getMinP
public double getMinP()
- Specified by:
getMinP
in interfaceLfGenerator
-
getMaxP
public double getMaxP()
- Specified by:
getMaxP
in interfaceLfGenerator
-
getReactiveLimits
protected Optional<com.powsybl.iidm.network.ReactiveLimits> getReactiveLimits()
- Specified by:
getReactiveLimits
in classAbstractLfGenerator
-
updateState
public void updateState()
- Specified by:
updateState
in interfaceLfGenerator
-
getSlope
public double getSlope()
- Specified by:
getSlope
in interfaceLfGenerator
-
setSlope
public void setSlope(double slope)
- Specified by:
setSlope
in interfaceLfGenerator
-
getB0
public double getB0()
- Specified by:
getB0
in interfaceLfStaticVarCompensator
-
getStandByAutomaton
public Optional<LfStaticVarCompensator.StandByAutomaton> getStandByAutomaton()
- Specified by:
getStandByAutomaton
in interfaceLfStaticVarCompensator
-
getStandByAutomatonShunt
public Optional<LfShunt> getStandByAutomatonShunt()
- Specified by:
getStandByAutomatonShunt
in interfaceLfStaticVarCompensator
-
setStandByAutomatonShunt
public void setStandByAutomatonShunt(LfShunt standByAutomatonShunt)
- Specified by:
setStandByAutomatonShunt
in interfaceLfStaticVarCompensator
-
-