Elsevier

Energy Conversion and Management

Volume 74, October 2013, Pages 548-555
Energy Conversion and Management

A novel machine learning approach for estimation of electricity demand: An empirical evidence from Thailand

https://doi.org/10.1016/j.enconman.2013.06.031Get rights and content

Highlights

  • A hybrid approach is presented for the estimation of the electricity demand.

  • The proposed method integrates the capabilities of GP and SA.

  • The GSA model makes accurate predictions of the electricity demand.

Abstract

This study proposes an innovative hybrid approach for the estimation of the long-term electricity demand. A new prediction equation was developed for the electricity demand using an integrated search method of genetic programming and simulated annealing, called GSA. The annual electricity demand was formulated in terms of population, gross domestic product (GDP), stock index, and total revenue from exporting industrial products of the same year. A comprehensive database containing total electricity demand in Thailand from 1986 to 2009 was used to develop the model. The generalization of the model was verified using a separate testing data. A sensitivity analysis was conducted to investigate the contribution of the parameters affecting the electricity demand. The GSA model provides accurate predictions of the electricity demand. Furthermore, the proposed model outperforms a regression and artificial neural network-based models.

Introduction

The great influence of electric energy on economic development is well-understood. In general, electricity demand is defined as the amount of electricity generated and distributed in a specific region over a specific period. Accurate estimation of the electricity demand is a crucial factor for energy management. In this context, many technological developments and progresses have been achieved. Up to now, different methods are employed for the prediction of the electricity demand [1]. Generally, these methods can be categorized into three major groups [2]: (1) autoregressive integrated moving average (ARIMA), (2) multiple linear regression (MLR) and (3) machine learning techniques. ARIMA models are stochastic difference equations commonly used for the modeling of stochastic disturbances in time series analysis [3]. Cho et al. [4] conducted a comparative study between ARIMA and traditional regression approach for the customer short term load forecasting. Abdel-Aal and Al-Garni [5] used this technique to predict the domestic electric energy consumption in Saudi Arabia. Ediger and Akar [6] applied ARIMA to the estimation of the future energy demand in Turkey. Suhartono and Endharta [7] used double seasonal ARIMA model for short term electricity load demand forecasting in Indonesia. Mohamed et al. [8] investigated the double seasonal ARIMA model for forecasting the double seasonal (daily and weekly) Malaysia load demand time series. Taylor [9], [10] and Taylor et al. [11] employed various techniques such as double seasonal exponential smoothing; principal component analysis, and double seasonal ARIMA for electricity demand forecasting up to a day ahead for Rio de Janeiro and a series of half-hourly demand for England and Wales. MLR is another statistical approach which is widely used for the energy demand estimation [2]. A major drawback of the regression and other statistical analyses is that they model the nature of the corresponding problem by a pre-defined linear or nonlinear equation [12].

Over the last decade, machine learning has attracted much attention in both academic and empirical fields for tackling real world problems. The machine learning systems are powerful tools for design of computer programs. They automatically learn from experience and extract various discriminators [13]. Artificial neural networks (ANNs) are the most widely used branch of machine learning. ANNs have been widely applied to different problems in energy conversion and management (e.g. [14], [15], [16], [17], [18], [19]). Hsu and Chen [20] considered GDP, population and temperature for the ANN-based modeling of the regional peak load in Taiwan. Ringwood et al. [21] proposed prediction models for electricity demand on short, medium and long time scales in the Republic of Ireland using ANNs. Catalao al. [22] applied the ANN to predict the next-week prices in the electricity market of Spain. Azadeh et al. [23], [24] utilized ANNs for the energy demand estimation in Iran. Azadeh et al. [1] presented a novel integrated fuzzy system, data mining and time series framework to predict the electricity demand for seasonal and monthly changes in electricity consumption especially in developing countries such as China and Iran with non-stationary data. Azadeh et al. [25] used ANN and time series for forecasting electrical consumption. The advantage of ANN methodology through analysis of variance (ANOVA) was shown by Azadeh et al. [25]. Support vector model (SVM) is another machine learning technique that has been successfully applied to predict the electric consumption [26]. In this context, Fan and Chen [27] developed a load forecasting method for short-term load forecasting, based on an adaptive two-stage hybrid network with self-organized map (SOM) and SVM. Using the actual data taken from the New York ISO and the Western Farmers Electric Cooperative in Oklahoma, Fan et al. [28] proposed a novel forecasting model for day ahead electricity load forecasting based on bayesian clustering by dynamics (BCD) and support vector regression (SVR). The BCD–SVR model adopted an integrated architecture to handle the non-stationarity of time series. Despite having a good performance, ANNs and SVM are considered black-box models. That is, they do not provide the knowledge of process they obtain a solution. Thus, they are not capable of generating practical prediction equations. Another major limitation of the ANNs is that the structure of the network needs to be identified in advance [7], [29].

