Artificial neural network-based approach for optimized photovoltaic grid injection using a three-phase multilevel inverter | Synapse