Integration of gravity energy storage and deep learning for optimal vehicle-to-grid (V2G) systems in residential microgrids | Synapse