.Modelica.Fluid.Dissipation.PressureLoss.General.dp_nominalPressureLossLawDensity_MFLOW

Information

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.

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_nominalPressurelosslawDensity_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.

Interface

function dp_nominalPressureLossLawDensity_MFLOW
  extends Modelica.Icons.Function;
  import FD = Modelica.Fluid.Dissipation.PressureLoss.General;
  input Modelica.Fluid.Dissipation.PressureLoss.General.dp_nominalPressureLossLawDensity_IN_con IN_con "Input record for function dp_nominalPressureLossLawDensity_MFLOW" annotation(
    Dialog(group = "Constant inputs"));
  input Modelica.Fluid.Dissipation.PressureLoss.General.dp_nominalPressureLossLawDensity_IN_var IN_var "Input record for function dp_nominalPressureLossLawDensity_MFLOW" annotation(
    Dialog(group = "Variable inputs"));
  input SI.Pressure dp "Pressure loss" annotation(
    Dialog(group = "Input"));
  output SI.MassFlowRate M_FLOW "Output for function dp_nominalPressurelosslawDensity_MFLOW";
end dp_nominalPressureLossLawDensity_MFLOW;

Generated at 2024-11-26T19:26:15Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos