## Appendix A Polynomial Fit
### Normal Equation Matrix  
This system of equations can be written in matrix form as  
\[\left(\begin{array}{cccc}\sum\limits_{i=1}^{m}\ x_{i}^{0}&\sum\limits_{i=1} ^{m}\ x_{i}^{1}&\ldots&\sum\limits_{i=1}^{m}x_{i}^{n}\\ \sum\limits_{i=1}^{m}\ x_{i}^{1}&\sum\limits_{i=1}^{m}\ x_{i}^{2}&\ldots&\sum \limits_{i=1}^{m}x_{i}^{n+1}\\ \vdots&\vdots&\vdots&\vdots\\ \sum\limits_{i=1}^{m}\ x_{i}^{n}&\sum\limits_{i=1}^{m}\ x_{i}^{n+1}&\ldots &\sum\limits_{i=1}^{m}x_{i}^{2* [PERSON] et al. (2024) [PERSON]; [PERSON]; [PERSON]; [PERSON] An Optimum Load Forecasting Strategy (OLFS) for Smart Grids Based on Artificial Intelligence. _Technologies_**2024**, _12_, 19. [CrossRef]
* [PERSON] et al. (2023) [PERSON]; [PERSON] [PERSON]; [PERSON] [PERSON]; [PERSON]; [PERSON] [PERSON] Utilization of Artificial Neural Networks for Precise Electrical Load Prediction. _Technologies_**2023**, _11_, 70. [CrossRef]
* [PERSON] et al. (2016) [PERSON]; [PERSON]; [PERSON] Artificial neural network based day ahead load forecasting using Smart Meter data. In Proceedings of the 2016 Biennial International Conference on Power and Energy Systems: Towards Sustainable Energy (PESTSE), Bengaluru, India, 21-23 January 2016; pp. 1-6. [CrossRef]
* [PERSON] et al. (2019) [PERSON]; [PERSON]; [PERSON]; [PERSON] Day-ahead aggregated load forecasting based on two-terminal sparse coding and deep neural network fusion. _Electr. Power Syst. Res._**2019**, _177_, 105987. [CrossRef]
* [PERSON] et al. (2020) [PERSON]; [PERSON]; [PERSON] Adequacy of neural networks for wide-scale day-ahead load forecasts on buildings and distribution systems using smart meter data. _Energy Inform._**2020**, \(3\), 28. [CrossRef]
* [PERSON] (2019) [PERSON]; [PERSON] Machine Learning Algorithms for Short-Term Load Forecast in Residential Buildings Using Smart Meters, Sensors and Big Data Solutions. _IEEE Access_**2019**, \(7\), 177874-177889. [CrossRef]
* [PERSON] et al. (2024) [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON] A Stochastic Bi-level Optimal Allocation Approach of Intelligent Buildings Considering Energy Storage Sharing Services. _IEEE Trans. Consum. Electron._ 2024. [CrossRef]
* [PERSON] et al. (2024) [PERSON]; [PERSON]; [PERSON] Adaptive Forecasting in Energy Consumption: A Bibliometric Analysis and Review. _Data_**2024**, \(9\), 13. [CrossRef]
* [PERSON] (2024) [PERSON]; [PERSON] [PERSON] A Neural Network Forecasting Approach for the Smart Grid Demand Response Management Problem. _Energies_**2024**, _17_, 2329. [CrossRef]
* [PERSON] et al. (2019) [PERSON]; [PERSON]; [PERSON] Recuperation of Regenerative Braking Energy in Electric Rail Transit Systems. _IEEE Trans. Intell. Transp. Syst._**2019**, _20_, 2831-2847. [CrossRef]
* [PERSON] et al. (2024) [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON] Power Flow Control-Based Regenerative Braking Energy Utilization in AC Electrified Railways: Review and Future Trends. _IEEE Trans. Intell. Transp. Syst._**2024**, _25_, 6345-6365. [CrossRef]
* (18) Mathworks. Available online: [[http://www.mathworks.com](http://www.mathworks.com)]([http://www.mathworks.com](http://www.mathworks.com)) (accessed on 20 January 2024).
* [PERSON] et al. (2004) [PERSON]; [PERSON]; [PERSON] The kernel recursive least-squares algorithm. _IEEE Trans. Signal Process._**2004**, _40752_, 2275-2285. [CrossRef]
* [PERSON] et al. (2024) [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON]; [PERSON] [PERSON] An Intelligent Regression-Based Approach for Predicting a Geothermal Heat Exchanger's Behavior in a Bioclimatic House Context. _Energies_**2024**, _17_, 2706. [CrossRef]  
**Disclaimer/Publisher's Note:** The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.