Improving sustainability of energy production: design of a demand side management system using an auction model