Package com.powsybl.openloadflow.network
Class GeneratorVoltageControl
java.lang.Object
com.powsybl.openloadflow.network.Control
com.powsybl.openloadflow.network.VoltageControl<LfBus>
com.powsybl.openloadflow.network.GeneratorVoltageControl
- Author:
- Anne Tilloy <anne.tilloy at rte-france.com>, Florian Dupuy <florian.dupuy at rte-france.com>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.powsybl.openloadflow.network.VoltageControl
VoltageControl.MergeStatus, VoltageControl.Type
-
Field Summary
Fields inherited from class com.powsybl.openloadflow.network.VoltageControl
controlledBus, controllerElements, disabled, mainMergedVoltageControl, mergedDependentVoltageControls, mergeStatus, priority, type
Fields inherited from class com.powsybl.openloadflow.network.Control
targetValue
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addControllerElement
(LfBus controllerBus) boolean
isControllerEnabled
(LfBus controllerElement) boolean
Check if the voltage control is ONLY localboolean
Check if the voltage control is sharedvoid
setTargetValue
(double targetValue) void
Methods inherited from class com.powsybl.openloadflow.network.VoltageControl
findMainVisibleControlledBus, findMainVoltageControlsSortedByPriority, getControlledBus, getControllerElements, getMainVoltageControl, getMergedControlledBuses, getMergedControllerElements, getMergedDependentVoltageControls, getMergeStatus, getPriority, getType, isDisabled, isHidden, isVisible, setDisabled, toString
Methods inherited from class com.powsybl.openloadflow.network.Control
getTargetValue
-
Constructor Details
-
GeneratorVoltageControl
-
-
Method Details
-
isControllerEnabled
- Overrides:
isControllerEnabled
in classVoltageControl<LfBus>
-
setTargetValue
public void setTargetValue(double targetValue) - Overrides:
setTargetValue
in classControl
-
addControllerElement
- Overrides:
addControllerElement
in classVoltageControl<LfBus>
-
isLocalControl
public boolean isLocalControl()Check if the voltage control is ONLY local- Returns:
- true if the voltage control is ONLY local, false otherwise
-
updateReactiveKeys
public void updateReactiveKeys()
-