A method and tool to improve the energy efficiency of production systems in the context of smart manufacturing