modelPartialTwoPortSensor
Extends from TRANSFORM.Fluid.Interfaces.Records.Medium_fluid.
Parameters
| Type | Name | Default | Description |
| Assumptions |
| Boolean | allowFlowReversal | true | = true to allow flow reversal, false restricts to design direction (port_a -> port_b) |
| Visualization |
| Boolean | showName | true | = true to show the component name on the icon |
| Advanced |
| Medium.MassFlowRate | m_flow_small | 1e-4 | Regularization for zero flow:|m_flow| < m_flow_small |
| Initialization › Start Value: Absolute Pressure |
| SI.AbsolutePressure | p_start | Medium.p_default | Pressure |
| Initialization › Start Value: Temperature |
| Boolean | use_T_start | true | Use T_start if true, otherwise h_start |
| SI.Temperature | T_start | Medium.T_default | Temperature |
| Initialization › Start Value: Specific Enthalpy |
| SI.SpecificEnthalpy | h_start | Medium.specificEnthalpy_pTX(p_start, T_start, X_start) | Specific enthalpy |
| Initialization › Start Value: Species Mass Fraction |
| SI.MassFraction[Medium.nX] | X_start | Medium.X_default | Mass fraction |