Forecasting the Short-Term Traffic Flow in the Intelligent Transportation System Based on an Inertia Nonhomogenous Discrete Gray Model

The traffic-flow system has basic dynamic characteristics. This feature provides a theoretical basis for constructing a reasonable and effective model for the traffic-flow system. The research on short-term traffic-flow forecasting is of wide interest. Its results can be applied directly to advanced traffic information systems and traffic management, providing real-time and effective traffic information. According to the dynamic characteristics of traffic-flow data, this paper extends the mechanical properties, such as distance, acceleration, force combination, and decomposition, to the traffic-flowdata vector. According to themechanical properties of the data, this paper proposes four new models of structural parameters and component parameters, inertia nonhomogenous discrete gray models (referred to as INDGM), and analyzes the important properties of the model. This model examines the construction of the inertia nonhomogenous discrete gray model from the mechanical properties of the data, explaining the classic NDGMmodeling mechanism in the meantime. Finally, this paper analyzes the traffic-flow data ofWhitemud Drive in Canada and studies the relationship between the inertia model and the traffic-flow state according to the data analysis of the traffic-flow state. A simulation accuracy and prediction accuracy of up to 0.0248 and 0.0273, respectively, are obtained.


Introduction
Traffic-flow theory is the basic theory of the intelligent transportation system, that is, the use of mathematical and mechanical laws to study the laws of road traffic-flow theory [1].By analyzing the relationship between the parameters of the traffic-flow system, it can seek to establish the most rational model to analyze the changes in traffic flow [2], providing a theoretical basis for rational planning and efficient traffic management.The study of traffic-flow theory promotes the interdependence and interaction of dynamics, applied mathematics, fluid mechanics, and traffic engineering.
Traffic-flow short-term forecasting for the intelligent transportation system to provide traffic information is an important basis for traffic analysis [3,4] and control [5].Short-term traffic-flow forecasting has been widely researched by scholars at home and abroad, who have obtained many research results [6][7][8], and many theories and methods [9,10] have been applied to the study of shortterm traffic forecasting.The results of this study can be applied directly to the advanced traffic information system and traffic management system, which can provide realtime and effective information for walkers, realize the route planning, reduce the travel time of the traveler, alleviate road congestion, reduce pollution, save energy, and so on.Trafficflow forecasting is also based on the dynamic acquisition of traffic-flow time-series data to predict the future traffic-flow status data.
The traffic-flow characteristics can be described by the traffic-flow state, and the traffic flow exhibits different characteristics in different states.In the study of urban traffic-flow parameter models, the traffic state is divided into free flow, congested flow, and jam flow.Usually, the traffic-flow rate, speed, and occupancy rate are considered as parameters of the 2 Complexity resulting traffic state.The interval and forecast period of timeseries data for short-term traffic-flow parameters are shorter, usually within 15 minutes.There are many methods for shortterm traffic-flow forecasting: chaos theory [11], time series [12,13], neural networks [14,15], nonparametric regression [16,17], gray prediction [18], and other methods [19,20].
However, the short-term traffic-flow system has a large degree of similarity with the fluid system with respect to basic dynamic characteristics and, at the same time, a high degree of uncertainty.It is difficult to accurately grasp the roles of the system factors and mechanisms due to poor information.If the time interval for collecting traffic is 5 minutes, only 12 groups of data are obtained in one hour, resulting in a small sample size.Therefore, it is reasonable to study the inertial gray model by using the gray system with less data and a poor information system combined with the mechanical properties of traffic-flow data.
The gray system theory was put forward by Deng [21].After 30 years of development, a framework of system analysis and evaluation [22], model prediction [23][24][25], and decision control [26] has been established as the main technical system.The gray prediction model is the core component of gray system theory.Since its introduction, the gray prediction model has been widely studied and continuously developed and optimized [27][28][29][30].GM (1,1), as the core gray prediction model, has also been improved [25,31,32] and has been widely used in various fields.However, in practical applications and the theoretical research process, GM(1, 1) is not fully suitable for fitting homogenous exponential series.The problem of transforming the GM(1, 1) from discrete form to continuous form is solved by the proposed discrete gray model [33].At the same time, many scholars have extended the properties and optimization of model parameters.However, the discrete gray model, like the classical GM(1, 1), can only solve the problem of exponential growth order, and sequences with exponential growth are very rare in real life; comparatively speaking, more original sequence data conform to nonexponential growth laws.The discrete gray model of the approximate nonhomogenous exponential sequence extends the application range of the discrete model to approximate nonhomogenous exponential sequences [34], which enhances the applicability of the discrete gray model.
However, the gray prediction model of the classical GM(1, 1), discrete gray model (DGM), and approximate nonhomogenous discrete gray model (NDGM) is used as the modeling mechanism of the least-squares method.These models do not describe the modeling process from the point of view of the data.Professor Deng proposed the inertia GM(1, 1) in [21], emphasizing that inertia is the quality of the material mass of a temperament, which is the abstract amount that has to be considered when researching material movement and thought movement.At the same time, he suggested that the data are generated by the thought movement in [35], and the value of the thinking process is much greater than the value of a certain function.It can be said that the number of sequences  (0) is the formation of thinking or things and that the sequence in different minds and the processes of forming different things have different meanings.He noted that, in the GM(1, 1),  (0) () can reflect the velocity in mechanics, the accumulating generation operator (AGO)  (1) () can reflect the deposition of this process, and  (1) () can reflect the background, while at the same time representing the inertia GM(1, 1) from the force resolution of the data.Traffic-flow theory and fluid systems have a high degree of similarity, as they both have the same basic dynamic characteristics.
Therefore, this paper introduces the basic concepts and properties of mechanics distance, acceleration, force combination, and resolution in traffic-flow data and studies the inertia model, which is adapted to short-term traffic forecasting.At the same time, the model structure clearly shows the formation process of the INDGM using understandable structure parameters and manifestation of component parameters.This model is also closely related to the classical NDGM, and the modeling mechanism of the classical NDGM from the mechanical decomposition of the data is illustrated.Finally, the paper analyzes the state data of traffic flow and appropriately selects the inertia model for traffic-flow data of Whitemud Drive in Canada, which can effectively improve the simulation and forecasting effect of short-term traffic flow.
This paper is organized as follows.In Sections 2, the basic concepts and properties of mechanics in the data vector are introduced.In Sections 3, the NDGM is introduced; the INDGM is put forward using the mechanics decomposition of the data, and an important property of the model is studied.In Sections 4, traffic-flow data from Canada is used for the fitting analysis in the empirical study.The conclusion of this study is discussed in Section 5.

