Levels model

Requirements.Examples.Uncertainty.Levels  · source

Icon of Levels

Constant levels against 'u <= 8' with uncertainty intervals: certainly satisfied, certainly violated, in band on either side, asymmetric, zero width, no band

Extends Modelica.Icons.Example

Nine constant levels against u ≤ 8, each with an uncertainty interval [u − uL, u + uU], through During with useUncertainty = true, rhoLow = 8 − (u + uU) and rhoHigh = 8 − (u − uL):

iuuLuUverdictinBandwhy
1611satisfiedfalse7 ≤ 8: certainly satisfied
21011violatedfalse9 > 8: certainly violated
37.511satisfiedtrueup to 8.5: could fail
48.511violatedtruedown to 7.5: could pass
5800satisfiedfalsezero width on the limit: the closed boundary, certain
67.500.4satisfiedfalseup to 7.9 only (asymmetric)
77.500.6satisfiedtrueup to 8.1
88.50.40violatedfalsedown to 8.1 only
98.50.60violatedtruedown to 7.9

The verdicts, the bands and the unchanged margins (8 − u) are asserted. plain has useUncertainty = false: no output inBand, and its verdict and margin are what they were before 0.19.0.

Copyright © 2026 Model Based Innovation LLC. All rights reserved.

Parameters

NameTypeDescription
limit parameterRealThe upper limit
u[…] parameterRealThe checked values (nominal)
uL[…] parameterRealThe lower half-widths of their intervals
uU[…] parameterRealThe upper half-widths
satisfied[…] parameterBooleanThe nominal verdicts
band[…] parameterBooleanThe expected bands

Components and variables

NameTypeDescription
alwaysRequirements.Sources.BooleanConstantCondition that is always true, so that the checks are active over the whole run
check[…]Requirements.ChecksInFixedWindow.Duringu[i] <= 8 with the interval [u - uL, u + uU]
plainRequirements.ChecksInFixedWindow.DuringuseUncertainty = false: no output inBand, the block as before 0.19.0