Class 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 of MarketForecaster.forecastPeriodInHours plus forecastWindowExtensionInHours hours. The received forecasts are saved and used to fulfil the client forecast requests. The "additional" hours from the forecastWindowExtensionInHours are used in a rolling horizon way.
    However, if forecast errors exceed forecastErrorToleranceInEURperMWH, an immediate update via the external forecasting model is triggered.
    Author:
    Felix Nitsch, Christoph Schimeczek
    • Constructor Detail

      • PriceForecasterApi

        public PriceForecasterApi​(de.dlr.gitlab.fame.agent.input.DataProvider dataProvider)
                           throws de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException
        Creates new PriceForecasterApi
        Parameters:
        dataProvider - provides input from config
        Throws:
        de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException - in case mandatory input is missing