Optimal Provision of End-User Energy Services Through Intelligent Scheduling of Distributed Generation, Storage, and Controllable Load Resources