modelSingleSensorX
Mass fractions sensor
Extends from Internal.PartialSensor.
Information
Sensor for measuring mass fraction X. Which row from X to display can be selected by the row parameter.
This sensor can be connected to a fluid stream without a junction.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | digits | 3 | Number of significant digits to be displayed |
| Integer | row | 1 | Row of mass fraction vector to display |
| Output | |||
| Boolean | outputValue | false | = true, if sensor output is enabled |
| Boolean | filter_output | false | = true, if sensor output is filtered (to break algebraic loops) |
| SI.Time | TC | 0.1 | Time constant of sensor output filter (PT1) |
| InitMode | init | InitMode.steadyState | Initialization mode for sensor output |
| Real | value_0 | Medium.X_default | Start value of mass fraction output |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealOutput[Medium.nX] | value_out | value | Measured value [variable] |
| Real[Medium.nX] | value | Computed value of the selected Quantity | |
| Real | display_value | value[row] | Row of the value vector to display |
Contents
| Name | Description |
|---|---|
| Medium | Medium model |
| mfkprotected |