Enum DelayDischargeRiskLevel
- java.lang.Object
-
- java.lang.Enum<DelayDischargeRiskLevel>
-
- io.openems.edge.controller.ess.timeofusetariff.discharge.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.
-
-
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.
-
-
-
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.
-
-
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 namejava.lang.NullPointerException
- if the argument is null
-
getBufferMinutes
public int getBufferMinutes()
Get buffer minutes.- Returns:
- buffer minutes
-
-