#### Abstract

Path-coefficient analysis is utilized to investigate the direct and indirect effects of economic growth, population growth, urbanization rate, industrialization level, and carbon intensity on electricity demand of China. To improve the projection accuracy of electricity demand, this study proposes a hybrid bat algorithm, Gaussian perturbations, and simulated annealing (BAG-SA) optimization method. The proposed BAG-SA algorithm not only inherits the simplicity and efficiency of the standard BA with a capability of searching for global optimality but also enhances local search ability and speeds up the global convergence rate. The BAG-SA algorithm is employed to optimize the coefficients of the multiple linear and quadratic forms of electricity demand estimation model. Results indicate that the proposed algorithm has higher precision and reliability than the coefficients optimized by other single-optimization methods, such as genetic algorithm, particle swarm optimization algorithm, or bat algorithm. And the quadratic form of BAG-SA electricity demand estimation model has better fitting ability compared with the multiple linear form of the model. Therefore, the quadratic form of the model is applied to estimate electricity demand of China from 2016 to 2030. The findings of this study demonstrate that China’s electricity demand will reach 14925200 million KWh in 2030.

#### 1. Introduction

Electrical energy is a pivotal input for the social and economic development of a country [1]. Thus, the analysis of energy issues and the development of energy policy options are of supreme importance [2]. In the process of the rapid economic growth, China’s electricity consumption increased from 68304 million KWh in 1990 to 5863707 million KWh in 2015, and the electricity consumption of China is expected to continue increasing in the coming years [3, 4]. In order to ensure the stability of China’s economic development and the formulation of relevant energy policies, the estimation of electricity demand is still an essential work. A better projection of electricity demand with good precision will be conductive for developing a scientific power supply strategy, financing planning, and electricity management [5].

There is a wealth of literature on the prediction of electricity demand. Mathematical models [1, 6–12], econometric-based models [13–18], and artificial intelligence methods [5, 19–22] have been used for electricity demand prediction. Econometric-based models mainly include regression-based methods, times series methods, and state space and Kalman filtering models. However, a drawback of regression-based models is that they are highly dependent on the availability and reliability of external factors over the forecasting period [5]. Many efforts towards data collection and estimation should be made when carrying out regression modeling. Moreover, time series models cannot solve the problems such as multivariable and heteroscedasticity problems [5]. During the past few decades, artificial intelligence methods have gained some achievements in electricity demand, since they do not require any complex mathematical formulations or quantitative correlations between inputs and outputs [23]. Mathematical models are the most popular tools for forecasting the electricity demand. These models can be defined based on socioeconomic indicators, and the optimal coefficients are applied to specify the importance of each indicator [10]. In the past few years, the way to determine the optimal coefficients has been the focus of a large body of studies.

Given their stochastic characteristics and global search ability, metaheuristic optimization algorithms have been employed to estimate electricity demand precisely. The main advantage of these optimization algorithms is that there is higher chance to find optimal or near-optimal solution in complicated problems [10]. In the literature, genetic algorithm (GA), particle swarm optimization (PSO) algorithm, and other traditional single-optimization algorithms or hybridization of them has been proposed by various authors to estimate the coefficients of the estimation models. In this paper, Table 1 displays a brief description of these methods and their applications. However, the coefficients of these forecasting models determined by the traditional single-optimization approaches, for instance, GA and PSO algorithm, have some evident deficiencies [24, 25]. Therefore, in order to obtain better forecasting results, a new hybrid optimization algorithm should be established different from previous approaches.

In this paper, in the light of Gaussian perturbations and simulated annealing algorithm, an improved bat algorithm is proposed to determine the optimal coefficients of the two forms of electricity demand estimation model. The influence mechanism of the affecting factors of China’s electricity demand is investigated by implementing a path-coefficient analysis. And the selected factors such as gross domestic product (GDP), population, urbanization rate, industrialization level, and carbon intensity are regarded as the inputs of the two forms of the model. The electricity demand estimation models in this study are multiple linear and quadratic forms. Observed data from 1990 to 2015 (26 years) are utilized to train and test the multiple linear and quadratic models. Then the electricity demand of China from 2016 to 2030 can be predicted.

