Renewable Energy Integration and Smart Grid Optimization Using Mechatronics and Artificial Intelligence | Synapse