Model that computes nominal volume flow and has a linear factor that determines the pressure generated linearly from the difference of actual volume flow V_flow and nominal volume flow V_flow_nominal = A*l*omega = V_r*omega.
The static moment has two parts. The first is the work performed on the fluid. The second term describes linear friction with the friction factor k_fric.
Parameters V_r "Reference Volume", k_fric "friction coefficient" and k_p "pressure coefficient" can be set directly or by setting a design point of operation (angular velocity, pressure head, volume flow, slip and efficiency).
function dp_tau_nominal_flow extends partial_dp_tau; input Boolean parametrizeByDesignPoint = false "If true scale by scaling parameters" annotation( Dialog(enable = true)); input SI.Pressure dp_D = 500000 "Design pressure difference" annotation( Dialog(group = "Design Point", enable = parametrizeByDesignPoint)); input SI.VolumeFlowRate V_flow_D(displayUnit = "l/min") = 0.0016666666666667 "Design Volume flow" annotation( Dialog(group = "Design Point", enable = parametrizeByDesignPoint)); input SI.AngularVelocity omega_D = 314.2 "Design angular velocity" annotation( Dialog(group = "Design Point", enable = parametrizeByDesignPoint)); input Real slip_D(unit = "1", min = 0, max = 1) = 0.5 "Design slip ((V_flow_nominal-V_flow)/V_flow_nominal)" annotation( Dialog(group = "Design Point", enable = parametrizeByDesignPoint)); input Real eta_D(unit = "1", min = 0.001, max = 1) = 0.75 "Design efficiency" annotation( Dialog(group = "Design Point", enable = parametrizeByDesignPoint)); input SI.Volume V_r_input = 0.0001 "Reference volume of pump" annotation( Dialog(group = "Direct Parameters", enable = not parametrizeByDesignPoint)); input Real k_p_input(unit = "N.s/(m5)") = 1e5 "Linear pressure factor" annotation( Dialog(group = "Direct Parameters", enable = not parametrizeByDesignPoint)); input Real k_fric_input(unit = "N.s/(m2)") = 1e-2 "Linear friction factor" annotation( Dialog(group = "Direct Parameters", enable = not parametrizeByDesignPoint)); end dp_tau_nominal_flow;