Class PredictorSimilardayModelImpl
java.lang.Object
io.openems.edge.common.component.AbstractOpenemsComponent
io.openems.edge.predictor.api.prediction.AbstractPredictor
io.openems.edge.predictor.similardaymodel.PredictorSimilardayModelImpl
- All Implemented Interfaces:
OpenemsComponent
,Predictor
public class PredictorSimilardayModelImpl
extends AbstractPredictor
implements Predictor, OpenemsComponent
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.openems.edge.common.component.OpenemsComponent
OpenemsComponent.ChannelId
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Prediction
createNewPrediction
(ChannelAddress channelAddress) protected void
Handles @Deactivate of implementations.protected ClockProvider
Methods inherited from class io.openems.edge.predictor.api.prediction.AbstractPredictor
activate, activate, getChannelAddresses, getPrediction
Methods inherited from class io.openems.edge.common.component.AbstractOpenemsComponent
_channel, activate, addChannel, addChannels, addChannels, alias, channels, getComponentContext, id, isEnabled, logDebug, logError, logInfo, logWarn, modified, removeChannel
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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.predictor.api.prediction.Predictor
getChannelAddresses, getPrediction
-
Field Details
-
NUM_OF_DAYS_OF_WEEK
public static final int NUM_OF_DAYS_OF_WEEK- See Also:
-
PREDCTION_FOR_ONE_DAY
public static final int PREDCTION_FOR_ONE_DAY- See Also:
-
PREDCTION_FOR_TWO_DAY
public static final int PREDCTION_FOR_TWO_DAY- See Also:
-
PREDCTION_FOR_THREE_DAY
public static final int PREDCTION_FOR_THREE_DAY- See Also:
-
PREDCTION_FOR_FOUR_DAY
public static final int PREDCTION_FOR_FOUR_DAY- See Also:
-
PREDCTION_FOR_FIVE_DAY
public static final int PREDCTION_FOR_FIVE_DAY- See Also:
-
PREDCTION_FOR_SIX_DAY
public static final int PREDCTION_FOR_SIX_DAY- See Also:
-
PREDCTION_FOR_SEVEN_DAY
public static final int PREDCTION_FOR_SEVEN_DAY- See Also:
-
-
Constructor Details
-
PredictorSimilardayModelImpl
-
-
Method Details
-
deactivate
protected void deactivate()Description copied from class:AbstractOpenemsComponent
Handles @Deactivate of implementations. Prints log output.- Overrides:
deactivate
in classAbstractOpenemsComponent
-
getClockProvider
- Specified by:
getClockProvider
in classAbstractPredictor
-
createNewPrediction
- Specified by:
createNewPrediction
in classAbstractPredictor
-