As part of the ongoing research activities conducted by the staff of the Biomedical Engineering Research Center at the University of Anbar, and under the direct supervision of the Center Director, Dr. Ali Amer Al-Rawi, a scientific research paper has been published entitled: "Optimized Firefly Algorithm for Evaluating Performance of a Photovoltaic System during Extreme Events: Impact on the Distribution Grid Resilience" This research was presented at the 16th International Conference on Modern Trends in Applied Sciences, held from July 1 to 5, 2025, and organized by Areed International University for Postgraduate Studies in collaboration with Ankara Haci Bayram Veli University, Turkey. The research was conducted and presented by a team from the Biomedical Engineering Research Center at the University of Anbar, consisting of Prof. Dr. Yousif AlMashhadani, Dr. Ali Amer Al-Rawi, and Assistant Lecturer Wissam Saad Yaqoub. The paper focuses on evaluating the performance of the optimized Firefly Algorithm (FA) as an intelligent optimization tool for enhancing the integration of photovoltaic (PV) systems, particularly under extreme and unstable environmental conditions. It explores the algorithm’s role in improving the sizing and distribution of distributed generators, enhancing inverter control mechanisms, optimizing energy storage scheduling, and implementing adaptive load management strategies. Through a systematic review of recent literature and comprehensive simulation-based analysis, the study demonstrated that integrating PI controllers with the optimized FA significantly enhances system performance. The results showed a maximum power point tracking (MPPT) efficiency exceeding 98.2%, alongside a notable reduction in total harmonic distortion (THD). The proposed FA-based strategies offer a practical solution for real-time energy management, enabling rapid system recovery and reliable operation of the distribution grid under dynamic and fault-prone conditions. This paper provides a critical review of heuristic optimization in the development of smart photovoltaic energy systems, aligning with the vision of future-proof, resilient smart grids capable of meeting growing energy demands efficiently and reliably. At the conclusion of this achievement, Dr. Al-Rawi encouraged the Center’s staff to continue their dedication to scientific excellence, emphasizing the importance of sustained research efforts that contribute to elevating the academic and research standing of both the Center and the University of Anbar.