A hybrid approach for enhancing and optimizing the power quality and power flow in Smart Grid Connected System | Synapse