Class FuelBid

  • public class FuelBid
    extends AmountAtTime
    Offer or request for an amount of fuel of a certain type at a given time
    Christoph Schimeczek, Johannes Kochems
    • Field Detail

      • bidType

        public final FuelBid.BidType bidType
        whether fuel is to be offered or purchased
    • Constructor Detail

      • FuelBid

        public FuelBid​(de.dlr.gitlab.fame.time.TimeStamp timeStamp,
                       double amount,
                       FuelBid.BidType bidType,
                       FuelsMarket.FuelType fuelType)
        Constructs a new FuelBid
        timeStamp - for which this fuel bid is valid at
        amount - of fuel to be sold or purchased in thermal MWH
        bidType - whether fuel is to be offered or purchased
        fuelType - type of fuel this bid is associated with
      • FuelBid

        public FuelBid​(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)
        fillDataFields in class AmountAtTime