blockAssertInequality

Assert when condition is violated

Extends from BaseClasses.PartialInputCheck (Assert when condition is violated).

Information

Model that triggers an assert if u1 > u2 - threShold and t > t0.

Parameters

TypeNameDefaultDescription
Modelica.SIunits.TimestartTime (from PartialInputCheck)0Start time for activating the assert
Realthreshold (from PartialInputCheck)1E-2Threshold for equality comparison
Stringmessage (from PartialInputCheck)"Inputs differ by more than threShold"

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputu1 (from PartialInputCheck)Value to check
Modelica.Blocks.Interfaces.RealInputu2 (from PartialInputCheck)Value to check

Revisions