block LessThreshold "Output y is true, if input u is less than threshold"
extends Blocks.Interfaces.partialBooleanThresholdComparison;
equation
y = u < threshold;
annotation (
Icon(
coordinateSystem(
preserveAspectRatio = true,
extent = {
{-100, -100},
{100, 100}}),
graphics = {
Line(
points = {
{-8, 20},
{-54, 0},
{-8, -20}},
thickness = 0.5)}),
Documentation(info = "<html>\n<p>\nThe output is <strong>true</strong> if the Real input is less than\nparameter <strong>threshold</strong>, otherwise\nthe output is <strong>false</strong>.\n</p>\n</html>"));
end LessThreshold;