Design of Advanced Manufacturing Systems