As the scale of power systems continue to expand and their structure becomes increasingly complex, it is likely that branch power flow exceedance may occur during the operation of power systems, posing threats to the safe and stable operation of entire systems. This paper addresses the issue of branch flow exceedance in power networks. To enhance the operational efficiency and optimize the adjustment effects, this paper proposes a method for eliminating branch power flow exceedance by improving the particle swarm optimization (PSO) algorithm through the introduction of sensitivity and distribution factors. Firstly, it introduces the basic theory and calculation methods of sensitivity analysis, focusing on deriving the calculation principles of power flow sensitivity and voltage sensitivity, used to predict the responses of power flow at each branch in the power network to power or voltage changes. Subsequently, the paper provides a detailed derivation of the calculation principles for the line outage distribution factor (LODF), which effectively assesses the changes in branch power flow in the power network under specific conditions. Finally, a method for eliminating branch power flow exceedance based on a combination of sensitivity analysis and PSO algorithm is proposed. Through case analysis, it is demonstrated how to use the sensitivity and distribution factor to predict and control the power flow exceedance issues in power systems, verifying the efficiency and practicality of the proposed method for eliminating branch power flow exceedance. The study shows that this method can rapidly and accurately predict and address branch power flow exceedance in power system, thereby enhancing the operational safety of the power system.