Package agents.markets
Interface FuelsTrader
-
- All Superinterfaces:
de.dlr.gitlab.fame.agent.AgentAbility
- All Known Implementing Classes:
ConventionalPlantOperator
,ElectrolysisTrader
,GreenHydrogenOperator
public interface FuelsTrader extends de.dlr.gitlab.fame.agent.AgentAbility
Interface for traders at theFuelsMarket
- Author:
- Christoph Schimeczek
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FuelsTrader.Products
Products of traders interacting withFuelsMarket
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default double
readFuelBillMessage(de.dlr.gitlab.fame.communication.message.Message message)
Reads aFuelsMarket.Products.FuelBill
message from a contractedFuelsMarket
default FuelCost
readFuelPriceMessage(de.dlr.gitlab.fame.communication.message.Message message)
Reads aFuelsMarket.Products.FuelPriceForecast
orFuelsMarket.Products.FuelPrice
message from a contractedFuelsMarket
default void
sendFuelBid(de.dlr.gitlab.fame.communication.Contract contract, FuelBid fuelBid)
Send aFuelsTrader.Products.FuelBid
message to the contractedFuelsMarket
default void
sendFuelPriceRequest(de.dlr.gitlab.fame.communication.Contract contract, FuelData fuelData, ClearingTimes clearingTimes)
Send aFuelsTrader.Products.FuelPriceForecastRequest
orFuelsTrader.Products.FuelPriceRequest
message to the contractedFuelsMarket
-
-
-
Method Detail
-
sendFuelPriceRequest
default void sendFuelPriceRequest(de.dlr.gitlab.fame.communication.Contract contract, FuelData fuelData, ClearingTimes clearingTimes)
Send aFuelsTrader.Products.FuelPriceForecastRequest
orFuelsTrader.Products.FuelPriceRequest
message to the contractedFuelsMarket
- Parameters:
contract
- with theFuelsMarket
fuelData
- specifies for which type of fuel price (forecasts) are requestedclearingTimes
- specifies at which time(s) price (forecasts) are requested
-
readFuelPriceMessage
default FuelCost readFuelPriceMessage(de.dlr.gitlab.fame.communication.message.Message message)
Reads aFuelsMarket.Products.FuelPriceForecast
orFuelsMarket.Products.FuelPrice
message from a contractedFuelsMarket
- Parameters:
message
- to be read- Returns:
FuelCost
extracted from the message
-
sendFuelBid
default void sendFuelBid(de.dlr.gitlab.fame.communication.Contract contract, FuelBid fuelBid)
Send aFuelsTrader.Products.FuelBid
message to the contractedFuelsMarket
- Parameters:
contract
- with theFuelsMarket
fuelBid
- to be sent
-
readFuelBillMessage
default double readFuelBillMessage(de.dlr.gitlab.fame.communication.message.Message message)
Reads aFuelsMarket.Products.FuelBill
message from a contractedFuelsMarket
- Parameters:
message
- to be read- Returns:
- total cost for fuel in last
FuelBid
message (negative on revenues)
-
-