A robust machine learning approach for predicting electricity demand is genetic programming (GP) [30]. GP is a robust branch of evolutionary algorithms (EAs) that creates computer programs to solve a problem using the principle of Darwinian natural selection. GP has several advantages over the conventional and ANN techniques. A notable feature of GP is that it can produce prediction equations without a need to define the form of the existing relationship [29], [31], [32]. Lee et al. [33] showed that GP is a powerful tool for long-term forecasting of electric power demand in Korea. Later, Bhattacharya et al. [34] employed GP for modeling electricity demand prediction in Australia.

Simulated annealing (SA) is a well-known optimization method. The Metropolis algorithm [35] is known as the foundation of SA to simulate the annealing process [29]. Some researchers coupled GP and SA to improve the efficiency of GP [36], [37]. There are very limited applications of the hybrid GP and SA technique to solve real world problems [31], [32], [38], [39]. Unlike ANNs, SVM and classical GP, applications of this hybrid method in the field energy conversion and management are conspicuous by their absence [29].

This study investigates the potential of the coupled technique of GP and SA (GSA), to predict the total electricity demand in Thailand from 1986 to 2009. The results made by the developed GSA models were further compared with those obtained by a conventional statistical method. The paper is organized as follows: Section 2 presents brief descriptions of the standard GP and GSA techniques. Section 3 outlines the model development using GSA and reviews the results. The detailed performance analysis of the proposed model is discussed in Section 4. The results of the sensitivity analysis are given in Section 5. Finally, concluding remarks are outlined in Section 6.

Section snippets

Machine learning

Machine learning is a branch of artificial intelligence essentially inspired from biological learning [13]. The machine learning approach deals with the design of computer programs and systems that are able to automatically learn with experience [13], [40]. The machine learning methods extract knowledge and complex patterns from machine readable data [41]. A type of machine learning used herein is supervised machine learning. This methodology is based on mapping a set of input information to

The proposed methodology for the estimation of electricity demand

In general, the steps followed by the machine learning techniques to find optimal models are the same. In this study, the proposed methodology for developing a precise prediction model for the electricity demand was similar to the procedure presented in [29]. The steps of the proposed algorithm are as follows:

  • I.

    Determination of input and output variables of the model.

  • II.

    Collecting data set S containing annual energy data of Thailand from 1986 to 2009.

  • III.

    Divide S into two subsets: training (STraining)

Performance analysis

Precise models were to predict the electricity demand in Thailand. Based on a rational hypothesis, Smith [46] suggested the following criteria for judging performance of a model:

  • If a model gives |R| > 0.8, a strong correlation exists between the predicted and measured values.

  • If a model gives 0.2 < |R| < 0.8 a correlation exists between the predicted and measured values.

  • If a model gives |R| < 0.2, a weak correlation exists between the predicted and measured values.

