Multi-layer aggregator solutions to facilitate optimum demand response and grid flexibility (SMART-MLA)