.Buildings.Controls.OBC.CDL.Conversions.RealToInteger

Convert Real to Integer signal

Information

Block that outputs y as the nearest integer value of the input u.

The block outputs

    y = integer( floor( u + 0.5 ) )  if u > 0,
    y = integer( ceil ( u - 0.5 ) )  otherwise.

Revisions


Generated at 2025-03-13T19:24:49Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos