# Day-Ahead Electric Load Forecast for a Ghanaian Health Facility Using Different Algorithms

^{1}

^{2}

^{3}

^{4}

^{*}

## Abstract

**:**

## 1. Introduction

- SARIMA algorithm
- ILR method
- Neural networks with LSTM neurons
- Custom statistical approach formulated throughout this research

## 2. Data sets

#### 2.1. Load Data

#### 2.2. Temperature Data

## 3. Forecasting Algorithms

#### 3.1. Incremental Learning Method

#### 3.2. Statistical Forecasting

#### 3.3. Seasonal Autoregressive Integrated Moving Average (SARIMA) Algorithm

#### 3.4. Long Short-Term Memory (LSTM) Model

#### 3.5. Forecasting via Incremental Linear Regression (ILR)

## 4. Results

#### 4.1. Statistical Forecasting

#### 4.2. Seasonal Autoregressive Integrated Moving Average (SARIMA) Algorithm

#### 4.3. Long Short-Term Memory (LSTM) Model

#### 4.4. Forecasting via Incremental Linear Regression (ILR)

#### 4.5. Summary

## 5. Conclusions

## Author Contributions

## Funding

## Institutional Review Board Statement

## Informed Consent Statement

## Data Availability Statement

## Acknowledgments

## Conflicts of Interest

## Abbreviations

MPC | Model predictive control |

SARIMA | Seasonal autoregressive integrated moving average |

LSTM | Long short-term memory |

nRMSE | Normalized root mean square error |

PV | Photovoltaic |

LCOE | Levelized cost of electricity |

ILR | Incremental linear regression |

ARIMA | Autoregressive integrated moving average |

LOESS | Locally estimated scatterplot smoothing |

LED | Light-emitting diode |

SD | Standard deviation |

PVGIS | Photovoltaic geographical information system |

ERA5 | European center for medium-range weather forecasts reanalysis 5th generation |

CDD | Cooling degree day |

ARMA | Autoregressive moving average |

RNN | Recurrent neural network |

BPTT | Backpropagation through time |

ADAM | Adaptive moment estimation |

MSE | Mean squared error |

MAPE | Mean absolute percentage error |

ReLU | Rectified linear unit |

EnerSHelF | Energy-self-sufficiency for health facilities in Ghana |

## References

- IEA. Africa Energy Outlook 2019; Technical Report; IEA: Paris, France, 2019. [Google Scholar]
- Adu, G.; Dramani, J.; Oteng-Abayie, E.F. Powering the Powerless: The Economic Impact of Rural Electrification in Ghana; Technical Report; The International Growth Centre (IGC): London, UK, 2018; Reference Number: E-33412-GHA-2. [Google Scholar] [CrossRef]
- Kumi, E. The Electricity Situation in Ghana: Challenges and Opportunities; Center for Global Development (CGD): Washington, DC, USA, 2017. [Google Scholar]
- Bertheau, P.; Oyewo, A.; Cader, C.; Blechinger, P. Visualizing National Electrification Scenarios for Sub-Saharan African Countries. Energies
**2017**, 10, 1899. [Google Scholar] [CrossRef][Green Version] - Blechinger, P.; Cader, C.; Oyewo, A.; Bertheau, P. Energy Access for Sub-Saharan Africa with the Focus on Hybrid Mini-Grids; Reiner Lemoine Institut (RLI): Berlin, Germany, 2016. [Google Scholar]
- Energy Commission of Ghana. Electricity Supply Plan for the Ghana Power System: An Outlook of the Power Supply Situation for 2020 and Highlights of Medium Term Power Requirements; Technical Report; Energy Commission of Ghana: Accra, Ghana, 2020. [Google Scholar]
- Apenteng, B.; Opoku, S.; Ansong, D.; Akowuah, E.; Afriyie-Gyawu, E. The effect of power outages on in-facility mortality in healthcare facilities: Evidence from Ghana. Glob. Public Health
**2016**, 13, 1–11. [Google Scholar] [CrossRef] [PubMed] - Shihadeh, A.; Al Helou, M.; Saliba, N.; Jaber, S.; Alaeddine, N.; Ibrahim, E. Effect of distributed electric power generation on household exposure to airborne carcinogens in Beirut. Clim. Chang. Environ. Arab. World
**2013**. Available online: http://hdl.handle.net/10938/21130 (accessed on 12 January 2021). - Sachs, J.; Sawodny, O. A Two-Stage Model Predictive Control Strategy for Economic Diesel-PV-Battery Island Microgrid Operation in Rural Areas. IEEE Trans. Sustain. Energy
**2016**, 7, 903–913. [Google Scholar] [CrossRef] - Dongol, D. Development and Implementation of Model Predictive Control for a Photovoltaic Battery System. Ph.D. Thesis, Albert-Ludwigs-Universität Freiburg im Breisgau, Freiburg, Germany, 2019. [Google Scholar] [CrossRef]
- Chakhchoukh, Y.; Panciatici, P.; Mili, L. Electric Load Forecasting Based on Statistical Robust Methods. IEEE Trans. Power Syst.
**2011**, 26, 982–991. [Google Scholar] [CrossRef] - Bozkurt, Ö.Ö.; Biricik, G.; Taysi, Z.C. Artificial neural network and SARIMA based models for power load forecasting in Turkish electricity market. PLoS ONE
**2017**, 12, e0175915. [Google Scholar] [CrossRef] [PubMed][Green Version] - Siami-Namini, S.; Namin, A.S. Forecasting Economics and Financial Time Series: ARIMA vs. LSTM. arXiv
**2018**, arXiv:1803.06386. [Google Scholar] - Kong, W.; Dong, Z.Y.; Jia, Y.; Hill, D.J.; Xu, Y.; Zhang, Y. Short-Term Residential Load Forecasting Based on LSTM Recurrent Neural Network. IEEE Trans. Smart Grid
**2019**, 10, 841–851. [Google Scholar] [CrossRef] - Bouktif, S.; Fiaz, A.; Ouni, A.; Serhani, M. Optimal Deep Learning LSTM Model for Electric Load Forecasting using Feature Selection and Genetic Algorithm: Comparison with Machine Learning Approaches. Energies
**2018**, 11, 1636. [Google Scholar] [CrossRef][Green Version] - Steinebach, G.; Jax, T.; Hausmann, P.; Dreistadt, D. ERWAS-Verbundprojekt EWave: Energiemanagementsystem Wasserversorgung-Abschlussbericht zu Teilprojekt 5; Hochschule Bonn-Rhein-Sieg: Sankt Augustin, Germany, 2018. [Google Scholar]
- Bruno, S.; Dellino, G.; La Scala, M.; Meloni, C. A Microforecasting Module for Energy Management in Residential and Tertiary Buildings. Energies
**2019**, 12, 1006. [Google Scholar] [CrossRef][Green Version] - Maitanova, N.; Telle, J.S.; Hanke, B.; Grottke, M.; Schmidt, T.; Maydell, K.V.; Agert, C. A Machine Learning Approach to Low-Cost Photovoltaic Power Prediction Based on Publicly Available Weather Reports. Energies
**2020**, 13, 735. [Google Scholar] [CrossRef][Green Version] - Diagne, H.; David, M.; Lauret, P.; Boland, J. Solar Irradiation Forecasting: State-of-the-Art and Proposition for Future Developments for Small-Scale Insular Grids; WREF 2012-World Renewable Energy Forum: Denver, CO, USA, May 2012. [Google Scholar]
- Yang, Y.; Che, J.; Li, Y.; Zhao, Y.; Zhu, S. An incremental electric load forecasting model based on support vector regression. Energy
**2016**, 113, 796–808. [Google Scholar] [CrossRef] - De Silva, D.; Yu, X.; Alahakoon, D.; Holmes, G. Incremental pattern characterization learning and forecasting for electricity consumption using smart meters. In Proceedings of the 2011 IEEE International Symposium on Industrial Electronics, Gdansk, Poland, 27–30 June 2011; pp. 807–812. [Google Scholar] [CrossRef]
- Qiu, X.; Suganthan, P.N.; Amaratunga, G.A. Ensemble incremental learning Random Vector Functional Link network for short-term electric load forecasting. Knowl.-Based Syst.
**2018**, 145, 182–196. [Google Scholar] [CrossRef] - Bouchachia, A.; Gabrys, B.; Sahel, Z. Overview of Some Incremental Learning Algorithms. In Proceedings of the 2007 IEEE International Fuzzy Systems Conference, London, UK, 23–26 July 2007; pp. 1–6. [Google Scholar] [CrossRef]
- Wang, H.; Chen, Q. Impact of climate change heating and cooling energy use in buildings in the United States. Energy Build.
**2014**, 82, 428–436. [Google Scholar] [CrossRef][Green Version] - Amato, A.; Ruth, M.; Kirshen, P.; Horwitz, J. Regional Energy Demand Responses to Climate Change: Methodology and Application to the Commonwealth of Massachusetts. Clim. Chang.
**2005**, 71, 175–201. [Google Scholar] [CrossRef] - Ramírez-Sandí, S.; Quirós-Tortós, J. Evaluating the Effects of Climate Change on the Electricity Demand of Distribution Networks. In Proceedings of the 2018 IEEE PES Transmission Distribution Conference and Exhibition—Latin America (T D-LA), Lima, Peru, 18–21 September 2018; pp. 1–5. [Google Scholar] [CrossRef]
- Berger, M.; Worlitschek, J. The link between climate and thermal energy demand on national level: A case study on Switzerland. Energy Build.
**2019**, 202, 109372. [Google Scholar] [CrossRef] - Jäger, J. Climate and Energy Systems: A Review of Their Interactions; International Series on Applied Systems Analysis; John Wiley & Sons: Chichester, UK, 1983; Volume 12. [Google Scholar]
- Simons, B.; Koranteng, C.; Adinyira, E.; Ayarkwa, J. An Assessment of Thermal Comfort in Multi Storey Office Buildings in Ghana. J. Build. Constr. Plan. Res.
**2014**, 2, 30–38. [Google Scholar] [CrossRef][Green Version] - Nwalusi, D.; Chukwuali, C.; Nwachukwu, M.; Chike, H. Analysis of Thermal Comfort in Traditional Residential Buildings in Nigeria. J. Recent Act. Arch. Sci.
**2019**, 4, 28–39. [Google Scholar] [CrossRef] - Akande, O.; Adebamowo, M. Indoor Thermal Comfort for Residential Buildings in Hot-Dry Climate of Nigeria. In Proceedings of the Conference: Adapting to Change: New Thinking of Comfort, Cumberland Lodge, Windsor, UK, 9–11 April 2010. [Google Scholar]
- Van Rossum, G.; Drake, F.L., Jr. Python Reference Manual; Centrum voor Wiskunde en Informatica Amsterdam: Amsterdam, The Netherlands, 1995. [Google Scholar]
- Seabold, S.; Perktold, J. Statsmodels: Econometric and statistical modeling with python. In Proceedings of the 9th Python in Science Conference, Austin, TX, USA, 28 June–3 July 2010. [Google Scholar]
- Abadi, M.; Agarwal, A.; Barham, P.; Brevdo, E.; Chen, Z.; Citro, C.; Corrado, G.S.; Davis, A.; Dean, J.; Devin, M.; et al. TensorFlow: Large-Scale Machine Learning on Heterogeneous Systems. 2015. Available online: http://tensorflow.org (accessed on 12 January 2021).
- Sen, P.K. Estimates of the regression coefficient based on Kendall’s tau. J. Am. Stat. Assoc.
**1968**, 63, 1379–1389. [Google Scholar] [CrossRef] - Mann, H.B. Nonparametric tests against trend. Econometrica
**1945**, 13, 245–259. [Google Scholar] [CrossRef] - Kendall, M.G. Rank Correlation Methods; Griffin: London, UK, 1948. [Google Scholar]
- Huld, T.; Müller, R.; Gambardella, A. A new solar radiation database for estimating PV performance in Europe and Africa. Sol. Energy
**2012**, 86, 1803–1815. [Google Scholar] [CrossRef] - Hersbach, H.; Bell, B.; Berrisford, P.; Hirahara, S.; Horányi, A.; Muñoz-Sabater, J.; Nicolas, J.; Peubey, C.; Radu, R.; Schepers, D.; et al. The ERA5 global reanalysis. Q. J. R. Meteorol. Soc.
**2020**. [Google Scholar] [CrossRef] - Freedman, D.; Pisani, R.; Purves, R. Statistics (International Student Edition); W. W. Norton & Company: New York City, NY, USA, 2007. [Google Scholar]
- Benesty, J.; Chen, J.; Huang, Y.; Cohen, I. Pearson correlation coefficient. In Noise Reduction in Speech Processing; Springer: Berlin, Germany, 2009; pp. 1–4. [Google Scholar]
- Akoglu, H. User’s guide to correlation coefficients. Turk. J. Emerg. Med.
**2018**, 18. [Google Scholar] [CrossRef] [PubMed] - Cohen, J. Statistical Power Analysis for the Behavioral Sciences; Academic Press: Cambridge, MA, USA, 2013. [Google Scholar]
- Sachs, J. Model-Based Optimization of Hybrid Energy Systems. Ph.D. Thesis, Universität Stuttgart, Stuttgart, Germany, 2016. [Google Scholar]
- Fang, T.; Lahdelma, R. Evaluation of a multiple linear regression model and SARIMA model in forecasting heat demand for district heating system. Appl. Energy
**2016**, 179, 544–552. [Google Scholar] [CrossRef] - Vagropoulos, S.I.; Chouliaras, G.I.; Kardakos, E.G.; Simoglou, C.K.; Bakirtzis, A.G. Comparison of SARIMAX, SARIMA, modified SARIMA and ANN-based models for short-term PV generation forecasting. In Proceedings of the 2016 IEEE International Energy Conference (ENERGYCON), Leuven, Belgium, 4–8 April 2016; pp. 1–6. [Google Scholar] [CrossRef]
- Lee, C.M.; Ko, C.N. Short-term load forecasting using lifting scheme and ARIMA models. Expert Syst. Appl.
**2011**, 38, 5902–5911. [Google Scholar] [CrossRef] - Goodfellow, I.; Courville, A.; Bengio, Y. Deep Learning: Das Umfassende Handbuch: Grundlagen, Aktuelle Verfahren und Algorithmen, Neue Forschungsansätze, 1st ed.; Verlags GmbH & Co. KG: Frechen, Germany, 2018. [Google Scholar]
- Hochreiter, S.; Schmidhuber, J. Long short-term memory. Neural Comput.
**1997**, 9, 1735–1780. [Google Scholar] [CrossRef] - EnerSHelF-Energy-Self-Sufficiency for Health Facilities in Ghana. Available online: https://enershelf.de/ (accessed on 12 January 2021).

