.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-07T18:31:54Z by OpenModelicaOpenModelica 1.25.3 using GenerateDoc.mos