Package agents.conventionals
Class PowerPlantPrototype
- java.lang.Object
-
- agents.conventionals.PowerPlantPrototype
-
- All Implemented Interfaces:
de.dlr.gitlab.fame.communication.transfer.Portable
- Direct Known Subclasses:
PowerPlant
public abstract class PowerPlantPrototype extends Object implements de.dlr.gitlab.fame.communication.transfer.Portable
Stores common data of one type of conventional power plants- Author:
- Christoph Schimeczek
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PowerPlantPrototype.PrototypeData
Technical specification template for a group conventional power plants
-
Constructor Summary
Constructors Constructor Description PowerPlantPrototype()
required forPortable
sPowerPlantPrototype(PowerPlantPrototype.PrototypeData prototypeData)
CreatesPowerPlantPrototype
based on
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addComponentsTo(de.dlr.gitlab.fame.communication.transfer.ComponentCollector collector)
required forPortable
sdouble
calcCo2EmissionInTons(double thermalEnergyInMWH)
Calculates CO2 emissions for given used thermal energyprotected double
getAvailability(de.dlr.gitlab.fame.time.TimeStamp time)
Returns availability of power plants at given timedouble
getCyclingCostInEURperMW()
Returns the cycling costsprotected String
getFuelType()
Returns the fuel typedouble
getSpecificCo2EmissionsInTonsPerThermalMWH()
Returns specific CO2 emissionsprotected double
getVariableCostInEURperMWH(de.dlr.gitlab.fame.time.TimeStamp time)
Returns the variable costs at a specified time.void
populate(de.dlr.gitlab.fame.communication.transfer.ComponentProvider provider)
required forPortable
svoid
setCyclingCostInEURperMW(double cyclingCostInEURperMW)
OverridecyclingCostInEURperMW
with given valuevoid
setPlannedAvailability(de.dlr.gitlab.fame.data.TimeSeries tsAvailability)
OverridetsAvailability
with given valuevoid
setTsVariableCosts(de.dlr.gitlab.fame.data.TimeSeries tsVariableCosts)
OverridetsVariableCosts
with given valuevoid
setUnplannedAvailabilityFactor(double unplannedAvailabilityFactor)
OverrideunplannedAvailabilityFactor
with given value
-
-
-
Constructor Detail
-
PowerPlantPrototype
public PowerPlantPrototype()
required forPortable
s
-
PowerPlantPrototype
public PowerPlantPrototype(PowerPlantPrototype.PrototypeData prototypeData)
CreatesPowerPlantPrototype
based on- Parameters:
prototypeData
- template to initialise most technical plant parameters
-
-
Method Detail
-
addComponentsTo
public void addComponentsTo(de.dlr.gitlab.fame.communication.transfer.ComponentCollector collector)
required forPortable
s- Specified by:
addComponentsTo
in interfacede.dlr.gitlab.fame.communication.transfer.Portable
-
populate
public void populate(de.dlr.gitlab.fame.communication.transfer.ComponentProvider provider)
required forPortable
s- Specified by:
populate
in interfacede.dlr.gitlab.fame.communication.transfer.Portable
-
getAvailability
protected double getAvailability(de.dlr.gitlab.fame.time.TimeStamp time)
Returns availability of power plants at given time- Parameters:
time
- at which to return availability- Returns:
- availability ratio between effective and nominal available net electricity generation considering planned and unplanned availabilities
-
getVariableCostInEURperMWH
protected double getVariableCostInEURperMWH(de.dlr.gitlab.fame.time.TimeStamp time)
Returns the variable costs at a specified time.- Parameters:
time
- to return costs for- Returns:
- variable costs in EUR per (electric) MWh
-
calcCo2EmissionInTons
public double calcCo2EmissionInTons(double thermalEnergyInMWH)
Calculates CO2 emissions for given used thermal energy- Parameters:
thermalEnergyInMWH
- for which to calculate emissions for- Returns:
- emitted co2 for the specified thermal energy used
-
getCyclingCostInEURperMW
public double getCyclingCostInEURperMW()
Returns the cycling costs- Returns:
- cycling costs in Euro per MW
-
getFuelType
protected String getFuelType()
Returns the fuel type- Returns:
- fuel type
-
getSpecificCo2EmissionsInTonsPerThermalMWH
public double getSpecificCo2EmissionsInTonsPerThermalMWH()
Returns specific CO2 emissions- Returns:
- specific CO2 emissions in tons per thermal MWH
-
setUnplannedAvailabilityFactor
public void setUnplannedAvailabilityFactor(double unplannedAvailabilityFactor)
OverrideunplannedAvailabilityFactor
with given value- Parameters:
unplannedAvailabilityFactor
- to replace template value
-
setCyclingCostInEURperMW
public void setCyclingCostInEURperMW(double cyclingCostInEURperMW)
OverridecyclingCostInEURperMW
with given value- Parameters:
cyclingCostInEURperMW
- to replace template value
-
setPlannedAvailability
public void setPlannedAvailability(de.dlr.gitlab.fame.data.TimeSeries tsAvailability)
OverridetsAvailability
with given value- Parameters:
tsAvailability
- to replace template value
-
setTsVariableCosts
public void setTsVariableCosts(de.dlr.gitlab.fame.data.TimeSeries tsVariableCosts)
OverridetsVariableCosts
with given value- Parameters:
tsVariableCosts
- to replace template value
-
-