Artificial intelligence and advanced mathematical tools for power quality applications: a survey | Synapse