function dp_MFLOW extends Modelica.Icons.Function; input dp_IN_con IN_con "Input record for function dp_overall_MFLOW" annotation( Dialog(group = "Constant inputs")); input dp_IN_var IN_var "Input record for function dp_overall_MFLOW" annotation( Dialog(group = "Variable inputs")); input SI.Pressure dp "Pressure loss (dp = port_a.p - port_b.p)" annotation( Dialog(group = "Input")); input SI.AbsolutePressure dp_small = 1 "Regularization of zero flow if |dp| < dp_small (dummy if use_dp_small = false)"; output SI.MassFlowRate M_FLOW "Output of function dp_overall_MFLOW"; end dp_MFLOW;