Interface ClusterVersionC
-
- All Superinterfaces:
Battery
,org.osgi.service.event.EventHandler
,ModbusSlave
,OpenemsComponent
,SoltaroBatteryVersionC
,SoltaroCluster
,StartStoppable
- All Known Implementing Classes:
ClusterVersionCImpl
public interface ClusterVersionC extends SoltaroBatteryVersionC, SoltaroCluster, Battery, StartStoppable, OpenemsComponent, org.osgi.service.event.EventHandler, ModbusSlave
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ClusterVersionC.ChannelId
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
_setMaxStartAttempts(java.lang.Boolean value)
Internal method to set the 'nextValue' onClusterVersionC.ChannelId.MAX_START_ATTEMPTS
Channel.default void
_setMaxStopAttempts(java.lang.Boolean value)
Internal method to set the 'nextValue' onClusterVersionC.ChannelId.MAX_STOP_ATTEMPTS
Channel.<T extends Channel<?>>
Tchannel(Rack rack, RackChannel rackChannel)
Gets the Channel for a Rack.java.util.Optional<PreChargeControl>
getCommonPreChargeControl()
Gets the commonPreChargeControl
.default Value<java.lang.Boolean>
getMaxStartAttempts()
Gets theStateChannel
forClusterVersionC.ChannelId.MAX_START_ATTEMPTS
.default StateChannel
getMaxStartAttemptsChannel()
Gets the Channel forClusterVersionC.ChannelId.MAX_START_ATTEMPTS
.default Value<java.lang.Boolean>
getMaxStopAttempts()
Gets theStateChannel
forClusterVersionC.ChannelId.MAX_STOP_ATTEMPTS
.default StateChannel
getMaxStopAttemptsChannel()
Gets the Channel forClusterVersionC.ChannelId.MAX_STOP_ATTEMPTS
.java.util.Set<Rack>
getRacks()
Gets the active Racks.StartStop
getStartStopTarget()
Gets the target Start/Stop mode from config or StartStop-Channel.-
Methods inherited from interface io.openems.edge.battery.api.Battery
_setCapacity, _setCapacity, _setChargeMaxCurrent, _setChargeMaxCurrent, _setChargeMaxVoltage, _setChargeMaxVoltage, _setCurrent, _setCurrent, _setDischargeMaxCurrent, _setDischargeMaxCurrent, _setDischargeMinVoltage, _setDischargeMinVoltage, _setMaxCellTemperature, _setMaxCellTemperature, _setMaxCellVoltage, _setMaxCellVoltage, _setMinCellTemperature, _setMinCellTemperature, _setMinCellVoltage, _setMinCellVoltage, _setSoc, _setSoc, _setSoh, _setSoh, _setVoltage, _setVoltage, getCapacity, getCapacityChannel, getChargeMaxCurrent, getChargeMaxCurrentChannel, getChargeMaxVoltage, getChargeMaxVoltageChannel, getCurrent, getCurrentChannel, getDischargeMaxCurrent, getDischargeMaxCurrentChannel, getDischargeMinVoltage, getDischargeMinVoltageChannel, getMaxCellTemperature, getMaxCellTemperatureChannel, getMaxCellVoltage, getMaxCellVoltageChannel, getMinCellTemperature, getMinCellTemperatureChannel, getMinCellVoltage, getMinCellVoltageChannel, getSoc, getSocChannel, getSoh, getSohChannel, getVoltage, getVoltageChannel
-
Methods inherited from interface io.openems.edge.common.modbusslave.ModbusSlave
getModbusSlaveTable
-
Methods inherited from interface io.openems.edge.common.component.OpenemsComponent
_channel, _getChannelAs, alias, channel, channel, channels, debugLog, getComponentContext, getState, getStateChannel, hasFaults, id, isEnabled, serviceFactoryPid, servicePid
-
Methods inherited from interface io.openems.edge.battery.soltaro.cluster.SoltaroCluster
_setClusterStartStop, getClusterStartStop, getClusterStartStopChannel, setClusterStartStop
-
Methods inherited from interface io.openems.edge.common.startstop.StartStoppable
_setStartStop, getStartStop, getStartStopChannel, isStarted, isStopped, setStartStop, start, stop
-
-
-
-
Method Detail
-
getMaxStartAttemptsChannel
default StateChannel getMaxStartAttemptsChannel()
Gets the Channel forClusterVersionC.ChannelId.MAX_START_ATTEMPTS
.- Returns:
- the Channel
-
getMaxStartAttempts
default Value<java.lang.Boolean> getMaxStartAttempts()
Gets theStateChannel
forClusterVersionC.ChannelId.MAX_START_ATTEMPTS
.- Returns:
- the Channel
Value
-
_setMaxStartAttempts
default void _setMaxStartAttempts(java.lang.Boolean value)
Internal method to set the 'nextValue' onClusterVersionC.ChannelId.MAX_START_ATTEMPTS
Channel.- Parameters:
value
- the next value
-
getMaxStopAttemptsChannel
default StateChannel getMaxStopAttemptsChannel()
Gets the Channel forClusterVersionC.ChannelId.MAX_STOP_ATTEMPTS
.- Returns:
- the Channel
-
getMaxStopAttempts
default Value<java.lang.Boolean> getMaxStopAttempts()
Gets theStateChannel
forClusterVersionC.ChannelId.MAX_STOP_ATTEMPTS
.- Returns:
- the Channel
Value
-
_setMaxStopAttempts
default void _setMaxStopAttempts(java.lang.Boolean value)
Internal method to set the 'nextValue' onClusterVersionC.ChannelId.MAX_STOP_ATTEMPTS
Channel.- Parameters:
value
- the next value
-
getCommonPreChargeControl
java.util.Optional<PreChargeControl> getCommonPreChargeControl()
Gets the commonPreChargeControl
. If all Racks share the samePreChargeControl
state, that one is returned; otherwise Optional.empty.- Returns:
- the
PreChargeControl
state of all Reacks; or empty if they are different
-
getRacks
java.util.Set<Rack> getRacks()
Gets the active Racks.- Returns:
- a set of Racks
-
getStartStopTarget
StartStop getStartStopTarget()
Gets the target Start/Stop mode from config or StartStop-Channel.- Returns:
StartStop
-
channel
<T extends Channel<?>> T channel(Rack rack, RackChannel rackChannel)
Gets the Channel for a Rack.- Type Parameters:
T
- the expected typed Channel- Parameters:
rack
- theRack
rackChannel
- theRackChannel
- Returns:
- the typed Channel
-
-