GreaterEqual

block GreaterEqual "Output y is true, if input u1 is greater or equal than input u2"
    extends Blocks.Interfaces.partialBooleanComparison;
equation
    y = u2 <= u1;

    annotation (
        Icon(
            coordinateSystem(
                preserveAspectRatio = false,
                extent = {
                    {-100, -100}, 
                    {100, 100}}),
            graphics = {
                Ellipse(
                    extent = {
                        {32, 10}, 
                        {52, -10}},
                    lineColor = {0, 0, 127}), 
                Line(
                    points = {
                        {-100, -80}, 
                        {42, -80}, 
                        {42, 0}},
                    color = {0, 0, 127}), 
                Line(
                    points = {
                        {-54, 20}, 
                        {-8, 0}, 
                        {-54, -20}},
                    thickness = 0.5), 
                Line(
                    points = {
                        {-54, -30}, 
                        {-8, -30}},
                    thickness = 0.5)}),
        Documentation(info = "<html>\n<p>\nThe output is <strong>true</strong> if Real input u1 is greater than or equal to\nReal input u2, otherwise the output is <strong>false</strong>.\n</p>\n</html>"));
end GreaterEqual;