Convert Boolean to Integer signal
Block that outputs the Integer equivalent of the
Boolean input.
y = if u then integerTrue else integerFalse;
where u is of Boolean and
y of Integer type, and
integerTrue and integerFalse 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.
- January 3, 2017, by Michael Wetter:
First implementation, based on the implementation of the Modelica
Standard Library.
Generated at 2026-04-02T18:18:35Z by OpenModelicaOpenModelica 1.26.3 using
GenerateDoc.mos