Buildings.Templates.Plants.Controls.Enabling.Validation
Collection of validation models
Information
This package contains validation models.
Package Content
Name | Description |
---|---|
Enable | Validation model for system enabling logic |
Buildings.Templates.Plants.Controls.Enabling.Validation.Enable
Validation model for system enabling logic
Information
This model validates
Buildings.Templates.Plants.Controls.Enable.Enable
in a heating configuration, in a cooling configuration, and in
a cooling configuration with the enable schedule provided via
an input point.
All these configurations have the same setting for the minimum number
of ignored requests: nReqIgn=1
.
Modelica definition
model Enable
"Validation model for system enabling logic"
Buildings.Templates.Plants.Controls.Enabling.Enable enaHea(
typ=Buildings.Templates.Plants.Controls.Types.Application.Heating,
nReqIgn=1)
"Enable heating system";
Buildings.Controls.OBC.CDL.Integers.Sources.Pulse req(
amplitude=1,
period=60 * 20,
offset=1)
"System request";
Buildings.Controls.OBC.CDL.Reals.Sources.Sin TOut(
y(displayUnit="degC",
unit="K"),
final amplitude=12,
final freqHz=1 /(10000),
final offset=285.15)
"Outdoor air temperature";
Buildings.Templates.Plants.Controls.Enabling.Enable enaCoo(
typ=Buildings.Templates.Plants.Controls.Types.Application.Cooling,
nReqIgn=1)
"Enable cooling system";
Buildings.Templates.Plants.Controls.Enabling.Enable enaCooSch(
typ=Buildings.Templates.Plants.Controls.Types.Application.Cooling,
have_inpSch=true,
nReqIgn=1)
"Enable cooling system with input schedule";
Buildings.Controls.OBC.CDL.Logical.Sources.Pulse sch(
width=0.4,
period=120 * 60,
shift=25 * 60)
"Enable schedule";
equation
connect(req.y, enaHea.nReqPla);
connect(TOut.y, enaHea.TOut);
connect(req.y, enaCoo.nReqPla);
connect(TOut.y, enaCoo.TOut);
connect(TOut.y, enaCooSch.TOut);
connect(req.y, enaCooSch.nReqPla);
connect(sch.y, enaCooSch.u1Sch);
end Enable;