This study explored the integration of a 7 MW PV solar energy system into the energy system of industrial air compressors to mitigate extensive energy costs in the unstable grid electricity in Taiz Al-Huban, Yemen. A combined approach involving solar PV generation, leakage recovery, and compressor operation control was implemented into Five major food-based companies to enhance system efficiency. Cumulative energy-related data was collected from the proposed companies for several years and then analyzed using PVsyst simulations. Interesting results indicated an energy saving of 20% from repairing of 851 leaking points, with a total energy saving of 1.93 GWh. Simulation results show that the proposed PV system produces 13.8 GWh annually, meeting the compressors’ total demand of 9.7 GWh and generating a 4.1 GWh surplus. The system achieved a performance ratio of 81 %, and the optimal tilt angle was identified as 17.5 degrees. Economic analysis confirms strong feasibility with a 2.3-year payback period under the Yemeni electricity price and significant long-term revenue. Environmentally, the system offsets approximately 229,538 tons of CO₂ over 30 years. Overall, the results demonstrate that integrating solar PV with targeted compressor improvements offers a cost-effective and sustainable solution for industrial energy management in developing regions.