Abstract

The grey system model with time power, which is often called the GM(1,1, ), appeals considerable interest of research due to its effectiveness in time series forecasting. Aimed to improve further the GM(1,1, ) model, this paper introduces a new whitening equation with variable coefficient into the original whitening equation which extends applicable scope; as a result, an improved grey model with time power, namely, OGM(1,1, ), is proposed. Firstly, the time response function of the novel model and the restored values of original series are deduced through grey modelling techniques. Secondly, the variable coefficient in the whitening equation and the time power are determined by particle swarm optimization algorithm. Two empirical examples are then used to verify the validity of the novel model. Finally, the novel model is applied to predict the oil consumption of China from 2004 to 2018. Results show the novel model outperforms other commonly-used competitive models, which can well serve a benchmark model for scholars and decision-makers.

1. Introduction

With the deep research of theoretical methods and the extension of application fields, the grey prediction model is gradually applied to predict the fluctuation characteristics from original tendency prediction [1]. Grey forecasting model, as an important branch of grey system theory [2], namely, GM(1,1), has been widely used in various fields, including energy [3], economic, and engineering. Among them, for example, Ding [4] investigated the natural gas consumption of China based on a novel approach of combining a new initial condition and rolling mechanism for enhancing the prediction accuracy. Wang et al. [5] explored the nonlinear relationship between carbon dioxide emissions and economic growth through constructing a PSO algorithm-based grey Verhulst model. Wu et al. [6] forecasted carbon dioxide emissions in the BRICS countries using a novel multivariate grey model. Wang et al. [1] proposed NLS-based nonlinear grey Bernoulli model to predict employee demand of high-tech enterprises in China. Kumar et al. [7] utilized time series models, including grey-Markov, grey model with rolling mechanism, and singular spectrum analysis, to forecast energy consumption in India. Duamn et al. [8] predicted e-waste for reverse logistics operations based on improved univariate grey models. Ma et al. [9] developed a novel time-delayed polynomial grey model to predict the natural gas consumption in China.

Under this context, grey forecasting model has been generally received more attention in recent years, numerous grey extensive models have been deduced. For instance, Xie and Liu [10] put forward a discrete grey model which was abbreviated as DGM(1,1); in addition, he also depicted the connection between DGM(1,1) and GM(1,1), which extends applicable scope. Luo and Wei [11] proposed a grey model with polynomial term and its optimization methods. Afterward, Wei et al. [12] estimated the optimal solution for novel grey polynomial prediction model. Wang et al. [13, 14] proposed a series of methods of handling with seasonally fluctuating sequence with small-size characteristics. Wu and Zhang [15] proposed an improved time series interval forecasting method inspired by the literature [16]. Qian et al. [17] proposed a grey model with time term (short for GM(1,1, )).

Considering the nonlinear characteristics hidden in original series, Chen et al. [18] firstly introduced the Bernoulli model into the traditional grey action quantity, so as to capture the nonlinear trend in raw sequences. Later, Wang et al. [19] optimized this model through changing the background-value coefficient. Wu et al. [20] simultaneously combined a new initial condition and dynamic background value in order to improve further NGBM(1,1) model and applied it to predict China’s GDP. Nguyen et al. [21] proposed nonlinear grey Bernoulli model based on Fourier transformation. Ma et al. [22] propounded a novel nonlinear multivariate grey Bernoulli model to predict the tourist income of China.

As many studies reveal, it is a common sense that the fractional accumulation is an effective method to improve further the grey model. Wu et al. [23] originally proposed a grey model with fractional grey model. Later, the fractional grey model has appealed many interesting researches. For example, Wu et al. [24] proposed a fractional multivariate grey model to forecast electricity consumption of Shandong, China. Ma et al. [25] proposed a novel fractional time-delayed grey model with grey wolf optimizer to predict the natural gas and coal consumption in Chongqing, China. Wu et al. [26] investigated the novel fractional grey model, namely, FAGMO(1,1, ), to predict China’s nuclear energy consumption. Due to ease of computation of conformable fractional accumulation and difference, Ma et al. [27] introduced it into grey model; as a result, a novel conformable fractional grey model was proposed. Xie et al. [28] proposed a fractional grey model in opposite direction.

Based on the previous literature, this paper proposed a novel grey model which combines a new whitening equation with variable coefficient and the existing GM(1,1, ). The novelties of this paper are drawn as follows: (i) an improved grey model with time term, namely, OGM(1,1, ), is proposed; (ii) the time response function of the model and the restored values are deduced in detail; (iii) the model parameters of the novel model are determined by a well-known algorithm, namely, particle swarm optimization (PSO) [29]; (iv) two examples and a real application are used to verify the effectiveness of the novel model.

