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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica_Requirements.Interfaces.PropertyInput | u | Property input signal | |
| Modelica.Blocks.Interfaces.IntegerOutput | y | Integer output signal (values 1,2,3) |