.Modelica.Blocks.Math.BooleanToReal

Information

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

y = if u then realTrue else realFalse;

where u is of Boolean and y of Real type, and realTrue and realFalse are parameters.


Generated at 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f