**Figure 6.**Error distribution of the forecasts generated with the SARIMA algorithm| SARIMA(1,1,1)(1,1,2)96 model.

**Figure 7.**Error distribution of the forecasts generated with the SARIMA algorithm| SARIMA(3,1,1)(0,1,2)96 model.

**Figure 10.**Moving average of the nRMSE generated by the LSTM model and the statistical algorithm (weekdays).

**Figure 11.**Moving average of the nRMSE generated by the LSTM model and the statistical algorithm (Saturdays).

**Figure 12.**Moving average of the nRMSE generated by the LSTM model and the statistical algorithm (Sundays).

**Table 1.**Quantitative statistical evaluation, divided by years and seasons (wet: April–October|dry: November–March). “SD” stands for standard deviation. Values in kW, except variance.

Year | Period | Min. | Max. | Median | Mean | Q0.05 | Q1 | Q3 | Q0.95 | SD | Var. |
---|---|---|---|---|---|---|---|---|---|---|---|

2014 | Mar.–Dec. | 4.2 | 177.36 | 61.28 | 69.52 | 42.88 | 51.08 | 81.48 | 121.96 | 24.99 | 624.51 |

wet season | 5.68 | 177.36 | 60.68 | 68.90 | 42.40 | 50.32 | 80.88 | 121.71 | 24.09 | 629.60 | |

