modelPartialFlowSensor
Partial component to model sensors that measure flow properties
Extends from Buildings.Fluid.Interfaces.PartialTwoPort (Partial component with two ports).
Information
Partial component to model a sensor. The sensor is ideal. It does not influence mass, energy, species or substance balance, and it has no flow friction.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialTwoPort) | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
| Nominal condition | |||
| Modelica.Units.SI.MassFlowRate | m_flow_nominal | Nominal mass flow rate, used for regularization near zero flow | |
| Advanced | |||
| Modelica.Units.SI.MassFlowRate | m_flow_small | 1E-4*m_flow_nominal | For bi-directional flow, temperature is regularized 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) |
Revisions
-
August 15, 2015, by Filip Jorissen:
Implemented more efficient computation ofport_a.Xi_outflow,port_a.h_outflowandport_a.C_outflowwhenallowFlowReversal=false. This is for #281. -
June 19, 2015, by Michael Wetter:
Movedm_flow_smallto theAdvancedtab as it usually need not be changed by the user. Other models such as heat exchangers also have this parameter on theAdvancedtab. -
February 12, 2011, by Michael Wetter:
First implementation. Implementation is based onModelica.Fluid.