Class DayAheadMarketSingleZone

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

    public class DayAheadMarketSingleZone
    extends DayAheadMarket
    Performs market clearing for a single day-ahead energy market zone.
    Author:
    Christoph Schimeczek, Johannes Kochems
    • Field Summary

      • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void clearMarket​(ArrayList<de.dlr.gitlab.fame.communication.message.Message> input, List<de.dlr.gitlab.fame.communication.Contract> contracts)
      Clears the market based on all the bids provided; writes out some market-clearing data
      • 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
    • Constructor Detail

      • DayAheadMarketSingleZone

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

      • clearMarket

        protected void clearMarket​(ArrayList<de.dlr.gitlab.fame.communication.message.Message> input,
                                   List<de.dlr.gitlab.fame.communication.Contract> contracts)
        Clears the market based on all the bids provided; writes out some market-clearing data
        Parameters:
        input - supply and demand bids
        contracts - with anyone who wants to receive information about the market clearing outcome