dry season | 4.2 | 175 | 63.04 | 71.62 | 45.51 | 53.52 | 83.17 | 123.4 | 24.52 | 601.33 | |

2015 | Jan.–Dec. | 4.4 | 173 | 59.75 | 66.57 | 42.44 | 50.25 | 77.77 | 111.63 | 22.10 | 488.58 |

wet season | 4.44 | 154.5 | 58.86 | 65.78 | 42.38 | 50.09 | 76.19 | 109.5 | 21.29 | 453.13 | |

dry season | 4.4 | 173 | 61.06 | 67.69 | 42.59 | 50.47 | 79.63 | 115.06 | 23.17 | 536.70 | |

2016 | Jan.–Dec. | 5.68 | 177.75 | 53.49 | 58.87 | 33.41 | 43.72 | 70.25 | 100.81 | 20.78 | 431.75 |

wet season | 5.68 | 155.5 | 53.4 | 59.01 | 35.84 | 43.75 | 70.19 | 99.81 | 20.17 | 406.87 | |

dry season | 6.16 | 177.75 | 53.69 | 58.66 | 30.84 | 43.59 | 70.44 | 101.88 | 21.60 | 466.74 | |

2017 | Jan.–Dec. | 4.0 | 154.88 | 41.19 | 44.31 | 23.56 | 33.15 | 52.38 | 77.63 | 16.67 | 278.00 |

