Base classes for VDI 6007 validation cases
This package contains base classes that are used to construct the models in Annex60.ThermalZones.ReducedOrder.Validation.VDI6007.
Extends from Modelica.Icons.BasesPackage (Icon for packages containing base classes).
Name | Description |
---|---|
VerifyDifferenceThreePeriods | Assert when condition is violated |
Assert when condition is violated
Block that outputs satisfied = false
if
abs(u1-u2) > threShold
within the prescribed time intervals,
or satisfied = true
otherwise.
The test uses a hysteresis of plus/minus 1% in order to avoid
chattering if abs(u1-u2)
is near threShold
.
Extends from Annex60.Utilities.Diagnostics.BaseClasses.PartialInputCheck (Assert when condition is violated).
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 ... | |
Time | endTime | 0 | Start time for deactivating the assert (period one) [s] |
Time | startTime2 | 0 | Start time for activating the assert (period two) [s] |
Time | endTime2 | 0 | Start time for deactivating the assert (period two) [s] |
Time | startTime3 | 0 | Start time for activating the assert (period three) [s] |
Time | endTime3 | 0 | Start time for deactivating the assert (period three) [s] |
Type | Name | Description |
---|---|---|
input RealInput | u1 | Value to check |
input RealInput | u2 | Value to check |
output BooleanOutput | satisfied | |
output RealOutput | diff | Difference u1-u2 |