WOLFRAM SYSTEM MODELER
dp_nominalPressureLossLawDensity |
SystemModel["Modelica.Fluid.Dissipation.Utilities.SharedDocumentation.PressureLoss.General.dp_nominalPressureLossLawDensity"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
Calculation of a generic pressure loss in dependence of nominal fluid variables (e.g., nominal density) via interpolation from an operation point. This generic function considers the pressure loss law via a nominal pressure loss (dp_nom), a pressure loss coefficient (zeta_TOT) and a pressure loss law exponent (exp) as well as the influence of density on pressure loss.
The geometry parameters of energy devices necessary for the pressure loss calculations are often not exactly known. Therefore the modelling of the detailed pressure loss calculation have to be simplified. This function uses nominal variables (e.g., nominal pressure loss) at a known operation point of the energy device to interpolate the actual pressure loss according to a pressure loss law (exponent).
In the following the pressure loss dp is generally determined from a known operation point via a law of similarity:
dp/dp_nom = (zeta_TOT/zeta_TOT_nom)*(rho/rho_nom)*(v/v_nom)^exp
with
dp | as pressure loss [Pa], |
dp_nom | as nominal pressure loss [Pa], |
m_flow | as mass flow rate [kg/s], |
m_flow_nom | as nominal mass flow rate [kg/s], |
exp | as exponent of pressure loss calculation [-], |
rho | as fluid density [kg/m3], |
rho_nom | as nominal fluid density [kg/m3], |
v | as mean flow velocity [m/s], |
v_nom | as nominal mean flow velocity [m/s], |
zeta_TOT | as pressure loss coefficient [-], |
zeta_TOT_nom | as nominal pressure loss coefficient [-]. |
The fraction of mean flow velocities (v/v_nom) can be calculated through its corresponding mass flow rates, densities and cross sectional areas:
v/v_nom = (m_flow/m_flow_nom)*(A_cross_nom/A_cross)*(rho_nom/rho)
or through its corresponding volume flow rates, densities and cross sectional areas:
v/v_nom = (V_flow/V_flow_nom)*(A_cross_nom/A_cross).
with
A_cross | as cross sectional area [m2], |
A_cross_nom | as nominal cross sectional area [m2], |
rho | as fluid density [kg/m3], |
rho_nom | as nominal fluid density [kg/m3], |
v | as mean flow velocity [m/s], |
v_nom | as nominal mean flow velocity [m/s], |
V_flow | as volume flow rate [m3/s], |
V_flow_nom | as nominal volume flow rate [m3/s]. |
Here the compressible case [Mass flow rate = f(dp)] determines the unknown mass flow rate out of a given pressure loss:
m_flow = m_flow_nom*(A_cross/A_cross_nom)*(rho_nom/rho)^(exp_density/exp)*[(dp/dp_nom)*(zeta_TOT_nom/zeta_TOT)]^(1/exp);
where the exponent for the fraction of densities is determined w.r.t. the chosen nominal mass flow rate or nominal volume flow rate to:
exp_density = if NominalMassFlowRate == Modelica.Fluid.Dissipation.Utilities.Types.MassOrVolumeFlowRate.MassFlowRate then 1-exp else 1
with
NominalMassFlowRate | as reference for pressure loss law (mass flow rate of volume flow rate), |
exp | as exponent of pressure loss calculation [-], |
exp_density | as exponent for density [-]. |
To avoid numerical difficulties this pressure loss function is linear smoothed for small pressure losses, with
dp ≤ 0.01*dp_nom
Note that the input and output arguments for functions throughout this library always use mass flow rates. Here you can choose NominalMassFlowRate == Modelica.Fluid.Dissipation.Utilities.Types.MassOrVolumeFlowRate.MassFlowRate for using a nominal mass flow rate or NominalMassFlowRate == Modelica.Fluid.Dissipation.Utilities.Types.MassOrVolumeFlowRate.VolumeFlowRate for using a nominal volume flow rate. The output argument will always be a mass flow rate for further use as flow model in a thermo-hydraulic framework.
Note that the pressure loss coefficients (zeta_TOT,zeta_TOT_nom) refer to its mean flow velocities (v,v_nom) in the pressure loss law to obtain its corresponding pressure loss.
Compressible case [Mass flow rate = f(dp)]:
The generic mass flow rate M_FLOW in dependence of the pressure loss dp is shown for a turbulent pressure loss regime (exp == 2) in the figure below.
Note that the verification for dp_nominalPressureLossLawDensity is also valid for this inverse calculation due to using the same functions.