wet season | 4.04 | 121.81 | 40.69 | 43.36 | 22.48 | 32.44 | 51.53 | 75.01 | 16.10 | 259.23 | |

dry season | 4.0 | 154.88 | 41.88 | 45.65 | 25.08 | 34.03 | 53.56 | 81.18 | 17.37 | 301.55 | |

2018 | Jan.–Feb. | 4.32 | 121.16 | 40.92 | 43.49 | 23.78 | 33.76 | 49.69 | 75.76 | 15.78 | 249.04 |

Year | Period | p-Value | z-Value |
---|---|---|---|

2014 | Mar.–Dec. | 0.089 | 1.7 |

2015 | Jan.–Dec. | <<0.05 | −14.13 |

2016 | Jan.–Dec. | <<0.05 | −52.84 |

2017 | Jan.–Dec. | <<0.05 | −17.26 |

2018 | Jan.–Feb. | <<0.05 | 8.35 |

**Table 3.**Statistical results with different time frames, divided into the photovoltaic geographical information system (PVGIS) data set and the European center for medium-range weather forecasts 5th generation (ERA5) data set.

Data Set | Timeframe | Pearson’s r-Value | p-Value |
---|---|---|---|

PVGIS | whole day | 0.54 | <<0.05 |

PVGIS | day-time | 0.2 | <<0.05 |

PVGIS | night-time | 0.49 | <<0.05 |

ERA5 | whole day | 0.5 | <<0.05 |

ERA5 | day-time | 0.27 | <<0.05 |

ERA5 | night-time | 0.28 | <<0.05 |

Data Set | Timeframe | Pearson’s r-Value | p-Value |
---|---|---|---|

PVGIS | whole day | −0.14 | <<0.05 |

ERA5 | whole day | 0.01 | 0.61 |

**Table 5.**Comparison of the normalized root-mean-square error (nRMSE), with different horizon configurations.

Horizon Configuration | Min. nRMSE | Med. nRMSE | Mean nRMSE | Max. nRMSE |
---|---|---|---|---|

4 weeks | 0.023 | 0.065 | 0.068 | 0.2 |

8 weeks | 0.018 | 0.065 | 0.061 | 0.22 |

12 weeks | 0.016 | 0.065 | 0.061 | 0.232 |

16 weeks | 0.018 | 0.065 | 0.062 | 0.234 |

Layer-Type | Amount of Cells | Parameters | Activation Function |
---|---|---|---|

LSTM | 96 | 37,632 | rectified linear unit |

LSTM | 192 | 221,962 | rectified linear unit |

fully connected neural network | 192 | 37,056 | rectified linear unit |

fully connected neural network | 96 | 18,528 | rectified linear unit |

Type | Epochs | Batch Size | Loss Function | Optimizer |
---|---|---|---|---|

initial weekday | 5 | 12 | mean squared error | adaptive moment estimation |

initial saturday | 5 | 12 | mean squared error | adaptive moment estimation |

initial sunday | 5 | 6 | mean squared error | adaptive moment estimation |

continous weekday | 2 | 12 | mean squared error | adaptive moment estimation |

continous saturday | 2 | 12 | mean squared error | adaptive moment estimation |

continous sunday | 2 | 6 | mean squared error | adaptive moment estimation |

Prediction Horizon | Min. nRMSE | Median nRMSE | Mean nRMSE | Max. nRMSE |
---|---|---|---|---|

3 h | 0.003 | 0.047 | 0.056 | 0.41 |

6 h | 0.004 | 0.051 | 0.058 | 0.385 |

