Energy company transformed by software