.Modelica.Blocks.Math.BooleanToInteger

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 2020-06-05T07:38:22Z by OpenModelica 1.16.0~dev-420-gc007a39