marginAnd function
Requirements.LogicalFunctions.marginAnd
· source
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
| Date | Description |
|---|---|
| Sept. 15, 2026 | Added with the margin outputs (H. Tummescheit, Model Based Innovation LLC) |
Inputs
| Name | Type | Description |
|---|---|---|
m[…] input | Real | Margins |
p[…] input | Property | The properties the margins belong to |
Outputs
| Name | Type | Description |
|---|---|---|
result output | Real | min of m[i] over i with p[i] <> Undefined; 0 when no element is applicable |