Basic Concepts and Properties of Mechanics in the Data Column
Inertia is the temperament of the mass quality of the reaction material, and it is also the property of the energy system.The social, economic, technical, military, transportation, ecology, and agriculture are generalized energy systems.This section mainly introduces the basic concepts and mechanical properties of the mechanics in the data column.
Definition 1 (see [21]).Regarding distance, the following definitions are given: (1) The measure of the position difference between two points is called distance.(2) Let F be a proposition.The distance measure under F is the journey length.
Let F be the proposition.The distance measure under F becomes as follows: (1)  is called the incentive coefficient of the sequence  (0) , (2) , which is the inverses of , is called the inertial coefficient of the sequence  (0) , where  = 1/, (3) () is called the external force of the sequence  (0) at the th moment (zone).
(1) If the external force () of  (0) at point  satisfies () = (), then  = 1.This relationship is called the unit-incentive relationship, and the external force sequence  under  = 1 is called the external force sequence of unit incentive.
(2) If () = () under the criterion R, that is,  = , then we call the relationship the incentive relationship corresponding to the incentive external force sequence .
According to [21], theorems related to the forcedecomposition transform can be stated as follows.

Inertia Nonhomogenous Discrete Gray Model (INDGM)
The gray model is one of the core components of gray system theory.It is characterized by its simple calculation, which is superior to traditional prediction methods.
The nonhomogenous discrete gray model (NDGM) is constructed based on the approximate nonhomogenous index trend.This section introduces the relevant information about the NDGM and inertia nonhomogenous discrete gray model.

