Class GeneratorStartupImpl
- java.lang.Object
-
- com.powsybl.commons.extensions.AbstractExtension<Generator>
-
- com.powsybl.iidm.network.impl.extensions.GeneratorStartupImpl
-
- All Implemented Interfaces:
Extension<Generator>
,GeneratorStartup
public class GeneratorStartupImpl extends AbstractExtension<Generator> implements GeneratorStartup
- Author:
- Jérémy Labous
-
-
Field Summary
-
Fields inherited from interface com.powsybl.iidm.network.extensions.GeneratorStartup
NAME
-
-
Constructor Summary
Constructors Constructor Description GeneratorStartupImpl(Generator generator, double plannedActivePowerSetpoint, double startupCost, double marginalCost, double plannedOutageRate, double forcedOutageRate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getForcedOutageRate()
Rate of force unavailability (not forecast, no unit)double
getMarginalCost()
What does it cost to increase the production of one unit (in general one MW).double
getPlannedActivePowerSetpoint()
The active power target planned by the market (in MW).double
getPlannedOutageRate()
Rate of planned unavailability (no unit).double
getStartupCost()
What does it cost to start this generator.GeneratorStartupImpl
setForcedOutageRate(double forcedOutageRate)
GeneratorStartupImpl
setMarginalCost(double marginalCost)
GeneratorStartupImpl
setPlannedActivePowerSetpoint(double predefinedActivePowerSetpoint)
GeneratorStartupImpl
setPlannedOutageRate(double plannedOutageRate)
GeneratorStartup
setStartupCost(double startUpCost)
-
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.GeneratorStartup
getName
-
-
-
-
Constructor Detail
-
GeneratorStartupImpl
public GeneratorStartupImpl(Generator generator, double plannedActivePowerSetpoint, double startupCost, double marginalCost, double plannedOutageRate, double forcedOutageRate)
-
-
Method Detail
-
getPlannedActivePowerSetpoint
public double getPlannedActivePowerSetpoint()
Description copied from interface:GeneratorStartup
The active power target planned by the market (in MW).- Specified by:
getPlannedActivePowerSetpoint
in interfaceGeneratorStartup
-
setPlannedActivePowerSetpoint
public GeneratorStartupImpl setPlannedActivePowerSetpoint(double predefinedActivePowerSetpoint)
- Specified by:
setPlannedActivePowerSetpoint
in interfaceGeneratorStartup
-
getStartupCost
public double getStartupCost()
Description copied from interface:GeneratorStartup
What does it cost to start this generator.- Specified by:
getStartupCost
in interfaceGeneratorStartup
-
setStartupCost
public GeneratorStartup setStartupCost(double startUpCost)
- Specified by:
setStartupCost
in interfaceGeneratorStartup
-
getMarginalCost
public double getMarginalCost()
Description copied from interface:GeneratorStartup
What does it cost to increase the production of one unit (in general one MW).- Specified by:
getMarginalCost
in interfaceGeneratorStartup
-
setMarginalCost
public GeneratorStartupImpl setMarginalCost(double marginalCost)
- Specified by:
setMarginalCost
in interfaceGeneratorStartup
-
getPlannedOutageRate
public double getPlannedOutageRate()
Description copied from interface:GeneratorStartup
Rate of planned unavailability (no unit).- Specified by:
getPlannedOutageRate
in interfaceGeneratorStartup
-
setPlannedOutageRate
public GeneratorStartupImpl setPlannedOutageRate(double plannedOutageRate)
- Specified by:
setPlannedOutageRate
in interfaceGeneratorStartup
-
getForcedOutageRate
public double getForcedOutageRate()
Description copied from interface:GeneratorStartup
Rate of force unavailability (not forecast, no unit)- Specified by:
getForcedOutageRate
in interfaceGeneratorStartup
-
setForcedOutageRate
public GeneratorStartupImpl setForcedOutageRate(double forcedOutageRate)
- Specified by:
setForcedOutageRate
in interfaceGeneratorStartup
-
-