Package io.openems.edge.ess.core.power
Interface EssPower
- All Superinterfaces:
org.osgi.service.event.EventHandler
,OpenemsComponent
,Power
- All Known Implementing Classes:
EssPowerImpl
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
static final SolverStrategy
static final boolean
static final String
static final String
Fields inherited from interface io.openems.edge.ess.power.api.Power
log, NO_CONSTRAINTS
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
_setNotSolved
(boolean value) Internal method to set the 'nextValue' onEssPower.ChannelId.NOT_SOLVED
Channel.default void
_setSolveDuration
(int value) Internal method to set the 'nextValue' onEssPower.ChannelId.SOLVE_DURATION
Channel.default void
_setSolveStrategy
(SolverStrategy value) Internal method to set the 'nextValue' onEssPower.ChannelId.SOLVE_STRATEGY
Channel.default void
_setStaticConstraintsFailed
(boolean value) Internal method to set the 'nextValue' onEssPower.ChannelId.STATIC_CONSTRAINTS_FAILED
Channel.default StateChannel
Gets the Channel forEssPower.ChannelId.NOT_SOLVED
.default IntegerReadChannel
Gets the Channel forEssPower.ChannelId.SOLVE_DURATION
.default EnumReadChannel
Gets the Channel forEssPower.ChannelId.SOLVE_STRATEGY
.default StateChannel
Gets the Channel forEssPower.ChannelId.STATIC_CONSTRAINTS_FAILED
.Methods inherited from interface org.osgi.service.event.EventHandler
handleEvent
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.ess.power.api.Power
addConstraint, addConstraintAndValidate, createSimpleConstraint, fitValueIntoMinMaxPower, fitValueToMaxPower, fitValueToMinPower, getCoefficient, getMaxPower, getMinPower, getPidFilter, isPidEnabled, removeConstraint
-
Field Details
-
SINGLETON_SERVICE_PID
- See Also:
-
SINGLETON_COMPONENT_ID
- See Also:
-
DEFAULT_SYMMETRIC_MODE
static final boolean DEFAULT_SYMMETRIC_MODE- See Also:
-
DEFAULT_DEBUG_MODE
static final boolean DEFAULT_DEBUG_MODE- See Also:
-
DEFAULT_SOLVER_STRATEGY
-
-
Method Details
-
getNotSolvedChannel
Gets the Channel forEssPower.ChannelId.NOT_SOLVED
.- Returns:
- the Channel
-
_setNotSolved
default void _setNotSolved(boolean value) Internal method to set the 'nextValue' onEssPower.ChannelId.NOT_SOLVED
Channel.- Parameters:
value
- the next value
-
getSolveDurationChannel
Gets the Channel forEssPower.ChannelId.SOLVE_DURATION
.- Returns:
- the Channel
-
_setSolveDuration
default void _setSolveDuration(int value) Internal method to set the 'nextValue' onEssPower.ChannelId.SOLVE_DURATION
Channel.- Parameters:
value
- the next value
-
getSolveStrategyChannel
Gets the Channel forEssPower.ChannelId.SOLVE_STRATEGY
.- Returns:
- the Channel
-
_setSolveStrategy
Internal method to set the 'nextValue' onEssPower.ChannelId.SOLVE_STRATEGY
Channel.- Parameters:
value
- the next value
-
getStaticConstraintsFailedChannel
Gets the Channel forEssPower.ChannelId.STATIC_CONSTRAINTS_FAILED
.- Returns:
- the Channel
-
_setStaticConstraintsFailed
default void _setStaticConstraintsFailed(boolean value) Internal method to set the 'nextValue' onEssPower.ChannelId.STATIC_CONSTRAINTS_FAILED
Channel.- Parameters:
value
- the next value
-