Optimization of vehicle-to-grid technology for enhancing microgrid stability with renewable energy integration | Synapse