.Modelica.Blocks.Logical.AssertCondition

Assert that input u is true

Information

This block asserts that the Boolean input u is true. If u is false, the simulation will either abort with an error (if assertionLevel is set to error), or issue a warning and continue (if assertionLevel is set to warning). The message will be reported in either case. For further information, refer to the documentation of ModelicaReference.Operators.'assert()' – an operator which this block is based on.

Typically, this block is used by connecting a (possibly) time varying outside condition and the input u to abort the simulation if the condition fails.


Generated at 2025-06-07T18:20:54Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos