Design optimization of mechanical valves in dishwashers based on the minimization of pressure losses