.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-09-17T18:21:10Z by OpenModelicaOpenModelica 1.25.4 using GenerateDoc.mos