Collection of models that validate the load predictors
This package contains models that use the load predictor with simple input data which may not be realistic, but for which the correct output can be obtained through inspection. The examples plot various outputs, which have been verified against these exact outputs. These model outputs are stored as reference data to allow continuous validation whenever models in the library change.
Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).
Name | Description |
---|---|
ConstantInput | Demand response client with constant input for actual power consumption |
ConstantInputDayOfAdjustment | Demand response client with constant input for actual power consumption |
LinearInput | Demand response client with actual power consumption being linear in the temperature |
LinearInputDayOfAdjustment | Demand response client with constant input for actual power consumption |
SineInput | Demand response client with sinusoidal input for actual power consumption |
SineInputDayOfAdjustment | Demand response client with constant input for actual power consumption |
BaseClasses | Package with base classes for Buildings.Controls.Predictors.Examples |
Demand response client with constant input for actual power consumption
This model is identical to Buildings.Controls.Predictors.Validation.ConstantInputDayOfAdjustment, except that this model does not use any day-of adjustment for the predicted load.
This model has been added to the library to verify and demonstrate the correct implementation of the day-of adjustment for a simple input scenario.
Extends from Buildings.Controls.Predictors.Validation.BaseClasses.PartialSimpleTestCase (Partial base class for simple test case of base load prediction).
Type | Name | Default | Description |
---|---|---|---|
Time | tPeriod | 24*3600 | Period [s] |
Time | tSample | 3600 | Sampling period [s] |
Integer | nPre | 12 | Number of time steps to predict |
Demand response client with constant input for actual power consumption
This model is identical to Buildings.Controls.Predictors.Validation.ConstantInput, except that the demand respond client is configured to use the day-of adjustment.
This model has been added to the library to verify and demonstrate the correct implementation of the baseline prediction model based on a simple input scenario.
Extends from Buildings.Controls.Predictors.Validation.ConstantInput (Demand response client with constant input for actual power consumption).
Type | Name | Default | Description |
---|---|---|---|
Time | tPeriod | 24*3600 | Period [s] |
Time | tSample | 3600 | Sampling period [s] |
Integer | nPre | 12 | Number of time steps to predict |
Demand response client with actual power consumption being linear in the temperature
This model is identical to
Buildings.Controls.Predictors.Validation.SineInput,
except that the input client.PCon
is linear in the temperature.
This model has been added to the library to verify and demonstrate the correct implementation of the baseline prediction model based on a simple input scenario. Note that in the first day, no prediction is made as no historical data are available. In the second day, the prediction differs from the actual (linearly increasing) consumption because only one data point exists for the respective sampling interval, and hence the linear regression is underdetermined. In the third day, the prediction starts as correct because two data points exist for each sampling interval. Later in the third day, there is again a prediction error as the second day was an event day and hence no data was recorded once the event day signal has been received and until midnight the same day.
Extends from Buildings.Controls.Predictors.Validation.BaseClasses.PartialSimpleTestCase (Partial base class for simple test case of base load prediction).
Type | Name | Default | Description |
---|---|---|---|
Time | tPeriod | 24*3600 | Period [s] |
Time | tSample | 3600 | Sampling period [s] |
Integer | nPre | 12 | Number of time steps to predict |
Demand response client with constant input for actual power consumption
This model is identical to Buildings.Controls.Predictors.Validation.LinearInput, except that the demand respond client is configured to use the day-of adjustment.
This model has been added to the library to verify and demonstrate the correct implementation of the baseline prediction model based on a simple input scenario.
Extends from Buildings.Controls.Predictors.Validation.LinearInput (Demand response client with actual power consumption being linear in the temperature).
Type | Name | Default | Description |
---|---|---|---|
Time | tPeriod | 24*3600 | Period [s] |
Time | tSample | 3600 | Sampling period [s] |
Integer | nPre | 12 | Number of time steps to predict |
Demand response client with sinusoidal input for actual power consumption
Model that demonstrates and tests the demand response model. Input to the model is a sinusoidal consumed electrical power which has been discretized using a sampler. Because of this discretization and because of the periodicity of the input signal, the baseline prediction model will be able to predict the load exactly. The baseline prediction model also takes as an input signal the day type, and a demand response signal. Every seventh day, there is a demand response signal.
After at least one initial working day and non-working days at
which no demand response is requested, the predicted power
client.PPre
exactly matches the consumed power
client.PCon
.
This model has been added to the library to verify and demonstrate the correct implementation of the baseline prediction model based on a simple input scenario.
Extends from Buildings.Controls.Predictors.Validation.BaseClasses.PartialSimpleTestCase (Partial base class for simple test case of base load prediction).
Type | Name | Default | Description |
---|---|---|---|
Time | tPeriod | 24*3600 | Period [s] |
Time | tSample | 3600 | Sampling period [s] |
Integer | nPre | 12 | Number of time steps to predict |
Demand response client with constant input for actual power consumption
This model is identical to Buildings.Controls.Predictors.Validation.SineInput, except that the demand respond client is configured to use the day-of adjustment.
This model has been added to the library to verify and demonstrate the correct implementation of the baseline prediction model based on a simple input scenario.
Extends from Buildings.Controls.Predictors.Validation.SineInput (Demand response client with sinusoidal input for actual power consumption).
Type | Name | Default | Description |
---|---|---|---|
Time | tPeriod | 24*3600 | Period [s] |
Time | tSample | 3600 | Sampling period [s] |
Integer | nPre | 12 | Number of time steps to predict |