Interface GeneratorStartupAdder
-
- All Superinterfaces:
ExtensionAdder<Generator,GeneratorStartup>
- All Known Implementing Classes:
GeneratorStartupAdderImpl
public interface GeneratorStartupAdder extends ExtensionAdder<Generator,GeneratorStartup>
- Author:
- Jérémy Labous
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Class<GeneratorStartup>
getExtensionClass()
Returns the class of the extension.GeneratorStartupAdder
withForcedOutageRate(double forcedOutageRate)
GeneratorStartupAdder
withMarginalCost(double marginalCost)
GeneratorStartupAdder
withPlannedActivePowerSetpoint(double plannedActivePowerSetpoint)
GeneratorStartupAdder
withPlannedOutageRate(double plannedOutageRate)
GeneratorStartupAdder
withStartupCost(double startupCost)
-
Methods inherited from interface com.powsybl.commons.extensions.ExtensionAdder
add
-
-
-
-
Method Detail
-
getExtensionClass
default Class<GeneratorStartup> getExtensionClass()
Description copied from interface:ExtensionAdder
Returns the class of the extension. This is expected to be an interface so that multiple implementors can implement the same extensions. This will be the key at which the extension is added on the extendable. This is meant to be implemented by adder interfaces but not by adder implementations.- Specified by:
getExtensionClass
in interfaceExtensionAdder<Generator,GeneratorStartup>
- Returns:
- the interface of the extension
-
withPlannedActivePowerSetpoint
GeneratorStartupAdder withPlannedActivePowerSetpoint(double plannedActivePowerSetpoint)
-
withStartupCost
GeneratorStartupAdder withStartupCost(double startupCost)
-
withMarginalCost
GeneratorStartupAdder withMarginalCost(double marginalCost)
-
withPlannedOutageRate
GeneratorStartupAdder withPlannedOutageRate(double plannedOutageRate)
-
withForcedOutageRate
GeneratorStartupAdder withForcedOutageRate(double forcedOutageRate)
-
-