.Modelica_Requirements.LogicalBlocks.PropertyToBoolean

Convert Property (Violated, Undecided, Satisfied) to Boolean (false, true)

Information

The Property input u is converted to a Boolean output y according to the following table (note, undecided is a parameter that defines, how a Property.Undecided value shall be mapped to a Boolean):

Property u = Boolean y =
Violated false
Undecided undecided
Satisfied true

This block is demonstrated with example Conversions.


Generated at 2025-03-09T19:25:01Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos