modelMultiSensor_Tp
Temperature and pressure sensor
Extends from ThermofluidStream.Utilities.DropOfCommonsPlus.
Information
Sensor for measuring temperature and pressure at once.
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 |
| ThermofluidStream.Sensors.Internal.Types.TemperatureUnit | temperatureUnit | "K" | Temperature unit (display and output) |
| ThermofluidStream.Sensors.Internal.Types.PressureUnit | pressureUnit | "Pa" | Pressure unit (display and output) |
| String | temperatureString | if temperatureUnit == "K" then "K" elseif temperatureUnit == "degC" then "°C" else "error" | |
| Output | |||
| Boolean | outputTemperature | false | = true, if temperature output is enabled |
| Boolean | outputPressure | false | = true, if pressure 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 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Inlet | inlet | ||
| Modelica.Blocks.Interfaces.RealOutput | T_out | T | Temperature output connector |
| Modelica.Blocks.Interfaces.RealOutput | p_out | p | Pressure output connector |
| Real | p | ||
| Real | T | ||
| Real | direct_p | ||
| Real | direct_T |
Contents
| Name | Description |
|---|---|
| Medium | Medium model |