Enum DelayDischargeRiskLevel

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<DelayDischargeRiskLevel>

    public enum DelayDischargeRiskLevel
    extends java.lang.Enum<DelayDischargeRiskLevel>
    The Risk Level is describing the risk propensity and effects on the SoC curve during the night.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      HIGH
      Complete dependency on Predictions.
      LOW
      Less dependent on predictions.
      MEDIUM
      Moderately dependent on predictions.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int bufferMinutes  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getBufferMinutes()
      Get buffer minutes.
      static DelayDischargeRiskLevel valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static DelayDischargeRiskLevel[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • LOW

        public static final DelayDischargeRiskLevel LOW
        Less dependent on predictions. The state of charge will most likely be at minimum SoC level before there is more production than consumption, but might end up buying from grid during high price hour for consumption.
      • MEDIUM

        public static final DelayDischargeRiskLevel MEDIUM
        Moderately dependent on predictions. The state of charge will likely be at minimum SoC level before there is more production than consumption. It is still possible that the storage might be empty and end up buying from grid during the high price hour.
      • HIGH

        public static final DelayDischargeRiskLevel HIGH
        Complete dependency on Predictions. The state of charge will likely be at minimum SoC level before there is more production than consumption, but very often certain percentage SoC will remain in the battery which goes unused for the night consumption.
    • Field Detail

      • bufferMinutes

        public final int bufferMinutes
    • Method Detail

      • values

        public static DelayDischargeRiskLevel[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DelayDischargeRiskLevel c : DelayDischargeRiskLevel.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DelayDischargeRiskLevel valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getBufferMinutes

        public int getBufferMinutes()
        Get buffer minutes.
        Returns:
        buffer minutes