modelSineInputDayOfAdjustment
Demand response client with constant input for actual power consumption
Extends from Buildings.Controls.Predictors.Validation.SineInput (Demand response client with sinusoidal input for actual power consumption).
Information
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.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Time | tPeriod (from PartialSimpleTestCase) | 24*3600 | Period |
| Modelica.Units.SI.Time | tSample (from PartialSimpleTestCase) | 3600 | Sampling period |
| Integer | nPre (from PartialSimpleTestCase) | 12 | Number of time steps to predict |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ElectricalLoad | baseLoad (from PartialSimpleTestCase) | Baseload prediction | |
| Modelica.Blocks.Sources.BooleanPulse | tri (from PartialSimpleTestCase) | Sample trigger | |
| Sources.DayType | dayType (from PartialSimpleTestCase) | Outputs the type of the day for each hour where load is to be predicted | |
| Modelica.Blocks.Logical.Not | notEventDay (from PartialSimpleTestCase) | Output true if it is not an event day | |
| Modelica.Blocks.Sources.Cosine | PBas (from SineInput) | Measured power consumption | |
| Sampler | P (from SineInput) | Sampler to turn PCon into a piece-wise constant signal. This makes it easier to verify the results | |
| Modelica.Blocks.Continuous.Integrator | integrator (from SineInput) | Integrator to compute energy from power | |
| Modelica.Blocks.Sources.RealExpression | realExpression (from SineInput) | ||
| Modelica.Blocks.Math.Add | PCon (from SineInput) | Consumed power |
Revisions
-
March 20, 2014 by Michael Wetter:
First implementation.