Smart Factory, Energy management