Package io.openems.edge.ess.api
Enum ManagedSymmetricEss.ChannelId
- java.lang.Object
-
- java.lang.Enum<ManagedSymmetricEss.ChannelId>
-
- io.openems.edge.ess.api.ManagedSymmetricEss.ChannelId
-
- All Implemented Interfaces:
ChannelId
,java.io.Serializable
,java.lang.Comparable<ManagedSymmetricEss.ChannelId>
- Enclosing interface:
- ManagedSymmetricEss
public static enum ManagedSymmetricEss.ChannelId extends java.lang.Enum<ManagedSymmetricEss.ChannelId> implements ChannelId
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLOWED_CHARGE_POWER
Holds the currently maximum allowed charge power.ALLOWED_DISCHARGE_POWER
Holds the currently maximum allowed discharge power.APPLY_POWER_FAILED
StateChannel is set when calling applyPower() failed.DEBUG_SET_ACTIVE_POWER
Holds settings of Active Power for debugging.DEBUG_SET_REACTIVE_POWER
Holds settings of Reactive Power for debugging.SET_ACTIVE_POWER_EQUALS
Sets a fixed Active Power.SET_ACTIVE_POWER_EQUALS_WITH_PID
Applies the PID filter and then sets a fixed Active Power.SET_ACTIVE_POWER_GREATER_OR_EQUALS
Sets a fixed minimum Active Power.SET_ACTIVE_POWER_LESS_OR_EQUALS
Sets a fixed maximum Active Power.SET_REACTIVE_POWER_EQUALS
Sets a fixed Reactive Power.SET_REACTIVE_POWER_GREATER_OR_EQUALS
Sets a fixed minimum Reactive Power.SET_REACTIVE_POWER_LESS_OR_EQUALS
Sets a fixed maximum Reactive Power.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Doc
doc()
Gets the Channel Doc for this ChannelId.static ManagedSymmetricEss.ChannelId
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ManagedSymmetricEss.ChannelId[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALLOWED_CHARGE_POWER
public static final ManagedSymmetricEss.ChannelId ALLOWED_CHARGE_POWER
Holds the currently maximum allowed charge power. This value is commonly defined by current battery limitations.- Interface: Managed Symmetric Ess
- Type: Integer
- Unit: W
- Range: zero or negative value
-
ALLOWED_DISCHARGE_POWER
public static final ManagedSymmetricEss.ChannelId ALLOWED_DISCHARGE_POWER
Holds the currently maximum allowed discharge power. This value is commonly defined by current battery limitations.- Interface: Managed Symmetric Ess
- Type: Integer
- Unit: W
- Range: zero or positive value
-
SET_ACTIVE_POWER_EQUALS
public static final ManagedSymmetricEss.ChannelId SET_ACTIVE_POWER_EQUALS
Sets a fixed Active Power.- Interface: Managed Symmetric Ess
- Type: Integer
- Unit: W
- Range: negative values for Charge; positive for Discharge
-
SET_ACTIVE_POWER_EQUALS_WITH_PID
public static final ManagedSymmetricEss.ChannelId SET_ACTIVE_POWER_EQUALS_WITH_PID
Applies the PID filter and then sets a fixed Active Power.- Interface: Managed Symmetric Ess
- Type: Integer
- Unit: W
- Range: negative values for Charge; positive for Discharge
-
SET_REACTIVE_POWER_EQUALS
public static final ManagedSymmetricEss.ChannelId SET_REACTIVE_POWER_EQUALS
Sets a fixed Reactive Power.- Interface: Managed Symmetric Ess
- Type: Integer
- Unit: var
- Range: negative values for Charge; positive for Discharge
-
SET_ACTIVE_POWER_LESS_OR_EQUALS
public static final ManagedSymmetricEss.ChannelId SET_ACTIVE_POWER_LESS_OR_EQUALS
Sets a fixed maximum Active Power.- Interface: Managed Symmetric Ess
- Type: Integer
- Unit: W
- Range: negative values for Charge; positive for Discharge
-
SET_ACTIVE_POWER_GREATER_OR_EQUALS
public static final ManagedSymmetricEss.ChannelId SET_ACTIVE_POWER_GREATER_OR_EQUALS
Sets a fixed minimum Active Power.- Interface: Managed Symmetric Ess
- Type: Integer
- Unit: W
- Range: negative values for Charge; positive for Discharge
-
SET_REACTIVE_POWER_LESS_OR_EQUALS
public static final ManagedSymmetricEss.ChannelId SET_REACTIVE_POWER_LESS_OR_EQUALS
Sets a fixed maximum Reactive Power.- Interface: Managed Symmetric Ess
- Type: Integer
- Unit: var
- Range: negative values for Charge; positive for Discharge
-
SET_REACTIVE_POWER_GREATER_OR_EQUALS
public static final ManagedSymmetricEss.ChannelId SET_REACTIVE_POWER_GREATER_OR_EQUALS
Sets a fixed minimum Reactive Power.- Interface: Managed Symmetric Ess
- Type: Integer
- Unit: var
- Range: negative values for Charge; positive for Discharge
-
DEBUG_SET_ACTIVE_POWER
public static final ManagedSymmetricEss.ChannelId DEBUG_SET_ACTIVE_POWER
Holds settings of Active Power for debugging.- Interface: Managed Symmetric Ess
- Type: Integer
- Unit: W
- Range: negative values for Charge; positive for Discharge
- Implementation Note: value is automatically written by
Power
just before it calls the onWriteListener (which writes the value to the Ess)
-
DEBUG_SET_REACTIVE_POWER
public static final ManagedSymmetricEss.ChannelId DEBUG_SET_REACTIVE_POWER
Holds settings of Reactive Power for debugging.- Interface: Managed Symmetric Ess
- Type: Integer
- Unit: var
- Range: negative values for Charge; positive for Discharge
- Implementation Note: value is automatically written by
Power
just just before it calls the onWriteListener (which writes the value to the Ess)
-
APPLY_POWER_FAILED
public static final ManagedSymmetricEss.ChannelId APPLY_POWER_FAILED
StateChannel is set when calling applyPower() failed.- Interface: Managed Symmetric Ess
- Type: StateChannel
- Implementation Note: value is automatically written by
Power
-Solver ifManagedAsymmetricEss.applyPower(int, int)
failed.
-
-
Method Detail
-
values
public static ManagedSymmetricEss.ChannelId[] 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 (ManagedSymmetricEss.ChannelId c : ManagedSymmetricEss.ChannelId.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ManagedSymmetricEss.ChannelId 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
-
-