Interface FixStateOfCharge
- All Superinterfaces:
Controller
,OpenemsComponent
- All Known Implementing Classes:
AbstractFixStateOfCharge
,ControllerEssFixStateOfChargeImpl
,ControllerEssPrepareBatteryExtensionImpl
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
_setAtTargetEpochSeconds
(long value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.AT_TARGET_EPOCH_SECONDS
Channel.default void
_setAtTargetEpochSeconds
(Long value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.AT_TARGET_EPOCH_SECONDS
Channel.default void
_setCtrlIsBlockingEss
(boolean value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.CTRL_IS_BLOCKING_ESS
Channel.default void
_setCtrlIsChargingEss
(boolean value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.CTRL_IS_CHARGING_ESS
Channel.default void
_setCtrlIsDischargingEss
(boolean value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.CTRL_IS_DISCHARGING_ESS
Channel.default void
_setCtrlWasSelfTerminated
(boolean value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.CTRL_WAS_SELF_TERMINATED
Channel.default void
_setDebugRampPower
(float value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.DEBUG_RAMP_POWER
Channel.default void
_setDebugRampPower
(Float value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.DEBUG_RAMP_POWER
Channel.default void
_setDebugSetActivePower
(int value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.DEBUG_SET_ACTIVE_POWER
Channel.default void
_setDebugSetActivePower
(Integer value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.DEBUG_SET_ACTIVE_POWER
Channel.default void
_setDebugSetActivePowerRaw
(int value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.DEBUG_SET_ACTIVE_POWER_RAW
Channel.default void
Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.DEBUG_SET_ACTIVE_POWER_RAW
Channel.default void
_setEssCapacity
(int value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.ESS_CAPACITY
Channel.default void
_setEssCapacity
(Integer value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.ESS_CAPACITY
Channel.default void
_setExpectedStartEpochSeconds
(long value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.EXPECTED_START_EPOCH_SECONDS
Channel.default void
Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.EXPECTED_START_EPOCH_SECONDS
Channel.default void
Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.STATE_MACHINE
Channel.Gets the time when the target SoC was reached as epoch seconds.default LongReadChannel
Gets the Channel forFixStateOfCharge.ChannelId.AT_TARGET_EPOCH_SECONDS
.Gets the State Channel as Boolean Value.default StateChannel
Gets the Channel forFixStateOfCharge.ChannelId.CTRL_IS_BLOCKING_ESS
.Gets the State Channel as Boolean Value.default StateChannel
Gets the Channel forFixStateOfCharge.ChannelId.CTRL_IS_CHARGING_ESS
.Gets the State Channel as Boolean Value.default StateChannel
Gets the Channel forFixStateOfCharge.ChannelId.CTRL_IS_DISCHARGING_ESS
.Gets the State Channel as Boolean Value.default StateChannel
Gets the Channel forFixStateOfCharge.ChannelId.CTRL_WAS_SELF_TERMINATED
.Gets the debug ramp power in [W].default FloatReadChannel
Gets the Channel forFixStateOfCharge.ChannelId.DEBUG_RAMP_POWER
.Gets the active power limit set in [W].default IntegerReadChannel
Gets the Channel forFixStateOfCharge.ChannelId.DEBUG_SET_ACTIVE_POWER
.Gets the active power limit set in [W].default IntegerReadChannel
Gets the Channel forFixStateOfCharge.ChannelId.DEBUG_SET_ACTIVE_POWER_RAW
.Gets the Capacity in [Wh].default IntegerReadChannel
Gets the Channel forFixStateOfCharge.ChannelId.ESS_CAPACITY
.Gets the time when the controller is expected to charge or discharge the ess.default LongReadChannel
Gets the Channel forFixStateOfCharge.ChannelId.EXPECTED_START_EPOCH_SECONDS
.default StateMachine.State
Gets current state of theStateMachine
.default Channel
<StateMachine.State> Gets the Channel forFixStateOfCharge.ChannelId.STATE_MACHINE
.Methods inherited from interface io.openems.edge.controller.api.Controller
_setRunFailed, getRunFailed, getRunFailedChannel, run
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
-
Method Details
-
getStateMachineChannel
Gets the Channel forFixStateOfCharge.ChannelId.STATE_MACHINE
.- Returns:
- the Channel
-
getStateMachine
Gets current state of theStateMachine
. SeeFixStateOfCharge.ChannelId.STATE_MACHINE
.- Returns:
- the Channel
Value
-
_setStateMachine
Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.STATE_MACHINE
Channel.- Parameters:
value
- the next value
-
getDebugSetActivePowerChannel
Gets the Channel forFixStateOfCharge.ChannelId.DEBUG_SET_ACTIVE_POWER
.- Returns:
- the Channel
-
getDebugSetActivePower
Gets the active power limit set in [W]. SeeFixStateOfCharge.ChannelId.DEBUG_SET_ACTIVE_POWER
.- Returns:
- the Channel
Value
-
_setDebugSetActivePower
Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.DEBUG_SET_ACTIVE_POWER
Channel.- Parameters:
value
- the next value
-
_setDebugSetActivePower
default void _setDebugSetActivePower(int value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.DEBUG_SET_ACTIVE_POWER
Channel.- Parameters:
value
- the next value
-
getDebugSetActivePowerRawChannel
Gets the Channel forFixStateOfCharge.ChannelId.DEBUG_SET_ACTIVE_POWER_RAW
.- Returns:
- the Channel
-
getDebugSetActivePowerRaw
Gets the active power limit set in [W]. SeeFixStateOfCharge.ChannelId.DEBUG_SET_ACTIVE_POWER_RAW
.- Returns:
- the Channel
Value
-
_setDebugSetActivePowerRaw
Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.DEBUG_SET_ACTIVE_POWER_RAW
Channel.- Parameters:
value
- the next value
-
_setDebugSetActivePowerRaw
default void _setDebugSetActivePowerRaw(int value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.DEBUG_SET_ACTIVE_POWER_RAW
Channel.- Parameters:
value
- the next value
-
getDebugRampPowerChannel
Gets the Channel forFixStateOfCharge.ChannelId.DEBUG_RAMP_POWER
.- Returns:
- the Channel
-
getDebugRampPower
Gets the debug ramp power in [W]. SeeFixStateOfCharge.ChannelId.DEBUG_RAMP_POWER
.- Returns:
- the Channel
Value
-
_setDebugRampPower
Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.DEBUG_RAMP_POWER
Channel.- Parameters:
value
- the next value
-
_setDebugRampPower
default void _setDebugRampPower(float value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.DEBUG_RAMP_POWER
Channel.- Parameters:
value
- the next value
-
getEssCapacityChannel
Gets the Channel forFixStateOfCharge.ChannelId.ESS_CAPACITY
.- Returns:
- the Channel
-
getEssCapacity
Gets the Capacity in [Wh]. SeeFixStateOfCharge.ChannelId.ESS_CAPACITY
.- Returns:
- the Channel
Value
-
_setEssCapacity
Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.ESS_CAPACITY
Channel.- Parameters:
value
- the next value
-
_setEssCapacity
default void _setEssCapacity(int value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.ESS_CAPACITY
Channel.- Parameters:
value
- the next value
-
getAtTargetEpochSecondsChannel
Gets the Channel forFixStateOfCharge.ChannelId.AT_TARGET_EPOCH_SECONDS
.- Returns:
- the Channel
-
getAtTargetEpochSeconds
Gets the time when the target SoC was reached as epoch seconds. SeeFixStateOfCharge.ChannelId.AT_TARGET_EPOCH_SECONDS
.- Returns:
- the Channel
Value
-
_setAtTargetEpochSeconds
Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.AT_TARGET_EPOCH_SECONDS
Channel.- Parameters:
value
- the next value
-
_setAtTargetEpochSeconds
default void _setAtTargetEpochSeconds(long value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.AT_TARGET_EPOCH_SECONDS
Channel.- Parameters:
value
- the next value
-
getExpectedStartEpochSecondsChannel
Gets the Channel forFixStateOfCharge.ChannelId.EXPECTED_START_EPOCH_SECONDS
.- Returns:
- the Channel
-
getExpectedStartEpochSeconds
Gets the time when the controller is expected to charge or discharge the ess. SeeFixStateOfCharge.ChannelId.EXPECTED_START_EPOCH_SECONDS
.- Returns:
- the Channel
Value
-
_setExpectedStartEpochSeconds
Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.EXPECTED_START_EPOCH_SECONDS
Channel.- Parameters:
value
- the next value
-
_setExpectedStartEpochSeconds
default void _setExpectedStartEpochSeconds(long value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.EXPECTED_START_EPOCH_SECONDS
Channel.- Parameters:
value
- the next value
-
getCtrlIsBlockingEssChannel
Gets the Channel forFixStateOfCharge.ChannelId.CTRL_IS_BLOCKING_ESS
.- Returns:
- the Channel
-
getCtrlIsBlockingEss
Gets the State Channel as Boolean Value. SeeFixStateOfCharge.ChannelId.CTRL_IS_BLOCKING_ESS
.- Returns:
- the Channel
Value
-
_setCtrlIsBlockingEss
default void _setCtrlIsBlockingEss(boolean value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.CTRL_IS_BLOCKING_ESS
Channel.- Parameters:
value
- the next value
-
getCtrlIsChargingEssChannel
Gets the Channel forFixStateOfCharge.ChannelId.CTRL_IS_CHARGING_ESS
.- Returns:
- the Channel
-
getCtrlIsChargingEss
Gets the State Channel as Boolean Value. SeeFixStateOfCharge.ChannelId.CTRL_IS_CHARGING_ESS
.- Returns:
- the Channel
Value
-
_setCtrlIsChargingEss
default void _setCtrlIsChargingEss(boolean value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.CTRL_IS_CHARGING_ESS
Channel.- Parameters:
value
- the next value
-
getCtrlIsDischargingEssChannel
Gets the Channel forFixStateOfCharge.ChannelId.CTRL_IS_DISCHARGING_ESS
.- Returns:
- the Channel
-
getCtrlIsDischargingEss
Gets the State Channel as Boolean Value. SeeFixStateOfCharge.ChannelId.CTRL_IS_DISCHARGING_ESS
.- Returns:
- the Channel
Value
-
_setCtrlIsDischargingEss
default void _setCtrlIsDischargingEss(boolean value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.CTRL_IS_DISCHARGING_ESS
Channel.- Parameters:
value
- the next value
-
getCtrlWasSelfTerminatedChannel
Gets the Channel forFixStateOfCharge.ChannelId.CTRL_WAS_SELF_TERMINATED
.- Returns:
- the Channel
-
getCtrlWasSelfTerminated
Gets the State Channel as Boolean Value. SeeFixStateOfCharge.ChannelId.CTRL_WAS_SELF_TERMINATED
.- Returns:
- the Channel
Value
-
_setCtrlWasSelfTerminated
default void _setCtrlWasSelfTerminated(boolean value) Internal method to set the 'nextValue' onFixStateOfCharge.ChannelId.CTRL_WAS_SELF_TERMINATED
Channel.- Parameters:
value
- the next value
-