Package agents.electrolysis
Class SingleAgentSimple
- java.lang.Object
-
- agents.flexibility.Strategist
-
- agents.electrolysis.ElectrolyzerStrategist
-
- agents.electrolysis.SingleAgentSimple
-
public class SingleAgentSimple extends ElectrolyzerStrategist
Dispatches an electrolysis unit with the aim to minimise its cost using an electricity price forecast and a hydrogen production goal- Author:
- Christoph Schimeczek
-
-
Field Summary
Fields Modifier and Type Field Description static de.dlr.gitlab.fame.agent.input.Tree
parameters
Inputs specific toSingleAgentSimple
electrolyzer strategists-
Fields inherited from class agents.electrolysis.ElectrolyzerStrategist
actualProducedHydrogen, electrolyzer, scheduledChargedHydrogenTotal
-
Fields inherited from class agents.flexibility.Strategist
bidToleranceParam, demandScheduleInMWH, ERR_PROVIDE_FORECAST, ERR_UNKNOWN_STRATEGIST, ERR_USE_MERIT_ORDER_FORECAST, ERR_USE_PRICE_FORECAST, forecastPeriodParam, forecastSteps, OPERATION_PERIOD, priceScheduleInEURperMWH, scheduledBidPricesInEURperMWH, scheduleDurationParam, scheduleDurationPeriods
-
-
Constructor Summary
Constructors Constructor Description SingleAgentSimple(de.dlr.gitlab.fame.agent.input.ParameterData generalInput, de.dlr.gitlab.fame.agent.input.ParameterData specificInput)
Create newSingleAgentSimple
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MeritOrderSensitivity
createBlankSensitivity()
void
storeMeritOrderForesight(de.dlr.gitlab.fame.time.TimePeriod timePeriod, SupplyOrderBook supplyForecast, DemandOrderBook demandForecast)
Stores given supply and demand bid forecasts for the associated TimePeriod: merit-order forecasting methodprotected void
updateSchedule(de.dlr.gitlab.fame.time.TimePeriod timePeriod)
Updates schedule arrays starting at the given TimePeriod with the given initial energy level-
Methods inherited from class agents.electrolysis.ElectrolyzerStrategist
getElectricDemandForecastInMW, getHydrogenPriceForPeriod, getInternalEnergySchedule, getMissingHydrogenPriceForecastsTimes, getValidSchedule, newStrategist, setElectrolyzer, storeHydrogenPriceForecast, updateProducedHydrogenTotal
-
Methods inherited from class agents.flexibility.Strategist
callOnSensitivity, clearSensitivitiesBefore, createSchedule, getMissingForecastTimes, getSensitivityForPeriod, getTimesMissingElectricityForecasts, storeElectricityPriceForecast, updateBidSchedule
-
-
-
-
Field Detail
-
parameters
public static final de.dlr.gitlab.fame.agent.input.Tree parameters
Inputs specific toSingleAgentSimple
electrolyzer strategists
-
-
Constructor Detail
-
SingleAgentSimple
public SingleAgentSimple(de.dlr.gitlab.fame.agent.input.ParameterData generalInput, de.dlr.gitlab.fame.agent.input.ParameterData specificInput) throws de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException
Create newSingleAgentSimple
- Parameters:
generalInput
- parameter group associated with flexibility strategists in generalspecificInput
- parameter group associated with this strategist in specific- Throws:
de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException
- if any required input data is missing
-
-
Method Detail
-
updateSchedule
protected void updateSchedule(de.dlr.gitlab.fame.time.TimePeriod timePeriod)
Description copied from class:Strategist
Updates schedule arrays starting at the given TimePeriod with the given initial energy level- Specified by:
updateSchedule
in classStrategist
- Parameters:
timePeriod
- first period of the schedule to be created
-
createBlankSensitivity
protected MeritOrderSensitivity createBlankSensitivity()
- Specified by:
createBlankSensitivity
in classStrategist
- Returns:
- an empty
MeritOrderSensitivity
item of the type used by thisArbitrageStrategist
-type
-
storeMeritOrderForesight
public void storeMeritOrderForesight(de.dlr.gitlab.fame.time.TimePeriod timePeriod, SupplyOrderBook supplyForecast, DemandOrderBook demandForecast)
Description copied from class:Strategist
Stores given supply and demand bid forecasts for the associated TimePeriod: merit-order forecasting method- Overrides:
storeMeritOrderForesight
in classStrategist
- Parameters:
timePeriod
- associated with the forecast datasupplyForecast
- forecasted supply OrderBookdemandForecast
- forecasted demand OrderBook
-
-