Convert Boolean to Real signal
Block that outputs the Real equivalent of the
Boolean input.
y = if u then realTrue else realFalse;
where u is of Boolean and
y of Real type, and realTrue
and realFalse are parameters.
- May 17, 2022, by Hongxiang Fu:
Corrected documentation texts where the variables were described
with wrong types.
This is for Buildings,
issue 3016.
- April 10, 2017, by Jianjun Hu:
First implementation, based on the implementation of the Modelica
Standard Library.
Generated at 2026-04-01T18:18:38Z by OpenModelicaOpenModelica 1.26.3 using
GenerateDoc.mos