LogicalSwitch

Logical Switch

    LogicalSwitch

Library

Modelica/Blocks/Logical

Description

The LogicalSwitch switches, depending on theBoolean u2 connector (the middle connector),between the two possible input signalsu1 (upper connector) and u3 (lower connector).

If u2 is true, connector y is set equal tou1, else it is set equal to u3.

Ports

NameTypeDescriptionIO TypeNumber

u1

implicit

Connector of first Boolean input signal

input

1

u2

implicit

Connector of second Boolean input signal

input

2

u3

implicit

Connector of third Boolean input signal

input

3

y

implicit

Connector of Boolean output signal

output

1

See Also