Interface GridOptimizedCharge
-
- All Superinterfaces:
Controller
,OpenemsComponent
- All Known Implementing Classes:
GridOptimizedChargeImpl
public interface GridOptimizedCharge extends Controller, OpenemsComponent
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
GridOptimizedCharge.ChannelId
-
Method Summary
-
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 Detail
-
getDelayChargeStateChannel
default Channel<DelayChargeState> getDelayChargeStateChannel()
Gets the Channel forGridOptimizedCharge.ChannelId.DELAY_CHARGE_STATE
.- Returns:
- the Channel
-
getDelayChargeState
default DelayChargeState getDelayChargeState()
Gets the Status of the grid optimized self consumption. SeeGridOptimizedCharge.ChannelId.DELAY_CHARGE_STATE
.- Returns:
- the Channel
Value
-
_setDelayChargeState
default void _setDelayChargeState(DelayChargeState value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.DELAY_CHARGE_STATE
Channel.- Parameters:
value
- the next value
-
getSellToGridLimitStateChannel
default Channel<SellToGridLimitState> getSellToGridLimitStateChannel()
Gets the Channel forGridOptimizedCharge.ChannelId.SELL_TO_GRID_LIMIT_STATE
.- Returns:
- the Channel
-
getSellToGridLimitState
default SellToGridLimitState getSellToGridLimitState()
Gets the Status of the grid optimized self consumption. SeeGridOptimizedCharge.ChannelId.SELL_TO_GRID_LIMIT_STATE
.- Returns:
- the Channel
Value
-
_setSellToGridLimitState
default void _setSellToGridLimitState(SellToGridLimitState value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.SELL_TO_GRID_LIMIT_STATE
Channel.- Parameters:
value
- the next value
-
getDelayChargeLimitChannel
default IntegerReadChannel getDelayChargeLimitChannel()
Gets the Channel forGridOptimizedCharge.ChannelId.DELAY_CHARGE_MAXIMUM_CHARGE_LIMIT
.- Returns:
- the Channel
-
getDelayChargeLimit
default Value<java.lang.Integer> getDelayChargeLimit()
Gets the delay charge power limit in [W]. SeeGridOptimizedCharge.ChannelId.DELAY_CHARGE_MAXIMUM_CHARGE_LIMIT
.- Returns:
- the Channel
Value
-
_setDelayChargeLimit
default void _setDelayChargeLimit(java.lang.Integer value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.DELAY_CHARGE_MAXIMUM_CHARGE_LIMIT
Channel.- Parameters:
value
- the next value
-
_setDelayChargeLimit
default void _setDelayChargeLimit(int value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.DELAY_CHARGE_MAXIMUM_CHARGE_LIMIT
Channel.- Parameters:
value
- the next value
-
getRawDelayChargeLimitChannel
default IntegerReadChannel getRawDelayChargeLimitChannel()
Gets the Channel forGridOptimizedCharge.ChannelId.RAW_DELAY_CHARGE_MAXIMUM_CHARGE_LIMIT
.- Returns:
- the Channel
-
getRawDelayChargeLimit
default Value<java.lang.Integer> getRawDelayChargeLimit()
Gets the delay charge power limit in [W]. SeeGridOptimizedCharge.ChannelId.RAW_DELAY_CHARGE_MAXIMUM_CHARGE_LIMIT
.- Returns:
- the Channel
Value
-
_setRawDelayChargeLimit
default void _setRawDelayChargeLimit(java.lang.Integer value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.RAW_DELAY_CHARGE_MAXIMUM_CHARGE_LIMIT
Channel.- Parameters:
value
- the next value
-
_setRawDelayChargeLimit
default void _setRawDelayChargeLimit(int value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.RAW_DELAY_CHARGE_MAXIMUM_CHARGE_LIMIT
Channel.- Parameters:
value
- the next value
-
getSellToGridLimitMinimumChargeLimitChannel
default IntegerReadChannel getSellToGridLimitMinimumChargeLimitChannel()
Gets the Channel forGridOptimizedCharge.ChannelId.SELL_TO_GRID_LIMIT_MINIMUM_CHARGE_LIMIT
.- Returns:
- the Channel
-
getSellToGridLimitMinimumChargeLimit
default Value<java.lang.Integer> getSellToGridLimitMinimumChargeLimit()
Gets the sell to grid limit charge power limit in [W]. SeeGridOptimizedCharge.ChannelId.SELL_TO_GRID_LIMIT_MINIMUM_CHARGE_LIMIT
.- Returns:
- the Channel
Value
-
_setSellToGridLimitMinimumChargeLimit
default void _setSellToGridLimitMinimumChargeLimit(java.lang.Integer value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.SELL_TO_GRID_LIMIT_MINIMUM_CHARGE_LIMIT
Channel.- Parameters:
value
- the next value
-
_setSellToGridLimitMinimumChargeLimit
default void _setSellToGridLimitMinimumChargeLimit(int value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.SELL_TO_GRID_LIMIT_MINIMUM_CHARGE_LIMIT
Channel.- Parameters:
value
- the next value
-
getRawSellToGridLimitChargeLimitChannel
default IntegerReadChannel getRawSellToGridLimitChargeLimitChannel()
Gets the Channel forGridOptimizedCharge.ChannelId.RAW_SELL_TO_GRID_LIMIT_CHARGE_LIMIT
.- Returns:
- the Channel
-
getRawSellToGridLimitChargeLimit
default Value<java.lang.Integer> getRawSellToGridLimitChargeLimit()
Gets the raw sell to grid limit charge power limit in [W]. SeeGridOptimizedCharge.ChannelId.RAW_SELL_TO_GRID_LIMIT_CHARGE_LIMIT
.- Returns:
- the Channel
Value
-
_setRawSellToGridLimitChargeLimit
default void _setRawSellToGridLimitChargeLimit(java.lang.Integer value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.RAW_SELL_TO_GRID_LIMIT_CHARGE_LIMIT
Channel.- Parameters:
value
- the next value
-
_setRawSellToGridLimitChargeLimit
default void _setRawSellToGridLimitChargeLimit(int value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.RAW_SELL_TO_GRID_LIMIT_CHARGE_LIMIT
Channel.- Parameters:
value
- the next value
-
getPredictedTargetMinuteChannel
default IntegerReadChannel getPredictedTargetMinuteChannel()
Gets the Channel forGridOptimizedCharge.ChannelId.PREDICTED_TARGET_MINUTE
.- Returns:
- the Channel
-
getPredictedTargetMinute
default Value<java.lang.Integer> getPredictedTargetMinute()
Gets the predicted target minute of the Day. SeeGridOptimizedCharge.ChannelId.PREDICTED_TARGET_MINUTE
.- Returns:
- the Channel
Value
-
_setPredictedTargetMinute
default void _setPredictedTargetMinute(java.lang.Integer value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.PREDICTED_TARGET_MINUTE
Channel.- Parameters:
value
- the next value
-
_setPredictedTargetMinute
default void _setPredictedTargetMinute(int value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.PREDICTED_TARGET_MINUTE
Channel.- Parameters:
value
- the next value
-
getPredictedTargetMinuteAdjustedChannel
default IntegerReadChannel getPredictedTargetMinuteAdjustedChannel()
Gets the Channel forGridOptimizedCharge.ChannelId.PREDICTED_TARGET_MINUTE_ADJUSTED
.- Returns:
- the Channel
-
getPredictedTargetMinuteAdjusted
default Value<java.lang.Integer> getPredictedTargetMinuteAdjusted()
Gets the adjusted predicted target minute of the Day. SeeGridOptimizedCharge.ChannelId.PREDICTED_TARGET_MINUTE_ADJUSTED
.- Returns:
- the Channel
Value
-
_setPredictedTargetMinuteAdjusted
default void _setPredictedTargetMinuteAdjusted(java.lang.Integer value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.PREDICTED_TARGET_MINUTE_ADJUSTED
Channel.- Parameters:
value
- the next value
-
_setPredictedTargetMinuteAdjusted
default void _setPredictedTargetMinuteAdjusted(int value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.PREDICTED_TARGET_MINUTE_ADJUSTED
Channel.- Parameters:
value
- the next value
-
getTargetMinuteChannel
default IntegerReadChannel getTargetMinuteChannel()
Gets the Channel forGridOptimizedCharge.ChannelId.TARGET_MINUTE
.- Returns:
- the Channel
-
getTargetMinute
default Value<java.lang.Integer> getTargetMinute()
Gets the actual target minute of the Day. SeeGridOptimizedCharge.ChannelId.TARGET_MINUTE
.- Returns:
- the Channel
Value
-
_setTargetMinute
default void _setTargetMinute(java.lang.Integer value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.TARGET_MINUTE
Channel.- Parameters:
value
- the next value
-
_setTargetMinute
default void _setTargetMinute(int value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.TARGET_MINUTE
Channel.- Parameters:
value
- the next value
-
getStartEpochSecondsChannel
default LongReadChannel getStartEpochSecondsChannel()
Gets the Channel forGridOptimizedCharge.ChannelId.START_EPOCH_SECONDS
.- Returns:
- the Channel
-
getStartEpochSeconds
default Value<java.lang.Long> getStartEpochSeconds()
Gets the actual start time of the Day. SeeGridOptimizedCharge.ChannelId.START_EPOCH_SECONDS
.- Returns:
- the Channel
Value
-
_setStartEpochSeconds
default void _setStartEpochSeconds(java.time.LocalTime value, java.time.Clock clock)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.START_EPOCH_SECONDS
Channel.- Parameters:
value
- the next valueclock
- clock
-
_setStartEpochSeconds
default void _setStartEpochSeconds(java.lang.Long value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.START_EPOCH_SECONDS
Channel.- Parameters:
value
- the next value
-
getPredictedChargeStartEpochSecondsChannel
default LongReadChannel getPredictedChargeStartEpochSecondsChannel()
Gets the Channel forGridOptimizedCharge.ChannelId.PREDICTED_CHARGE_START_EPOCH_SECONDS
.- Returns:
- the Channel
-
getPredictedChargeStartEpochSeconds
default Value<java.lang.Long> getPredictedChargeStartEpochSeconds()
Gets the actual predicted charge start time of the Day. SeeGridOptimizedCharge.ChannelId.PREDICTED_CHARGE_START_EPOCH_SECONDS
.- Returns:
- the Channel
Value
-
_setPredictedChargeStartEpochSeconds
default void _setPredictedChargeStartEpochSeconds(java.lang.Long value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.PREDICTED_CHARGE_START_EPOCH_SECONDS
Channel.- Parameters:
value
- the next value
-
getDebugDelayChargeMinimumPowerChannel
default IntegerReadChannel getDebugDelayChargeMinimumPowerChannel()
Gets the Channel forGridOptimizedCharge.ChannelId.DEBUG_DELAY_CHARGE_MINIMUM_POWER
.- Returns:
- the Channel
-
getDebugDelayChargeMinimumPower
default Value<java.lang.Integer> getDebugDelayChargeMinimumPower()
Gets the information of the minimum delay charge power. SeeGridOptimizedCharge.ChannelId.DEBUG_DELAY_CHARGE_MINIMUM_POWER
.- Returns:
- the Channel
Value
-
_setDebugDelayChargeMinimumPower
default void _setDebugDelayChargeMinimumPower(java.lang.Integer value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.DEBUG_DELAY_CHARGE_MINIMUM_POWER
Channel.- Parameters:
value
- the next value
-
getConfiguredEssIsNotManagedChannel
default StateChannel getConfiguredEssIsNotManagedChannel()
Gets the Channel forGridOptimizedCharge.ChannelId.CONFIGURED_ESS_IS_NOT_MANAGED
.- Returns:
- the Channel
-
getConfiguredEssIsNotManaged
default Value<java.lang.Boolean> getConfiguredEssIsNotManaged()
Gets the boolean if the state channel is active. SeeGridOptimizedCharge.ChannelId.CONFIGURED_ESS_IS_NOT_MANAGED
.- Returns:
- the Channel
Value
-
_setConfiguredEssIsNotManaged
default void _setConfiguredEssIsNotManaged(java.lang.Boolean value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.CONFIGURED_ESS_IS_NOT_MANAGED
Channel.- Parameters:
value
- the next value
-
getDelayChargeTimeChannel
default IntegerReadChannel getDelayChargeTimeChannel()
Gets the Channel forGridOptimizedCharge.ChannelId.DELAY_CHARGE_TIME
.- Returns:
- the Channel
-
getDelayChargeTime
default Value<java.lang.Integer> getDelayChargeTime()
Gets the actual time counter in seconds of the state delay charge. SeeGridOptimizedCharge.ChannelId.DELAY_CHARGE_TIME
.- Returns:
- the Channel
Value
-
_setDelayChargeTime
default void _setDelayChargeTime(java.lang.Integer value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.DELAY_CHARGE_TIME
Channel.- Parameters:
value
- the next value
-
_setDelayChargeTime
default void _setDelayChargeTime(int value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.DELAY_CHARGE_TIME
Channel.- Parameters:
value
- the next value
-
getSellToGridLimitTimeChannel
default IntegerReadChannel getSellToGridLimitTimeChannel()
Gets the Channel forGridOptimizedCharge.ChannelId.SELL_TO_GRID_LIMIT_TIME
.- Returns:
- the Channel
-
getSellToGridLimitTime
default Value<java.lang.Integer> getSellToGridLimitTime()
Gets the actual time counter in seconds of the state sell to grid limit. SeeGridOptimizedCharge.ChannelId.SELL_TO_GRID_LIMIT_TIME
.- Returns:
- the Channel
Value
-
_setSellToGridLimitTime
default void _setSellToGridLimitTime(java.lang.Integer value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.SELL_TO_GRID_LIMIT_TIME
Channel.- Parameters:
value
- the next value
-
_setSellToGridLimitTime
default void _setSellToGridLimitTime(int value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.SELL_TO_GRID_LIMIT_TIME
Channel.- Parameters:
value
- the next value
-
getNoLimitationTimeChannel
default IntegerReadChannel getNoLimitationTimeChannel()
Gets the Channel forGridOptimizedCharge.ChannelId.NO_LIMITATION_TIME
.- Returns:
- the Channel
-
getNoLimitationTime
default Value<java.lang.Integer> getNoLimitationTime()
Gets the actual time counter in seconds for the time, no limitation is active. SeeGridOptimizedCharge.ChannelId.NO_LIMITATION_TIME
.- Returns:
- the Channel
Value
-
_setNoLimitationTime
default void _setNoLimitationTime(java.lang.Integer value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.NO_LIMITATION_TIME
Channel.- Parameters:
value
- the next value
-
_setNoLimitationTime
default void _setNoLimitationTime(int value)
Internal method to set the 'nextValue' onGridOptimizedCharge.ChannelId.NO_LIMITATION_TIME
Channel.- Parameters:
value
- the next value
-
-