MarginOutput connector
Requirements.Interfaces.MarginOutput
ยท source
'output Real' connector for a normalized margin: robustness/scale, >= 0 exactly when the check holds
Defined as Real
Connector with one output signal of type Real and unit="1": the normalized margin of a
check, the signed distance of the check to its limit divided by the check block's scale
(the requirement's tolerance). The margin is ≥ 0 exactly when the check holds, 1 is one tolerance of
headroom, < 0 a violation by that many tolerances. Its own connector type keeps a margin from being
connected to a physical-unit signal by mistake, and lets a report find every margin of a model by type.
A check block emits the instantaneous value. The worst value over a run and its instant are taken from the
stored trajectory, or computed during the run by
Verify.ViolationStatistics
(through its MarginInput).