The new power system effectively integrates a large number of distributed renewable energy sources, such as solar photovoltaic, wind energy, small hydropower, and biomass energy. This significantly reduces the reliance on fossil fuels and enhances the sustainability and environmental friendliness of energy supply. Compared to distribution networks in traditional power systems, the new-generation distribution network offers notable advantages in improving energy efficiency, reliability, environmental protection, and system flexibility, but it also faces a series of new challenges. These challenges include potential harmonic issues introduced by the widespread use of power electronic devices (such as inverters for renewable energy generation systems and electric vehicle charging stations) and the voltage fluctuations and flickering caused by the intermittency and uncertainty of renewable energy generation, which may affect the normal operation of electrical equipment. To address these challenges, this study proposes an optimization model aimed at minimizing network losses and voltage deviations, utilizing traditional capacitor adjustments and static var compensators (SVCs) as optimization measures. Furthermore, this study introduces an improved version of the multi-objective particle swarm optimization (MOPSO) algorithm, specifically enhanced to address the unique challenges of reactive power optimization in modern distribution networks. The test results show that this algorithm can effectively generate a large number of Pareto optimal solutions. The application of this algorithm on a 33-node network case study demonstrates its advantages in reactive power optimization. The optimization results highlight the effectiveness and feasibility of the proposed improved algorithm in the application of distribution network reactive power optimization, offering users a uniform and diverse range of reactive compensation solutions.