9 h | 0.005 | 0.054 | 0.060 | 0.338 |

12 h | 0.009 | 0.056 | 0.062 | 0.302 |

15 h | 0.011 | 0.058 | 0.063 | 0.272 |

18 h | 0.015 | 0.060 | 0.064 | 0.25 |

21 h | 0.018 | 0.061 | 0.064 | 0.234 |

24 h | 0.018 | 0.061 | 0.065 | 0.220 |

**Table 9.**Computational effort for the statistical forecasting method, divided in weekday, Saturday, and Sunday batching, clustered in training and prediction efforts.

Type | Data Batching | Median Computation Time | Overall Computation Time |
---|---|---|---|

training | weekday | 0.067 ms | 131.428 ms |

Saturday | 0.064 ms | 12.229 ms | |

Sunday | 0.014 ms | 2.763 ms | |

prediction | weekday | 0.032 ms | 2.905 s |

Saturday | 0.029 ms | 0.446 s | |

Sunday | 0.029 ms | 0.452 s |

Prediction Horizon | Min. nRMSE | Median nRMSE | Mean nRMSE | Max. nRMSE |
---|---|---|---|---|

3 h | 0 | 0.070 | 0.086 | >1 |

6 h | 0 | 0.075 | 0.09 | >1 |

9 h | 0.002 | 0.081 | 0.094 | >1 |

12 h | 0.005 | 0.087 | 0.098 | >1 |

15 h | 0.021 | 0.091 | 0.102 | >1 |

18 h | 0.028 | 0.095 | 0.105 | >1 |

21 h | 0.029 | 0.097 | 0.107 | >1 |

24 h | 0.032 | 0.099 | 0.109 | >1 |

Prediction Horizon | Min. nRMSE | Median nRMSE | Mean nRMSE | Max. nRMSE |
---|---|---|---|---|

3 h | 0 | 0.066 | 0.081 | >1 |

6 h | 0.002 | 0.071 | 0.085 | >1 |

9 h | 0.002 | 0.076 | 0.088 | >1 |

12 h | 0.003 | 0.080 | 0.091 | >1 |

15 h | 0.018 | 0.084 | 0.094 | >1 |

18 h | 0.026 | 0.086 | 0.096 | >1 |

21 h | 0.029 | 0.088 | 0.098 | >1 |

24 h | 0.032 | 0.09 | 0.099 | >1 |

**Table 12.**Computational effort for both SARIMA configurations, divided in weekday, Saturday, and Sunday batching, clustered in training and prediction efforts.

Configuration | Type | Data Batching | Median Computation Time | Overall Computation Time |
---|---|---|---|---|

SARIMA 1,1,1, 1,1,2 | training | weekday | 17.580 s | 4.787 h |

Saturday | 22.403 s | 1.221 h | ||

Sunday | 17.075 s | 0.931 h | ||

prediction | weekday | 0.488 ms | 46.440 s | |

Saturday | 0.510 ms | 8.546 s | ||

Sunday | 0.490 ms | 10.505 s | ||

SARIMA 3,1,1, 0,1,2 | training | weekday | 20.141 s | 5.484 h |

Saturday | 22.323 s | 1.216 h | ||

Sunday | 17.041 s | 0.928 h | ||

prediction | weekday | 0.460 ms | 45.660 s | |

Saturday | 0.499 ms | 8.678 s | ||

Sunday | 0.481 ms | 8.348 s |

Prediction Horizon | Min. nRMSE | Median nRMSE | Mean nRMSE | Max. nRMSE |
---|---|---|---|---|

3 h | 0.002 | 0.048 | 0.058 | 0.376 |

6 h | 0.006 | 0.053 | 0.06 | 0.287 |

9 h | 0.007 | 0.056 | 0.062 | 0.26 |

12 h | 0.011 | 0.058 | 0.063 | 0.279 |

15 h | 0.018 | 0.059 | 0.064 | 0.281 |

18 h | 0.019 | 0.06 | 0.064 | 0.276 |

21 h | 0.02 | 0.061 | 0.064 | 0.266 |

24 h | 0.02 | 0.061 | 0.064 | 0.254 |

**Table 14.**Computational effort for the LSTM model, divided in weekday, Saturday, and Sunday batching, clustered in training and prediction efforts.

