Partial shading, from obstacles such as buildings or trees, is a major challenge for photovoltaic systems, causing unpredictable fluctuations in solar energy production and underlining the need for advanced energy management strategies. In this paper, we propose an innovative approach that combines hybrid metaheuristic optimization with maximum power point tracking control (MPPT), using particle swarm optimization (PSO) in conjunction with the incremental conductance (IC) algorithm. We compare the proposed method with the conventional Perturb and Observation (PO) algorithm. The choice of PO as a comparison method is due to its simplicity, its familiarity with the scientific literature, its low cost of implementation. The main objective of swarm optimization combined with the IC algorithm lies in its ability to overcome the challenges posed by partial shading, ensuring accurate and efficient tracking of the point of maximum power, thanks to dynamic adaptation to variations in solar irradiation, thus enhancing the performance and resilience of the photovoltaic system. This approach is of crucial importance, offering considerable potential for solving the complex challenges associated with partial shading. Our results show that this hybrid MPPT algorithm offers superior tracking efficiency 98% , faster convergence 500ms , better stability and increased robustness compared to traditional MPPT approaches. The system is composed of a PV and a boost converter that connects the input to the resistive load. The algorithms were implemented with MATLAB/Simulink as the simulation tool. These results not only reinforce the viability of sustainable energy solutions, but also open the way for the development of more sustainable energy solutions.The perspectives of this work are oriented towards a practical and extended integration of the proposed hybrid approach in real photovoltaic systems, with a particular emphasis on experimental validation.