Abstract
This article presents the results of a performance comparison of four forecasting methods for prediction of electric power quality parameters (PQPs) in small-scale off-grid environments. Forecasting PQPs is crucial in supporting smart grid control and planning strategies by enabling better management, enhancing system reliability, and optimizing the integration of distributed energy resources. The following methods were compared: Bagging Decision Tree (BGDT), Boosting Decision Tree (BODT), and the K-Nearest Neighbor (KNN) algorithm with (Formula presented.) and (Formula presented.) nearest neighbors considered by the algorithm when making a prediction. The main goal of this study is to find a relation between the input variables (weather conditions, first and second back steps of PQPs, and consumed power of home appliances) and the power quality parameters as target outputs. The studied PQPs are the amplitude of power voltage (U), Voltage Total Harmonic Distortion ((Formula presented.)), Current Total Harmonic Distortion ((Formula presented.)), Power Factor ((Formula presented.)), and Power Load ((Formula presented.)). The Root Mean Square Error (RMSE) was used to evaluate the forecasting results. BGDT accomplished better forecasting results for (Formula presented.), (Formula presented.), and (Formula presented.). Only BODT obtained a good forecasting result for (Formula presented.). The KNN (k = 5) algorithm obtained a good result for (Formula presented.) prediction. The KNN (k = 10) algorithm predicted acceptable results for U and (Formula presented.). The computation time was considered, and the KNN algorithm took a shorter time than ensemble decision trees.
Author supplied keywords
Cite
CITATION STYLE
Jahan, I., Blazek, V., Walendziuk, W., Snasel, V., Prokop, L., & Misak, S. (2025). Forecasting Power Quality Parameters Using Decision Tree and KNN Algorithms in a Small-Scale Off-Grid Platform. Energies, 18(17). https://doi.org/10.3390/en18174611
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.