Chiara optimises production by varying the price at which energy is sold