Inertia Nonhomogenous Discrete Gray Model (INDGM).
Assuming that sequence  (0) is defined by (15), the acceleration sequence is defined as follows: and the acceleration sequence can be represented as where with Proof.Definition 11 and ( 29)-( 34) can be substituted into the expressions for Δ 0 and Δ 1 .Then Δ 0 = 0, Δ 1 = 0. From Definition 11, parts (1) and ( 2), it is clear that the competency model and the first-order inertia model of the NDGM inertia model do not exist.
Theorem 13.The TINDGM is equivalent to the NDGM.
Proof.From the definition of the structure parameters of the NDGM, From ( 32)-( 35), the TINDGM is equivalent to the NDGM, which is equivalent to the NDGM.Thus, TINDGM is equivalent to the NDGM.
From Definition 11, the four INDGM are named according to the magnitude of the exponent  of the inertial coefficient.The exponent of the inertia coefficient  is closely related to the mechanical decomposition of the data.Meanwhile, from Theorem 12, the competency model and the FINDGM of the inertia NDGM do not exist, and from Theorem 13, the TINDGM is equivalent to the NDGM.Thus, from the point of view of the mechanical decomposition of the data, the classical NDGM is an evolutionary process with four inertial models, from the competency model, the FINDGM, and the SIDGM to the TINDGM; however, the FINDGM and SINDGM do not exist, which implies that there does not exist a mechanical decomposition like this for the NDGM.At the same time, the modeling mechanism of the NDGM is obtained according to the data mechanical-decomposition process of the exponent of the inertia coefficient  from low to high.

Theorem 14. The restored value of the INDGM is
where The same sequence  (0) has different meanings under different thoughts and processes of things.At the same time, the data have different mechanical decompositions, depending on the data source.Next, we examine whether changes in the inertia coefficient  for the same data affect the accuracy of the model.

Theorem 15.
For the same sequence  (0) and different decompositions of the data, the second-order parameters of the component parameters , , , , ,  and structure parameters (Δ  1 , Δ  2 , Δ  3 , Δ) of the model will change, but the values of the model parameters ( 1 ,  2 ,  3 ),  = 0, 1, 2, 3 are invariant; that is, the simulation accuracy of the model is not influenced by the choice of decomposition.
According to the modeling mechanism of the proposed INDGM, the flow chart of the new model is presented in Figure 1.

Numerical Example of the INDGM
Short-term traffic prediction is one of the well-developed areas in transportation.The prediction models in traffic as well as other fields are switching towards data intensive artificial intelligence models or expert systems.In this section, taking the data of traffic flow on Whitemud Drive in Canada as the original data, the simulation results of the INDGM are empirically analyzed.

