Decision-making in the future electricity grid: home energy management, pricing design, and architecture development