Package io.openems.edge.battery.api
Enum Class Battery.ChannelId
- All Implemented Interfaces:
ChannelId
,Serializable
,Comparable<Battery.ChannelId>
,Constable
- Enclosing interface:
- Battery
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCapacity of battery.Maximum current for charging.Maximal voltage for charging.Current of battery.Maximum current for discharging.Minimal voltage for discharging.Maximum Cell Temperature.Maximum cell voltage.Minimal Cell Temperature.Minimal cell voltage.State of Charge.State of Health.Voltage of battery. -
Method Summary
Modifier and TypeMethodDescriptiondoc()
Gets the Channel Doc for this ChannelId.static Battery.ChannelId
Returns the enum constant of this class with the specified name.static Battery.ChannelId[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SOC
State of Charge.- Interface: Battery
- Type: Integer
- Unit: %
- Range: 0..100
-
SOH
State of Health.- Interface: Battery
- Type: Integer
- Unit: %
- Range: 0..100
-
VOLTAGE
Voltage of battery.- Interface: Battery
- Type: Integer
- Unit: V
-
CURRENT
Current of battery.- Interface: Battery
- Type: Integer
- Unit: A
-
CAPACITY
Capacity of battery.- Interface: Battery
- Type: Integer
- Unit: Wh
-
CHARGE_MAX_VOLTAGE
Maximal voltage for charging.- Interface: Battery
- Type: Integer
- Unit: V
-
CHARGE_MAX_CURRENT
Maximum current for charging.- Interface: Battery
- Type: Integer
- Unit: A
- Usually positive, negative for force discharge mode
-
DISCHARGE_MIN_VOLTAGE
Minimal voltage for discharging.- Interface: Battery
- Type: Integer
- Unit: V
-
DISCHARGE_MAX_CURRENT
Maximum current for discharging.- Interface: Battery
- Type: Integer
- Unit: A
- Usually positive, negative for force charge mode
-
MIN_CELL_TEMPERATURE
Minimal Cell Temperature.- Interface: Battery
- Type: Integer
- Unit: Celsius
-
MAX_CELL_TEMPERATURE
Maximum Cell Temperature.- Interface: Battery
- Type: Integer
- Unit: Celsius
- Range: (-50)..100
-
MIN_CELL_VOLTAGE
Minimal cell voltage.- Interface: Battery
- Type: Integer
- Unit: mV
-
MAX_CELL_VOLTAGE
Maximum cell voltage.- Interface: Battery
- Type: Integer
- Unit: mV
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
doc
Description copied from interface:ChannelId
Gets the Channel Doc for this ChannelId.
-