Class FuelCost


  • public class FuelCost
    extends AmountAtTime
    An AmountAtTime specialising in specific fuel cost
    Author:
    Christoph Schimeczek
    • Field Summary

      • Fields inherited from class de.dlr.gitlab.fame.communication.message.DataItem

        CLASS_NOT_KNOWN, ERR_MISSING_CONSTRUCTOR
    • Constructor Summary

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

      • FuelCost

        public FuelCost​(de.dlr.gitlab.fame.time.TimeStamp timeStamp,
                        double fuelPriceInEURperThermalMWH)
        Creates new instance
        Parameters:
        timeStamp - at which the price is valid
        fuelPriceInEURperThermalMWH - fuel price at the given time in EUR per thermal MWH
      • FuelCost

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