Enum DelayChargeRiskLevel

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

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

      Enum Constants 
      Enum Constant Description
      HIGH
      The state of charge will mostly be at 100% before there is less production than consumption but if there is very often more production than the maximum sell to grid power allows - this power can be used to charge the battery, because it is not already full in most of the cases.
      LOW
      The state of charge will most likely be at 100% before there is less production than consumption but the storage is maybe already full if we need to avoid the PV-curtail.
      MEDIUM
      The state of charge will likely be at 100% before there is less production than consumption.
    • 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 DelayChargeRiskLevel valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static DelayChargeRiskLevel[] 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 DelayChargeRiskLevel LOW
        The state of charge will most likely be at 100% before there is less production than consumption but the storage is maybe already full if we need to avoid the PV-curtail.
      • MEDIUM

        public static final DelayChargeRiskLevel MEDIUM
        The state of charge will likely be at 100% before there is less production than consumption. It is still possible that the storage is not completely full and not every PV-curtail can be covered.
      • HIGH

        public static final DelayChargeRiskLevel HIGH
        The state of charge will mostly be at 100% before there is less production than consumption but if there is very often more production than the maximum sell to grid power allows - this power can be used to charge the battery, because it is not already full in most of the cases.
    • Field Detail

      • bufferMinutes

        public final int bufferMinutes
    • Method Detail

      • values

        public static DelayChargeRiskLevel[] 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 (DelayChargeRiskLevel c : DelayChargeRiskLevel.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DelayChargeRiskLevel 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