modelMultiSensor_Tpm
Sensor for temperature, pressure and mass flow rate
Extends from ThermofluidStream.Utilities.DropOfCommonsPlus.
Information
Sensor for measuring temperature, pressure and massflow at once.
This sensor must be included into the fluid stream, since it measures massflow.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | digits | 3 | Number of significant digits to be displayed |
| ThermofluidStream.Sensors.Internal.Types.TemperatureUnit | temperatureUnit | "K" | Temperature unit (display and output) |
| ThermofluidStream.Sensors.Internal.Types.PressureUnit | pressureUnit | "Pa" | Pressure unit (display and output) |
| ThermofluidStream.Sensors.Internal.Types.MassFlowUnit | massFlowUnit | "(kg/s)" | Mass flow rate unit (display and output) |
| String | temperatureString | if temperatureUnit == "K" then "K" elseif temperatureUnit == "degC" then "°C" else "error" | |
| String | massFlowString | if massFlowUnit == "(kg/s)" then "kg/s" elseif massFlowUnit == "(g/s)" then "g/s" else "error" | |
| Output | |||
| Boolean | outputTemperature | false | = true, if temperature output is enabled |
| Boolean | outputPressure | false | = true, if pressure output is enabled |
| Boolean | outputMassFlowRate | false | = true, if mass flow rate 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 | T_0 | 0 | Start value for temperature output |
| Real | p_0 | 0 | Start value for pressure output |
| Real | m_flow_0 | 0 | Start value for mass flow rate output |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Inlet | inlet | ||
| Interfaces.Outlet | outlet | ||
| Modelica.Blocks.Interfaces.RealOutput | T_out | T | Temperature output connector |
| Modelica.Blocks.Interfaces.RealOutput | p_out | p | Pressure output connector |
| Modelica.Blocks.Interfaces.RealOutput | m_flow_out | m_flow | Mass flow rate output connector |
| Real | p | ||
| Real | T | ||
| Real | m_flow |
Contents
| Name | Description |
|---|---|
| Medium | Medium model |