Type | Data Batching | Median Computation Time | Overall Computation Time |
---|---|---|---|

training | weekday | 6.941 s | 22.115 min |

Saturday | 4.783 s | 26.326 min | |

Sunday | 4.784 s | 26.272 min | |

prediction | weekday | 39.987 ms | 61.786 min |

Saturday | 40.106 ms | 25.761 min | |

Sunday | 40.108 ms | 25.696 min |

Prediction Horizon | Min. nRMSE | Median nRMSE | Mean nRMSE | Max. nRMSE |
---|---|---|---|---|

3 h | 0.003 | 0.063 | 0.086 | >1 |

6 h | 0.007 | 0.075 | 0.096 | >1 |

9 h | 0.012 | 0.082 | 0.102 | >1 |

12 h | 0.017 | 0.087 | 0.105 | >1 |

15 h | 0.018 | 0.090 | 0.108 | >1 |

18 h | 0.021 | 0.092 | 0.11 | >1 |

21 h | 0.025 | 0.093 | 0.111 | >1 |

24 h | 0.026 | 0.093 | 0.112 | >1 |

**Table 16.**Computational effort for the ILR method, clustered in initial training, training, and prediction efforts.

Type | Median Computation Time | Overall Computation Time |
---|---|---|

initial training | - | 0.125 ms |

training | 0.126 ms | 12.630 s |

prediction | 21.406 ms | 31.584 min |

Algorithm | Min. nRMSE | Median nRMSE | Mean nRMSE | Max. nRMSE |
---|---|---|---|---|

LSTM model | 0.02 | 0.061 | 0.064 | 0.376 |

statistical algorithm | 0.018 | 0.061 | 0.065 | 0.22 |

SARIMA 1,1,1 1,1,2 | 0.032 | 0.099 | 0.109 | >1 |

SARIMA 3,1,1 0,1,2 | 0.032 | 0.09 | 0.099 | >1 |

ILR algorithm | 0.018 | 0.090 | 0.108 | >1 |

**Table 18.**Descriptive statistics of the moving average nRMSE, generated by the LSTM model and the statistical algorithm (weekdays).

Model | Min. | Max. | Mean | Median |
---|---|---|---|---|

LSTM model | 0.051 | 0.087 | 0.065 | 0.063 |

statistical algorithm | 0.049 | 0.088 | 0.067 | 0.066 |

**Table 19.**Descriptive statistics of the moving average nRMSE, generated by the LSTM model and the statistical algorithm (Saturdays).

Model | Min. | Max. | Mean | Median |
---|---|---|---|---|

LSTM model | 0.060 | 0.078 | 0.067 | 0.066 |

statistical algorithm | 0.052 | 0.079 | 0.061 | 0.059 |

**Table 20.**Descriptive statistics of the moving average nRMSE, generated by the LSTM model and the statistical algorithm (Sundays).

Model | Min. | Max. | Mean | Median |
---|---|---|---|---|

LSTM model | 0.038 | 0.062 | 0.047 | 0.046 |

statistical algorithm | 0.039 | 0.061 | 0.048 | 0.048 |

Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |

© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).

## Share and Cite

**MDPI and ACS Style**

Chaaraoui, S.; Bebber, M.; Meilinger, S.; Rummeny, S.; Schneiders, T.; Sawadogo, W.; Kunstmann, H. Day-Ahead Electric Load Forecast for a Ghanaian Health Facility Using Different Algorithms. *Energies* **2021**, *14*, 409.
https://doi.org/10.3390/en14020409

**AMA Style**

Chaaraoui S, Bebber M, Meilinger S, Rummeny S, Schneiders T, Sawadogo W, Kunstmann H. Day-Ahead Electric Load Forecast for a Ghanaian Health Facility Using Different Algorithms. *Energies*. 2021; 14(2):409.
https://doi.org/10.3390/en14020409

**Chicago/Turabian Style**

Chaaraoui, Samer, Matthias Bebber, Stefanie Meilinger, Silvan Rummeny, Thorsten Schneiders, Windmanagda Sawadogo, and Harald Kunstmann. 2021. "Day-Ahead Electric Load Forecast for a Ghanaian Health Facility Using Different Algorithms" *Energies* 14, no. 2: 409.
https://doi.org/10.3390/en14020409