The power system is facing line losses, low voltage level and some other issues, this article begin with the point of the reactive power optimization, and through with the improved PSO algorithm, we find a way to reduce the line network loss.