Voltage quality impacts the stability, efficiency, and cost effectiveness of the distribution network. With the integration of large-scale wind power and solar photovoltaic power generation, the probability of fluctuations in the feeder network voltage of the distribution network is greatly increased, and the study of voltage stability is more important. This paper proposes a comprehensive scheme to optimize voltage quality problems from the network level instead of the traditional scheme from the point level. The effect of different compensation points on the voltage of distribution network is analyzed by simulation. Then the elite selection strategy of genetic algorithm is used to calculate the optimal location of reactive compensators in distribution network. The analysis of IEEE 18-node distribution system simulation shows that the proposed comprehensive control method can generate low voltage deviation with fewer control points, compared with the full compensation cases.