Min

block Min "Pass through the smallest signal"
    extends Interfaces.SI2SO;
equation
    y = min(u1, u2);

    annotation (
        Icon(
            coordinateSystem(
                preserveAspectRatio = true,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Text(
                    extent = {
                        {-90, 36}, 
                        {90, -36}},
                    lineColor = {160, 160, 164},
                    textString = "min()")}),
        Documentation(info = "<html>\n<p>\nThis block computes the output <strong>y</strong> as <em>minimum</em> of\nthe two Real inputs <strong>u1</strong> and <strong>u2</strong>:\n</p>\n<pre>    y = <strong>min</strong> ( u1 , u2 );\n</pre>\n</html>"));
end Min;