Demand Response Management in the Smart Grid in a Large Population Regime