Package agents.markets
Class DayAheadMarket
- java.lang.Object
-
- de.dlr.gitlab.fame.agent.Agent
-
- agents.markets.DayAheadMarket
-
- All Implemented Interfaces:
de.dlr.gitlab.fame.agent.AgentAbility
- Direct Known Subclasses:
DayAheadMarketMultiZone
,DayAheadMarketSingleZone
public abstract class DayAheadMarket extends de.dlr.gitlab.fame.agent.Agent
Common market clearing routines for day-ahead energy markets. Unlike at actual day-ahead markets, market clearing is currently implemented on an hour-per-hour basis.- Author:
- Christoph Schimeczek, A. Achraf El Ghazi, Felix Nitsch, Johannes Kochems
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
DayAheadMarket.OutputFields
Output columns for all types ofDayAheadMarket
sstatic class
DayAheadMarket.Products
Products ofDayAheadMarket
s
-
Field Summary
Fields Modifier and Type Field Description protected ClearingTimes
clearingTimes
List of times the market will be cleared at the next clearing eventprotected MarketClearing
marketClearing
Algorithm that performs the market clearing
-
Constructor Summary
Constructors Constructor Description DayAheadMarket(de.dlr.gitlab.fame.agent.input.DataProvider dataProvider)
Creates anDayAheadMarket
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getClearingEventId()
-
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
-
-
-
-
Field Detail
-
marketClearing
protected final MarketClearing marketClearing
Algorithm that performs the market clearing
-
clearingTimes
protected ClearingTimes clearingTimes
List of times the market will be cleared at the next clearing event
-
-
Constructor Detail
-
DayAheadMarket
public DayAheadMarket(de.dlr.gitlab.fame.agent.input.DataProvider dataProvider) throws de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException
Creates anDayAheadMarket
- Parameters:
dataProvider
- provides input from config- Throws:
de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException
- if any required data is not provided
-
-
Method Detail
-
getClearingEventId
protected String getClearingEventId()
- Returns:
- String identifying the agent and time of market clearing
-
-