Efficiency and Flexibility in the Energy Industry