Class RemoteReactivePowerControlImpl
- java.lang.Object
-
- com.powsybl.commons.extensions.AbstractExtension<Generator>
-
- com.powsybl.iidm.network.impl.extensions.RemoteReactivePowerControlImpl
-
- All Implemented Interfaces:
Extension<Generator>
,RemoteReactivePowerControl
public class RemoteReactivePowerControlImpl extends AbstractExtension<Generator> implements RemoteReactivePowerControl
- Author:
- Bertrand Rix
-
-
Constructor Summary
Constructors Constructor Description RemoteReactivePowerControlImpl(double targetQ, Terminal regulatingTerminal, boolean enabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Terminal
getRegulatingTerminal()
Get the regulating terminal where the reactive power should be controlled.double
getTargetQ()
Get the reactive power target in MVar, at the remote regulating terminal.boolean
isEnabled()
Says if the control is active or not.-
Methods inherited from class com.powsybl.commons.extensions.AbstractExtension
getExtendable, setExtendable
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.powsybl.commons.extensions.Extension
getExtendable, setExtendable
-
Methods inherited from interface com.powsybl.iidm.network.extensions.RemoteReactivePowerControl
getName
-
-
-
-
Constructor Detail
-
RemoteReactivePowerControlImpl
public RemoteReactivePowerControlImpl(double targetQ, Terminal regulatingTerminal, boolean enabled)
-
-
Method Detail
-
getTargetQ
public double getTargetQ()
Description copied from interface:RemoteReactivePowerControl
Get the reactive power target in MVar, at the remote regulating terminal. It is not the local target of the generator.- Specified by:
getTargetQ
in interfaceRemoteReactivePowerControl
-
getRegulatingTerminal
public Terminal getRegulatingTerminal()
Description copied from interface:RemoteReactivePowerControl
Get the regulating terminal where the reactive power should be controlled. The regulating terminal should be the terminal of a branch or the terminal of a dangling line that will be merged later. It is not the regulating terminal of the generator used for voltage control that is less restrictive.- Specified by:
getRegulatingTerminal
in interfaceRemoteReactivePowerControl
-
isEnabled
public boolean isEnabled()
Description copied from interface:RemoteReactivePowerControl
Says if the control is active or not.- Specified by:
isEnabled
in interfaceRemoteReactivePowerControl
-
-