A market-oriented hierarchical framework for residential demand response. (July 2015)