An integrated approach of process planning and cutting parameter optimization for energy-aware CNC machining. (20th September 2017)