The remainder of this paper is organized as follows. The factors affecting electricity demand and the path-coefficient analysis are discussed in Section 2. Then, Section 3 presents the proposed hybrid optimization algorithm. In Section 4, the BAG-SA electricity demand estimation model is developed, and future electricity demand of China is forecasted in Section 5. Finally, Section 6 offers some conclusions.

#### 2. Selection of Factors Affecting Electricity Demand and Path-Coefficient Analysis

##### 2.1. Factors Affecting Electricity Demand in China

From the existing literature, it can be seen that electricity demand in China is mainly influenced by economic growth, population, urbanization rate, and industrialization level. In the low-carbon economic development pattern, electricity demand should be also impacted by the carbon emission constraint.

*(1) Economic Growth*. The available supply of the electric industry has positive implications on the rapid and steady development of economy. Many studies corroborated that there is a long-run steady equilibrium between electricity demand and economic growth, and economic growth is the fundamental reason for the growth of electricity demand [26–28]. Therefore, the effect of GDP on electricity demand is measured in this paper.

*(2) Population*. Population is an important factor to promote the growth of electricity demand. Electricity is the main type in household energy consumption. There is a strong positive linear relationship between population and electricity demand [29]. Also, Holtedahl and Joutz found that population can have a positive influence on electricity demand by establishing a residential electricity demand function [30]. China is the most populous country in the world, and the population reached 1.375 billion in 2015. Due to the large population base of China, total population can influence the change of electricity demand.

*(3) Urbanization Rate*. Lin [31] considered that the impact of urbanization rate on electricity demand is more significant compared to population growth. In the process of urbanization, the construction of the large-scale urban infrastructure, housing, and transportation system would spur the rapid development of building materials, metallurgy, and other high energy consuming industries, thus promoting the rapid growth of industrial, agricultural, and residential electricity demand. Therefore, urbanization rate (the share of urban population to total population) should be considered as an important electricity demand factor.

*(4) Industrialization Level*. Industrialization is a process of the rising proportion of industrial value added in the GDP. Some studies confirmed that the industrial sector is the main consumer of electrical energy, and the industrial sector is also an important reason to lead to the increment of electricity consumption unit GDP [32]. Hence, industrialization level (the proportion of industrial value added in the GDP) is selected as another factor affecting electricity demand in this paper.

*(5) Carbon Emission Constraint*. In order to fulfill the commitments of carbon emission reduction, Chinese government conceived carbon emission unit GDP (carbon intensity) as one of the core indicators to establish the low-carbon economic development system. The essences of low-carbon economy are the change of the way to use energy, the optimization of energy structure, and the improvement of energy efficiency. Therefore, the main measures to develop low-carbon economy are reducing coal consumption and increasing the proportion of coal used for power generation. Electricity as a clean and efficient energy will become the main energy type of the low-carbon energy system. In current study, carbon emission constraint (carbon intensity) is chosen as a factor influencing electricity demand of China.

##### 2.2. Data Management

In this paper, GDP is measured in constant RMB of 1990 (billion Yuan). Electricity demand is measured in million KWh. The population is the total population (billion persons). Urbanization rate is the share of urban population to total population (%). Industrialization level can be defined as the proportion of industrial value added in the GDP (%). Carbon emission constraint is indicated by carbon intensity (tc/10^{4} Yuan). Carbon emission data can be obtained from the energy consumption of each variety and its carbon emission coefficient. Besides, the carbon emission coefficients stem from the computing results of the Energy Research Institute of National Development and Reform Commission; that is, coal is 0.7476 tc/tce (tonnes of coal equivalent in caloric value calculation), oil is 0.5825 tc/tce, and natural gas is 0.4435 tc/tce. All annual data from 1990 to 2015 are collected from [3, 4].

##### 2.3. Path-Coefficient Analysis

