.Modelica_Requirements.LogicalBlocks

Library of logical blocks (2-/3-valued logical operators with and without memory)

Contents

NameDescription
BooleanToPropertyConvert Boolean (false,true) to Property (Violated, Satisfied)
IntegerToPropertyConvert Integer (1,2,3) to Property (Violated, Undecided, Satisfied)
PropertyToBooleanConvert Property (Violated, Undecided, Satisfied) to Boolean (false, true)
PropertyToIntegerConvert Property (Violated, Undecided, Satisfied) to Integer (1,2,3)
GreaterThresholdOutput y is true if input u is greater than threshold
GreaterEqualThresholdOutput y is true if input u is greater or equal than threshold
LessThresholdOutput y is true if input u is less than threshold
LessEqualThresholdOutput y is true if input u is less or equal than threshold
WithinBandOutput y is true if input u is within a lower and upper threshold
DelayedRisingOutput y is true after a duration of a rising input edge and false after a falling input edge
AnyTrueOutput y is true if at least on input is true ("or" of all inputs)
AllTrueOutput y is true if all inputs are true ("and" of all inputs)
PropertyNot3-valued logic 'not' of Property input u: y = not u
PropertyOr3-valued logic 'or' of Property input u: y = u[1] or u[2] or ... or u[nu]
PropertyAnd3-valued logic 'and' of Property input u: y = u[1] and u[2] and ... and u[nu]
FallingEdgeTerminateTerminate simulation when a falling edge of the input u occurs

Generated at 2025-12-07T19:14:00Z by OpenModelicaOpenModelica 1.25.7 using GenerateDoc.mos