Class MarketClearing

  • public class MarketClearing
    extends Object
    Performs market clearing of day-ahead market based on provided Bid-messages
    Farzad Sarfarazi, Christoph Schimeczek
    • Field Detail

      • parameters

        public static final de.dlr.gitlab.fame.agent.input.Tree parameters
        Input parameters of MarketClearing
      • logger

        protected static org.slf4j.Logger logger
        Logs errors of MarketClearing
    • Constructor Detail

      • MarketClearing

        public MarketClearing​(de.dlr.gitlab.fame.agent.input.ParameterData input)
                       throws de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException
        Creates a MarketClearing
        input - group holding all parameters
        de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException - if any required parameters are missing
    • Method Detail

      • calculateMarketClearing

        public MarketClearingResult calculateMarketClearing​(ArrayList<de.dlr.gitlab.fame.communication.message.Message> input,
                                                            String clearingEventId)
        Clears the market based on all the bids provided in form of messages
        input - unsorted messages containing demand and supply bids
        clearingEventId - text to specify in what context the market clearing was attempted in case of an error
        result of market clearing