This function uses the correlation of Euler number to compute the efficiency η.
function efficiency extends Modelica.Icons.Function; input BuildingSystems.Fluid.Movers.BaseClasses.Euler.peak peak "Operation point with maximum efficiency"; input Modelica.Units.SI.PressureDifference dp "Pressure rise"; input Modelica.Units.SI.VolumeFlowRate V_flow "Volumetric flow rate"; input Real V_flow_dp_small(final unit = "m3.Pa/s", min = Modelica.Constants.eps) "Small number for regularisation"; output Modelica.Units.SI.Efficiency eta "Efficiency"; end efficiency;