Time Series Analysis of Electricity Consumption Forecasting Using ARIMA Model
Time Series Analysis of Electricity Consumption Forecasting Using ARIMA Model
Abstract -- Power consumption is a very important factor in there are many factors that have an impact on electricity
smart grids for load management process. Forecasting energy consumption, which require information integration
consumption is the first step in dealing with load management. technologies for a comprehensive understanding. For this
For forecasting time series, the ARIMA models are one of the purpose, the researchers studied methodologies to collect
widely used models which showing encouraging results. In this
information related to electricity consumption and multi-
2021 IEEE Green Technologies Conference (GreenTech) | 978-1-7281-9139-3/21/$31.00 ©2021 IEEE | DOI: 10.1109/GREENTECH48523.2021.00049
Authorized licensed use limited to: Dalhousie University. Downloaded on September 01,2021 at 00:27:07 UTC from IEEE Xplore. Restrictions apply.
ARIMA model [10]. Classic 'ad hoc' statistical models, the electricity consumption, the electricity consumption data
advanced ensemble techniques, and neural networks were of in southern Tripoli from National Electricity Corporation
used to predict electricity power demand for a wholesale in Libya, collected from the electricity distribution unit of it.
power transmission company [11]. Combining seasonal and This data set contains the electricity consumption in unit (in
trend decomposition using Loess (STL) and ARIMA models MWh) from Jan 1st, 2016 to Mar 24, 2016 (12 Weeks).
were proposed to monthly electricity consumption forecasting
B. ARIMA Model Building Process
[12]. ARIMA model was used to predict electricity
consumption in the Philippines, and (p, d, q) values were Figure 1. Shows schematic representation of the Box-
determined using ACF and PACF plots as well as stationarity Jenkins for ARIMA approach.
of the data [13].
Wee12
lag p
Time (Weekly)
IV. METHODOLOGY Figure.2. Electricity consumption data for 12 Weeks
A. Dataset Description
Day by day demand of electricity is increasing because of
uses of electrical and electronics instruments. To forecasting
260
Authorized licensed use limited to: Dalhousie University. Downloaded on September 01,2021 at 00:27:07 UTC from IEEE Xplore. Restrictions apply.
Figure 3. Decomposition of additive time series
Observing 4 graphs closely in figure 3, we can find out if the Figure.6. The PACF graph for the first seasonal difference.
data satisfies all the assumptions of ARIMA modeling,
mainly, stationarity and seasonality we note that there is A function was created using all possible combinations of
seasonal, as well trend, so it is not surprising that the time parameters for fitting the models, the outcome was predicted
series is not stationary. These patterns revealed that the series using the models, and the model with the smallest MAPE was
is not stationary and therefore must be transformed before selected. The results showed that the best model that can be
attempting to form a stationary model. Therefore, the first used to forecast future electricity consumption is the seasonal
difference of the series is analyzed, the plot of the first ARIMA model (0, 1, 6) (1, 1, 6)7 with a MAPE of 4.332% as
difference data conclude that the data is stationary after the shown in Table 2.
seasonal first difference was taken as shown in Figure 4.
TABLE II. FORECAST ACCURACY OF THE MODEL USING MAPE
Model MAPE
SARIMA (6,1,0) (2,1,1) 7.193
SARIMA (6,1,0) (1,1,2) 6.872
SARIMA (6,1,0) (1,1,6) 4.332
Figure.4. The first difference of data
SARIMA (6,1,0) (1,1,5) 5.206
The ACF and PACF correlogram was plotted as shown in SARIMA (6,1,0) (1,1,3) 6.460
Figures 5 and 6, to select the suitable terms for the model. SARIMA (6,1,0) (1,1,1) 7.187
From the correlograms, it was observed that both the ACF and
PACF cuts the upper confidence level for the first time at lag Figure 7 shows the forecasted electricity consumption and the
value 0 and 6 respectively hence, the coefficients of both AR actual data for two weeks from Mar 25, 2016 to Apr 07, 2016.
and MA terms would 6 and zero i.e. p = 6 and q = 0.
4000 Actual
Electric consumption (MWH)
3500 Forecast
3000
2500
2000
1500
1000
500
0
Week10
Week11
Week13
Week14
Week1
Week2
Week3
Week4
Week5
Week6
Week7
Week8
Week9
Wee12
261
Authorized licensed use limited to: Dalhousie University. Downloaded on September 01,2021 at 00:27:07 UTC from IEEE Xplore. Restrictions apply.
VI. CONCLUSION [15] H. Nguyen and C.K. Hansen. “Short-term electricity load forecasting
with time series analysis.” In: 2017 IEEE International Conference on
Forecasting the energy consumption is playing a crucial role Prognostics and Health Management (ICPHM), Dallas, TX, pp. 214–
in directing plans, programs, load management and policies 221 (2017).
within the institution. The accuracy and the simplicity of the [16] G. Mahalakshmi, S. Sridevi and S. Rajaram. “A survey on forecasting
of time series data.” In: 2016 International Conference on Computing
forecasting model leads to improving proper planning and to Technologies and Intelligent Data Engineering (ICCTIDE 2016),
rational policy regarding production companies. Electricity Kovilpatti, pp. 1–8.
consumption in southern Tripoli - Libya during the period [17] F. Fahmi and H. Sofyan, “Forecasting household electricity
from January 1, 2016 to March 24, 2016 (12 weeks) was consumption in the province of Aceh using combination time series
analyzed to determine the best model for forecasting electrical model.” International Conference on Electrical Engineering and
Informatics (ICELTICs), Banda Aceh, pp. 97–102 (2017)
consumption for two weeks ahead. This study revealed that [18] J. Deng and P. Jirutitijaroen, “Short-term load forecasting using time
the seasonal ARIMA (0, 1, 6) (1, 1, 6)7 model was the best series analysis: a case study for Singapore.” In: 2010 IEEE Conference
and was able to forecast consumption with MAPE of 4.332%. on Cybernetics and Intelligent Systems, Singapore, pp. 231–236 (2010)
[19] Z. Haydari, F. Kavehnia, M. Askari and M. Ganbariyan, “Time-series
load modelling and load forecasting using neuro-fuzzy techniques.” In:
2007 9th International Conference onElectrical Power Quality and
Utilisation, Barcelona, pp. 1–6 (2007)
REFERENCES
[1] B. ŞİŞMAN, "A comparison of grey models for electricity consumption
demand forecasting: The case of Turkey." Kastamonu University
Journal of Economics & Administrative Sciences Faculty 13, 2016.
[2] C. Nichiforov, I. Stamatescu, I. Făgărăşan, and G. Stamatescu, "Energy
consumption forecasting using ARIMA and neural network models." In
2017 5th International Symposium on Electrical and Electronics
Engineering (ISEEE), IEEE, pp. 1-4, 2017.
[3] K. Li and Zhang, T. "Forecasting electricity consumption using an
improved grey prediction model." Information 9, no. 8, 204, 2018.
[4] HX. Zhao and F. Magoulès. "A review on the prediction of building
energy consumption." Renewable and Sustainable Energy Reviews 16,
no. 6, pp. 3586-3592, 2012
[5] H. Song, Y. Chen, N. Zhou and G. Chen. "Electricity consumption
forecasting for smart grid using the multi-factor back-propagation
neural network." In Sensors and Systems for Space Applications XII,
vol. 11017, p. 110170O. International Society for Optics and Photonics,
2019.
[6] PK. Jain W. Quamer and R. Pamula, “Electricity consumption
forecasting using time series analysis.” In International Conference on
Advances in Computing and Data Sciences 2018 Apr 20 (pp. 327-335).
Springer, Singapore.
[7] P. Chujai, N. Kerdprasop and K. Kerdprasop. “Time series analysis of
household electric consumption with ARIMA and ARMA models.” In
Proceedings of the International Multi Conference of Engineers and
Computer Scientists 2013 Mar 13 (Vol. 1, pp. 295-300).
[8] M. Elsaraiti, A. Merabet and A. Al-Durra. “Time Series Analysis and
Forecasting of Wind Speed Data.” In2019 IEEE Industry Applications
Society Annual Meeting 2019 (pp. 1-5). IEEE.
[9] YW. Lee, KG. Tay and YY. Choy. “Forecasting electricity
consumption using time series model.” International Journal of
Enginnering and Technology. 2018;7:218-23.
[10] K. Harveen and A. Sachin, “SARIMA Modelling for forecasting the
electricity consumption of a health care building.” International Journal
of Innovative Technology and Exploring Engineering (IJITEE) ISSN.
2019;8(12): 2278-3075.
[11] M. Kalimoldayev, A. Drozdenko, I. Koplyk, T. Marinich, A.
Abdildayeva and T. Zhukabayeva, “Analysis of modern approaches for
the prediction of electric energy consumption.” Open Engineering.
2020 Apr 28;10(1):350-61.
[12] T. Sun, T. Zhang, Y. Teng, Z. Chen and J. Fang. “Monthly Electricity
Consumption Forecasting Method Based on X12 and STL
Decomposition Model in an Integrated Energy System.” Mathematical
Problems in Engineering. 2019 Oct 3; 2019.
[13] Aj. Delima. “Application of Time Series Analysis in Projecting
Philippines’ Electric Consumption.” International Journal of Machine
Learning and Computing. 2019 Oct;9(5), pp.694-699.
[14] G. Box, G. Jenkins, G. Reinsel and G. Ljung, “Time Series Analysis:
Forecasting and Control.” John Wiley & Sons, Fifth edition, New
Jersey, 2016, 88–339.
262
Authorized licensed use limited to: Dalhousie University. Downloaded on September 01,2021 at 00:27:07 UTC from IEEE Xplore. Restrictions apply.