Class IndividualPlantBuilder

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

    public class IndividualPlantBuilder
    extends PlantBuildingManager
    Installs and dismantles power plants according to a list of individual plants
    Author:
    Christoph Schimeczek
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.dlr.gitlab.fame.agent.Agent

        de.dlr.gitlab.fame.agent.Agent.WarmUpStatus
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void updatePortfolio​(de.dlr.gitlab.fame.time.TimeStamp targetTime, de.dlr.gitlab.fame.time.TimeSpan deliveryInterval)
      Creates new plants and tears down old ones in order to match current and future plant specifications
      • Methods inherited from class de.dlr.gitlab.fame.agent.Agent

        addContract, call, closeChannel, executeActions, executeWarmUp, fulfilNext, fulfilNext, getId, getNextRandomNumberGenerator, getPostOffice, handleMessage, initialiseActions, now, openChannel, publish, receive, sendMessageTo, sendMessageTo, store, store, toString, warmUp
    • Constructor Detail

      • IndividualPlantBuilder

        public IndividualPlantBuilder​(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