modelSingleSensorX
Mass fractions sensor
Extends from Internal.PartialSensor (Partial undirected sensor).
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 |
|---|---|---|---|
| String | instanceName (from DropOfCommonsPlus) | getInstanceName() | Instance name |
| Integer | row | 1 | Row of mass fraction vector to display |
| Layout | |||
| Boolean | displayInstanceName (from DropOfCommonsPlus) | dropOfCommons.displayInstanceNames | = true, if instance name is displayed |
| Boolean | displayParameters (from DropOfCommonsPlus) | dropOfCommons.displayParameters | = true, if displaying parameters is enabled |
| Sensor display | |||
| Integer | digits (from PartialSensor) | 3 | Number of significant digits to be displayed |
| Advanced › Regularization | |||
| SI.MassFlowRate | m_flow_reg (from PartialSensor) | dropOfCommons.m_flow_reg | Regularization threshold of mass flow rate |
| 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 |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Rear | rear (from PartialSensor) | ||
| Interfaces.Fore | fore (from PartialSensor) | ||
| Modelica.Blocks.Interfaces.RealOutput[Medium.nX] | value_out | value | Measured value [variable] |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.ThermodynamicState | state (from PartialSensor) | Medium.setState_phX(p_reg, h_reg, Xi_reg) | |
| 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 model | |