WOLFRAM SYSTEM MODELER

Switch

Switch between two Real signals

Wolfram Language

In[1]:=
SystemModel["Modelica.Blocks.Logical.Switch"]
Out[1]:=

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

The Logical.Switch switches, depending on the logical connector u2 (the middle connector) between the two possible input signals u1 (upper connector) and u3 (lower connector).

If u2 is true, the output signal y is set equal to u1, else it is set equal to u3.

Connectors (4)

u1

Type: RealInput

Description: Connector of first Real input signal

u2

Type: BooleanInput

Description: Connector of Boolean input signal

u3

Type: RealInput

Description: Connector of second Real input signal

y

Type: RealOutput

Description: Connector of Real output signal

Used in Examples (1)

TanksWithOverflow

Modelica.Fluid.Examples.Tanks

Two tanks connected with pipes at different heights

Used in Components (2)

TotalHarmonicDistortion

Modelica.Blocks.Math

Output the total harmonic distortion (THD)

IntersectivePWM

Modelica.Electrical.PowerConverters.DCAC.Control

Intersective PWM