Package agents.trader
Class StorageTrader
- java.lang.Object
-
- de.dlr.gitlab.fame.agent.Agent
-
- agents.trader.Trader
-
- agents.trader.FlexibilityTrader
-
- agents.trader.StorageTrader
-
- All Implemented Interfaces:
DayAheadMarketTrader
,de.dlr.gitlab.fame.agent.AgentAbility
public class StorageTrader extends FlexibilityTrader
Sells and buys energy utilising a StorageDevice
at theDayAheadMarket
- Author:
- Christoph Schimeczek, Johannes Kochems, Farzad Sarfarazi, Felix Nitsch
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class agents.trader.FlexibilityTrader
FlexibilityTrader.Outputs, FlexibilityTrader.Products
-
Nested classes/interfaces inherited from class de.dlr.gitlab.fame.agent.Agent
de.dlr.gitlab.fame.agent.Agent.WarmUpStatus
-
Nested classes/interfaces inherited from interface agents.markets.DayAheadMarketTrader
DayAheadMarketTrader.OutputColumns
-
-
Field Summary
-
Fields inherited from interface agents.markets.DayAheadMarketTrader
ERR_CLEARING_TIMES_AMBIGUOUS, ERR_CLEARING_TIMES_MISSING
-
-
Constructor Summary
Constructors Constructor Description StorageTrader(de.dlr.gitlab.fame.agent.input.DataProvider dataProvider)
Creates aStorageTrader
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected double
getInstalledCapacityInMW()
Return installed capacity of the operated flexibility deviceprotected Strategist
getStrategist()
-
Methods inherited from class agents.trader.FlexibilityTrader
reportCosts, requestElectricityForecast, updateElectricityPriceForecast, updateMeritOrderForecast
-
Methods inherited from class agents.trader.Trader
extractMarginalsAtTime, getMatchingContract, getSortedMarginalList, sortMarginalsByTimeStamp
-
Methods inherited from class de.dlr.gitlab.fame.agent.Agent
addContract, call, closeChannel, executeActions, executeWarmUp, fulfilNext, fulfilNext, getId, getNextRandomNumberGenerator, getPostOffice, handleMessage, initialiseActions, now, openChannel, publish, receive, sendMessageTo, sendMessageTo, store, store, toString, warmUp
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface de.dlr.gitlab.fame.agent.AgentAbility
call, fulfilNext, fulfilNext, getId, getNextRandomNumberGenerator, now, store, store
-
Methods inherited from interface agents.markets.DayAheadMarketTrader
extractTimesFromGateClosureInfoMessages, readGateClosureInfoMessage
-
-
-
-
Constructor Detail
-
StorageTrader
public StorageTrader(de.dlr.gitlab.fame.agent.input.DataProvider dataProvider) throws de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException
Creates aStorageTrader
- Parameters:
dataProvider
- provides input from config- Throws:
de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException
- if any required data is not provided
-
-
Method Detail
-
getInstalledCapacityInMW
protected double getInstalledCapacityInMW()
Description copied from class:FlexibilityTrader
Return installed capacity of the operated flexibility device- Specified by:
getInstalledCapacityInMW
in classFlexibilityTrader
- Returns:
- installed capacity in MW
-
getStrategist
protected Strategist getStrategist()
- Specified by:
getStrategist
in classFlexibilityTrader
- Returns:
- strategist instance of respective FlexibilityTrader
-
-