.Modelica.Fluid.Dissipation.Utilities.SharedDocumentation.PressureLoss.General.dp_nominalDensityViscosity

Information

Calculation of a generic pressure loss in dependence of nominal fluid variables (e.g., nominal density, nominal dynamic viscosity) at an operation point via interpolation. This generic function considers the pressure loss law via a pressure loss exponent and the influence of density and dynamic viscosity on pressure loss.

Calculation

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 has 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).

The generic pressure loss dp is determined for:

with

dp as pressure loss [Pa],
dp_nom as nominal pressure loss [Pa],
eta as dynamic viscosity of fluid [kg/(ms)].
eta_nom as nominal dynamic viscosity of fluid [kg/(ms)].
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 [-],
exp_eta as exponent of dynamic viscosity dependence [-],
rho as fluid density [kg/m3],
rho_nom as nominal fluid density [kg/m3].

To avoid numerical difficulties this pressure loss function is linear smoothed for

Note that the density (rho) and dynamic viscosity (eta) of the fluid are defined through the definition of the kinematic viscosity (nue).

nue = eta / rho

Therefore if you set both the exponent of dynamic viscosity (exp_eta == 1) and additionally a relation of density and dynamic viscosity there will be no difference for varying densities because the dynamic viscosities will vary in the same manner.

Verification

Incompressible case [Pressure loss = f(m_flow)]:

The generic pressure loss DP in dependence of the mass flow rate m_flow with different fluid densities and dynamic viscosity dependence as parameters is shown for a turbulent pressure loss regime (exp == 2) in the figure below.

dp_nominalDensityViscosity_i

Compressible case [Mass flow rate = f(dp)]:

The generic mass flow rate M_FLOW in dependence of the pressure loss dp at different fluid densities and dynamic viscosity as parameters is shown for a turbulent pressure loss regime (exp == 2) in the figure below.

dp_nominalDensityViscosity_c

References

Elmqvist, H., M.Otter and S.E. Cellier:
Inline integration: A new mixed symbolic / numeric approach for solving differential-algebraic equation systems.. In Proceedings of European Simulation MultiConference, Prague, 1995.
Wischhusen, S.:
Dynamische Simulation zur wirtschaftlichen Bewertung von komplexen Energiesystemen.. PhD thesis, Technische Universität Hamburg-Harburg, 2005.

Generated at 2024-12-25T19:25:50Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos