Package with base classes
This package contains base classes that are used to construct the models in Buildings.Controls.Predictors.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Name | Description |
---|---|
average | Average of past 10 days |
partialBaselinePrediction | Partial function for baseline load prediction |
sampleStart | Start time for sampling |
weatherRegression | Linear weather regression model |
Examples | Collection of models that illustrate model use and test models |
Average of past 10 days
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.
Extends from partialBaselinePrediction (Partial function for baseline load prediction).
Type | Name | Default | Description |
---|---|---|---|
Power | P[:] | Vector of power consumed in each interval of the current time of day [W] | |
Integer | k | Number of history terms that have already been stored |
Type | Name | Description |
---|---|---|
Power | y | Baseline power consumption [W] |
Partial function for baseline load prediction
Partial function that defines the input and output arguments for the base load predictions.
Type | Name | Default | Description |
---|---|---|---|
Power | P[:] | Vector of power consumed in each interval of the current time of day [W] | |
Integer | k | Number of history terms that have already been stored |
Type | Name | Description |
---|---|---|
Power | y | Baseline power consumption [W] |
Start time for sampling
Function that returns the time at which the sampling needs to start.
This function takes as arguments the sampling interval and the current time. It returns the time at which the sampling will start. The start of the sampling will be such that a sample instant coincides with t=0.
Extends from Modelica.Icons.Function (Icon for functions).
Type | Name | Default | Description |
---|---|---|---|
Time | t | Simulation time [s] | |
Time | samplePeriod | Sample Period [s] |
Type | Name | Description |
---|---|---|
Time | sampleStart | Time at which first sample happens [s] |
Linear weather regression model
Function that predicts the current load using a linear regression model. The load is assumed to be linear in the temperature. The argument k determines how many data points will be used for the regression. This is needed as during the start of the simulation, the complete history is not yet built up.
Extends from partialBaselinePrediction (Partial function for baseline load prediction).
Type | Name | Default | Description |
---|---|---|---|
Power | P[:] | Vector of power consumed in each interval of the current time of day [W] | |
Integer | k | Number of history terms that have already been stored | |
Temperature | TCur | Current temperature [K] | |
Temperature | T[:] | Vector of temperatures of each interval of the current time of day [K] |
Type | Name | Description |
---|---|---|
Power | y | Baseline power consumption [W] |