.Modelica.Blocks.Math.BooleanToInteger

Convert Boolean to Integer signal

Information

This block computes the output y as Integer equivalent of the Boolean input u:

y = if u then integerTrue else integerFalse;

where u is of Boolean and y of Integer type, and integerTrue and integerFalse are parameters.


Generated at 2025-07-06T18:20:56Z by OpenModelicaOpenModelica 1.25.1 using GenerateDoc.mos