Integrated dynamic energy management for steel production