modelMultiSensor_Tpn
Undirected Sensor for Temperature, potential and molar-flow
Extends from Internal.PartialSensor (Partial undirected sensor).
Information
Undirected sensor for temperature, potential and mass-flow. Units can be selected.Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Chemical.Sensors.Internal.Types.FlowUnit | flowUnit | "(mol/s)" | Unit for potential measurement and output |
| Sensor display | |||
| Integer | digits (from PartialSensor) | 1 | Number of displayed digits |
| Advanced › Regularization | |||
| Modelica.Units.SI.MolarFlowRate | n_flow_reg (from PartialSensor) | dropOfCommons.n_flow_reg | Regularization threshold of mass flow rate |
| Units | |||
| Chemical.Sensors.Internal.Types.TemperatureUnit | temperatureUnit | "K" | Unit for the temperature output |
| Chemical.Sensors.Internal.Types.ChemicalPotentialUnit | potentialUnit | "J/mol" | Unit for the potential output |
| Output Value | |||
| Boolean | outputTemperature | false | Enable temperature output |
| Boolean | outputChemicalPotential | false | Enable potential output |
| Boolean | outputMolarFlowRate | false | Enable molarFlow output |
| Boolean | filter_output | false | Filter sensor-value to break algebraic loops |
| Initialization | |||
| InitMode | init | InitMode.steadyState | Initialization mode for sensor lowpass |
| Real | u_0 | 0 | Initial output potential of sensor |
| Real | T_0 | 0 | Initial output Temperature of sensor |
| Real | n_flow_0 | 0 | Initial output molarflow of sensor |
| Advanced | |||
| Modelica.Units.SI.Time | TC | dropOfCommons.TC | PT1 time constant |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Chemical.Interfaces.Rear | rear (from PartialSensor) | ||
| Chemical.Interfaces.Fore | fore (from PartialSensor) | ||
| Modelica.Blocks.Interfaces.RealOutput | T_out | T | Measured temperature [variable] |
| Modelica.Blocks.Interfaces.RealOutput | u_out | u | Measured potential [variable] |
| Modelica.Blocks.Interfaces.RealOutput | n_flow_out | n_flow | Measured molar-flow [molar/s] |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Chemical.Interfaces.SubstanceState | state (from PartialSensor) | Chemical.Interfaces.SubstanceState(u = u_reg, h = h_reg) | |
| Real | u | ||
| Real | T | ||
| Real | n_flow |