Class LfDanglingLineGenerator
- java.lang.Object
-
- com.powsybl.openloadflow.network.impl.AbstractLfGenerator
-
- com.powsybl.openloadflow.network.impl.LfDanglingLineGenerator
-
- All Implemented Interfaces:
LfGenerator
public class LfDanglingLineGenerator extends AbstractLfGenerator
- Author:
- Geoffroy Jamgotchian
-
-
Field Summary
-
Fields inherited from class com.powsybl.openloadflow.network.impl.AbstractLfGenerator
bus, calculatedQ, controlledBusId, hasVoltageControl, targetP
-
-
Constructor Summary
Constructors Constructor Description LfDanglingLineGenerator(com.powsybl.iidm.network.DanglingLine danglingLine, String controlledLfBusId, com.powsybl.openloadflow.network.impl.LfNetworkLoadingReport report)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getDroop()
String
getId()
double
getMaxP()
double
getMinP()
protected Optional<com.powsybl.iidm.network.ReactiveLimits>
getReactiveLimits()
OptionalDouble
getRemoteControlReactiveKey()
double
getTargetQ()
boolean
isParticipating()
void
updateState()
-
Methods inherited from class com.powsybl.openloadflow.network.impl.AbstractLfGenerator
checkVoltageControlConsistency, getBus, getCalculatedQ, getControlledBus, getMaxQ, getMaxRangeQ, getMinQ, getTargetP, getTargetV, hasVoltageControl, setBus, setCalculatedQ, setTargetP, setTargetV, setVoltageControl
-
-
-
-
Constructor Detail
-
LfDanglingLineGenerator
public LfDanglingLineGenerator(com.powsybl.iidm.network.DanglingLine danglingLine, String controlledLfBusId, com.powsybl.openloadflow.network.impl.LfNetworkLoadingReport report)
-
-
Method Detail
-
getId
public String getId()
-
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()
-
isParticipating
public boolean isParticipating()
-
getDroop
public double getDroop()
-
getReactiveLimits
protected Optional<com.powsybl.iidm.network.ReactiveLimits> getReactiveLimits()
- Specified by:
getReactiveLimits
in classAbstractLfGenerator
-
updateState
public void updateState()
-
-