PropertyAnd model
Requirements.Examples.Elementary.LogicalBlocks.PropertyAnd
ยท source
Example for PropertyAnd (3-valued logic 'and' of Property input u)
Extends Modelica.Icons.Example
Using logical block PropertyAnd as
results in
![]() | |
| simulation result |
Three PropertyTable sources p1,
p2 and p3 run through the values Violated, Undecided and Satisfied at different times, so
that many combinations of the three inputs occur within 14 s. and1 computes their logical and in the
multi-valued logic of the library: the result is Violated if one input is Violated, Satisfied if all are Satisfied,
and Undecided otherwise.
Components and variables
| Name | Type | Description |
|---|---|---|
p1 | Requirements.Sources.PropertyTable | First property input |
p2 | Requirements.Sources.PropertyTable | Second property input |
p3 | Requirements.Sources.PropertyTable | Third property input |
and1 | Requirements.LogicalBlocks.PropertyAnd | Logical and of p1, p2 and p3 |

