Package agents.trader

Class ClientData

  • public class ClientData
    extends Object
    Holds data on the client of an AggregatorTrader (i.e. a RenewablePlantOperator)
    Johannes Kochems, Christoph Schimeczek
    • Constructor Detail

      • ClientData

        public ClientData​(TechnologySet technologySet,
                          double installedCapacityInMW)
        Create a client data object and initialise it with the given technology set
        technologySet - to be assigned
        installedCapacityInMW - of the associated client
    • Method Detail

      • clearBefore

        public void clearBefore​(de.dlr.gitlab.fame.time.TimeStamp timeStamp)
        Removes any internal data with TimeStamp before given TimeStamp; other arrays are cleared as well
        timeStamp - any stored data associated with earlier times are removed
      • appendYieldPotential

        public void appendYieldPotential​(de.dlr.gitlab.fame.time.TimeStamp time,
                                         double yieldPotentialInMW)
        Save the given yield potential at the given time to this ClientData
        time - at which the yield potential is valid
        yieldPotentialInMW - true yield potential of the client at the given time
      • appendStepDispatchAndRevenue

        public void appendStepDispatchAndRevenue​(de.dlr.gitlab.fame.time.TimeStamp time,
                                                 double dispatch,
                                                 double revenue)
        Append dispatch and revenue for given time stamps to maps for tracking it
        time - at which to save dispatch and revenue
        dispatch - at given time to save
        revenue - at given time to save
      • appendSupportRevenue

        public void appendSupportRevenue​(de.dlr.gitlab.fame.time.TimePeriod accountingPeriod,
                                         double amountPaymentInEUR)
        Save received support revenues to the client it is associated with
        accountingPeriod - for which the support is received
        amountPaymentInEUR - of the associated client
      • appendMarketPremium

        public void appendMarketPremium​(de.dlr.gitlab.fame.time.TimePeriod accountingPeriod,
                                        double marketPremiumInEURperMWH)
        Save market premium to the client it is associated with
        accountingPeriod - for which the market premium applies
        marketPremiumInEURperMWH - the associated client receives for the specified accounting period
      • getInstalledCapacity

        public double getInstalledCapacity()
        the installed capacity of the associated client in MW
      • getDispatch

        public TreeMap<de.dlr.gitlab.fame.time.TimeStamp,​Double> getDispatch()
        the actual dispatch previously assigned to the client
      • getMarketRevenue

        public TreeMap<de.dlr.gitlab.fame.time.TimeStamp,​Double> getMarketRevenue()
        the market revenues created with the clients dispatch in previous times
      • getYieldPotential

        public TreeMap<de.dlr.gitlab.fame.time.TimeStamp,​Double> getYieldPotential()
        the actual (perfect foresight) yield potentials as previously reported by the client
      • getSupportRevenueInEUR

        public TreeMap<de.dlr.gitlab.fame.time.TimePeriod,​Double> getSupportRevenueInEUR()
        the support revenues previously assigned to the client
      • getMarketPremiaInEURperMWH

        public TreeMap<de.dlr.gitlab.fame.time.TimePeriod,​Double> getMarketPremiaInEURperMWH()
        the previous market premia of the client
      • setSupportData

        public void setSupportData​(SupportData supportData)
        Saves the given SupportData applicable for this client
        supportData - associated with this client
      • getSupportData

        public SupportData getSupportData()
        data on the associated support policy