Class LfBatteryImpl
- java.lang.Object
-
- com.powsybl.openloadflow.network.AbstractPropertyBag
-
- com.powsybl.openloadflow.network.impl.AbstractLfGenerator
-
- com.powsybl.openloadflow.network.impl.LfBatteryImpl
-
- All Implemented Interfaces:
LfGenerator
,PropertyBag
public final class LfBatteryImpl extends AbstractLfGenerator
- Author:
- Geoffroy Jamgotchian
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.powsybl.openloadflow.network.LfGenerator
LfGenerator.GeneratorControlType, LfGenerator.ReactiveRangeMode
-
-
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 LfBatteryImpl
create(com.powsybl.iidm.network.Battery battery, LfNetwork network, LfNetworkParameters parameters, com.powsybl.openloadflow.network.impl.LfNetworkLoadingReport report)
double
getDroop()
String
getId()
double
getMaxP()
double
getMinP()
double
getParticipationFactor()
protected Optional<com.powsybl.iidm.network.ReactiveLimits>
getReactiveLimits()
double
getTargetQ()
boolean
isParticipating()
void
setParticipating(boolean participating)
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, 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
getSlope, setSlope
-
Methods inherited from interface com.powsybl.openloadflow.network.PropertyBag
getProperty, removeProperty, setProperty
-
-
-
-
Method Detail
-
create
public static LfBatteryImpl create(com.powsybl.iidm.network.Battery battery, LfNetwork network, LfNetworkParameters parameters, com.powsybl.openloadflow.network.impl.LfNetworkLoadingReport report)
-
getId
public String getId()
-
getTargetQ
public double getTargetQ()
-
getMinP
public double getMinP()
-
getMaxP
public double getMaxP()
-
getReactiveLimits
protected Optional<com.powsybl.iidm.network.ReactiveLimits> getReactiveLimits()
- Specified by:
getReactiveLimits
in classAbstractLfGenerator
-
isParticipating
public boolean isParticipating()
-
setParticipating
public void setParticipating(boolean participating)
- Specified by:
setParticipating
in interfaceLfGenerator
- Overrides:
setParticipating
in classAbstractLfGenerator
-
getDroop
public double getDroop()
-
getParticipationFactor
public double getParticipationFactor()
-
updateState
public void updateState()
-
-