Class ActivePowerControlImpl<T extends Injection<T>>
- java.lang.Object
-
- com.powsybl.commons.extensions.AbstractExtension<T>
-
- com.powsybl.iidm.network.impl.extensions.ActivePowerControlImpl<T>
-
- All Implemented Interfaces:
Extension<T>
,ActivePowerControl<T>
public class ActivePowerControlImpl<T extends Injection<T>> extends AbstractExtension<T> implements ActivePowerControl<T>
- Author:
- Ghiles Abdellah
-
-
Constructor Summary
Constructors Constructor Description ActivePowerControlImpl(T component, boolean participate, float droop)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getDroop()
boolean
isParticipate()
void
setDroop(float droop)
void
setParticipate(boolean participate)
-
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.iidm.network.extensions.ActivePowerControl
getName
-
Methods inherited from interface com.powsybl.commons.extensions.Extension
getExtendable, setExtendable
-
-
-
-
Constructor Detail
-
ActivePowerControlImpl
public ActivePowerControlImpl(T component, boolean participate, float droop)
-
-
Method Detail
-
isParticipate
public boolean isParticipate()
- Specified by:
isParticipate
in interfaceActivePowerControl<T extends Injection<T>>
-
setParticipate
public void setParticipate(boolean participate)
- Specified by:
setParticipate
in interfaceActivePowerControl<T extends Injection<T>>
-
getDroop
public float getDroop()
- Specified by:
getDroop
in interfaceActivePowerControl<T extends Injection<T>>
-
setDroop
public void setDroop(float droop)
- Specified by:
setDroop
in interfaceActivePowerControl<T extends Injection<T>>
-
-