modelLine
Validation model for the Line block
Information
Validation test for the block Buildings.Controls.OBC.CDL.Reals.Line.
The input u varies from 0.0 to +2.
The block outputs y = a + b u,
where
u is an input
and the coefficients a and b
are determined so that the line intercepts the two input points
specified by the two points x1 and f1,
and x2 and f2.
The parameters limitBelow and limitAbove
determine whether x1 and x2 are also used
to limit the input u.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Controls.OBC.CDL.Reals.Line | line1 | Block that out the value of the input x along a line specified by two points | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | x1 | Block that generate x1 | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | f1 | Block that generate f(x1) | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | x2 | Block that generate x2 | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Constant | f2 | Block that generate f(x2) | |
| Buildings.Controls.OBC.CDL.Reals.Sources.Ramp | ramp1 | Block that generates ramp signal | |
| Buildings.Controls.OBC.CDL.Reals.Line | line2 | Block that out the value of the input x along a line specified by two points | |
| Buildings.Controls.OBC.CDL.Reals.Line | line3 | Block that out the value of the input x along a line specified by two points |
Revisions
-
March 25, 2018, by Michael Wetter:
Improved test to validate that the limits are properly used. -
March 20, 2017, by Jianjun Hu:
First implementation.