Switch between two Real signals
Block that outputs one of two real input signals based on a boolean input signal.
If the input signal u2 is true,
the block outputs y = u1.
Otherwise, it outputs y = u3.
-
February 27, 2023, by Michael Wetter:
Added smoothOrder(0, ...) as Dymola 2023x assumes y to be
smooth, and simulations can then fail if it differentiated this output.
-
July 17, 2020, by Jianjun Hu:
Changed icon to display dynamically which input signal is being outputted.
This is for
Buildings, issue 2033.
-
January 3, 2017, by Michael Wetter:
First implementation, based on the implementation of the
Modelica Standard Library.
Generated at 2025-11-15T19:21:19Z
by OpenModelicaOpenModelica 1.25.5 using GenerateDoc.mos