Class AwardData


  • public class AwardData
    extends de.dlr.gitlab.fame.communication.message.DataItem
    Award information returned from market clearing
    • Field Summary

      Fields 
      Modifier and Type Field Description
      de.dlr.gitlab.fame.time.TimeStamp beginOfDeliveryInterval
      the begin of the delivery interval (hour)
      double demandEnergyInMWH
      the energy awarded from a demand bid
      double powerPriceInEURperMWH
      the power price for the particular delivery time
      double supplyEnergyInMWH
      the energy awarded from a supply bid
      • Fields inherited from class de.dlr.gitlab.fame.communication.message.DataItem

        CLASS_NOT_KNOWN, ERR_MISSING_CONSTRUCTOR
    • Constructor Summary

      Constructors 
      Constructor Description
      AwardData​(double supplyEnergyInMWH, double demandEnergyInMWH, double powerPriceInEURperMWH, de.dlr.gitlab.fame.time.TimeStamp timeStamp)
      Creates new instance
      AwardData​(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem proto)
      Mandatory for deserialisation of DataItems
    • Field Detail

      • demandEnergyInMWH

        public final double demandEnergyInMWH
        the energy awarded from a demand bid
      • supplyEnergyInMWH

        public final double supplyEnergyInMWH
        the energy awarded from a supply bid
      • powerPriceInEURperMWH

        public final double powerPriceInEURperMWH
        the power price for the particular delivery time
      • beginOfDeliveryInterval

        public final de.dlr.gitlab.fame.time.TimeStamp beginOfDeliveryInterval
        the begin of the delivery interval (hour)
    • Constructor Detail

      • AwardData

        public AwardData​(double supplyEnergyInMWH,
                         double demandEnergyInMWH,
                         double powerPriceInEURperMWH,
                         de.dlr.gitlab.fame.time.TimeStamp timeStamp)
        Creates new instance
        Parameters:
        supplyEnergyInMWH - awarded supply energy
        demandEnergyInMWH - awarded demand energy
        powerPriceInEURperMWH - market clearing price
        timeStamp - begin of the associated delivery interval
      • AwardData

        public AwardData​(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem proto)
        Mandatory for deserialisation of DataItems
        Parameters:
        proto - protobuf representation
    • Method Detail

      • fillDataFields

        protected void fillDataFields​(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem.Builder builder)
        Specified by:
        fillDataFields in class de.dlr.gitlab.fame.communication.message.DataItem