Class DummyPrediction24Hours
java.lang.Object
io.openems.edge.predictor.api.oneday.Prediction24Hours
io.openems.edge.predictor.api.test.DummyPrediction24Hours
Holds a prediction for 24 h; one value per 15 minutes; 96 values in total.
Values have the same unit as the base Channel, i.e. if the Prediction relates to _sum/ProductionGridActivePower, the value is in unit Watt and represents the average Watt within a 15 minutes period.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DummyPrediction24Hours
Holds aDummyPrediction24Hours
with all values null.Fields inherited from class io.openems.edge.predictor.api.oneday.Prediction24Hours
NUMBER_OF_VALUES
-
Constructor Summary
ConstructorsConstructorDescriptionDummyPrediction24Hours
(Integer... values) Constructs aDummyPrediction24Hours
. -
Method Summary
Methods inherited from class io.openems.edge.predictor.api.oneday.Prediction24Hours
sum, toString
-
Field Details
-
EMPTY
Holds aDummyPrediction24Hours
with all values null.
-
-
Constructor Details
-
DummyPrediction24Hours
Constructs aDummyPrediction24Hours
.- Parameters:
values
- the minimum 96 prediction values
-
-
Method Details
-
getValues
- Overrides:
getValues
in classPrediction24Hours
-