Queuing-Based Energy Consumption Management for Heterogeneous Residential Demands in Smart Grid | Synapse