Manufacturing System Energy Modeling And Optimization