PropertyAnd model

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

Icon of PropertyAnd

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

NameTypeDescription
p1Requirements.Sources.PropertyTableFirst property input
p2Requirements.Sources.PropertyTableSecond property input
p3Requirements.Sources.PropertyTableThird property input
and1Requirements.LogicalBlocks.PropertyAndLogical and of p1, p2 and p3