Path-coefficient analysis is conducted to further investigate the mechanism of the affecting factors of electricity demand. Path-coefficient analysis can provide an approach to distinguish direct and indirect effects and measure the relative importance of the causal factors [33]. Let be the independent variables (the selected affecting factors), and let be the dependent variable (electricity demand). can represent the simple correlation coefficients between and , and are the simple correlation coefficients between and . Then, the decomposed equations (path-coefficient analysis model) of all simple coefficients are as follows:where is the direct path, namely, the partial correlation coefficient of and , representing the direct effect of on . The direct determination coefficients of on are defined as . is the indirect path, representing the indirect effect of on via . represent the indirect determination coefficients of on via . is the total effect which is the determination coefficient of on . The basic meaning of (1) is that the simple correlation coefficient can be decomposed into (direct path) and (total indirect path). Because of the complexity of economic phenomena and the limitation of people’s understanding of economic phenomena, it is impossible to take into account all the factors that affect the dependent variable in models. Therefore, the path effect of the missing variables and the error terms on should be calculated, namely, the residual effect.

In present study, is the total electricity demand; are the independent variables, which are GDP (), total population (), the share of urban population to total population (), the proportion of industrial value added in the GDP (), and carbon intensity (). In the light of (1) and (2), the total determination coefficient is . Then, the residual effect is , which indicates that the selected independent explanatory variables to the dependent variable (electricity demand) have reached 99.85%, and the path-coefficient analysis grasps the main factors affecting electricity demand. The direct and indirect contributions of different affecting factors to electricity demand are listed in Table 2 apparently.

From Table 2, it can be seen that GDP, total population, and the share of urban population to total population are the main driving factors of the growth of electricity demand. Moreover, GDP and the share of urban population to total population have larger direct positive effects on electricity demand with the direct effects being 0.329 and 0.320, respectively. Both the proportion of industrial value added in the GDP and carbon intensity have minor total effects on electricity demand. However, the realization of carbon emission reduction targets needs to change the mode of economic growth and promote the sustainable development pattern. Moreover, the targets need to push forward the transformation of primary industry to secondary industry or tertiary industry and accelerate the process of urbanization. Thus, the proportion of industrial value added in the GDP and carbon intensity can mainly have indirect effects on electricity demand through GDP and the share of urban population to total population.

#### 3. Hybrid BAG-SA Optimization Algorithm

Bat algorithm (BA), which was put forward by Yang [34] in 2010, is a metaheuristic algorithm for global optimization based on echolocation behavior of bats. In terms of the accuracy and the effectiveness, BA can be superior to other existing algorithms, and the number of adjustable parameters is fewer. Hence, bat algorithm and its many variants have been widely used in various fields [35]. Although the basic BA has some advantages over other traditional optimization algorithms, the issues of slow convergence and low precision seem to still exist [36]. Like other nature-inspired algorithms, the efficiency and performance of BA rely on the balance between exploration and exploitation. To enhance the local search capability of BA, Cai et al. employed the Gaussian walk in the local turbulence rather than the initial uniform walk [37]. Compared with BA, simulated annealing (SA) has strong local search ability, which has been diffusely used in combinatorial optimization problems [38]. SA can obtain the minimum value of a function by simulating the state changes of particles from high temperature to low temperature. The transition probability of SA can be controlled by adjusting the temperature, which can effectively allow the system to jump out of any local optimum. Therefore, in order to optimize the coefficients of electricity demand estimation model more effectively, this paper attempts to employ the SA algorithm to enhance the bat algorithm, and the Gaussian perturbations in the mutation operation are adopted to further improve the local search property of BA. Through the numerical experiments for 20 test benchmarks, the simulation results show that the proposed BAG-SA method can enhance the global convergence, convergence speed, and precision of the basic BA apparently [39]. The details about the standard BA and SA approaches can be seen in [34] and [40], respectively.

In this study, the basic procedure of BAG-SA can be described: generate an initial population, and replace the best solutions with the new alternatives obtained by using SA algorithm, in accordance with the updating equations of the standard BA. Then, the locations can be perturbed by using the Gaussian perturbations to generate a set of new solutions. The specific steps of the BAG-SA can be summarized as follows.

*Step 1. *Initialize the positions, velocities, frequencies, pulse rates, and loudness of the population randomly.

*Step 2. *Assess the fitness value of each bat; then store the current position and fitness value, and retain the optimal solution in .

*Step 3. *Determine the initial temperature.

*Step 4. *Compute the adaption value of each bat in the current temperature according to the following formula:

