Energy Resources Intelligent Management using on line real-time simulation: A decision support tool for sustainable manufacturing