Class CarbonMarket

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

    public class CarbonMarket
    extends de.dlr.gitlab.fame.agent.Agent
    CO2 market place that sells CO2 certificates and accounts for total sold CO2 emission rights. Determines CO2 prices.
    Author:
    Christoph Schimeczek
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static de.dlr.gitlab.fame.agent.input.Tree parameters
      Input parameters of CarbonMarket
      • Fields inherited from class de.dlr.gitlab.fame.agent.Agent

        contractManager, ERR_MESSAGES_MISSING, ERR_NO_ACTION, ERR_UNHANDLED_MESSAGE, INFO_NO_FOLLOW_UP, LOG_EXECUTION, logger
    • Constructor Summary

      Constructors 
      Constructor Description
      CarbonMarket​(de.dlr.gitlab.fame.agent.input.DataProvider dataProvider)
      Creates a CarbonMarket agent
    • Method Summary

      • Methods inherited from class de.dlr.gitlab.fame.agent.Agent

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

      • parameters

        protected static de.dlr.gitlab.fame.agent.input.Tree parameters
        Input parameters of CarbonMarket
    • Constructor Detail

      • CarbonMarket

        public CarbonMarket​(de.dlr.gitlab.fame.agent.input.DataProvider dataProvider)
                     throws de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException
        Creates a CarbonMarket agent
        Parameters:
        dataProvider - with data from configuration
        Throws:
        de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException - if any parameter is missing