Residential energy management systems: A comprehensive review and case study | Synapse