Class LfGeneratorImpl
java.lang.Object
com.powsybl.openloadflow.network.AbstractPropertyBag
com.powsybl.openloadflow.network.impl.AbstractLfInjection
com.powsybl.openloadflow.network.impl.AbstractLfGenerator
com.powsybl.openloadflow.network.impl.LfGeneratorImpl
- All Implemented Interfaces:
LfGenerator
,PropertyBag
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
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
asym, bus, calculatedQ, controlledBranchId, controlledBranchSide, controlledBusId, DEFAULT_DROOP, generatorControlType, network, remoteTargetQ, targetV
Fields inherited from class com.powsybl.openloadflow.network.impl.AbstractLfInjection
initialTargetP, targetP
Fields inherited from class com.powsybl.openloadflow.network.AbstractPropertyBag
properties
-
Method Summary
Modifier and TypeMethodDescriptionstatic LfGeneratorImpl
create
(com.powsybl.iidm.network.Generator generator, LfNetwork network, LfNetworkParameters parameters, LfNetworkLoadingReport report) double
getDroop()
getId()
double
getMaxP()
double
getMinP()
double
protected Optional<com.powsybl.iidm.network.ReactiveLimits>
double
boolean
boolean
void
setParticipating
(boolean participating) void
Methods inherited from class com.powsybl.openloadflow.network.impl.AbstractLfGenerator
checkActivePowerControl, checkTargetV, checkVoltageControlConsistency, getAsym, getBus, getCalculatedQ, getControlledBranch, getControlledBranchSide, getControlledBus, getGeneratorControlType, getMaxQ, getMinQ, getOriginalId, getRangeQ, getRemoteTargetQ, getTargetV, hasRemoteReactivePowerControl, isDisabled, setAsym, setBus, setCalculatedQ, setDisabled, setGeneratorControlType, setReactivePowerControl, setTargetP, setVoltageControl, toString
Methods inherited from class com.powsybl.openloadflow.network.impl.AbstractLfInjection
getInitialTargetP, getTargetP
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
getInitialTargetP, getSlope, getTargetP, setSlope
Methods inherited from interface com.powsybl.openloadflow.network.PropertyBag
getProperty, removeProperty, setProperty
-
Method Details
-
create
public static LfGeneratorImpl create(com.powsybl.iidm.network.Generator generator, LfNetwork network, LfNetworkParameters parameters, LfNetworkLoadingReport report) -
getId
-
isFictitious
public boolean isFictitious()- Specified by:
isFictitious
in interfaceLfGenerator
- Overrides:
isFictitious
in classAbstractLfGenerator
-
getRemoteControlReactiveKey
- Specified by:
getRemoteControlReactiveKey
in interfaceLfGenerator
- Overrides:
getRemoteControlReactiveKey
in classAbstractLfGenerator
-
getTargetQ
public double getTargetQ() -
getMinP
public double getMinP() -
getMaxP
public double getMaxP() -
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()
-