Traffic-Flow State Division.
Traffic-flow characteristics can be described by the traffic-flow status, and different states of traffic flow show different characteristics.Based on the study of the traffic-flow parameter model and traffic-flow characteristics, the traffic-flow states can be divided into freeflow state, congested-flow state, and blocking-flow state.The traffic characteristics of the three traffic states are as follows.
Under the free-flow state, the traffic-flow rate is small, the road on which the vehicle is driving is unaffected or mildly affected by other vehicles, and the vehicle can maintain a high speed.
Under the congested-flow state, the speed of the vehicle is restricted by the front, but the traffic-flow state is relatively stable, and itself has a certain anti-interference ability.The traffic-flow rate in this state can reach the maximum, but when traffic demand continues to increase, traffic flows produce greater volatility and the traffic-flow rate drops significantly.
Under the jam-flow state, the traffic density is high, speed is restricted strictly by the front, vehicle freedom is small, speed stability is poor, and there is greater volatility.When the traffic-flow rate continues to increase, traffic will exhibit a stop-and-go phenomenon.working days, traffic is in the free-flow state and the free flow has large fluctuations and a steady state.On the working day, there is a significant increase in traffic flow compared to the nonworking day, and there is a congested-flow state, in which the congested flow also fluctuates greatly and smoothly.
From Table 1, the first eight data of August 23, 2015, 12:00-14:00, are used for the simulation, while the 4th data are used as a prediction.The following steps are carried out.
Step 1. Data calculation process: the original data are listed as follows: According to the TIDGM model, we have (65) Step 5.The value of the parameter obtained in Step 4 is substituted into (44): x (66) Step 6. Calculate the simulation values, predictions, and errors.
Substitute the results of Step 5 into (43), and calculate the simulation and predictive values x(0) () for  (0) (), which is the original data of Step 1. MAPE is defined as where  (0) () is the original data and x(0) () is the simulation and predictive values.
The simulation/prediction values and absolute percentage errors for the SINDGM and TINDGM are shown in Table 2.
According to Table 2, the results of the SINDGM and TINDGM for nonworking days of the two time periods of traffic simulation and prediction are good; the best simulation result is up to 0.0248, and the best predictive result is up to 0.0426.Although both are in free-flow states, the amounts of traffic fluctuation are not the same.When the vehicle flow fluctuates greatly, the simulation effect and the prediction effect of the TINDGM are better.When the vehicle flow is relatively stable, the simulation effect and prediction effect of the SINDGM are better than those of the TINDGM.Therefore, when the traffic flow is in the free-flow state and the vehicle flow fluctuates greatly, the TINDGM can be used; when the vehicle flow is relatively stable, the TINDGM can be used.The absolute simulation and prediction percentage errors in Table 2 of the above four models for Canada's traffic flow are illustrated in Figure 2.
Similarly, the above steps are also applied to other sets of data in Table 1.The simulation/prediction values and absolute percentage errors for the SINDGM and TINDGM are shown in Table 3.
According to Table 3, in the two periods, the vehicle flow is in the congested-flow state on the working day.When the vehicle flow fluctuates less in the congested-flow state, the simulation effect and prediction effect of the SINDGM are better than those of the TINDGM.When the vehicle flow   fluctuates greatly, the simulation effect and prediction effect of the SINDGM are better than those of the TINDGM.
Based on the data in Table 3, the absolute simulation and prediction percentage errors of the above two models for Canada's traffic flow are illustrated in Figure 3.
According to Tables 2 and 3 and Figures 2 and 3, general conclusions can be drawn.In the free-flow or congested-flow state, when the vehicle flow is relatively stable, the SINDGM is used to simulate and predict, and when the vehicle flow fluctuates greatly, the TINDGM is used to simulate and predict.

4 :
Data preparation (collecting raw data set)Step 1: Calculate the mechanical factors of the original data columnStep 2: Data processing Calculate the secondary parameters of the component parameters Minimum of one dependent variable meets the degree of gray incidence with the independent variable?Step3: Data processing Calculate the secondary parameters of the structural parameters Step 5: Compute the FINGM and TINGM Step 6: Compute the simulation values and predicted values Compute the mean absolute percentage error Select the model with higher accuracy Estimate model parameters 훽 1 , 훽 2 , 훽 3 and 훽 4

Step 4 .
The values obtained in the second and third steps are substituted into the SIDGM:  1 = 0.19468,  2 = 91.80648,Complexity 13

Table 1 .
According to Table 1, the Canadian traffic-flow data show that Canada's traffic flow is generally only in two states, the free-flow state and congested-flow state, and the jamflow state is generally rare.It can be observed that, on the

Table 1 :
Four sections of a road traffic flow in Canada on August 23 and on August 28.

Table 2 :
Comparison of simulative and predictive results between the SINDGM and TINDGM for August 23.

Table 3 :
Comparison of simulative and predictive results between the SINDGM and TINDGM for August 28.