Interface EmergencyCapacityReserve
-
- All Superinterfaces:
Controller
,OpenemsComponent
- All Known Implementing Classes:
EmergencyCapacityReserveImpl
public interface EmergencyCapacityReserve extends Controller, OpenemsComponent
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
EmergencyCapacityReserve.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
-
getStateMachineChannel
default Channel<StateMachine.State> getStateMachineChannel()
Gets the Channel forEmergencyCapacityReserve.ChannelId.STATE_MACHINE
.- Returns:
- the Channel
-
getStateMachine
default StateMachine.State getStateMachine()
Gets current state of theStateMachine
. SeeEmergencyCapacityReserve.ChannelId.STATE_MACHINE
.- Returns:
- the Channel
Value
-
_setStateMachine
default void _setStateMachine(StateMachine.State value)
Internal method to set the 'nextValue' onEmergencyCapacityReserve.ChannelId.STATE_MACHINE
Channel.- Parameters:
value
- the next value
-
getDebugSetActivePowerLessOrEqualsChannel
default IntegerReadChannel getDebugSetActivePowerLessOrEqualsChannel()
Gets the Channel forEmergencyCapacityReserve.ChannelId.DEBUG_SET_ACTIVE_POWER_LESS_OR_EQUALS
.- Returns:
- the Channel
-
getDebugSetActivePowerLessOrEquals
default Value<java.lang.Integer> getDebugSetActivePowerLessOrEquals()
Gets the debug active power less or equals constraint in [W]. SeeEmergencyCapacityReserve.ChannelId.DEBUG_SET_ACTIVE_POWER_LESS_OR_EQUALS
.- Returns:
- the Channel
Value
-
_setDebugSetActivePowerLessOrEquals
default void _setDebugSetActivePowerLessOrEquals(java.lang.Integer value)
Internal method to set the 'nextValue' onEmergencyCapacityReserve.ChannelId.DEBUG_SET_ACTIVE_POWER_LESS_OR_EQUALS
Channel.- Parameters:
value
- the next value
-
_setDebugSetActivePowerLessOrEquals
default void _setDebugSetActivePowerLessOrEquals(int value)
Internal method to set the 'nextValue' onEmergencyCapacityReserve.ChannelId.DEBUG_SET_ACTIVE_POWER_LESS_OR_EQUALS
Channel.- Parameters:
value
- the next value
-
getDebugTargetPowerChannel
default FloatReadChannel getDebugTargetPowerChannel()
Gets the Channel forEmergencyCapacityReserve.ChannelId.DEBUG_TARGET_POWER
.- Returns:
- the Channel
-
getDebugTargetPower
default Value<java.lang.Float> getDebugTargetPower()
Gets the debug ramp power in [W]. SeeEmergencyCapacityReserve.ChannelId.DEBUG_TARGET_POWER
.- Returns:
- the Channel
Value
-
_setDebugTargetPower
default void _setDebugTargetPower(java.lang.Float value)
Internal method to set the 'nextValue' onEmergencyCapacityReserve.ChannelId.DEBUG_TARGET_POWER
Channel.- Parameters:
value
- the next value
-
_setDebugTargetPower
default void _setDebugTargetPower(float value)
Internal method to set the 'nextValue' onEmergencyCapacityReserve.ChannelId.DEBUG_TARGET_POWER
Channel.- Parameters:
value
- the next value
-
getDebugRampPowerChannel
default FloatReadChannel getDebugRampPowerChannel()
Gets the Channel forEmergencyCapacityReserve.ChannelId.DEBUG_RAMP_POWER
.- Returns:
- the Channel
-
getDebugRampPower
default Value<java.lang.Float> getDebugRampPower()
Gets the debug ramp power in [W]. SeeEmergencyCapacityReserve.ChannelId.DEBUG_RAMP_POWER
.- Returns:
- the Channel
Value
-
_setDebugRampPower
default void _setDebugRampPower(java.lang.Float value)
Internal method to set the 'nextValue' onEmergencyCapacityReserve.ChannelId.DEBUG_RAMP_POWER
Channel.- Parameters:
value
- the next value
-
_setDebugRampPower
default void _setDebugRampPower(float value)
Internal method to set the 'nextValue' onEmergencyCapacityReserve.ChannelId.DEBUG_RAMP_POWER
Channel.- Parameters:
value
- the next value
-
_setRangeOfReserveSocOutsideAllowedValue
default void _setRangeOfReserveSocOutsideAllowedValue(boolean value)
Internal method to set the 'nextValue' onEmergencyCapacityReserve.ChannelId.RANGE_OF_RESERVE_SOC_OUTSIDE_ALLOWED_VALUE
Channel.- Parameters:
value
- the next value
-
-