PropertyOr model
Requirements.Examples.Elementary.LogicalBlocks.PropertyOr
ยท source
Example for PropertyOr (3-valued logic 'or' of Property input u)
Extends Modelica.Icons.Example
Using logical block PropertyOr 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. or1 computes their logical or in the
multi-valued logic of the library: the result is Satisfied if one input is Satisfied, Violated if all are Violated,
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 |
or1 | Requirements.LogicalBlocks.PropertyOr | Logical or of p1, p2 and p3 |

