Class MeritOrderMessage

  • All Implemented Interfaces:
    de.dlr.gitlab.fame.communication.transfer.Portable

    public class MeritOrderMessage
    extends Object
    implements de.dlr.gitlab.fame.communication.transfer.Portable
    Transmit a DemandOrderBook and SupplyOrderBook together with a associated timeStamp
    Author:
    Evelyn Sperber, Farzad Sarfarazi
    • Constructor Detail

      • MeritOrderMessage

        public MeritOrderMessage()
        required for Portables
      • MeritOrderMessage

        public MeritOrderMessage​(SupplyOrderBook supplyOrderBook,
                                 DemandOrderBook demandOrderBook,
                                 de.dlr.gitlab.fame.time.TimeStamp timeStamp)
        Creates a new instance
        Parameters:
        supplyOrderBook - after clearing with assigned OrderBookItems
        demandOrderBook - after clearing with assigned OrderBookItems
        timeStamp - of the associated market clearing event
    • Method Detail

      • addComponentsTo

        public void addComponentsTo​(de.dlr.gitlab.fame.communication.transfer.ComponentCollector collector)
        required for Portables
        Specified by:
        addComponentsTo in interface de.dlr.gitlab.fame.communication.transfer.Portable
      • populate

        public void populate​(de.dlr.gitlab.fame.communication.transfer.ComponentProvider provider)
        required for Portables
        Specified by:
        populate in interface de.dlr.gitlab.fame.communication.transfer.Portable
      • getTimeStamp

        public de.dlr.gitlab.fame.time.TimeStamp getTimeStamp()
        Returns:
        timeStamp of the associated market clearing event