By using power quality analyzers such as the E6000 or E6100 to monitor the line, the source of pollution to the grid is found. Based on the specific analysis of the problems found, wiring optimization is carried out to reduce the voltage sag problem.