Output the value of the input x along a line specified by two points
Block that 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.
If the limits are used, then this block requires x1 < x2.
-
March 2, 2020, by Michael Wetter:
Changed icon to display dynamically the output value.
-
March 25, 2018, by Michael Wetter:
Improved documentation, icon and added warning if the limits are used and
x1 > x2.
This is for Buildings, issue 1155.
-
January 11, 2017, by Michael Wetter:
First implementation.
Generated at 2025-11-16T19:21:08Z
by OpenModelicaOpenModelica 1.25.5 using GenerateDoc.mos