Or

Logical 'or': y = u1 or u2

    Or

Library

Modelica/Blocks/Logical

Description

The output is true if at least one input is true, otherwise the output is false.

Parameters

Or_0

NameLabelDescriptionData TypeValid Values

mo_u1

u1

u1

Structure

mo_u1/fixed

fixed

Cell of scalars

true
false

mo_u1/start

start

Cell of scalars

mo_u2

u2

u2

Structure

mo_u2/fixed

fixed

Cell of scalars

true
false

mo_u2/start

start

Cell of scalars

mo_y

y

y

Structure

mo_y/fixed

fixed

Cell of scalars

true
false

mo_y/start

start

Cell of scalars

Ports

NameTypeDescriptionIO TypeNumber

u1

implicit

Connector of first Boolean input signal

input

1

u2

implicit

Connector of second Boolean input signal

input

2

y

implicit

Connector of Boolean output signal

output

1