Package agents.forecast
Class PriceForecasterApi
- java.lang.Object
-
- de.dlr.gitlab.fame.agent.Agent
-
- agents.forecast.Forecaster
-
- agents.forecast.MarketForecaster
-
- agents.forecast.PriceForecasterApi
-
- All Implemented Interfaces:
de.dlr.gitlab.fame.agent.AgentAbility
public class PriceForecasterApi extends MarketForecaster
Provides electricity price forecasts from external model via forecastApi. In order to reduce amount of calls to the external forecasting model, the forecast window can be extended beyond the configured forecasting period. Specifically, the external model is asked to provide a forecast for the period ofMarketForecaster.forecastPeriodInHours
plusforecastWindowExtensionInHours
hours. The received forecasts are saved and used to fulfil the client forecast requests. The "additional" hours from theforecastWindowExtensionInHours
are used in a rolling horizon way.
However, if forecast errors exceedforecastErrorToleranceInEURperMWH
, an immediate update via the external forecasting model is triggered.- Author:
- Felix Nitsch, Christoph Schimeczek
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class agents.forecast.MarketForecaster
MarketForecaster.Products
-
-
Field Summary
-
Fields inherited from class agents.forecast.MarketForecaster
calculatedForecastContainer, forecastPeriodInHours, marketClearing
-
-
Constructor Summary
Constructors Constructor Description PriceForecasterApi(de.dlr.gitlab.fame.agent.input.DataProvider dataProvider)
Creates newPriceForecasterApi
-
Method Summary
-
Methods inherited from class agents.forecast.MarketForecaster
getResultForRequestedTime, saveNextForecast, sortMessagesByBidTimeStamp
-
-
-
-
Constructor Detail
-
PriceForecasterApi
public PriceForecasterApi(de.dlr.gitlab.fame.agent.input.DataProvider dataProvider) throws de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException
Creates newPriceForecasterApi
- Parameters:
dataProvider
- provides input from config- Throws:
de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException
- in case mandatory input is missing
-
-