.Buildings.Controls.OBC.CDL.Conversions.BooleanToInteger

Convert Boolean to Integer signal

Information

Block that outputs the Integer equivalent of the Boolean input.

  y = if u then integerTrue else integerFalse;

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

Revisions


Generated at 2025-06-06T18:20:43Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos