Energy-efficient manufacturing