modelConstantInput
Demand response client with constant input for actual power consumption
Extends from Buildings.Controls.Predictors.Validation.BaseClasses.PartialSimpleTestCase (Partial base class for simple test case of base load prediction).
Information
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.
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.Constant | PCon | Measured power consumption | |
| Modelica.Blocks.Continuous.Integrator | integrator | Integrator to compute energy from power |
Revisions
-
July 11, 2014 by Michael Wetter:
First implementation.