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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Time | startTime (from PartialInputCheck) | 0 | Start time for activating the assert |
| Real | threshold (from PartialInputCheck) | 1E-2 | Threshold for equality comparison |
| String | message (from PartialInputCheck) | "Inputs differ by more than threShold" |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | u1 (from PartialInputCheck) | Value to check | |
| Modelica.Blocks.Interfaces.RealInput | u2 (from PartialInputCheck) | Value to check |