Class Portfolio

  • All Implemented Interfaces:
    de.dlr.gitlab.fame.communication.transfer.Portable

    public class Portfolio
    extends Object
    implements de.dlr.gitlab.fame.communication.transfer.Portable
    Summarises a set of conventional power plants
    Author:
    Christoph Schimeczek
    • Constructor Detail

      • Portfolio

        public Portfolio()
        required for Portables
      • Portfolio

        public Portfolio​(String fuelType)
        Creates a new Portfolio for plants with given fuelType
        Parameters:
        fuelType - type of fuel used in this portfolio
    • 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
      • getFuelType

        public String getFuelType()
        Returns:
        Type of Fuel that all contained PowerPlants have in common
      • tearDownPlants

        public void tearDownPlants​(long currentTimeStep)
        Removes any plants from the portfolio that have a tear-down time before or equal the specified time step
        Parameters:
        currentTimeStep - specified TimeStep
      • getInstalledCapacityInMW

        public double getInstalledCapacityInMW​(de.dlr.gitlab.fame.time.TimeStamp time)
        Returns installed capacity at given time
        Parameters:
        time - to evaluate capacity for
        Returns:
        installed capacity at given time in MW