blockPropertyToInteger

Convert Property (Violated, Undecided, Satisfied) to Integer (1,2,3)

Extends from Interfaces.PartialConversion (Icon for conversion block).

Information

The Property input u is converted to an Integer output y according to the following table:

Property u = Integer y =
Violated 1
Undecided 2
Satisfied 3

This block is demonstrated with example Conversions.

Connectors

TypeNameDefaultDescription
Modelica_Requirements.Interfaces.PropertyInputuProperty input signal
Modelica.Blocks.Interfaces.IntegerOutputyInteger output signal (values 1,2,3)