As the world transitions to a more sustainable future, innovative technologies are emerging to help optimize energy consumption and promote renewable energy sources. One such technology that is gaining traction is Vehicle-to-Grid (V2G) technology, which allows electric vehicles to not only receive electricity from the grid but also to deliver excess energy back to the grid.