The rest of this paper is organized as follows: Section 2 depicts the modelling produces of the existing GM(1,1, ) and the novel model. Section 3 optimizes the parameters of the novel model based on PSO. Section 4 carries out two empirical examples to prove the validity of the novel model. Section 5 applies the novel model to predict oil consumption of China and the main conclusions are listed in the final section.

2. Methodologies

2.1. The Traditional GM(1,1, ) Model

The modelling processes of the GM(1,1, ) model proposed by Qian et al. [17] can be described as follows.

Assume a nonnegative series to beand then the first-order accumulative generating operation series is written aswhere .

The equationis called the whitening equation of GM(1,1, ). and refer the development coefficient and grey action quantity.

The basic form of GM(1,1, ) is given bywhere is called the background value and .

Using the least square method, the model parameters , , and can be estimated, there iswhere

2.2. The Improved GM(1,1, ) Model

Based on the above description of the GM(1,1, ) model, a new whitening equation with a variable coefficient is introduced in (3) so as to improve further the forecasting ability of the GM(1,1, ) model; as a result, the improved GM(1,1, ) model, namely, OGM(1,1, ), is proposed. The modelling procedure of OGM(1,1, ) is summarized as follows.

Definition 1. Let; the whitening equation of a new grey forecasting model is given byObviously, (7) turns to be (1) as , and so the novel model should be regarded as a general form of GM(1,1, ).
Here, (7) is easily rewritten asIntegrating both sides of (8) over the interval , one can writeBy using two-point trapezoidal formula, (9) becomeswhere is so-called the background value and .
LetSimilar to subsection 2.1, the model parameters , and are calculated through the least square method, there is,

Theorem 1. Given , and , the solution to of (7) can be given bywhere .
Proof. First of all, multiplying both sides in (7) by , there is,

That is,

Afterward, integrating both sides of (15) over the interval , then

By simplifying (16), which yields

This completes the proof.

In particular, the integral item in (13) could be approximately estimated using the following equation:where is taken as 0.001 for any .

And then set , the time response function of the novel model is obtained and the restored values of can be acquired using the first-order inverse accumulative generating operation , there is,

3. Optimization of Parameters by PSO

To assess the prediction accuracy of the novel model, two statistical indices are employed in this paper, which are the mean absolute percentage error (MAPE) and the root mean square error (RMSE), and defined as follows.

In the above modelling procedures, the variable coefficient and time-item coefficient are assumed to be know. In this regard, this subsection is to determine these parameters, based on a well-known algorithm, namely Particle Swarm Optimization (PSO) algorithm [29]. this subsection constructs a simply optimization problem for searching the best parameters through minimizing the sum of simulated errors between simulated and actual values, which can be mathematically formulated as follows,

The detailed computational steps of the novel model based on PSO are summarized as follows.

Step 1. Initialize population. Set m = 50 particle and 2-dimensional space, each particle in this search space has initial position and velocity .

Step 2. Calculate fitness values using (21).

Step 3. Update velocity and position of each particle using the following equationswhere refers inertia factor, and are acceleration factors (generally ), are random numbers that change in the range of .

Step 4. Update the best position and the best position of the whole particles .

Step 5. Stopping criteria, if or the current optimum position meets a pre-set minimum threshold, print the best values, otherwise return to Step 2.
The flowchart of the novel model by PSO are also given in Figure 1 so as to provide a clear visualization.

4. Validation of the Novel Model

This section provides two examples to examine the prediction performance of the novel model compared with other commonly-used grey system models, which are the traditional GM(1,1) model, the discrete grey model (DGM(1,1)), the non-homogeneous grey model (NHGM(1,1)) and the grey model with time-item (GM(1,1, )).

Case 1. (Forecasting the output values of the high technology industry of China) This subsection takes the output values of the high technology industry of China [30] as an example to verify the novel model. The raw data set is divided into two groups, the data from 2005 to 2012 are utilized to establish the novel model and competitive models, and the left 2 samples are used to examine the prediction performance.
First of all, the time-item coefficient of GM(1,1, ) and the variable coefficient and the time-item coefficient are all determined by PSO, the minimum MAPE values and the corresponding parameters can be seen in Table 1, the tracks of seeking for the optimum values of these parameters are graphed in Figure 2.
It is observed from Table 1 that the RMSE and MAPE values of the novel model are 0.15 and 2.03% for simulation period, and those of the novel model are 0.22 and 1.32% for prediction period, respectively. These values are smaller than those of other competitors either in simulation or prediction period, this indicates that the novel model has a relatively higher accuracy in this case.

