PartialCheck partial block

Requirements.Interfaces.PartialCheck  ยท source

Icon of PartialCheck

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

NameTypeDescription
scale parameterRealScale of the margin: margin = robustness/scale, with scale the requirement's tolerance (1 = the raw robustness in the quantity's unit)
computeMargin parameterBoolean= true, if the normalized margin output is provided

Inputs

NameTypeDescription
check inputBooleanBoolean to check

Components and variables

NameTypeDescription
conditionModelica.Blocks.Interfaces.BooleanInputBoolean input condition signal
yRequirements.Interfaces.PropertyOutputProperty output signal
marginRequirements.Interfaces.MarginOutputNormalized margin of the check: >= 0 exactly when the check holds, in units of scale