In all cases, the error values (e.g.

Sensitivity analysis

The contribution of each input parameter in the GSA models was evaluated through a sensitivity analysis. In order to evaluate the importance of the input parameters, their frequency values [43] were obtained. A frequency value equal to 1 for an input indicates that this input variable has been appeared in 100% of the best thirty programs evolved by GSA [29], [31], [32], [39]. The frequency values of the predictor variables are presented in Fig. 6. According to this figure, the electricity

Conclusion

In the present study, a new hybrid search algorithm combining GP and SA, called GSA was used to predict the electricity demand in Thailand. The historical data from 1986 to 2009 were used to develop the model. The validity of the model was tested for a part of test results beyond the training data domain. The proposed models produce better outcomes than the traditional MLR and ANN models. An expected observation from the results of the sensitivity analysis was that the electricity demand is

References (55)

  • C.C. Hsu et al.

    Regional load forecasting in Taiwan-applications of artificial neural networks

    Energy Convers Manage

    (2003)
  • J.P.S. Catalao et al.

    Short-term electricity prices forecasting in a competitive market: a neural network approach

    Electr Power Syst Res

    (2007)
  • A. Azadeh et al.

    Intergraion of artificial neural networks and genetic algorithm to predict electrical energy consumption

    Appl Math Comput

    (2007)
  • A. Azadeh et al.

    A simulated-based neural network algorithm for forecasting electrical energy consumption in Iran

    Energy Policy

    (2008)
  • A. Azadeh et al.

    Forecasting electrical consumption by integration of neural network, time series and ANOVA

    Appl Math Comput

    (2007)
  • W.-C. Hong

    Electric load forecasting by support vector model

    Appl Math Model

    (2009)
  • S. Fan et al.

    Machine learning based switching model for electricity load forecasting

    Energy Convers Manage

    (2008)
  • E.S. Mostafavi et al.

    A hybrid computational approach to estimate solar global radiation: an empirical evidence from Iran

    Energy

    (2013)
  • A.H. Alavi et al.

    Formulation of flow number of asphalt mixes using a hybrid computational method

    Constr Build Mater

    (2011)
  • D.G. Lee et al.

    Genetic programming model for long-term forecasting of electric power demand

    Electr Power Syst Res

    (1997)
  • A. Golbraikh et al.

    Beware of q2

    J Mole Graph Model

    (2002)
  • M.R. Mirzahosseini et al.

    Permanent deformation analysis of asphalt mixtures using soft computing techniques

    Exp Syst Appl

    (2011)
  • A.H. Alavi et al.

    Prediction of Principal Ground-Motion Parameters Using a Hybrid Method Coupling Artificial Neural Networks and Simulated Annealing

    Comput Struct

    (2011)
  • A. Peyvandi et al.

    Enhancement of the durability characteristics of concrete nanocomposite pipes with modified graphite nanoplatelets

    Constr Build Mater

    (2013)
  • A. Peyvandi et al.

    Enhancement of the structural efficiency and performance of concrete pipes through fiber reinforcement

    Constr Build Mater

    (2013)
  • A.H. Gandomi et al.

    Multi-Stage Genetic Programming: A New Strategy to Nonlinear System Modeling

    Inf Sci

    (2011)
  • A.H. Alavi et al.

    Energy-Based Models for Assessment of Soil Liquefaction

    Geosci Frontiers

    (2012)
  • Cited by (42)

    • An evolutionary-based predictive soft computing model for the prediction of electricity consumption using multi expression programming

      2021, Journal of Cleaner Production
      Citation Excerpt :

      In the current decade, GP-based methods have attracted much attention from the academia. For example, Mostafavi et al. (2013) applied GP to estimate the electricity demand with respect to stock index, population, revenue and GDP between 1986 and 2009 in Thailand. The findings showed that not only the developed GP model is more accurate than ANN and regression, it can also provide a very useful mathematical model for energy demand forecasting.

    View all citing articles on Scopus
    View full text