Class PredefinedPlantBuilder

  • All Implemented Interfaces:
    de.dlr.gitlab.fame.agent.AgentAbility

    public class PredefinedPlantBuilder
    extends PlantBuildingManager
    Installs and dismantles power plants according to a given predefined power TimeSeries
    Author:
    Christoph Schimeczek
    • Constructor Detail

      • PredefinedPlantBuilder

        public PredefinedPlantBuilder​(de.dlr.gitlab.fame.agent.input.DataProvider dataProvider)
                               throws de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException
        Parameters:
        dataProvider - provides input from config file
        Throws:
        de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException - if any required data is not provided
    • Method Detail

      • updatePortfolio

        protected void updatePortfolio​(de.dlr.gitlab.fame.time.TimeStamp targetTime,
                                       de.dlr.gitlab.fame.time.TimeSpan deliveryInterval)
        Description copied from class: PlantBuildingManager
        Creates new plants and tears down old ones in order to match current and future plant specifications
        Specified by:
        updatePortfolio in class PlantBuildingManager
        Parameters:
        targetTime - the target time when the generated portfolio shall become active
        deliveryInterval - duration for which the portfolio shall be active