*Step 5. *On the basis of the roulette strategy, an alternative can be obtained, and the velocity and position can be updated as follows:

*Step 6. *Compute the new fitness value of each bat and update the better positions. Then, find the optimal position and its corresponding value using the Gaussian perturbations in the mutation operations. The new position can be generated by the following equation:where is a random number sampled with the standard Gaussian distribution; is a small value which is applied to adjust the search range of the walk for improving the local search capability.

*Step 7. *Carry out the cooling operation.

*Step 8. *If the termination condition can be satisfied, then output the results; otherwise, return to Step 4.

The aforementioned steps can be distinctly displayed in Figure 1.

#### 4. BAG-SA Electricity Demand Estimation Model for China

##### 4.1. Two-Form Estimation Model and Coefficient Optimization for the Current Data

Based on the selected affecting factors, the multiple linear and quadratic forms of electricity demand estimation model can be established. These two forms are described as follows:

BAG-SA multiple linear form (BGS-ML):

BAG-SA quadratic form (BGS-QUA): is the electricity demand; and are the th and the th factors influencing electricity demand, respectively; , and are the coefficients of the above equations; and is the number of factors affecting electricity demand.

To obtain the optimal coefficients of the electricity demand estimation models, the proposed BAG-SA optimization approach is utilized to optimize the following function of model:where is the number of training sets; is the th actual value of electricity consumption; is the th prediction value of electricity consumption; represents the coefficients of (6) and (7) when the objective function meets the termination conditions of the algorithm.

Since this paper selects five variables as the inputs of the two forms of the electricity demand estimation model, 6 and 21 coefficients of the two forms need to be determined, respectively. The main parameters of the BAG-SA electricity demand estimation model are listed in Table 3.

##### 4.2. Estimation Results

To estimate the coefficients of multiple linear form and quadratic form effectively, the BAG-SA utilizes the observation data from 1990 to 2012 as the training set. When the BAG-SA algorithm reaches the max. iteration number, the optimal coefficients for the two electricity demand estimation models can be obtained:

The observations in 2013–2015 are selected as the testing set to corroborate the proposed models. The actual and the prediction data from 2009 to 2015 are shown in Figure 2. From Figure 2, it can be seen that the obtained models display favorable fitting ability. In this paper, using the training data (1990–2012) and the testing data (2013–2015), GA, PSO, BA, and BAG-SA are compared for multiple linear and quadratic forms. MAPE and in the training and testing sets are described in Table 4. The experimental results show that the hybrid BAG-SA optimization algorithm has higher forecasting accuracy than other optimization methods (GA, PSO, and BA). In the light of MAPE and , the BAG-SA electricity demand estimation models display powerful forecasting capability.

Moreover, from Figure 2 and Table 4, it can be concluded that the quadratic form of BAG-SA (BGS-QUA) has better fitting ability than the multiple linear form of BAG-SA (BGS-ML). Therefore, only the BGS-QUA is applied to accomplish the estimation of China’s electricity demand from 2016 to 2030.

#### 5. Future Estimation

In order to estimate future electricity demand of China and reflect the impact of carbon emission reduction policies on future electricity demand, the major assumptions of the selected affecting factors are set as follows.

*(1) Economic Growth*. According to the estimation results of China’s average annual GDP growth rate from International Energy Agency (2010), Citibank (2011), World Bank (2012), and Hong Kong and Shanghai Banking Corporation (2012) in 2016–2030, the average forecasting values of the agencies are regarded as the China’s economic growth rate of 2016–2020 and 2020–2030, respectively [41].

*(2) Population Growth*. The average annual growth rate of China’s population was approximately 0.5% in 2006–2015. The Fifth Plenary Session of the 18th Central Committee of the Communist Party of China proposed that each family can raise two children in October 2015. According to the fertility willingness survey of the National Health and Family Planning Commission of China, it can be seen that about 15 million–20 million couples conform with the new policy, and only the couples of 50%–60% have the fertility willingness with the increment of newborns reaching 7.5 million–12 million in the short term. If the fertility can be achieved within 5 years, the annual increase of newborns will be 1.5 million–2.4 million. Then, the birth rate will increase to 1.3%–1.4%, and the annual mortality rate is around 0.7%. China’s future population growth rate will be around 0.6%–0.7%. Hence, in this study, the average annual growth rate of population is supposed to be 0.65% in 2016–2030.

