blockPartialInputCheck

Assert when condition is violated

Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).

Information

Partial model that can be used to check whether its inputs satisfy a certain condition such as equality within a prescribed threshold.

Parameters

TypeNameDefaultDescription
Modelica.SIunits.TimestartTime0Start time for activating the assert
Realthreshold1E-2Threshold for equality comparison
Stringmessage"Inputs differ by more than threShold"

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputu1Value to check
Modelica.Blocks.Interfaces.RealInputu2Value to check