.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 2023-10-02T00:32:21Z by OpenModelicaOpenModelica 1.22.0~dev.02-2-ge84afdd using GenerateDoc.mos