Report
Report
Abstract
Household lifestyle plays a significant role in appliance consumption. The overall effects are that, it can be a
determining factor in the healthy functioning of the household appliance or its abnormal functioning. The
rapid growth in residential consumption has raised serious concerns about limited energy resources and high
electricity pricing. The proposed 134% electricity tariff adjustment by the Electricity Company of Ghana
(ECG) in the heat of economic hardships caused by COVID-19 has raised serious public agitation in Ghana
(west Africa). The unpredictable lifestyle of residential consumers in an attempt to attain a comfortable
lifestyle and the rippling effects of population growth burden energy demand in the residential sector. This
study attempts to identify the lifestyle factors that have a great influence on household energy consumption
and predict future consumption of the household with mitigating factors to cushion the effects of high
consumption. The study is based on lifestyle data using hybrid machine learning. The hybrid model achieved
high accuracy (96%) as compared
to previous models. The hybrid model performance was evaluated using mean absolute percentage error
(MAPE), root mean square error (RMSE), and correlation coefficient (R) metrics.
Keywords: Hybrid machine learning, Lifestyle data, Energy load forecasting, Artificialintelligence
Introduction
Electricity is the backbone of every economic growth in a country undoubtedly, everything of
mankind depends on it either in direct or indirect form. The energy industry players and policy makers
have serious concerns in the amount of electricity generated and consumed at all sectors since it has an
adverse effect on development.
Globally, as a matter of urgency, policymakers consider efficient use of electrical energy by
consumers as priority in order to mitigate high electricity tariff reducing the world poverty rate
(millennium development goal)(Selamawit Mussie (AUC) et al., 2015). Energy efficiency is a
challenge for a sustainable society. The progressive
growth in population coupled with rural-urban migrations and industrialization creates high demand
for energy, putting pressure on generation. Study shows that 30% of electricity generated is consumed
by residential users.
Locally, the residential sector energy consumption stood at 4,487 , representing 40.5% of the total
final energy consumption for 2022 year ending. This figure is how- ever projected to grow by 1.9
yearly according to the report by Energy Commission of Ghana. The commission’s report further
revealed the national electricity access rate value as 85.33%.
According to the U.S energy outlook report, as discussed by Jones et al and Martin et al in their
studies, residential electricity consumption varies significantly depending on weather and lifestyle
patterns of the consumer [18], for example, that an average home in the Pacific region (consisting of
California, Oregon, and Washington) consumes 35% less energy than homes in the South-Central
region. The differences are attributed to climate conditions.
Notwithstanding the difficulties stated, identifying the particular lifestyle factor(s) that significantly
influences consumption helps in proper household energy management practices and accurate energy
demands projections.
Residential load demands projections based on lifestyle data helps in the implementation of energy
policies and programs and also helps consumers to know how their future energy consumption is
affected by their lifestyle.
In, authors have argued that the home is the largest single basic unit of electricity consumptions and
when controlled, will reduce drastically the amount of electricity consume by the residential sector.
Study by Ruan et al revealed that households in Canada consumes 1.4 million Tera-joules of energy
and this is estimated to be up by 7.2%. The study stated the residential consumption figure in Canada
as 44.6%.
There is a need for thorough investigations in to residential consumers’ lifestyle to identify the various
lifestyle factors that significantly influences residential consumption and to address these factors to
curtail the rising consumption at the residential sector. Hermann have stated in his recent study
that, domestic consumption in the household could be monitored and regulated if efficient energy
management systems (EEMS) are installed in the home. The study further argued that residential users
need to take an important decision based on their lifestyle preferences to curtail domestic
consumption.
Forecasting electrical consumption base on household lifestyle data using machine learning
algorithms is a challenging task. However, it lays a strong base for effective demand response
program and provides support in terms of maintenance, automation and timely generation meeting the
energy demands of consumers.
This current study presents a hybrid machine-learning model to accurately predict household energy
consumptions in the home using a lifestyle data gathered through a questionnaire.
The objectives of the study are tailored below:
1. To propose hybrid machine learning model to predict residential consumptions using the
household lifestyle data.
2. To identify which particular lifestyle of consumer is highly predictor of consumptions
3. To evaluate the model using accuracy and error metrics. It achieves 4.20% for MAPE with
96.0% accuracy using lifestyle data in a timeline of 40 days, which validates the efectiveness
of the proposed approach.
Accurate prediction of the mode will enhance decision making by industry players in terms of
generation, distributions and consumptions and more importantly it will be benefcial to the end-users
in energy savings.
This study is guided by the following research questions:
1. How predictable is the lifestyle data in household electrical consumptions?
2. Which particular lifestyle of the household infuences electrical load consumptions?
3. How reliable and accurate in prediction of electrical loads consumption of the model?
The purpose of this study is to investigate the household lifestyle aspects of the residential energy
consumption. Lifestyle aspects include but not limited to family patterns, occupations, marital status,
and age. The energy consumption is investigated based on the life schedules of each family member.
To limit the scope of discussion, Tamale, the capital city of northern Ghana, was selected for the case
study. The remaining sections of the current paper are organized as follows: Section "Literature
review" presents a review of the pertinent literature on electricity demand predictions. In section
"Methodology and data", we discuss the materials and methods adopted for the current study. Section
"Experimental setup" presents the outcome of the study, and discussions. Section "Conclusion"
concludes the study and outlines the direction for future studies.
Literature review
Several studies on residential energy use have been conducted by many researchers in response to
increasing energy demands by residential consumers. Articles about trends of energy use and its
relationship with household’s lifestyle attributes are reviewed in this section, indicated that residential
energy consumption is expected to keep rising alongside an increased in household appliance
ownership in Japan and across Asia countries. Their survey in eighteen (18) Western countries shows
that household appliance energy consumption is heading toward saturations. Household energy
consumption trends based on family pattern, aging society and life schedules was carried-out by Luo
et al. Family member age and its infuence on household electricity consumptions was carried out by
Lazzari et al . Their fndings were supported by Gonzalez et al who analyzed household energy
consumptions in terms of family patterns, employment status, employment sector, gender and age and
concluded that lifestyle have a signifcant efect on household energy consumptions. Chou et al study
the changes in household occupant’s behaviors in Hangzhou, China and predicted that residential
energy consumption will continue to increase in the near future due to comfort living lifestyle and
serious dependency on electrical appliances and concluded that there can be a great energy savings at
the household if occupants are educated on energy savings measures. Studies by Nti et al presented a
monthly electricity demand prediction model using a soft-computing model in Bono region (Ghana)
based on historical weather and demand data. Using a multi-layer perceptron (MLP), decision tree
(DT), and support vector machine (SVM), the researcher attained an accuracy of 95% for MLP, 67.2
for SVM, and 80.57% for DT. Zhao et al conducted a study in Tokyo using feature selection and
multivariate linear regression (MLR) techniques to predict seasonal electricity demand for households
based on end-user lifestyle data and concluded that lifestyle data is signifcant in energy demand
forecasting using household factors such as family pattern, age, and building type as independent
variables [42]. Te study fails to predict the actual energy value. Nti et al conducted a study in Sunyani
(Ghana) from three hundred and fifty (350) household to forecast residential electricity consumption
based on lifestyle data using artificial neural networks. The study achieved a good accuracy with
RMSE (0.000726) and MAE (0.000976) of the proposed model as against (RMSE = 0.08816 and
MAE = 0.06911) for support vector regression (SVR) and (RMSE = 0.0657 and MAE = 0.05714) for
decision trees (DT). With household factors such as residential location, age of family head,
employment sector of the family head, nature of employment, marital status and among others [29].
The key factors that have a great impact on total household electricity consumptions includes, income
level and population size according to Kwac et al. These are the signifcant factors that can change
household energy consumptions. Increasing per capita income is highly correlated with household
energy consumptions, however, household electricity consumption has a “U” nonlinear correlation
with urbanizations and whiles electricity pricing have great negative impact correlation with
infuencing on household energy consumptions [35]. Temperature infuence on household energy
consumptions is dependent on regional locations. Hence, for household energy consumptions, per
capita income, temperature and urbanizations all indicates nonlinear correlations on changes in
household electricity consumptions [1]. On recent study, the household electricity uses and ownership
of electrical gargets in Ireland were analyzed using logit regression (LR) on large micro-dataset by
Almahamid et al in Northern Ireland. The study revealed that the usage of space and water-heating by
a household are more crucial than electrical machines in categorizing residential energy usage.
Table 1 Summary of selected articles reviewed
Studies Variables Method(s) Location (study)
Nti et al Socio-economic factors (age, income, Artificial neural network (ANN) Ghana
family size, etc)
zhang et al Family pattern and aging society Support vector machine Japan
Edward et al Life schedules Artificial neural network China
Grolinger et al Electric gadgets logit regression (LR) Ireland
Malatesta et al Socio-economic factors ARIMA China
Kwac et al Occupant behavior Linear regression China
Chou et al Occupant behavior multivariate linear regression (MLR) Tokyo
Alhussein et al Income, temperature and popula- Regression model China
tion size
u
In
sid
sp a n
Se
ric
sid Se
Re
Tr
sp a n
Ag
or
ric
In
du
rv
Re
Tr
Ag
or
du
rv
ic
st
Fig. 1 Ghana sector electricity demands; Source: energy commission report
ic
st
100
80
60
40
20
0 n
r
lta
er
pe
io
r
te
eg
p
g
rn
Vo
up
on
Up
n
l
ea
ra
r
e
ir
r
te
th
te
Br
Gr
nt
nt
es
r
s
Ce
ha
No
Ea
W
As
Family size FS
Income level IL
employment EMP
Marital status MS
Educational level EDUL
Age AGE
Type of vehicle own VT
Number of rooms NR
Gender type GT
Apartment location AL
Data preprocessing
Basic steps were carried out on the collected data in order to prepare
it for accurate and efficient forecasting. Detecting missed information,
data cleaning, noise removal, data filtering and several other basic
methods were applied as data pre-processing steps. The best features
were selected. Important and common household lifestyles are taken
into consideration in the selection of best features. Machine learning
meth- ods are then applied on the raw data.
Features selections
Redundant or non-informative features are removed using statistical
approach from the model. The stepwise linear regression is used as a
filter to evaluate the importance of each feature predictors outside the
predictive model and subsequently models only the selected features
that passes the criterions to increase the accuracy performance
model. All features served as an input of the hybrid model. Table 3
shows the variables and its abbreviation.
Error estimation
The current study employs Percentage Error estimation method for detecting outliers
as shown in Fig. 3. With a tolerance level of 10% as a condition, any percentage error
greater than the tolerance value is considered as an outlier. However, tolerance is
subjected to change depending on set criteria and the type of data.
Stage one
Second stage
To improve the prediction accuracy, the SVM model is use to extract the
sensitive com- ponent of the deviation. The deviation sample is use to
train the SVM model with expo- nential kernel function in order to
correct the deviation. Far-smallness and near bigness theory and
similarity theory are used to construct the input sample, since SVM
param- eters have serious effect on prediction accuracy, the
appropriate values determined by test are C= 22, ǫ = 0.18 and σ = 1.
This give the SVM high generalization. Hence we are able to predict the
household consumption and the deviations. The overall forecast
includes both the forecast for household consumption and the
deviations forecast. Fig- ure 3 shows the flowchart of the implemented
hybrid model. The outcome of the pro- posed hybrid model was
benchmarked with previous study.
AL
NR
VT
EDUL
EMP
IL
AGE
GT
MS
FS
-0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1
Table 5 Comparison of the propose hybrid model result with previous models results
Model RMSE MAPE (%) R2
120
100
80
Kwh
60
40
20
0
CT1 CT2 CT3 CT4 CT5 CT6 CT7 CT8 CT9 CT10
household
Conclusion
In this study, we conclude that the improvement of electricity
management system from demand side can be achieved efficiently
and effectively by using a combination of a novel data mining
techniques such as ARIMA and SVM model if household lifestyle
data is relied -on despite having a conventional ordinary electricity
grid using electricity prepaid meters. The experimental setup with
450 household data randomly selected from eight communities
within the Tamale metropolitan assembly (Northern Ghana)
revealed the family size as the most influencing predictor of
household electrical consumption. The model’s accuracy (96.0%)
as compared to previous models indicates that the proposed hybrid
model can effectively predict household electrical consumption.
The use of actual household consumption (Kwh) as target variable
in the current study makes it independ- ent on the influence of
socio-economic factors since the actual unit of household electri-
cal consumption depend on household energy management
lifestyles. One of the most popular method used for forecasting
is the ARIMA technique.
ARIMA method will provide a better forecasting accuracy as it
requires historical load of the household and fewer assumptions but
however, the household consumption is influence by other factors
such as the lifestyles of the household. The artificial intelli- gence
techniques will incorporate these factors which can improve the
accuracy further. In this current study, hybrid methodology is
employed using the ARIMA-SVM. The ARIMA is used to predict
the household consumption based on the household lifestyle
characteristics and then the SVM is used to improve the accuracy
by correcting outliers. In this study, the percentage error method is
used to detect the outliers in the household lifestyle data. Through
the experimental setup, the result shows that the hybrid model is far
much better than the individual ARIMA and SVM models in
standalone implementation. Even though the hybrid model had
achieve good accuracy measure, we believe it can be improved by
adding other parameters such as household appliance and
technology parameters.
References
1. Alhussein M, Aurangzeb K, Member S (2020) Hybrid CNN-LSTM Model
for short-term individual household load forecasting. 8.
https://doi.org/10.1109/ACCESS.2020.3028281
2. Almahamid F, Grolinger K (2022) Agglomerative Hierarchical Clustering with
Dynamic Time Warping for Household Load Curve Clustering.
3. Alqasim AR (2022) Using regression analysis for predicting energy
consumption in dubai police by a capstone submitted in partial
fulfilment of the requirements for.
4. Alzoubi A (2022) Machine learning for intelligent energy consumption in
smart homes. Int J Comput Inform Manu- fact IJCIM 2(1):62–75.
https://doi.org/10.54489/ijcim.v2i1.75
5. Atalay V (2023). POWER CONSUMPTION FORECASTING BY HYBRID
Serkan Ozen. 42, 126–156. https://doi.org/10. 31577/cai
6. Branco MP, Geukes SH, Baidillah MR, Takei M, Aron M, Lilienkamp T (2020).
Prediction model of household appliance energy consumption based on machine
learning Prediction model of household appliance energy consumption based
on machine learning. https://doi.org/10.1088/1742-6596/1453/1/012064
7. Chou J, Tran D (2018) Forecasting energy consumption time series using
machine learning. Energy. https://doi.org/ 10.1016/j.energy.2018.09.144
8. Dong B, Dong B, Li Z, Rahman SMM, Vega R (2015) A hybrid model approach
for forecasting future residential electricity consumption a hybrid model
approach for forecasting future residential electricity consumption. Energy &
Build 117(September):341–351. https://doi.org/10.1016/j.enbuild.2015.09.033
9. Edwards RE, New J, Parker LE (2012) case study. Energy & Build.
https://doi.org/10.1016/j.enbuild.2012.03.010
10. EIA (2020) Annual Energy Outlook 2021. 1–81. www.eia.gov/aeo
11. Energy Commission-Ghana. (2021). 2021 ENERGY OUTLOOK FOR GHANA, Demand and Supply
Outlook (Issue April).
12. Energy Commission (2022a). 2022a ENERGY OUTLOOK FOR GHANA
ADDRESS Ghana Airways Avenue Airport Resi- dential Area (behind Alliance
Francaise) Private Mail Bag Ministries Post Office Demand and Supply Outlook
(Issue April). www.energycom.gov.gh
13. Energy Commission (2022b) 2022b National Energy Statistics (Issue April).
14. Gonzalez D, Patricio MA, Berlanga A, Molina JM (2022) Variational autoencoders
for anomaly detection in the behav- iour of the elderly using electricity
consumption data. Exp Syst 39(4):1–12. https://doi.org/10.1111/exsy.12744
15. Herrmann MR, Costanza E, Brumby DP, Harries T, Brightwell G, Ramchurn S,
Jennings NR (2021) Exploring domestic energy consumption feedback through
interactive annotation. Energy Efficiency. https://doi.org/10.1007/
s12053-021-09999-0
16. Hui M, Lee L, Ser YC, Selvachandran G, Thong PH, Cuong L, Son LH, Tuan NT,
Gerogiannis VC (2022) A Comparative Study of Forecasting Electricity
Consumption Using Machine Learning Models.
17. Hussein R (2022) Household energy consumption prediction using the
stationary wavelet transform and transform- ers. IEEE Access 10:5171–5183.
https://doi.org/10.1109/ACCESS.2022.3140818
18. Jones RV, Fuertes A, Lomas KJ (2015) The socio-economic, dwelling and
appliance related factors affecting electric- ity consumption in domestic
buildings. Renew Sustain Energy Rev 43:901–917.
https://doi.org/10.1016/j.rser.2014. 11.084
19. Kaytez F (2020) A hybrid approach based on autoregressive integrated
moving average and least-square support vector machine for long-term
forecasting of net electricity consumption. Energy 197:117200.
https://doi.org/10. 1016/j.energy.2020.117200
20. Kwac J, Member S, Flora J, Rajagopal R (2016) Lifestyle segmentation based on
energy consumption data. 3053, 1–9.
https://doi.org/10.1109/TSG.2016.2611600
21. Lazzari F, Mor G, Cipriano J, Gabaldon E, Grillone B, Chemisana D, Solsona F
(2022) User behaviour models to forecast electricity consumption of residential
customers based on smart metering data. Energy Rep 8:3680–3691. https://
doi.org/10.1016/j.egyr.2022.02.260
22. Li Y, Pizer WA, Wu L (2019) Climate change and residential electricity
consumption in the Yangtze River Delta, China. Proceed Acad Sci United States
of Am 116(2):472–477. https://doi.org/10.1073/pnas.1804667115
23. Luo Q, Wen G, Zhang L, Zhan M (2020) An efficient algorithm combining
spectral clustering with feature selection. Neural Process Lett.
https://doi.org/10.1007/s11063-020-10297-6
24. Mahia F, Dey AR, Masud A, Mahmud MS (2019) Forecasting Electricity Consumption using
ARIMA Model. 0, 24–25.
25. Malatesta T, Breadsell JK (2022) Identifying Home System of Practices for
Energy Use with K-Means Clustering Techniques.
26. Martin L (2022) Annual energy outlook 2022 presentation to electricity advisory committee.
27. Meng Z, Sun H, Wang X (2022) Forecasting energy consumption based on SVR
and markov model: a case study of China. Front Environ Sci 10:1–15.
28. Nti IK, Resources N, Adekoya AF, Resources N, Nyarko-boateng O (2020a)
FORECASTING ELECTRICITY CONSUMP- TION OF RESIDENTIAL USERS
BASED FORECASTING ELECTRICITY CONSUMPTION OF RESIDENTIAL USERS
BASED ON LIFESTYLE DATA USING ARTIFICIAL NEURAL NETWORKS.
January. https://doi.org/10.21917/ijsc.2020.0300
29. Nti IK, Teimeh M, Adekoya AF, Nyarko-boateng O (2020) Forecasting
electricity consumption of residential users based on lifestyle data using
artificial neural networks. ICTACT J Soft Comput 10:2107–2116
30. Rashid M, Hamid A, Parah SA (2019) Analysis of streaming data using big data
and hybrid machine learning. https:// doi.org/10.1007/978-3-030-15887-3
31. Ruan Y, Wang G, Meng H, Qian F (2022) A hybrid model for power
consumption forecasting using VMD-based the long short-term memory
neural network. 9, 1–16. https://doi.org/10.3389/fenrg.2021.772508
32. Selamawit Mussie (AUC), Habaasa Gilbert (ECA/AUC), J. B., (AUC),
Nougbodohoue Samson Bel-Aube (AUC), Mama Keita (ECA), Aissatou Gueye
(ECA), D., Kellecioglu (ECA), Seung Jin Baek (ECA), J., Ameso (ECA), Maimouna
Hama Natama (ECA), Stanley Kamara (UNDP), El Hadji Fall (UNDP), S., Berhane
(UNDP) and James Neuhaus (UNDP), with technical inputs from Yemesrach
Workie, (UNDP), Glenda Gallardo Zelaya (UNDP), F., Leigh (UNDP), Frederick
Mugi- sha (UNDP), W., Reeves (UNDP), Fitsum G. Abraha (UNDP), J., Wakiaga
(UNDP), Rogers Dhliwayo (UNDP), A., Bandara (UNDP), Becaye Diarra (UNDP),
Celestin Tsassa (UNDP), G. M., Camara (UNDP), A. Mb. (UNDP) and, & Khady Ba
Faye (UNDP). (2015). Assessing Progress in Africa Toward the Millennium
Development Goals. In Economic Commission for Africa. 26 July 2015
33. Shaikh AK, Nazir A, Khan I, Shah AS (2022) Short term energy consumption
forecasting using neural basis expansion analysis for interpretable time series.
Scientific Reports, 1–18. https://doi.org/10.1038/s41598-022-26499-y
34. Sravani S, Naidu DS, Rohith V, Vardhan V (2021) PREDICTION OF
ELECTRICITY POWER CONSUMPTION USING MACHINE LEARNING
APPROACH. 03, 1656–1662.
35. Thorve S, Baek YY, Swarup S, Mortveit H (2023) High resolution synthetic
residential energy use profiles for the United States. 1–23.
https://doi.org/10.1038/s41597-022-01914-1
36. Vinagre E, Pinto T, Ramos S, Vale Z, Corchado JM (2016) Electrical energy
consumption forecast using support vector machines. 171–175.
https://doi.org/10.1109/DEXA.2016.34
37. Wei Z, Wang H (2021). Characterizing residential load patterns by household
demographic and socioeconomic fac- tors. In: e-Energy 2021 - Proceedings of
the 2021 12th ACM International Conference on Future Energy Systems (Vol. 1,
Issue 1). Association for Computing Machinery.
https://doi.org/10.1145/3447555.3464867
38. Yu Z, Haghighat F, Fung BCM, Yoshino H (n.d.). A decision tree method for building energy
demand modeling.
39. Yuan C, Liu S, Fang Z (2016) Comparison of China’s primary energy
consumption forecasting by using ARIMA (the autoregressive integrated
moving average) model and GM(1,1) model. Energy 100:384–390.
https://doi.org/10. 1016/j.energy.2016.02.001
40. Zangrando N, Fraternali P, Petri M, Oreste N, Vago P, Luis S, González H (2022)
Anomaly detection in quasi - periodic energy consumption data series: a
comparison of algorithms. Energy Inform 5(4):1–25.
41. Zhang J, Zhang H, Ding S, Zhang X (2021) Power consumption predicting
and anomaly detection based on trans- former and K-means. 9, 1–8.
https://doi.org/10.3389/fenrg.2021.779587
42. Zhao Q, Li H, Wang X, Pu T, Wang J (2019) Analysis of users’ electricity
consumption behavior based on ensemble clustering. Glob Energy Interconnect
2(6):479–488. https://doi.org/10.1016/j.gloei.2020.01.001
43. Zogaan WA (2022) Power consumption prediction using random. Forest Model 7(5):329–341