modelSingleSensorX
Sensor for mass fraction
Extends from ThermofluidStream.Utilities.DropOfCommonsPlus.
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 meassured mass fraction |
| 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 |
|---|---|---|---|
| Interfaces.Inlet | inlet | ||
| Modelica.Blocks.Interfaces.RealOutput[Medium.nX] | value_out | value | Mass fraction output connector |
| 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 |
| mfk |