Electricity Demand Forecasting using A Supervised Machine Learning Random Forest Algorithm

Main Article Content

Abdul Halim Ikram Mohamed
Ruzlaini Ghoni
Mohd Tarmizi Ibrahim

Abstract

The design and development of national power grids are critical to delivering a reliable electricity supply in Malaysia, where accurate load forecasting in low-voltage distribution networks is crucial in ensuring grid efficiency and stability. Traditional forecasting methods often lack of precision and adaptability required for modern energy management systems, particularly in dynamic environments such as the oil and gas industry. This study leverages supervised machine learning, specifically Random Forest, to enhance load-prediction accuracy in low-voltage networks, with a focus on Gas and Condensate Receiving facilities in the oil and gas sector in Kerteh, Terengganu, Malaysia. Based on analyses of variables such as equipment rating (kW), coincident factor, equipment efficiency (%), and equipment load duty, a robust forecasting model that demonstrates significant improvements over conventional approaches is developed. The result is reported as a best value of 80:20% training and testing split (scenario 4) after optimization with MAE of 1.01, MAPE of 0.49%, RMSE of 1.43, and R2 of 99.07%. This show that the proposed method not only achieves higher forecasting accuracy but will also improves operational efficiency, reduces energy waste and enhances grid reliability. These findings highlight the transformative potential of machine learning for data-driven in low voltage distribution network, facilitating the integration of renewable energy sources and supporting Malaysia’s grid modernization efforts.

Article Details

How to Cite
[1]
Abdul Halim Ikram Mohamed, Ruzlaini Ghoni, and Mohd Tarmizi Ibrahim, “Electricity Demand Forecasting using A Supervised Machine Learning Random Forest Algorithm”, Journal of Engineering Technology and Applied Physics, vol. 8, no. 2, pp. 104–114, Sep. 2026.
Section
Regular Paper for Journal of Engineering Technology and Applied Physics

References

[1] S. H. Khaleefah et al., “Optimizing Smart Power Grid Stability Based on The Prediction of A Deep Learning Model,” Int. J. Informat. Visual., vol. 8, no. 3, pp. 1091-1098, 2024.

[2] N. Ahmad et al., “Load Profile Forecasting using A Time Series Model for Solar Rooftop and Integrated Carpark of A Public University in Malaysia,” J. Adv. Res. Fluid Mechan. and Therm. Sci., vol. 111, no. 2, pp. 86–98, 2024.

[3] M. M. B. Tufail et al., “Forecasting Impact of Demand Side Management on Malaysia’s Power Generation using System Dynamic Approach,” Int. J. Ener. Econom. and Polic., vol. 11, no. 4, pp. 412–418, 2021.

[4] S. Narayanan, R. Kumar, S. Ramadass and J. Ramasamy, “Hybrid Forecasting Model Integrating RNN-LSTM for Renewable Energy Production,” Electr. Pow. Compon. and Syst., pp. 1–19, 2024.

[5] M. A. H. Abdul Haris and S. L. Lim, “Neural Network Facial Authentication for Public Electric Vehicle Charging Station,” J. Eng. Technol. and Appl. Phys., vol. 3, no. 1, pp. 17–21, 2021.

[6] Y. Liu, “Predicting Short-term Electric Power Demand using Weather Data,” IET Conf. Proc., vol. 2024, no. 19, pp. 101–108, 2024.

[7] K. Alhashemi and O. T. Altinoz, “Applied Time Series Regression by Using Random Forest Algorithm for Forecasting of Electricity Consumption on a Daily Basis,” Proc. 2022 Int. Symp. Ener. Manage. and Sustain., pp. 197-207, 2023.

[8] Y. A. Atalan, F. Sahin, A. Keskin and A. Atalan, "Strategic Forecasting of Renewable Energy Production for Sustainable Electricity Supply: A Machine Learning Approach Considering Environmental, Economic and Oil Factors in Turkiye, PLoS One, vol. 20, no. 8, pp. e0328290, 2025.

[9] S. Levin, “Using Machine Learning for The Optimisation of Operations and Management in Electric Systems and Networks,” in E3S Web of Conf., vol. 524, pp. 01010, 2024.

[10] H. L. Tong, H. Ng and H. Arul Ananthan, “Predicting Diabetes Mellitus with Machine Learning Techniques,” J. Eng. Technol. and Appl. Phys., vol. 6, no. 1, pp. 91–99, 2024.

[11] K. Cabello-Solorzano, I. Ortigosa de Araujo, M. Peña, L. Correia and A. J. Tallón-Ballesteros, “The Impact of Data Normalization on the Accuracy of Machine Learning Algorithms: A Comparative Analysis,” Proc. Int. Conf. Soft Comput. Models in Industr. and Environ. Appl., pp. 344–353, 2023.

[12] C. M. M. Mansoor, S. K. Chettri and H. M. M. Naleer, “Tuning Hyper Parameters for Predicting Coronary Heart Disease Based on Grid Search Algorithm,” in 2025 6th Int. Conf. for Emerg. Technol., Belgaum, India, pp. 1–6. 2025.

[13] M. Wadinger and M. Kvasnica, “Real-Time Outlier Detection with Dynamic Process Limits,” in 2023 24th Int. Conf. Process Contr., pp. 138–143, 2023.

[14] M. W. Rodrigues and L. E. Zárate, “A Multivariate Method for Detecting and Characterizing The Changes in Responses of Sensors When Extreme Outliers Arise,” Eng. Appl. Artif. Intell., vol. 133, pp. 108424, 2024.