This block can be used to schedule a set-point by using piecewise linear functions. For example, the instances
BuildingSystems.Controls.SetPoints.Table tabLinExt(constantExtrapolation=false, table=[20, 0.0; 22, 0.5; 25, 0.5; 26, 1.0]); BuildingSystems.Controls.SetPoints.Table tabConExt(constantExtrapolation=true, table=[20, 0.0; 22, 0.5; 25, 0.5; 26, 1.0]);
will cause the following output:
For the default setting constantExtrapolation=true
, the
block outputs
y=y1+offset
for u ≤ u1
, and
y=yMax+offset
for u ≥ uMax
.
Otherwise, the table is linearly extrapolated with a constant derivative.
Note that the first column must be strictly increasing.
nCol
to nRow
.