@ProviderType public interface Battery extends StartStoppable, OpenemsComponent
To indicate, that the Battery is ready for charging/discharging, the following Channels need to be set:
Modifier and Type | Interface and Description |
---|---|
static class |
Battery.ChannelId |
Modifier and Type | Method and Description |
---|---|
default void |
_setCapacity(int value)
Internal method to set the 'nextValue' on
Battery.ChannelId.CAPACITY Channel. |
default void |
_setCapacity(java.lang.Integer value)
Internal method to set the 'nextValue' on
Battery.ChannelId.CAPACITY Channel. |
default void |
_setChargeMaxCurrent(int value)
Internal method to set the 'nextValue' on
Battery.ChannelId.CHARGE_MAX_CURRENT Channel. |
default void |
_setChargeMaxCurrent(java.lang.Integer value)
Internal method to set the 'nextValue' on
Battery.ChannelId.CHARGE_MAX_CURRENT Channel. |
default void |
_setChargeMaxVoltage(int value)
Internal method to set the 'nextValue' on
Battery.ChannelId.CHARGE_MAX_VOLTAGE Channel. |
default void |
_setChargeMaxVoltage(java.lang.Integer value)
Internal method to set the 'nextValue' on
Battery.ChannelId.CHARGE_MAX_VOLTAGE Channel. |
default void |
_setCurrent(int value)
Internal method to set the 'nextValue' on
Battery.ChannelId.CURRENT Channel. |
default void |
_setCurrent(java.lang.Integer value)
Internal method to set the 'nextValue' on
Battery.ChannelId.CURRENT Channel. |
default void |
_setDischargeMaxCurrent(int value)
Internal method to set the 'nextValue' on
Battery.ChannelId.DISCHARGE_MAX_CURRENT Channel. |
default void |
_setDischargeMaxCurrent(java.lang.Integer value)
Internal method to set the 'nextValue' on
Battery.ChannelId.DISCHARGE_MAX_CURRENT Channel. |
default void |
_setDischargeMinVoltage(int value)
Internal method to set the 'nextValue' on
Battery.ChannelId.DISCHARGE_MIN_VOLTAGE Channel. |
default void |
_setDischargeMinVoltage(java.lang.Integer value)
Internal method to set the 'nextValue' on
Battery.ChannelId.DISCHARGE_MIN_VOLTAGE Channel. |
default void |
_setMaxCellTemperature(int value)
Internal method to set the 'nextValue' on
Battery.ChannelId.MAX_CELL_TEMPERATURE Channel. |
default void |
_setMaxCellTemperature(java.lang.Integer value)
Internal method to set the 'nextValue' on
Battery.ChannelId.MAX_CELL_TEMPERATURE Channel. |
default void |
_setMaxCellVoltage(int value)
Internal method to set the 'nextValue' on
Battery.ChannelId.MAX_CELL_VOLTAGE
Channel. |
default void |
_setMaxCellVoltage(java.lang.Integer value)
Internal method to set the 'nextValue' on
Battery.ChannelId.MAX_CELL_VOLTAGE
Channel. |
default void |
_setMinCellTemperature(int value)
Internal method to set the 'nextValue' on
Battery.ChannelId.MIN_CELL_TEMPERATURE Channel. |
default void |
_setMinCellTemperature(java.lang.Integer value)
Internal method to set the 'nextValue' on
Battery.ChannelId.MIN_CELL_TEMPERATURE Channel. |
default void |
_setMinCellVoltage(int value)
Internal method to set the 'nextValue' on
Battery.ChannelId.MIN_CELL_VOLTAGE
Channel. |
default void |
_setMinCellVoltage(java.lang.Integer value)
Internal method to set the 'nextValue' on
Battery.ChannelId.MIN_CELL_VOLTAGE
Channel. |
default void |
_setSoc(int value)
Internal method to set the 'nextValue' on
Battery.ChannelId.SOC Channel. |
default void |
_setSoc(java.lang.Integer value)
Internal method to set the 'nextValue' on
Battery.ChannelId.SOC Channel. |
default void |
_setSoh(int value)
Internal method to set the 'nextValue' on
Battery.ChannelId.SOH Channel. |
default void |
_setSoh(java.lang.Integer value)
Internal method to set the 'nextValue' on
Battery.ChannelId.SOH Channel. |
default void |
_setVoltage(int value)
Internal method to set the 'nextValue' on
Battery.ChannelId.VOLTAGE Channel. |
default void |
_setVoltage(java.lang.Integer value)
Internal method to set the 'nextValue' on
Battery.ChannelId.VOLTAGE Channel. |
default Value<java.lang.Integer> |
getCapacity()
Gets the Capacity in [Wh].
|
default IntegerReadChannel |
getCapacityChannel()
Gets the Channel for
Battery.ChannelId.CAPACITY . |
default Value<java.lang.Integer> |
getChargeMaxCurrent()
Gets the Charge Max Current in [A].
|
default IntegerReadChannel |
getChargeMaxCurrentChannel()
Gets the Channel for
Battery.ChannelId.CHARGE_MAX_CURRENT . |
default Value<java.lang.Integer> |
getChargeMaxVoltage()
Gets the Charge Max Voltage in [V].
|
default IntegerReadChannel |
getChargeMaxVoltageChannel()
Gets the Channel for
Battery.ChannelId.CHARGE_MAX_VOLTAGE . |
default Value<java.lang.Integer> |
getCurrent()
Gets the Current in [mA].
|
default IntegerReadChannel |
getCurrentChannel()
Gets the Channel for
Battery.ChannelId.CURRENT . |
default Value<java.lang.Integer> |
getDischargeMaxCurrent()
Gets the Discharge Max Current in [A].
|
default IntegerReadChannel |
getDischargeMaxCurrentChannel()
Gets the Channel for
Battery.ChannelId.DISCHARGE_MAX_CURRENT . |
default Value<java.lang.Integer> |
getDischargeMinVoltage()
Gets the Discharge Min Voltage in [V].
|
default IntegerReadChannel |
getDischargeMinVoltageChannel()
Gets the Channel for
Battery.ChannelId.DISCHARGE_MIN_VOLTAGE . |
default Value<java.lang.Integer> |
getMaxCellTemperature()
Gets the Maximum Cell Temperature in [degC].
|
default IntegerReadChannel |
getMaxCellTemperatureChannel()
Gets the Channel for
Battery.ChannelId.MAX_CELL_TEMPERATURE . |
default Value<java.lang.Integer> |
getMaxCellVoltage()
Gets the Maximum Cell Voltage in [mV].
|
default IntegerReadChannel |
getMaxCellVoltageChannel()
Gets the Channel for
Battery.ChannelId.MAX_CELL_VOLTAGE . |
default Value<java.lang.Integer> |
getMinCellTemperature()
Gets the Minimal Cell Temperature in [degC].
|
default IntegerReadChannel |
getMinCellTemperatureChannel()
Gets the Channel for
Battery.ChannelId.MIN_CELL_TEMPERATURE . |
default Value<java.lang.Integer> |
getMinCellVoltage()
Gets the Minimum Cell Voltage in [mV].
|
default IntegerReadChannel |
getMinCellVoltageChannel()
Gets the Channel for
Battery.ChannelId.MIN_CELL_VOLTAGE . |
static ModbusSlaveNatureTable |
getModbusSlaveNatureTable(AccessMode accessMode)
Gets the
ModbusSlaveNatureTable for StartStoppable used by
the Modbus/TCP Slave API. |
default Value<java.lang.Integer> |
getSoc()
Gets the State of Charge in [%], range 0..100 %.
|
default IntegerReadChannel |
getSocChannel()
Gets the Channel for
Battery.ChannelId.SOC . |
default Value<java.lang.Integer> |
getSoh()
Gets the State of Health in [%], range 0..100 %.
|
default IntegerReadChannel |
getSohChannel()
Gets the Channel for
Battery.ChannelId.SOH . |
default Value<java.lang.Integer> |
getVoltage()
Gets the Voltage in [V].
|
default IntegerReadChannel |
getVoltageChannel()
Gets the Channel for
Battery.ChannelId.VOLTAGE . |
_setStartStop, getStartStop, getStartStopChannel, isStarted, isStopped, setStartStop, start, stop
_channel, _getChannelAs, alias, channel, channel, channels, debugLog, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid, updateConfigurationProperty, updateReferenceFilter
static ModbusSlaveNatureTable getModbusSlaveNatureTable(AccessMode accessMode)
StartStoppable
ModbusSlaveNatureTable
for StartStoppable
used by
the Modbus/TCP Slave API.getModbusSlaveNatureTable
in interface OpenemsComponent
getModbusSlaveNatureTable
in interface StartStoppable
accessMode
- the AccessMode
ModbusSlaveNatureTable
default IntegerReadChannel getSocChannel()
Battery.ChannelId.SOC
.default Value<java.lang.Integer> getSoc()
Battery.ChannelId.SOC
.Value
default void _setSoc(java.lang.Integer value)
Battery.ChannelId.SOC
Channel.value
- the next valuedefault void _setSoc(int value)
Battery.ChannelId.SOC
Channel.value
- the next valuedefault IntegerReadChannel getSohChannel()
Battery.ChannelId.SOH
.default Value<java.lang.Integer> getSoh()
Battery.ChannelId.SOH
.Value
default void _setSoh(java.lang.Integer value)
Battery.ChannelId.SOH
Channel.value
- the next valuedefault void _setSoh(int value)
Battery.ChannelId.SOH
Channel.value
- the next valuedefault IntegerReadChannel getCapacityChannel()
Battery.ChannelId.CAPACITY
.default Value<java.lang.Integer> getCapacity()
Battery.ChannelId.CAPACITY
.Value
default void _setCapacity(java.lang.Integer value)
Battery.ChannelId.CAPACITY
Channel.value
- the next valuedefault void _setCapacity(int value)
Battery.ChannelId.CAPACITY
Channel.value
- the next valuedefault IntegerReadChannel getDischargeMinVoltageChannel()
Battery.ChannelId.DISCHARGE_MIN_VOLTAGE
.default Value<java.lang.Integer> getDischargeMinVoltage()
Battery.ChannelId.DISCHARGE_MIN_VOLTAGE
.Value
default void _setDischargeMinVoltage(java.lang.Integer value)
Battery.ChannelId.DISCHARGE_MIN_VOLTAGE
Channel.value
- the next valuedefault void _setDischargeMinVoltage(int value)
Battery.ChannelId.DISCHARGE_MIN_VOLTAGE
Channel.value
- the next valuedefault IntegerReadChannel getDischargeMaxCurrentChannel()
Battery.ChannelId.DISCHARGE_MAX_CURRENT
.default Value<java.lang.Integer> getDischargeMaxCurrent()
Battery.ChannelId.DISCHARGE_MAX_CURRENT
.Value
default void _setDischargeMaxCurrent(java.lang.Integer value)
Battery.ChannelId.DISCHARGE_MAX_CURRENT
Channel.value
- the next valuedefault void _setDischargeMaxCurrent(int value)
Battery.ChannelId.DISCHARGE_MAX_CURRENT
Channel.value
- the next valuedefault IntegerReadChannel getChargeMaxVoltageChannel()
Battery.ChannelId.CHARGE_MAX_VOLTAGE
.default Value<java.lang.Integer> getChargeMaxVoltage()
Battery.ChannelId.CHARGE_MAX_VOLTAGE
.Value
default void _setChargeMaxVoltage(java.lang.Integer value)
Battery.ChannelId.CHARGE_MAX_VOLTAGE
Channel.value
- the next valuedefault void _setChargeMaxVoltage(int value)
Battery.ChannelId.CHARGE_MAX_VOLTAGE
Channel.value
- the next valuedefault IntegerReadChannel getChargeMaxCurrentChannel()
Battery.ChannelId.CHARGE_MAX_CURRENT
.default Value<java.lang.Integer> getChargeMaxCurrent()
Battery.ChannelId.CHARGE_MAX_CURRENT
.Value
default void _setChargeMaxCurrent(java.lang.Integer value)
Battery.ChannelId.CHARGE_MAX_CURRENT
Channel.value
- the next valuedefault void _setChargeMaxCurrent(int value)
Battery.ChannelId.CHARGE_MAX_CURRENT
Channel.value
- the next valuedefault IntegerReadChannel getMinCellTemperatureChannel()
Battery.ChannelId.MIN_CELL_TEMPERATURE
.default Value<java.lang.Integer> getMinCellTemperature()
Battery.ChannelId.MIN_CELL_TEMPERATURE
.Value
default void _setMinCellTemperature(java.lang.Integer value)
Battery.ChannelId.MIN_CELL_TEMPERATURE
Channel.value
- the next valuedefault void _setMinCellTemperature(int value)
Battery.ChannelId.MIN_CELL_TEMPERATURE
Channel.value
- the next valuedefault IntegerReadChannel getMaxCellTemperatureChannel()
Battery.ChannelId.MAX_CELL_TEMPERATURE
.default Value<java.lang.Integer> getMaxCellTemperature()
Battery.ChannelId.MAX_CELL_TEMPERATURE
.Value
default void _setMaxCellTemperature(java.lang.Integer value)
Battery.ChannelId.MAX_CELL_TEMPERATURE
Channel.value
- the next valuedefault void _setMaxCellTemperature(int value)
Battery.ChannelId.MAX_CELL_TEMPERATURE
Channel.value
- the next valuedefault IntegerReadChannel getVoltageChannel()
Battery.ChannelId.VOLTAGE
.default Value<java.lang.Integer> getVoltage()
Battery.ChannelId.VOLTAGE
.Value
default void _setVoltage(java.lang.Integer value)
Battery.ChannelId.VOLTAGE
Channel.value
- the next valuedefault void _setVoltage(int value)
Battery.ChannelId.VOLTAGE
Channel.value
- the next valuedefault IntegerReadChannel getCurrentChannel()
Battery.ChannelId.CURRENT
.default Value<java.lang.Integer> getCurrent()
Battery.ChannelId.CURRENT
.Value
default void _setCurrent(java.lang.Integer value)
Battery.ChannelId.CURRENT
Channel.value
- the next valuedefault void _setCurrent(int value)
Battery.ChannelId.CURRENT
Channel.value
- the next valuedefault IntegerReadChannel getMinCellVoltageChannel()
Battery.ChannelId.MIN_CELL_VOLTAGE
.default Value<java.lang.Integer> getMinCellVoltage()
Battery.ChannelId.MIN_CELL_VOLTAGE
.Value
default void _setMinCellVoltage(java.lang.Integer value)
Battery.ChannelId.MIN_CELL_VOLTAGE
Channel.value
- the next valuedefault void _setMinCellVoltage(int value)
Battery.ChannelId.MIN_CELL_VOLTAGE
Channel.value
- the next valuedefault IntegerReadChannel getMaxCellVoltageChannel()
Battery.ChannelId.MAX_CELL_VOLTAGE
.default Value<java.lang.Integer> getMaxCellVoltage()
Battery.ChannelId.MAX_CELL_VOLTAGE
.Value
default void _setMaxCellVoltage(java.lang.Integer value)
Battery.ChannelId.MAX_CELL_VOLTAGE
Channel.value
- the next valuedefault void _setMaxCellVoltage(int value)
Battery.ChannelId.MAX_CELL_VOLTAGE
Channel.value
- the next value