Case 2. (Forecasting the annual per capita electricity consumption in China) The data, gathered from the literature [12], are taken as the second example to prove the validity of the novel model. Similar to Case 1, the data are empirically grouped into the training and testing sets, the first 13 data are used to build the prediction models and the left 3 observations are used to examine the prediction accuracies of these models. The optimal parameters of the novel model and the GM(1,1, ) model by PSO are listed in Table 2, and the tracks of seeking the best values are plotted in Figure 3.
It is easily seen that the novel model outperforms other competing models due to its lowest RMSE and MAPE values in simulation and prediction period, and so the novel model is suitable for prediction problem of the annual per capita electricity consumption in China at hand.

5. Application of Forecasting Oil Consumption of China

China is currently in a state of developing structural adjustment and steady growth. The manufacturing and service sectors constitute the pillars of the economy. Besides, Economic growth act as the most important factor leading to carbon emission increase, this is because Chinese rapid economic growth in previous decades were heavily dependent on the resource-driven industries, which consumes enormous fossil energy and generates plenty of pollutants. Therefore, accurately forecasting oil consumption becomes crucial in energy systems, especially for fossil-fuel market.

The data of oil consumption of China is collected from the official website National Bureau of Statistics of China (https://data.stats.gov.cn/english), as shown in Table 3. Similar to Case 1 and Case 2 (elaborated in Section 4), the parameters of the novel model and the GM(1,1, ) model are determined by PSO, the minimum MAPE values and the corresponding parameters are given in Table 4, and the tracks of seeking for best values are graphed in Figure 4.

The simulated results can be obtained once the unknown parameters are searched, the prediction results are tabulated in Table 4.

From Table 4, in simulation period, the RMSE values of the novel model and other models are 9.21, 9.21, 10.48, 8.55 and 9.05, and the MAPE values of these model are 1.75%, 1.75%, 2.23%, 1.59% and 1.58%, respectively; in prediction period, the RMSE values of the novel model and other models are 29.87, 30.02, 12.44, 25.73 and 4.78, and the MAPE values of these model are 4.46%, 4.49%, 1.96%, 0.83% and 0.78%, respectively. It is not doubt that the novel model is superior to other competitors, followed by GM(1,1, ), NHGM(1,1), GM(1,1) and DGM(1,1) in this case. The same findings can be found from Figure 5 that fitted values of the novel model are much closer than those of other models. In summary, the proposed model is appreciated model for forecasting oil consumption of China so as to provide a valuable reference for energy sectors and related enterprises, which asstanting decision-makers understand future information and formulate corresponding strategies in advance.

6. Conclusion and Future Work

Aimed to improve further the existing grey model with time item, abbreviated as GM(1,1, ), a new whitening equation with variable coefficient is introduced for acquiring extensive whitening equation, as a consequence, an improved grey model with time item, namely OGM(1,1, ), is proposed. The model has many advantages. First, OGM(1,1, ) can be directly extended to fractional order. In addition, the background value coefficient can be adjusted dynamically. Accordingly, it has a good scalability and can be directly extended to other new types of models. Second, OGM(1,1, ) has a simple structure and relatively few parameters, and the time consumption is usually tiny. For example, OGM(1,1, ) is implemented in MATLAB environment on a computer with windows 10 system, Intel i5 CPU, and 8 GB of RAM. The time costs of the first case and the second case are only 0.029 934 s and 0.047 817 s, respectively. Thus, the model does not have the problem of occupying large computing resources.

The main contributions of this paper can be summarized as follows.(1)An improved GM(1,1, ) is put forward, which is based on a novel whitening equation with variable coefficient.(2)PSO algorithm is utilized to determine the unknown parameters, which are variable coefficient of the whitening equation and time-item parameter.(3)GM(1,1, ) has a good scalability and can be directly extended to other new types of models.(4)The novel model is applied to predict the oil consumption of China due to its flexible forecasting ability.

The scalability of this model is very good. For example, the grey model based on the proposed method can be directly extended to fractional order. In addition, the background value coefficient can be adjusted dynamically.

Although the superiorities of the novel model have been discussed, there exist some issue, which should be noticed. For example, the inherent error caused by leap from the whitening equation to the basic form should be considered in the coming research. Besides, the fractional accumulation would be received more attention in next work.

Abbreviations

AGO:Accumulative generating operation
PSO:Particle swarm optimization
MAP:Mean absolute percentage error
RMSE:Root mean square error
GM:Grey model
DGM:Discrete grey model
NHGM:Non-homogeneous grey model

Symbols

:Background value
:A non-negative series
:First-order accumulative generating operation series
:Development coefficient
:Grey action quantity
:Particle position
:Searching velocity
:Refers inertia factor
:Acceleration factor
:Acceleration factor
:Random number.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This work was supported by the National Natural Science Foundation of China (Grant no. 11 661 001) and Natural Science Foundation of Guangxi (Grant no. 2016GXNSFBA380069).