Package agents.trader
Class ClientData
- java.lang.Object
-
- agents.trader.ClientData
-
public class ClientData extends Object
Holds data on the client of an AggregatorTrader (i.e. aRenewablePlantOperator
)- Author:
- Johannes Kochems, Christoph Schimeczek
-
-
Constructor Summary
Constructors Constructor Description ClientData(TechnologySet technologySet, double installedCapacityInMW)
Create a client data object and initialise it with the given technology set
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendMarketPremium(de.dlr.gitlab.fame.time.TimePeriod accountingPeriod, double marketPremiumInEURperMWH)
Save market premium to the client it is associated withvoid
appendStepDispatchAndRevenue(de.dlr.gitlab.fame.time.TimeStamp time, double dispatch, double revenue)
Append dispatch and revenue for given time stamps to maps for tracking itvoid
appendSupportRevenue(de.dlr.gitlab.fame.time.TimePeriod accountingPeriod, double amountPaymentInEUR)
Save received support revenues to the client it is associated withvoid
appendYieldPotential(de.dlr.gitlab.fame.time.TimeStamp time, double yieldPotentialInMW)
Save the given yield potential at the given time to thisClientData
void
clearBefore(de.dlr.gitlab.fame.time.TimeStamp timeStamp)
Removes any internal data with TimeStamp before given TimeStamp; other arrays are cleared as wellTreeMap<de.dlr.gitlab.fame.time.TimeStamp,Double>
getDispatch()
double
getInstalledCapacity()
TreeMap<de.dlr.gitlab.fame.time.TimePeriod,Double>
getMarketPremiaInEURperMWH()
TreeMap<de.dlr.gitlab.fame.time.TimeStamp,Double>
getMarketRevenue()
SupportData
getSupportData()
TreeMap<de.dlr.gitlab.fame.time.TimePeriod,Double>
getSupportRevenueInEUR()
TechnologySet
getTechnologySet()
TreeMap<de.dlr.gitlab.fame.time.TimeStamp,Double>
getYieldPotential()
void
setSupportData(SupportData supportData)
Saves the givenSupportData
applicable for this client
-
-
-
Constructor Detail
-
ClientData
public ClientData(TechnologySet technologySet, double installedCapacityInMW)
Create a client data object and initialise it with the given technology set- Parameters:
technologySet
- to be assignedinstalledCapacityInMW
- 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- Parameters:
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 thisClientData
- Parameters:
time
- at which the yield potential is validyieldPotentialInMW
- 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- Parameters:
time
- at which to save dispatch and revenuedispatch
- at given time to saverevenue
- 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- Parameters:
accountingPeriod
- for which the support is receivedamountPaymentInEUR
- 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- Parameters:
accountingPeriod
- for which the market premium appliesmarketPremiumInEURperMWH
- the associated client receives for the specified accounting period
-
getTechnologySet
public TechnologySet getTechnologySet()
- Returns:
- the
TechnologySet
of the associated client
-
getInstalledCapacity
public double getInstalledCapacity()
- Returns:
- the installed capacity of the associated client in MW
-
getDispatch
public TreeMap<de.dlr.gitlab.fame.time.TimeStamp,Double> getDispatch()
- Returns:
- the actual dispatch previously assigned to the client
-
getMarketRevenue
public TreeMap<de.dlr.gitlab.fame.time.TimeStamp,Double> getMarketRevenue()
- Returns:
- the market revenues created with the clients dispatch in previous times
-
getYieldPotential
public TreeMap<de.dlr.gitlab.fame.time.TimeStamp,Double> getYieldPotential()
- Returns:
- the actual (perfect foresight) yield potentials as previously reported by the client
-
getSupportRevenueInEUR
public TreeMap<de.dlr.gitlab.fame.time.TimePeriod,Double> getSupportRevenueInEUR()
- Returns:
- the support revenues previously assigned to the client
-
getMarketPremiaInEURperMWH
public TreeMap<de.dlr.gitlab.fame.time.TimePeriod,Double> getMarketPremiaInEURperMWH()
- Returns:
- the previous market premia of the client
-
setSupportData
public void setSupportData(SupportData supportData)
Saves the givenSupportData
applicable for this client- Parameters:
supportData
- associated with this client
-
getSupportData
public SupportData getSupportData()
- Returns:
- data on the associated support policy
-
-