Class 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
    • Constructor Detail

      • PowerPlantPrototype

        public PowerPlantPrototype()
        required for Portables
    • Method Detail

      • addComponentsTo

        public void addComponentsTo​(de.dlr.gitlab.fame.communication.transfer.ComponentCollector collector)
        required for Portables
        Specified by:
        addComponentsTo in interface de.dlr.gitlab.fame.communication.transfer.Portable
      • populate

        public void populate​(de.dlr.gitlab.fame.communication.transfer.ComponentProvider provider)
        required for Portables
        Specified by:
        populate in interface de.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 FuelsMarket.FuelType 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)
        Override unplannedAvailabilityFactor with given value
        Parameters:
        unplannedAvailabilityFactor - to replace template value
      • setCyclingCostInEURperMW

        public void setCyclingCostInEURperMW​(double cyclingCostInEURperMW)
        Override cyclingCostInEURperMW with given value
        Parameters:
        cyclingCostInEURperMW - to replace template value
      • setPlannedAvailability

        public void setPlannedAvailability​(de.dlr.gitlab.fame.data.TimeSeries tsAvailability)
        Override tsAvailability with given value
        Parameters:
        tsAvailability - to replace template value
      • setTsVariableCosts

        public void setTsVariableCosts​(de.dlr.gitlab.fame.data.TimeSeries tsVariableCosts)
        Override tsVariableCosts with given value
        Parameters:
        tsVariableCosts - to replace template value