functionmassFlowRate_dp
Return mass flow rate from constant loss factor data and pressure drop (m_flow = f(dp))
Extends from Modelica.Icons.Function (Icon for functions).
Information
Compute mass flow rate from constant loss factor and pressure drop (m_flow = f(dp)). For small pressure drops (dp < dp_small), the characteristic is approximated by a polynomial in order to have a finite derivative at zero mass flow rate.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Pressure | dp | Pressure drop (dp = port_a.p - port_b.p) | |
| SI.Density | d_a | Density at port_a | |
| SI.Density | d_b | Density at port_b | |
| LossFactorData | data | Constant loss factors for both flow directions | |
| SI.AbsolutePressure | dp_small | 1 | Turbulent flow if |dp| >= dp_small |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| SI.MassFlowRate | m_flow | Mass flow rate from port_a to port_b |