PropertyTable block

Requirements.Sources.PropertyTable  · source

Icon of PropertyTable

Output y is a Property signal computed by constant interpolation in a table matrix with [time, property] values

Output y is a time-varying Property signal defined by the matrix parameter table: the first column holds the time points (strictly increasing), the second column the value of the property from that time point on, as Integer: 1 = Violated, 2 = Undecided, 3 = Satisfied, 4 = Undefined. For example table = [0,1; 3,2; 6,3] gives Violated until 3 s, Undecided until 6 s and Satisfied afterwards.

The table is evaluated by Modelica.Blocks.Sources.IntegerTable (constant between the time points, the first and last value held outside the table range, with its default settings), and its Integer output is converted to a Property by LogicalBlocks.IntegerToProperty, which asserts that every value is 1, 2, 3 or 4. The default table is empty, so table must be set (IntegerTable asserts that table values are provided).

The block generates property signals for testing logical blocks and requirements, for example in Examples.Elementary.LogicalBlocks.PropertyNot, PropertyAnd and PropertyOr. A constant property is generated with PropertyConstant.

Parameters

NameTypeDescription
table[…] parameterRealTable matrix (first column time; second column y as Integer: =1 (Violated), =2 (Undecided), =3 (Satisfied), =4 (Undefined))

Components and variables

NameTypeDescription
yRequirements.Interfaces.PropertyOutputConstantly interpolated table value
integerTableModelica.Blocks.Sources.IntegerTableTable of Integer property values, held constant between the time points
ItoPLogicalBlocks.IntegerToPropertyTransform Integer to Property