Class LfDanglingLineGenerator
- java.lang.Object
-
- com.powsybl.openloadflow.network.AbstractPropertyBag
-
- com.powsybl.openloadflow.network.impl.AbstractLfGenerator
-
- com.powsybl.openloadflow.network.impl.LfDanglingLineGenerator
-
- All Implemented Interfaces:
LfGenerator
,PropertyBag
public final class LfDanglingLineGenerator 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 LfDanglingLineGenerator
create(com.powsybl.iidm.network.DanglingLine danglingLine, LfNetwork network, String controlledLfBusId, LfNetworkParameters parameters, com.powsybl.openloadflow.network.impl.LfNetworkLoadingReport report)
String
getId()
double
getMaxP()
double
getMinP()
String
getOriginalId()
protected Optional<com.powsybl.iidm.network.ReactiveLimits>
getReactiveLimits()
OptionalDouble
getRemoteControlReactiveKey()
double
getTargetQ()
void
updateState()
-
Methods inherited from class com.powsybl.openloadflow.network.impl.AbstractLfGenerator
checkActivePowerControl, checkTargetV, checkVoltageControlConsistency, getBus, getCalculatedQ, getControlledBranch, getControlledBranchSide, getControlledBus, getGeneratorControlType, getInitialTargetP, getMaxQ, getMinQ, getRangeQ, 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
getDroop, getParticipationFactor, getSlope, isParticipating, setSlope
-
Methods inherited from interface com.powsybl.openloadflow.network.PropertyBag
getProperty, removeProperty, setProperty
-
-
-
-
Method Detail
-
create
public static LfDanglingLineGenerator create(com.powsybl.iidm.network.DanglingLine danglingLine, LfNetwork network, String controlledLfBusId, LfNetworkParameters parameters, com.powsybl.openloadflow.network.impl.LfNetworkLoadingReport report)
-
getId
public String getId()
-
getOriginalId
public String getOriginalId()
- Specified by:
getOriginalId
in interfaceLfGenerator
- Overrides:
getOriginalId
in classAbstractLfGenerator
-
getRemoteControlReactiveKey
public OptionalDouble getRemoteControlReactiveKey()
- Specified by:
getRemoteControlReactiveKey
in interfaceLfGenerator
- Overrides:
getRemoteControlReactiveKey
in classAbstractLfGenerator
-
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
-
updateState
public void updateState()
-
-