Class SupportRequestData

  • public class SupportRequestData
    extends de.dlr.gitlab.fame.communication.message.DataItem
    Holds the support data needed to calculate the support pay-out by the policy agent after a request by an AggregatorTrader.
    Johannes Kochems, Christoph Schimeczek
    • Field Detail

      • infeed

        public final TreeMap<de.dlr.gitlab.fame.time.TimeStamp,​Double> infeed
        infeed per time stamp
      • installedCapacityInMW

        public final double installedCapacityInMW
        the installed capacity, relevant in case of capacity-based support
      • accountingPeriod

        public final de.dlr.gitlab.fame.time.TimePeriod accountingPeriod
        the accounting period for calculating the support payments
      • clientId

        public final long clientId
        Id of the client receiving support
    • Constructor Detail

      • SupportRequestData

        public SupportRequestData​(Map.Entry<Long,​ClientData> entry,
                                  de.dlr.gitlab.fame.time.TimePeriod accountingPeriod)
        entry - data about the client associated with its UUID
        accountingPeriod - the time period for which the client data apply
      • SupportRequestData

        public SupportRequestData​(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem proto)
        Mandatory for deserialisation of DataItems
        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