Package with base classes for Annex60.Utilities.Diagnostics
This package contains base classes that are used to construct the models in Annex60.Utilities.Diagnostics.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Name | Description |
---|---|
PartialInputCheck | Assert when condition is violated |
Assert when condition is violated
Partial model that can be used to check whether its inputs satisfy a certain condition such as equality within a prescribed threshold.
Extends from Modelica.Blocks.Icons.Block (Basic graphical layout of input/output block).
Type | Name | Default | Description |
---|---|---|---|
Time | startTime | 0 | Start time for activating the assert [s] |
Real | threShold | 1E-2 | Threshold for equality comparison |
String | message | "Inputs differ by more than ... |
Type | Name | Description |
---|---|---|
input RealInput | u1 | Value to check |
input RealInput | u2 | Value to check |