Buildings.Templates.Plants.Controls.Setpoints.Validation
Collection of validation models
Information
This package contains validation models.
Package Content
Name | Description |
---|---|
PlantReset |
Buildings.Templates.Plants.Controls.Setpoints.Validation.PlantReset
Information
This model validates Buildings.Templates.Plants.Controls.Setpoints.PlantReset.
Modelica definition
model PlantReset
Buildings.Templates.Plants.Controls.Setpoints.PlantReset res(
nSenDpRem=2,
dpSet_max={5E4,8E4},
TSup_nominal=323.15,
TSupSetLim=298.15,
resDp_max=0.75,
resTSup_min=0.25) "Plant reset";
Buildings.Controls.OBC.CDL.Conversions.RealToInteger reaToInt
"Convert real to integer";
Buildings.Controls.OBC.CDL.Logical.Sources.TimeTable ena(
table=[
0, 0;
2, 1;
19, 0],
timeScale=1000,
final period=20000)
"Plant enable";
Buildings.Controls.OBC.CDL.Reals.Sources.TimeTable timTabLin(
final smoothness=Buildings.Controls.OBC.CDL.Types.Smoothness.ConstantSegments,
final table=[
0, 0;
150, 0;
300, 0;
450, 0;
600, 0;
750, 0;
900, 0;
1050, 0;
1200, 4;
1350, 3;
1500, 2;
1650, 1;
1800, 0],
timeScale=10)
"Time table with smoothness method of constant segments";
Buildings.Controls.OBC.CDL.Logical.Sources.Pulse staPro(
width=0.1,
final period=8000,
shift=2000)
"Staging process in progress";
equation
connect(timTabLin.y[1], reaToInt.u);
connect(reaToInt.y,res.nReqRes);
connect(staPro.y, res.u1StaPro);
connect(ena.y[1], res.u1Ena);
end PlantReset;