*(3) Urbanization Rate*. Regarding the large difference of income level and the amount of electricity consumption between China’s rural and urban areas, there is an assumption about the future trend of urbanization. In the “New National Urbanization Planning,” China’s State Council announced that the goal of about 60% urbanization rate should be achieved by 2020. According to “Report of State Council on the Work of the Construction of Urbanization,” by 2030, the urbanization rate will reach about 70%. In 2015, the urbanization rate was 56.1%. Therefore, the average annual growth rate of urbanization rate should be 1.3% in 2016–2020, and the average annual growth rate will be 1.6% in 2020–2030.

*(4) Industrialization Level*. On the basis of the research “Industrial Development Policy in Developing Countries,” which is jointly hosted by the United Nations Industrial Development Organization and the World Bank, China can be in the stage of industrialization. During the period of the 12th Five-Year Plan of China, the average annual growth rate of the proportion of industrial value added in the GDP was −3.3%. The adjustment and optimization of industrial structure can still be the goals of the 13th Five-Year Plan of China, and the industrialization is gradually transformed from scale expansion to quality improvement under the strict restriction of energy saving and emission reduction targets. Thus, the average annual growth rate of the proportion of industrial value added in the GDP should be −3.3% in 2016–2020, and the average annual growth rate will be −3.0% in 2020–2030.

*(5) Carbon Intensity*. In China, the strong implementation of energy-saving emission reduction policies can directly affect the growth of electricity demand, and the goal of energy conservation and emission reduction seems to be more explicit. According to the low-carbon economic development goal of the “China’s Sustainable Development Strategy Report” in 2009, Chinese government promised that carbon intensity (carbon emission unit GDP) in 2020 should be decreased by 50% compared to that of 2005. Moreover, in the “Strengthen the Response to Climate Change Action-China’s National Autonomous Contributions” submitted by Chinese government to the United Nations, in 2030, the carbon emissions unit GDP will achieve the reduction of 60%*～*65% compared to that of 2005. This paper assumes that the carbon emissions unit GDP in 2020 and 2030 will be decreased by 50% and 65%, respectively, compared with that in 2005. Therefore, the average annual growth rate of carbon intensity should be −3.3% in 2016–2020 and will be −3.0% in 2020–2030. Various variables settings are described in Table 5.

In the light of the future changes of different affecting factors from Table 5, the estimation results of electricity demand are shown in Figure 3. By 2020, electricity demand will be 8735500 million KWh when achieving the carbon emission reduction target of 2020. And the electricity demand will reach 14925200 million KWh with realizing the carbon emission mitigation goal of 2030.

#### 6. Conclusions

The main conclusions that can be drawn from the present study are summarized as follows:(1)Under the target of low-carbon economy, the influence mechanism of electricity demand of China is explored by implementing the path-coefficient analysis. The total determination coefficient indicates that the selected five explanatory variables to electricity demand have reached 99.85%, and the path-coefficient analysis can capture the main factors affecting electricity demand.(2)The proposed BAG-SA algorithm outperforms the coefficients optimized by single-optimization methods, such as GA, PSO, or BA, in terms of accuracy and reliability.(3)According to MAPE and , the quadratic form of BAG-SA electricity demand estimation model can find better solution than the multiple linear form of model, since the quadratic form can reflect better the variations of the selected indicators.(4)With respect to future changes of affecting factors, the electricity demand of China from 2016 to 2030 can be predicted by using the quadratic form based on the BAG-SA approach. Experimental results show that China’s electricity demand will be 14925200 million KWh in 2030.

#### Conflicts of Interest

The authors declare that there are no conflicts of interest.

#### Authors’ Contributions

Qunli Wu designed this paper and provided overall guidance; Chenyang Peng wrote the whole manuscript.

#### Acknowledgments

This study is supported by the Humanities and Social Sciences Planning Foundation of the Ministry of Education of China (Grant no. 16YJA790052).