A comparative framework for evaluating machine learning models in forecasting electricity demand for port microgrids

This study presents a framework for forecasting electricity demand in port microgrids using advanced machine learning models, including Random Forest, Least Squares Boosting Ensemble, and Gaussian Process Regression. These models were evaluated under different forecasting setups (fixed origin, expanding windows, and rolling windows) and compared against simpler baseline methods, such as Linear Regression and Naive models. The study assessed the effectiveness of machine learning models in handling dynamic electricity demand patterns in port environments and highlighted the advantages of data-driven models. Results indicate that the Random Forest (expanding window) model outperforms the other models, achieving a root mean square error of 1.1848 MW and a mean average percentage error of 7.2483 %. Gaussian Process Regression with Exponential kernel follows closely with a root mean square error of 1.1904 MW and a mean average percentage error of 7.5017 %. In contrast, the Naive Method (previous day) shows the poorest performance with a root mean square error of 4.5357 MW and a mean average percentage error of 18.1485 %. Partial Dependence Plots reveal that features such as weighted port calls play a significant role in improving prediction accuracy. These findings highlight the effectiveness of machine learning models in accurately forecasting port microgrid demand and optimizing energy management. • Developed a machine learning framework to forecast port electricity demand. • Framework evaluated using Random Forest, Least-Squares Boosting, and Gaussian Process Regression. • Random Forest achieved best accuracy (RMSE: 1.18 MW, MAPE: 7.25%) over baseline models. • Improved model interpretability by analyzing key features with Partial Dependence Plots. • Validated the framework’s practical use with real-world port data.

Authors

Institutions

Publication Details

Journal
Energy and AI
Published
2025-03-11
DOI
https://doi.org/10.1016/j.egyai.2025.100494
Citations
9
Primary Topic
Energy Load and Power Forecasting
Type
article
Field-Weighted Citation Impact
6.57

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A comparative framework for evaluating machine learning models in forecasting electricity demand for port microgrids

Alexander Micallef, Zhaoxia Xiao, Cyril Spiteri Staines, John Licari et al.
9 citations
Energy and AI
Energy Load and Power Forecasting
6.57
article

A comparative framework for evaluating machine learning models in forecasting electricity demand for port microgrids

Alexander Micallef, Zhaoxia Xiao, Cyril Spiteri Staines, John Licari, Maurice Apap
article en
9 citations

Abstract

This study presents a framework for forecasting electricity demand in port microgrids using advanced machine learning models, including Random Forest, Least Squares Boosting Ensemble, and Gaussian Process Regression. These models were evaluated under different forecasting setups (fixed origin, expanding windows, and rolling windows) and compared against simpler baseline methods, such as Linear Regression and Naive models. The study assessed the effectiveness of machine learning models in handling dynamic electricity demand patterns in port environments and highlighted the advantages of data-driven models. Results indicate that the Random Forest (expanding window) model outperforms the other models, achieving a root mean square error of 1.1848 MW and a mean average percentage error of 7.2483 %. Gaussian Process Regression with Exponential kernel follows closely with a root mean square error of 1.1904 MW and a mean average percentage error of 7.5017 %. In contrast, the Naive Method (previous day) shows the poorest performance with a root mean square error of 4.5357 MW and a mean average percentage error of 18.1485 %. Partial Dependence Plots reveal that features such as weighted port calls play a significant role in improving prediction accuracy. These findings highlight the effectiveness of machine learning models in accurately forecasting port microgrid demand and optimizing energy management. • Developed a machine learning framework to forecast port electricity demand. • Framework evaluated using Random Forest, Least-Squares Boosting, and Gaussian Process Regression. • Random Forest achieved best accuracy (RMSE: 1.18 MW, MAPE: 7.25%) over baseline models. • Improved model interpretability by analyzing key features with Partial Dependence Plots. • Validated the framework’s practical use with real-world port data.

Energy and AIVol. 20
University of Malta (MT), Tiangong University (CN)
Malta Council for Science and Technology
Affordable and clean energy
Openalex Percentile: Top 3%
Energy Load and Power Forecasting
6.57
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.