marginAnd function

Requirements.LogicalFunctions.marginAnd  · source

Icon of marginAnd

Margin of a conjunction: the minimum of the margins whose property is applicable (not Undefined)

Extends Modelica.Icons.Function

Syntax

result = marginAnd(m, p);

Description

The margin of and4All(p): the minimum of the margins m[i] over the elements whose property p[i] is applicable (not Undefined) -- conjunction is the minimum in the robustness semantics, and an inapplicable element drops out of the combination as it does in and4All. When no element is applicable the result is 0 (the combined property is Undefined then, and a consumer masks the margin with it); no NaN is produced.

Revisions

DateDescription
Sept. 15, 2026Added with the margin outputs (H. Tummescheit, Model Based Innovation LLC)

Inputs

NameTypeDescription
m[…] inputRealMargins
p[…] inputPropertyThe properties the margins belong to

Outputs

NameTypeDescription
result outputRealmin of m[i] over i with p[i] <> Undefined; 0 when no element is applicable