[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-121193-en":3,"doc-seo-121193-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},121193,7971461740886,"Theodore","https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2",8,"Research & Report","Energy Demand Forecasting for Hybrid Microgrid Systems Using Machine Learning Models - Abstract","Energy demand forecasting models are developed to support energy management in hybrid microgrid systems through optimized machine learning. The study models the relationship between meteorological and temporal inputs—temperature, humidity, season, hour of day, and irradiance—and the energy yield from photovoltaic, generator, and grid sources. Five regression models are tested: linear regression, random forest, support vector regression, artificial neural network, and extreme gradient boosting. Random forest delivers the strongest performance, while SHAP analysis highlights hour, irradiation, and season as key positive predictors and shows humidity and day of the week reduce demand.","Energy Demand Forecasting for Hybrid Microgrid Systems Using  \nMachine Learning Models  \nTahir Aja Zarma 1,*, Emmanuel Ali2, Ahmadu Adamu Galadima 1, Tologon Karataev 1, Suleiman Usman  \nHussein 1,3, Adekunle Akanni Adeleke 4  \n1Department of Electrical Electronics Engineering, Nile University of Nigeria, Abuja , Nigeria 2Department of Computer Engineering, Nile University of Nigeria, Abuja , Nigeria  \n3National Space Research and Development Agency, Abuja, Nigeria  \n4Department of Mechanical Engineering, Nile University of Nigeria, Abuja, Nigeria  \nReceived 05 August 2024; received in revised form 07 October 2024; accepted 11 October 2024  \nDOI: [https://doi.org/10.46604/peti.2024.14098](https://doi.org/10.46604/peti.2024.14098)  \nAbstract  \nThis study aims to design energy demand forecasting models for energy management in hybrid microgrid systems using optimized machine learning techniques. By incorporating temperature, humidity, season, hour of the day, and irradiance, the complex relationship between these input parameters and the yield of photovoltaics, generator, and grid energy sources is examined. Five different machine learning models including linear regression, random forest (RF), support vector regression, artificial neural network, and extreme gradient boosting models are adopted in this study. Evaluation of model performance shows that the RF model is the best candidate for the dataset, with a mean-squared error of 0.2023, mean absolute error of 0.0831, root-mean-squared error of 0.4498, and R²score of 0.9992. Shapley additive explanations analysis identified key predictors such as hour, irradiation, and season while highlighting the negative impact of humidity and day of the week on energy demand.  \nKeywords: energy demand, forecasting, hybrid microgrid, machine learning  \n1. Introduction  \nTo properly size their energy supply systems, institutions need precise energy demand forecasts. Global electric power systems depend on load forecasts for energy trading, operational strategies, and planning. Deregulation and competitive markets have transformed traditional sectors, and the Kyoto Protocol mandates both a reduction in carbon emissions and an increase in renewable energy integration, which are crucial for energy sustainability [1] . Renewable sources are intermittent and affected by weather, while electricity demand varies with weather, population distribution, and lifestyle patterns, necessitating accurate forecast models for proper energy system sizing [1, 2] . Integrating renewable energy into power systems adds complexity, and creates challenges in maintaining energy balance [3] . Therefore, to balance supply and demand, reduce operation costs, and increase energy system reliability, energy demand forecasting is crucial. In hybrid microgrid systems, which integrate non-renewable energy with renewable energy sources, this task becomes even more complex [4] . Because of their unpredictability and uncertainty, renewable energy sources require sophisticated forecasting models capable of handling large datasets and identifying intricate patterns in energy usage. Energy demand forecasting has shown significant potential with machine learning models. Linear regression (LR) is effective for predicting demand when variable relationships are linear [5], while random forest (RF) offers excellent capability in handling large datasets with multiple features for regression [6] .  \n* Corresponding author. E-mail address: [tahiraja@nileuniversity.edu.ng](tahiraja@nileuniversity.edu.ng)  \nSupport vector regression (SVR), on the other hand, is noted for its robustness against overfitting, particularly with variable data [7, 8] . Meanwhile, artificial neural network (ANN) models benefit from enhanced predictive accuracy and convergence when optimized using the ADAM optimizer [9, 10] .  \nRecent research highlighted the use of machine learning (ML) models for forecasting energy consumption, with SunYoun Shin et al. [11, 12] s","cbCaib6hOaGVRnLm","https://ap.wps.com/l/cbCaib6hOaGVRnLm","pdf",1771848,1,16,"English","en",105,"# Abstract\n# Introduction","[{\"question\":\"Which machine learning models are used for energy demand forecasting in hybrid microgrids?\",\"answer\":\"The study evaluates linear regression, random forest, support vector regression, artificial neural network, and extreme gradient boosting models.\"},{\"question\":\"What input factors are included to predict energy demand?\",\"answer\":\"Inputs include temperature, humidity, season, hour of day, and irradiance, linked to photovoltaic, generator, and grid energy yields.\"},{\"question\":\"Why is the random forest model considered the best performer?\",\"answer\":\"Model evaluation shows random forest achieves the lowest errors (MSE 0.2023, MAE 0.0831, RMSE 0.4498) and a very high R² of 0.9992.\"}]","Energy Demand Forecasting for Hybrid Microgrid Systems Using Machine Learning Models - Abstract | PDF",1785734293,40,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"energy-demand-forecasting-for-hybrid-microgrid-systems-using-machine-learning-models-abstract","",{"@graph":36,"@context":85},[37,54,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/energy-demand-forecasting-for-hybrid-microgrid-systems-using-machine-learning-models-abstract/121193/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":62,"encodingFormat":61,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-03",true,{"@type":65,"interactionType":66,"userInteractionCount":4},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"Which machine learning models are used for energy demand forecasting in hybrid microgrids?","Question",{"text":75,"@type":76},"The study evaluates linear regression, random forest, support vector regression, artificial neural network, and extreme gradient boosting models.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"What input factors are included to predict energy demand?",{"text":80,"@type":76},"Inputs include temperature, humidity, season, hour of day, and irradiance, linked to photovoltaic, generator, and grid energy yields.",{"name":82,"@type":73,"acceptedAnswer":83},"Why is the random forest model considered the best performer?",{"text":84,"@type":76},"Model evaluation shows random forest achieves the lowest errors (MSE 0.2023, MAE 0.0831, RMSE 0.4498) and a very high R² of 0.9992.","https://schema.org",{"og:url":52,"og:type":87,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":89,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,119,122,127,130,134],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":29,"slug":118},7,"Healthcare","healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":120,"slug":121},30,"research-report",{"id":123,"doc_module":4,"doc_module_name":46,"category_name":124,"show_sort_weight":125,"slug":126},9,"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":46,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":46,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":46,"category_name":136,"show_sort_weight":106,"slug":137},19,"General","general"]