Package com.powsybl.iidm.network.impl
Class VoltageRegulationAdderImpl
java.lang.Object
com.powsybl.commons.extensions.AbstractExtensionAdder<Battery,VoltageRegulation>
com.powsybl.iidm.network.impl.VoltageRegulationAdderImpl
- All Implemented Interfaces:
ExtensionAdder<Battery,
,VoltageRegulation> VoltageRegulationAdder
public class VoltageRegulationAdderImpl
extends AbstractExtensionAdder<Battery,VoltageRegulation>
implements VoltageRegulationAdder
- Author:
- Coline Piloquet <[email protected]>
-
Field Summary
Fields inherited from class com.powsybl.commons.extensions.AbstractExtensionAdder
extendable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected VoltageRegulation
createExtension
(Battery battery) Creates the extension.withRegulatingTerminal
(Terminal terminal) withTargetV
(double targetV) withVoltageRegulatorOn
(boolean voltageRegulatorOn) Methods inherited from class com.powsybl.commons.extensions.AbstractExtensionAdder
add
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.ExtensionAdder
add
Methods inherited from interface com.powsybl.iidm.network.extensions.VoltageRegulationAdder
getExtensionClass
-
Constructor Details
-
VoltageRegulationAdderImpl
-
-
Method Details
-
createExtension
Description copied from class:AbstractExtensionAdder
Creates the extension.- Specified by:
createExtension
in classAbstractExtensionAdder<Battery,
VoltageRegulation> - Returns:
- the extension
-
withVoltageRegulatorOn
- Specified by:
withVoltageRegulatorOn
in interfaceVoltageRegulationAdder
-
withTargetV
- Specified by:
withTargetV
in interfaceVoltageRegulationAdder
-
withRegulatingTerminal
- Specified by:
withRegulatingTerminal
in interfaceVoltageRegulationAdder
-