functionaverage
Average of past 10 days
Extends from partialBaselinePrediction (Partial function for baseline load prediction).
Information
Function that predicts the current load using the average of the previous loads. The argument k determines how many data points will be used to compute the average. This is needed as during the start of the simulation, the complete history is not yet built up.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Power[:] | P (from partialBaselinePrediction) | Vector of power consumed in each interval of the current time of day | |
| Integer | k (from partialBaselinePrediction) | Number of history terms that have already been stored |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Power | y (from partialBaselinePrediction) | Baseline power consumption |
Revisions
-
March 21, 2014 by Michael Wetter:
First implementation.