Optimisation of energy production.