PropertyOr model

Requirements.Examples.Elementary.LogicalBlocks.PropertyOr  ยท source

Icon of PropertyOr

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

NameTypeDescription
p1Requirements.Sources.PropertyTableFirst property input
p2Requirements.Sources.PropertyTableSecond property input
p3Requirements.Sources.PropertyTableThird property input
or1Requirements.LogicalBlocks.PropertyOrLogical or of p1, p2 and p3