.Modelica.Blocks.Math.BooleanToReal

Convert Boolean to Real signal

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 2025-04-28T18:20:06Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos