Package endUser

Class EndUserTariff


  • public class EndUserTariff
    extends Object
    Determines end-user tariffs for consumption or feed-in
    Author:
    Farzad Sarfarazi, Johannes Kochems
    • Field Detail

      • policyParameters

        public static final de.dlr.gitlab.fame.agent.input.GroupBuilder policyParameters
        Policy-related input parameters to construct an EndUserTariff
      • businessModelParameters

        public static final de.dlr.gitlab.fame.agent.input.Tree businessModelParameters
        Business-model related input parameters to construct an EndUserTariff
    • Constructor Detail

      • EndUserTariff

        public EndUserTariff​(de.dlr.gitlab.fame.agent.input.ParameterData policy,
                             de.dlr.gitlab.fame.agent.input.ParameterData businessModel)
                      throws de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException
        Creates an EndUserTariff
        Parameters:
        policy - containing all policy-based tariff components
        businessModel - containing all business-model related tariff components
        Throws:
        de.dlr.gitlab.fame.agent.input.ParameterData.MissingDataException - if any required data is not provided
    • Method Detail

      • calcSalePriceInEURperMWH

        public double calcSalePriceInEURperMWH​(double forecastedMarketPriceInEURPerMWH,
                                               de.dlr.gitlab.fame.time.TimeStamp targetTime)
        Calculate and return the price at which a retailer energy power to customers
        Parameters:
        forecastedMarketPriceInEURPerMWH - expected electricity price at the day-ahead market
        targetTime - for which to calculate the electricity retail price
        Returns:
        calculated sales price
      • calcCapacityRelatedPriceInEURPerMW

        public double calcCapacityRelatedPriceInEURPerMW​(de.dlr.gitlab.fame.time.TimeStamp targetTime)
        Calculate and return the price for peak capacity of a customer
        Parameters:
        targetTime - to calculate at
        Returns:
        capacity price at given time
      • calcFixedPriceInEURPerYear

        public double calcFixedPriceInEURPerYear​(de.dlr.gitlab.fame.time.TimeStamp targetTime)
        Calculate and return the fixed price for, e.g., network charges
        Parameters:
        targetTime - at which to calculate
        Returns:
        fixed price
      • calcSalePriceExcludingPowerPriceInEURPerMWH

        public double calcSalePriceExcludingPowerPriceInEURPerMWH​(double forecastedMarketPriceInEURPerMWH,
                                                                  de.dlr.gitlab.fame.time.TimeStamp targetTime)
        Calculate and return the price at which a retailer provides power to customers excluding the actual wholesale day-ahead power price
        Parameters:
        forecastedMarketPriceInEURPerMWH - expected wholesale market price
        targetTime - at which to calculate
        Returns:
        retail price without wholesale price component
      • isStaticPowerPrice

        public boolean isStaticPowerPrice()
        Return true if tariff is static
        Returns:
        whether or not power price is static
      • getStaticPowerPrice

        public double getStaticPowerPrice​(de.dlr.gitlab.fame.time.TimeStamp targetTime)
        Gets the static average market price
        Parameters:
        targetTime - time for which static power price is evaluated
        Returns:
        static power price
      • calcPurchasePriceInEURPerMWH

        public double calcPurchasePriceInEURPerMWH​(double forecastedMarketPriceInEURPerMWH)
        Calculate purchase price based on feed in tariff
        Parameters:
        forecastedMarketPriceInEURPerMWH - forecasted market price
        Returns:
        feed in tariff at given forecasted market price