modelTemperatureTwoPort
Ideal two port temperature sensor
Extends from Sensors.BaseClasses.PartialFlowSensor (Partial component to model sensors that measure flow properties).
Information
This component monitors the temperature of the passing fluid. The sensor is ideal, i.e., it does not influence the fluid.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialTwoPort) | system.allowFlowReversal | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| Advanced | |||
| Medium.MassFlowRate | m_flow_nominal (from PartialFlowSensor) | system.m_flow_nominal | Nominal value of m_flow = port_a.m_flow |
| Medium.MassFlowRate | m_flow_small (from PartialFlowSensor) | if system.use_eps_Re then system.eps_m_flow*m_flow_nominal else system.m_flow_small | Regularization for bi-directional flow in the region |m_flow| < m_flow_small (m_flow_small > 0 required) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_a | port_a (from PartialTwoPort) | Fluid connector a (positive design flow direction is from port_a to port_b) | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_b (from PartialTwoPort) | Fluid connector b (positive design flow direction is from port_a to port_b) | |
| Modelica.Blocks.Interfaces.RealOutput | T | Temperature of the passing fluid |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.System | system (from PartialTwoPort) | System wide properties |