Package with models for demand response controllers
InformationThis package contains components models for demand response controllers.
Extends from Modelica.Icons.Package (Icon for standard packages).
|Client||Demand response client|
|Examples||Collection of models that illustrate model use and test models|
|BaseClasses||Package with base classes|
Demand response client
Model for a data-driven demand response client that predicts the future load and allows to apply a load shedding factor.
This model takes as a parameter the number of samples in a day, which is generally
24 for one hour sampling or 96 for 15 minute sampling.
Input to the model are the consumed energy up to the current time instant,
the current temperature,
the type of the day, which may be a working day, non-working day or holiday
as defined in
a boolean signal that indicates whether it is an event day,
and a signal that if
true, causes the load to be shed.
The input signal
yShed determines how much of the load
will be shed if
this signal is ignored.
Output of the model is the prediction of the power that will be consumed
in the current sampling interval, i.e., generally in the next 1 hour or the
next 15 minutes.
If the parameter
nPre > 1, then the prediction is done
for multiple time intervals. All of these predictions can be obtained from
PPreNoShe. This output does not take into account
PPre = yShed * PPreNoShe if
otherwise it is
PPre = PPreNoShe.
The baseline prediction is computed in Buildings.Controls.Predictors.ElectricalLoad.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
|Integer||nSam||Number of samples in a day. For 1 hour sampling, set to 24|
|Integer||nPre||1||Number of intervals for which future load need to be predicted (set to one to only predict current time, or to nSam to predict one day)|
|Integer||nHis||10||Number of history terms to be stored for baseline computation|
|PredictionModel||predictionModel||Buildings.Controls.Predictor...||Load prediction model|
|input DayTypeInput||typeOfDay[integer((nPre - 1)/nSam) + 2]||Type of day for the current and the future days for which a prediction is to be made. Typically, this has dimension 2 for predictions up to and including 24 hours, and 2+n for any additional day|
|input BooleanInput||isEventDay||If true, this day remains an event day until midnight|
|input RealInput||ECon||Consumed electrical power [J]|
|input BooleanInput||shed||Signal, true if load needs to be shed at the current time|
|input RealInput||yShed||Amount of load to shed. Set to 0.5 to shed 50% of load |
|input RealInput||TOut||Outside air temperature [K]|
|input RealInput||TOutFut[nPre - 1]||Future outside air temperatures [K]|
|output RealOutput||PPre||Predicted power consumption for the current time interval, taking into account yShed [W]|
|output RealOutput||PPreNoShe[nPre]||Predicted power consumption for the current and future time intervals, not taking into account yShed [W]|