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

TypeNameDefaultDescription
Modelica.Units.SI.TimetPeriod (from PartialSimpleTestCase)24*3600Period
Modelica.Units.SI.TimetSample (from PartialSimpleTestCase)3600Sampling period
IntegernPre (from PartialSimpleTestCase)12Number of time steps to predict

Components

TypeNameDefaultDescription
ElectricalLoadbaseLoad (from PartialSimpleTestCase)Baseload prediction
Modelica.Blocks.Sources.BooleanPulsetri (from PartialSimpleTestCase)Sample trigger
Sources.DayTypedayType (from PartialSimpleTestCase)Outputs the type of the day for each hour where load is to be predicted
Modelica.Blocks.Logical.NotnotEventDay (from PartialSimpleTestCase)Output true if it is not an event day
Modelica.Blocks.Sources.ConstantPConMeasured power consumption
Modelica.Blocks.Continuous.IntegratorintegratorIntegrator to compute energy from power

Revisions

  • July 11, 2014 by Michael Wetter:
    First implementation.