dp_idealGas_MFLOW

Generic pressure loss | calculate mass flow rate | ideal gas | mean density

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

Calculation of a generic pressure loss for an ideal gas using mean density.

Generally this function is numerically best used for the compressible case if the pressure loss (dp) is known (out of pressures as state variable) and the mass flow rate (M_FLOW) has to be calculated. On the other hand the function dp_idealGas_DP is numerically best used for the incompressible case, where the mass flow rate (m_flow) is known (as state variable) in the used model and the corresponding pressure loss (DP) has to be calculated. See more information.

Syntax

M_FLOW = dp_idealGas_MFLOW(IN_con, IN_var, dp)

Inputs (3)

IN_con

Type: dp_idealGas_IN_con

Description: Input record for function dp_idealGas_MFLOW

IN_var

Type: dp_idealGas_IN_var

Description: Input record for function dp_idealGas_MFLOW

dp

Type: Pressure (Pa)

Description: Pressure loss

Outputs (1)

M_FLOW

Type: MassFlowRate (kg/s)

Description: Output for function dp_idealGas_MFLOW