Ahmed Omar Elgharib

Dr. Ahmed Omar Elgharib

orcid

Research Focus & Metrics

Academic Career Length

4Years (2023-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
17 June 2025 in Applied Sciences
Verified
Journal Article
Open access
PDF file
Khaled M salemKhaled M salem
Khaled M salem
Javier M. Rey HernándezJavier M. Rey Hernández
Javier M. Rey Hernández
AEAhmed Omar Elgharib
Ahmed Omar Elgharib
FMFrancisco J. Rey Martínez
Francisco J. Rey Martínez
Industry 5.0 is transforming energy demand by integrating sustainability into energy planning, ensuring market stability while minimizing environmental impact for future generations. There are several patterns for calculating energy consumption depending on whether it is measured daily, monthly, or annually through the integration of artificial intelligence approaches, particularly Artificial Neural Networks (ANNs) and Random Forests (RFs), and within the framework of Industry 5.0. This study employs machine learning techniques to analyze energy consumption data from two distinct buildings in Spain: the LUCIA facility in Valladolid and the FUHEM Building in Madrid. The implementation was conducted using custom MATLAB code developed in-house. Our approach systematically evaluates and compares the predictive performance of Artificial Neural Networks (ANNs) and Random Forests (RFs) for energy demand forecasting, leveraging each algorithm’s unique characteristics to assess their suitability for this application. The performances of both models are calculated using the Root Mean Square Percentage Error (RMSPE), Root Mean Square Relative Percentage Error (RMSRPE), Mean Absolute Percentage Error (MAPE), Mean Absolute Relative Percentage Error (MARPE), Kling–Gupta Efficiency (KGE), and also the coefficient of determination, R2. Training times are validated using ANN and RF models. Lucia RF took 2.8 s, while Lucia ANN took 40 s; FUHEM RF took 0.3 s, compared to FUHEM ANN, which took 1.1 s. The performances of the two models are described in detail to show the effectiveness of each of them.

24 July 2025 in Applied Sciences
Verified
Journal Article
Open access
PDF file
Khaled M salemKhaled M salem
Khaled M salem
FMFrancisco J. Rey Martínez
Francisco J. Rey Martínez
AEAhmed Omar Elgharib
Ahmed Omar Elgharib
Javier M. Rey HernándezJavier M. Rey Hernández
Javier M. Rey Hernández
Understanding and forecasting energy consumption patterns is crucial for improving energy efficiency and human well-being, especially in diverse infrastructures like Spain. This research addresses a significant gap in energy demand forecasting across three building types by comparing six machine learning algorithms: Artificial Neural Networks, Random Forest, XGBoost, Radial Basis Function Network, Autoencoder, and Decision Trees. The primary aim is to identify the most effective model for predicting energy consumption based on historical data, contributing to the relationship between energy systems and urban well-being. The study emphasizes challenges in energy use and advocates for sustainable management practices. By forecasting energy demand over the next three years using linear regression, it provides actionable insights for energy providers, enhancing resilience in urban environments impacted by climate change. The findings deepen our understanding of energy dynamics across various building types and promote a sustainable energy future. Stakeholders will receive targeted recommendations for aligning energy production with consumption trends while meeting environmental responsibilities. Model performance is rigorously evaluated using metrics like Squared Mean Root Percentage Error (RMSPE) and Coefficient of Determination (R2), ensuring robust analysis. Training times for models in the LUCIA building ranged from 2 to 19 s, with the Decision Tree model showing the shortest times, highlighting the need to balance computational efficiency with model performance.

27 August 2025 in Applied Sciences
Verified
Journal Article
Open access
PDF file
ARAlberto Rey-Hernández
Alberto Rey-Hernández
JJJulio San José-Alonso
Julio San José-Alonso
Ana Picallo-PerezAna Picallo-Perez
Ana Picallo-Perez
FMFrancisco J. Rey Martínez
Francisco J. Rey Martínez
AEAhmed Omar Elgharib
Ahmed Omar Elgharib
Khaled M salemKhaled M salem
Khaled M salem
This study proposes a comprehensive artificial intelligence (AI)-based framework to predict, disaggregate, and optimize energy consumption and associated CO2 emissions across a multi-building university campus. Leveraging real-world data from 27 buildings at the University of Valladolid (Spain), six AI models—artificial neural networks (ANN), radial basis function (RBF), autoencoders, random forest (RF), XGBoost, and decision trees—were trained on heat exchanger performance metrics and contextual building parameters. The models were validated using an extensive set of key performance indicators (MAPE, RMSE, R2, KGE, NSE) to ensure both predictive accuracy and generalizability. The ANN, RBF, and autoencoder models exhibited the highest correlation with actual data (R > 0.99) and lowest error rates, indicating strong suitability for operational deployment. A detailed analysis at building level revealed heterogeneity in energy demand patterns and model sensitivities, emphasizing the need for tailored forecasting approaches. Forecasts for a 5-year horizon further demonstrated that, without intervention, energy consumption and CO2 emissions are projected to increase significantly, underscoring the relevance of predictive control strategies. This research establishes a robust and scalable methodology for campus-wide energy planning and offers a data-driven pathway for CO2 mitigation aligned with European climate targets.

4 December 2025 in Sustainability
Verified
Journal Article
Open access
PDF file
KSkhaled mohamed mohamed Salim
khaled mohamed mohamed Salim
AEAhmed Omar Elgharib
Ahmed Omar Elgharib
Javier M. Rey HernándezJavier M. Rey Hernández
Javier M. Rey Hernández
FMFrancisco J. Rey Martínez
Francisco J. Rey Martínez
This research presents a solution to the problem of controlling the energy demand and carbon footprint of old buildings, with the focus being on a (heated) building located in Madrid, Spain. A framework that incorporates AI and advanced hybrid ensemble approaches to make very accurate energy consumption predictions was developed and tested using the MATLAB environment. At first, the study evaluated six individual AI models (ANN, RF, XGBoost, RBF, Autoencoder, and Decision Tree) using a dataset of 100 points that were collected from the building’s sensors. Their performance was evaluated with high-quality data, which were ensured to be free of missing values or outliers, and they were prepared using L1/L2 normalization to guarantee optimal model performance. Later, higher accuracy was achieved through combining the models by means of hybrid ensemble techniques (voting, stacking, and blending). The main contribution is the application of a Long Short-Term Memory (LSTM) model for predicting the energy consumption of the building and, very importantly, its carbon footprint over a 30-year period until 2050. Additionally, the proposed methodology provides a structured pathway for existing buildings to progress toward nearly Zero-Energy Building (nZEB) performance by enabling more effective control of their energy demand and operational emissions. The comprehensive assessment of predictive models definitively concludes that the blended ensemble method is the most powerful and accurate forecasting tool, achieving 97% accuracy. A scenario where building heating energy use jumps to 135 by 2050 (a 35% increase above 2020 levels) represents an alarming complete failure to achieve energy efficiency and decarbonization goals, which would fundamentally jeopardize climate targets, energy security, and consumer expenditure.

27 August 2025 in Automation
Verified
Journal Article
Open access
PDF file
KSkhaled mohamed mohamed Salim
khaled mohamed mohamed Salim
MMMostafa S. Mohamed
Mostafa S. Mohamed
MEMohamed Hamza Elmessmary
Mohamed Hamza Elmessmary
AEAmira Ehsan
Amira Ehsan
AEAhmed Omar Elgharib
Ahmed Omar Elgharib
HEHAITHAM M. ELSHIMY
HAITHAM M. ELSHIMY
Industry Revolution Five (Industry 5.0) will shift the focus away from technology and rely more on to the collaboration between humans and AI-powered robots. This approach emphasizes a more human-centric perspective, enhanced resilience, optimized workplace processes, and a stronger commitment to sustainability. The humanoid robot market has experienced substantial growth, fueled by technological advancements and the increasing need for automation in industries such as service, customer support, and education. However, challenges like high costs, complex maintenance, and societal concerns about job displacement remain. Despite these issues, the market is expected to continue expanding, supported by innovations that enhance both accessibility and performance. Therefore, this article proposes the design and implementation of low-cost, remotely controlled humanoid robots via a mobile application for home-assistant applications. The humanoid robot boasts an advanced mechanical structure, high-performance actuators, and an array of sensors that empower it to execute a wide range of tasks with human-like dexterity and mobility. Incorporating sophisticated control algorithms and a user-friendly Graphical User Interface (GUI) provides precise and stable robot operation and control. Through an in-house developed code, our research contributes to the growing field of humanoid robotics and underscores the significance of advanced control systems in fully harnessing the capabilities of these human-like machines. The implications of our findings extend to the future development and deployment of humanoid robots across various industries and societal contexts, making this an ideal area for students and researchers to explore innovative solutions.

27 February 2026 in Sustainability
Verified
Journal Article
Open access
PDF file
MBMilen Balbis-Morejon
Milen Balbis-Morejon
OCOskar Cabello-Justafré
Oskar Cabello-Justafré
JEJuan Jose Cabello Eras
Juan Jose Cabello Eras
Javier M. Rey HernándezJavier M. Rey Hernández
Javier M. Rey Hernández
FMFrancisco J. Rey Martínez
Francisco J. Rey Martínez
KSkhaled mohamed mohamed Salim
khaled mohamed mohamed Salim
Accurate energy forecasting is critical for the financial and environmental sustainability of the hospitality sector, particularly in energy-intensive subtropical climates. This research addresses a significant gap by conducting a comprehensive, comparative analysis of six machine learning algorithms—Artificial Neural Networks (ANN), Random Forest (RF), XGBoost, Radial Basis Function (RBF), Autoencoder, and Decision Trees—to predict the hourly energy consumption of a hotel in Cuba. We significantly enhance predictive performance through a novel hybrid ensemble scheme, integrating voting, stacking, and blending techniques. Furthermore, this study pioneers a long-term forecasting methodology by utilizing a Long Short-Term Memory (LSTM) model to project the hotel’s energy demand over a 50-year horizon, providing the strategic insight necessary for evaluating major retrofits. Our results demonstrate that ensemble methods, particularly blending, achieve superior accuracy and stability, with correlation coefficients up to 0.975 and the lowest error metrics. The subsequent high-fidelity predictions, including an analysis revealing a minimal specific CO2 emission of 0.025 kg from natural gas use, provide a quantitative foundation for formulating sustainable energy policies, incentivizing investment in efficient technologies, and ensuring that long-term emission reduction targets are both financially viable and technically robust.