The complexities of energy planning