Class FileDispatcher


  • public class FileDispatcher
    extends ElectrolyzerStrategist
    Dispatches an electrolysis unit following a fixed dispatch schedule, either for hydrogen production or electric demand, and either absolute or relative to available conversion power
    Author:
    Christoph Schimeczek
    • Field Detail

      • parameters

        public static final de.dlr.gitlab.fame.agent.input.Tree parameters
        Input parameters for the FileDispatcher
    • Constructor Detail

      • FileDispatcher

        protected FileDispatcher​(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
        Creates new FileDispatcher strategist based on given input
        Parameters:
        generalInput - parameter group associated with flexibility strategists in general
        specificInput - 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

      • getElectricDemandForecastInMW

        public double getElectricDemandForecastInMW​(de.dlr.gitlab.fame.time.TimeStamp targetTime)
        Description copied from class: ElectrolyzerStrategist
        Provides forecast for electricity demand at given time;
        only available to FileDispatcher is it doesn't use forecasts themselves
        Overrides:
        getElectricDemandForecastInMW in class ElectrolyzerStrategist
        Parameters:
        targetTime - to calculate the forecast for
        Returns:
        forecasted electricity demand
      • 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 class Strategist
        Parameters:
        timePeriod - first period of the schedule to be created
      • storeElectricityPriceForecast

        public void storeElectricityPriceForecast​(de.dlr.gitlab.fame.time.TimePeriod timePeriod,
                                                  double electricityPriceForecastInEURperMWH)
        Not needed for FileDispatcher
        Overrides:
        storeElectricityPriceForecast in class Strategist
        Parameters:
        timePeriod - associated with the forecast data
        electricityPriceForecastInEURperMWH - forecast for the electricity price in EUR per MWh
      • storeMeritOrderForesight

        public void storeMeritOrderForesight​(de.dlr.gitlab.fame.time.TimePeriod timePeriod,
                                             SupplyOrderBook supplyForecast,
                                             DemandOrderBook demandForecast)
        Not needed for FileDispatcher
        Overrides:
        storeMeritOrderForesight in class Strategist
        Parameters:
        timePeriod - associated with the forecast data
        supplyForecast - forecasted supply OrderBook
        demandForecast - forecasted demand OrderBook