Package agents.markets
Class DayAheadMarketSingleZone
- java.lang.Object
-
- de.dlr.gitlab.fame.agent.Agent
-
- agents.markets.DayAheadMarket
-
- agents.markets.DayAheadMarketSingleZone
-
- All Implemented Interfaces:
de.dlr.gitlab.fame.agent.AgentAbility
public class DayAheadMarketSingleZone extends DayAheadMarket
Performs market clearing for a single day-ahead energy market zone.- Author:
- Christoph Schimeczek, Johannes Kochems
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class agents.markets.DayAheadMarket
DayAheadMarket.OutputFields, DayAheadMarket.Products
-
-
Field Summary
-
Fields inherited from class agents.markets.DayAheadMarket
clearingTimes, marketClearing
-
-
Constructor Summary
Constructors Constructor Description DayAheadMarketSingleZone(de.dlr.gitlab.fame.agent.input.DataProvider dataProvider)
Creates anDayAheadMarketSingleZone
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clearMarket(ArrayList<de.dlr.gitlab.fame.communication.message.Message> input, List<de.dlr.gitlab.fame.communication.Contract> contracts)
Clears the market based on all the bids provided; writes out some market-clearing data-
Methods inherited from class agents.markets.DayAheadMarket
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
-
-
-
-
Constructor Detail
-
DayAheadMarketSingleZone
public DayAheadMarketSingleZone(de.dlr.gitlab.fame.agent.input.DataProvider dataProvider) throws de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException
Creates anDayAheadMarketSingleZone
- Parameters:
dataProvider
- provides input from config- Throws:
de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException
- if any required data is not provided
-
-
Method Detail
-
clearMarket
protected void clearMarket(ArrayList<de.dlr.gitlab.fame.communication.message.Message> input, List<de.dlr.gitlab.fame.communication.Contract> contracts)
Clears the market based on all the bids provided; writes out some market-clearing data- Parameters:
input
- supply and demand bidscontracts
- with anyone who wants to receive information about the market clearing outcome
-
-