Optimal Dispatch Model for Demand Response Aggregators