PartialCheck partial block
Requirements.Interfaces.PartialCheck
ยท source
Interfaces and icon for check block
Interfaces and icon of the check blocks in ChecksInFixedWindow. It declares
- the Boolean input connector condition, which defines when (or at which events) the property is applicable,
- the Boolean input check (entered in the parameter dialog and displayed in the icon), the expression that must hold,
- the Property output y, the verdict of the check (Violated, Undecided, Satisfied or Undefined, see Property),
- the optional MarginOutput margin = robustness/scale
(present if
computeMargin= true), and the parameter scale of the margin (tab "Margin"), - the protected variable robustness, the signed distance of the check to its limit in the quantity's unit, ≥ 0 exactly when the check holds.
An extending block must provide the equations for y and robustness. Check blocks with a comparison against fixed limits additionally extend PartialUncertaintyBand. The equivalent base classes for checks in a sliding time window are PartialCheckInSlidingWindowWithPropertyOutput and PartialCheckInSlidingWindowWithBooleanOutput.
Parameters
| Name | Type | Description |
|---|---|---|
scale parameter | Real | Scale of the margin: margin = robustness/scale, with scale the requirement's tolerance (1 = the raw robustness in the quantity's unit) |
computeMargin parameter | Boolean | = true, if the normalized margin output is provided |
Inputs
| Name | Type | Description |
|---|---|---|
check input | Boolean | Boolean to check |
Components and variables
| Name | Type | Description |
|---|---|---|
condition | Modelica.Blocks.Interfaces.BooleanInput | Boolean input condition signal |
y | Requirements.Interfaces.PropertyOutput | Property output signal |
margin | Requirements.Interfaces.MarginOutput | Normalized margin of the check: >= 0 exactly when the check holds, in units of scale |