Troubleshooting the most common power quality problems