.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-01-06T19:13:46Z by OpenModelicaOpenModelica 1.26.0 using GenerateDoc.mos