Mechatronics Design Process With Energy Optimization For Industrial Machines