.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 2026-02-05T19:14:29Z by OpenModelicaOpenModelica 1.26.1 using GenerateDoc.mos