Class PriceNoSensitivity


  • public class PriceNoSensitivity
    extends MeritOrderSensitivity
    Despite being of type MeritOrderSensitivity, these objects store no sensitivity information but only a single electricity price
    Author:
    Christoph Schimeczek
    • Constructor Detail

      • PriceNoSensitivity

        public PriceNoSensitivity()
    • Method Detail

      • getValuesInSteps

        public double[] getValuesInSteps​(int numberOfTransitionSteps)
        Description copied from class: MeritOrderSensitivity
        Calculate sensitivity in equally distributed steps of power
        Overrides:
        getValuesInSteps in class MeritOrderSensitivity
        Parameters:
        numberOfTransitionSteps - to determine the granularity of the created sensitivity
        Returns:
        values of Sensitivity in (2 * numberOfTransitionSteps + 1) steps, equally dividing max charging and discharging powers; first entry corresponds to maximum discharging power, while the last entry resembles sensitivity value at maximum charging power
      • calcValueOfItemAtPower

        protected double calcValueOfItemAtPower​(SensitivityItem item,
                                                double power)
        Description copied from class: MeritOrderSensitivity
        Calculates value of given sensitivity item at specified power
        Specified by:
        calcValueOfItemAtPower in class MeritOrderSensitivity
        Parameters:
        item - that is to be evaluated
        power - to be applied
        Returns:
        value of given SensitivityItem at specified power according to this Sensitivity type;
        when power > 0: charging, otherwise discharging
      • updatePriceForecast

        public void updatePriceForecast​(double electricityPriceForecast)
        Description copied from class: MeritOrderSensitivity
        Stores fixed electricity price forecast value
        Specified by:
        updatePriceForecast in class MeritOrderSensitivity
        Parameters:
        electricityPriceForecast - value to store
      • isEmpty

        public boolean isEmpty()
        Overrides:
        isEmpty in class MeritOrderSensitivity
        Returns:
        true if sensitivities have not been set yet
      • getPriceForecast

        public double getPriceForecast()
        Returns:
        forecast price in €/MWh