Interface GeneratorStartupAdder

All Superinterfaces:
ExtensionAdder<Generator,GeneratorStartup>
All Known Implementing Classes:
GeneratorStartupAdderImpl

public interface GeneratorStartupAdder extends ExtensionAdder<Generator,GeneratorStartup>
Author:
Jérémy Labous <jlabous at silicom.fr>
  • Method Details

    • 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 interface ExtensionAdder<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)