Artículos
Received: 02 October 2022
Accepted: 20 February 2023
Published: 01 April 2023
DOI: https://doi.org/10.18273/revuin.v22n2-2023006
Abstract: In this document we will study and solve the nonlinear partial differential equation, with initial conditions for vehicle entry that serves to model the dynamics of traffic flow. To find a numerical solution to the dynamics that govern the behavior of traffic flow, the Finite Element Method in a spatial dimension was used. In accordance with the temporal dynamics, simulations were developed to know the flow in terms of time. The numerical solution is interesting for predicting the number of vehicles at the entrance to a high-flow road. Some theorems are enunciated that guarantee the existence of the solution and the uniqueness is given by the boundary conditions.
Keywords: Combination linear, dirichlet conditions, neumann conditions, robin conditions, contour, partial differential equation, traffic Flow, positive semidefinite matrix, finite element method, numerical solution, tridiagonal.
Resumen: En este documento estudiaremos y resolveremos la ecuación diferencial parcial no lineal, con condiciones iniciales de entrada de vehículos que sirve para modelar la dinámica del flujo de tráfico. Para encontrar una solución numérica de la dinámica que gobierna el comportamiento del flujo de tráfico, se usó el Método de Elementos Finitos en una dimensión espacial. De acuerdo con la dinámica temporal se desarrollaron simulaciones para conocer el flujo en términos del tiempo. La solución numérica resulta interesante para la predicción de la cantidad de vehículos a la entrada de una vía de alto flujo. Se enuncian algunos teoremas que garantizan la existencia de la solución y la unicidad viene dada por las condiciones de contorno.
Palabras clave: Combinación lineal, condiciones de Dirichlet, condiciones de Neumann, condiciones de Robin, contorno, ecuación diferencial parcial, flujo de tráfico, matriz semidefinida positiva, método de elementos finitos, solución numérica, tridiagonal.
1. Introduction
The dynamics of traffic flow have been extensively studied in the literature. The conservation equations of the model (dynamics) come from a nonlinear partial differential equation. The solution develops under the initial conditions of the vehicle input density [1]. These initial conditions allow decoupling each of the equations for each input and solving independently. The function that determines the initial condition for the one-dimensional problem is known and defined on the solution interval, giving the solution to the Cauchy problem [2], [3]. Velocity is a function that depends on density. This scalar conservation law must be complemented with adequate initial conditions and with boundary conditions as developed in this document.
Traffic flow models and simulation tools are often used for traffic state estimation and prediction [4]. Traffic flow models such as the kinematic-wave model, "higher order" models, and car tracking models are more or less accurate representations of reality. In a simulation tool, the model equations are solved using numerical methods, again with near precision. On the other hand, the development of the finite element method in a spatial dimension allows calculating, from the point of numerical analysis, a system of linear equations that allows finding the value or prediction of flow in each of the points in space. The system of linear equations has the property of forming a tridiagonal positive semidefinite matrix whose inverse does not entail a higher computational cost. The formulation of the numerical solution to the traffic problem is obtained by comparing it to the fluid mechanics problem, reaching highly accurate results [5], [6]. By the similarity between fluid dynamics, traffic flow dynamics, and Newton's second law, the one-dimensional finite element method for velocity estimation is proposed as a numerical solution as an application of motion fluids mechanics [7]. Due to the nonlinearity in the temporal variable, the behavior of the solution from specific points of the spatial variable is evaluated in several temporal lines.
The theorems that allow us to guarantee the existence and uniqueness of the solution given by the Dirichlet [8], [9], [10], Robin [11] and Neumann boundary conditions will be presented in section 2 of this document.
2. Content
2.1. Problem model
In the domain Ω=(𝑥0,𝑥𝑛), find 𝑢 with 𝑢(𝑥0)=𝑢(𝑥𝑛)=𝑢𝑐 for a given function 𝑓, such they satisfy the Dirichlet initial conditions.

Dirichlet minimization statement [5].

To find 𝜙 ∈𝑋 such that:

Noticing,

Should be minimized,

Without losing generality, for any 𝑙(𝑣) ∈ 𝐻−1(Ω), then it is required to find 𝑢 ∈𝐻01(Ω) [6] such that:

For example, 𝑙(𝑣)=〈𝛿𝑥0,𝑣〉=𝑣(𝑥0) is admissible.
With the regularity theorems for boundary problems, the model takes the following form [7]:
Theorem 1. Let Ω∈ ℝ𝑛 be an open of class 𝐶2 with bounded frontier, 𝑢 ∈𝐿2(Ω) and 𝑓 ∈𝐻01(Ω) be the solution of the Dirichlet problem. So, 𝑓 ∈𝐻02(Ω) given the fact that:

With a constant 𝐶>0 that only depends on Ω.
Furthermore, if Ω is of class 𝐶𝑚+2 and 𝑢 ∈𝐻𝑚(Ω), with 𝑚≥1 integer, then 𝑓 ∈𝐻𝑚+2(Ω) and there is a constant 𝐶𝑚>0 that only depends on 𝑚 and 𝛺, in such a way that:

If we have that 𝑚 > 𝑛/2 then 𝑓 ∈ 𝐶2() giving way to the following two theorems given the initial conditions of the problem [11].
Theorem 2. Let Ω ∈ ℝ𝑛 be an open of class 𝐶2 with bounded frontier, 𝑢 ∈ 𝐿2(Ω) 𝜎 ∈ 𝐶2(𝛺̅) and 𝑓 ∈ 𝐻01(𝛺) be the solution to the Robin problem. So, 𝑓 ∈ 𝐻20(𝛺) given the fact that:

With a constant 𝐶 > 0 that only depends on Ω.
On the other hand, if Ω is of class 𝐶𝑚+2 and 𝑢 ∈ 𝐻𝑚(Ω) and 𝜎(𝑥) ∈ 𝐶𝑚+1(𝛺̅), with 𝑚 ≥ 1 integer, then 𝑓 ∈ 𝐻𝑚+2(Ω) and there is a constant 𝐶𝑚 > 0 that only depends on 𝑚 𝑦 𝛺, such that:

If 𝑚 > 𝑛/2 then 𝑓 ∈ 𝐶2(), giving way to the following two theorems given the initial conditions of the problem [12].

If we have 𝑚 > then 𝑢 ∈ 𝐶2 ().
Theorem 3. Let Ω ∈ ℝ𝑛 an open of class 𝐶2 with bounded, 𝑢 ∈𝐿2(Ω) and 𝑓 ∈𝐻01(𝛺) the solution of the Neumann problem. So, 𝑓 ∈𝐻02(𝛺) given the fact that:

With a constant 𝐶>0 that only depends on Ω.
Furthermore, if Ω is of class 𝐶𝑚+2 and 𝑢 ∈𝐻𝑚(Ω), with 𝑚≥1 integer, then 𝑓 ∈𝐻𝑚+2(Ω) and there is a constant 𝐶𝑚>0 that only depends on 𝑚 and 𝛺, such that:

If we have that m>n/2 then f 6 C2( ), giving way to the following two theorems given the initial conditions of the problem [13].
2.2. Solution using finite elements
The domain is discretized through the triangulation 𝑇ℎ, in the space of 𝑋ℎ where it is generated by the basis 𝑋ℎ=𝑠𝑝𝑎𝑛{𝜑1,…,𝜑𝑛} [14], [15], [16].
Be

Set uhj such that:

Since any v ∈ Xh can be written as a linear combination of the form:

Knowing that:
, then we have:

Written in matrix form, we get:

Taking the following expansion, the above equations (24) can be developed as follows:

We have:

Then taking:

We have:

And so on 𝑣𝑡𝐴ℎ𝑢ℎ = 𝑣𝑡𝐹ℎ, ∀𝑣 ∈ ℝ𝑛 , with 𝐴ℎ𝑢ℎ = Fh
The elements of the Matrix 𝐴ℎ [17] are constructed with 𝜑𝑖 as linear functions (Figure 1) and the derivatives of for i=1 without losing generality (Figure 2).
The Ahij elements are given by:

The nonzero elements are j = i - + 1


The border lines

The formation of the elements of the Ah matrix characterizes this matrix as being positive definite [18] (Ah> 0), diagonally dominant, sparse, and tridiagonal as shown below:

The "charge" vectors are constructed in the general case as:

Figure 3 describes the integration of 𝑓 on 𝑖 𝑒 𝑖 + 1. On the other hand, we have that 𝑢ℎ ∈ ℝ𝑛 satisfies:


To form the orthogonal basis of linear functions, we have the “mass” matrix, which has the property 𝑀ℎ ∈ ℝ𝑛𝑥𝑛 ≻ 0 to be positive semidefinite [19], the terms of this matrix are obtained by integrating the functions in a way, like this:

If 𝑣 ≠ 0, then 𝜑𝑖 are the bases in linear form. Therefore, for linear elements the nodal linear basis is given by the “mass” matrix [20]:

In the temporary variable it is discretized with the recurrence equation:

In the case of linear basis elements with equal time division, the finite element approximation provides a coupled linear system of equations for each of the 𝑓𝑖 with 𝑖 = 2, … , 𝑛. In this way we arrive at the numerical solution of the finite element expansion, as shown below:

3. Analysis and results
Figure 4 shows the dynamics of the density. In the case study of this document, this function is taken as the initial condition for the Cauchy problem, posed through equations (9) and (24).


v is the known velocity (initial conditions), and u is the density (vehicles/m).
The behavior of the velocity at different points in the spatial domain is shown in Figure 5, i.e., (t,x),(t,0) blue curve, (t, 1) black curve, (t, 5) green curve, and (t, 10) red curve.

Using Figure 6, the numerical solution of the density of vehicles per meter can be verified. This solution is subject to the initial conditions established by the function proposed in Figure 4.

4. Conclusions
Due to the velocity limit that must be met for the theorems outlined in this document, the solution is bounded between 0 and 1 vehicles/meter as shown in Figures 4 to 6. On the other hand, the non-linear solution given by the temporal variable is estimated by means of finite elements for 5 specific points in the space of the velocity dynamics.
The theorems described above are satisfied if Ω = ℝ𝑛 and the solution obtained by any numerical method converges to the initial conditions and meets the initial conditions determined according to the problem posed (Dirichlet, Robin, or Neumann).
Due to the velocity of propagation, to solve the Cauchy problem for traffic flow in a whole network, it is proposed to build a local solution in a neighborhood. The solution found meets the conditions of the problem posed with equations (9) and (24) and the numerical solution given by equation (39).
References
F. Pérez, A. Bautista, M. Salazar, A. Macías, “Analysis of vehicular traffic flow using a macroscopic model”, DYNA, vol. 81, no 184, pp. 36-40, 2014, doi: https://doi.org/10.15446/dyna.v81n184.38650
N. A. Gasilov, Ş. E. Amrahov, “On differential equations with interval coefficients”, Mathematical Methods in the Applied Sciences, vol. 43, pp. 1825-1837, 2020, doi: https://doi.org/10.1002/mma.6006
E. Zadobrischi, L. M. Cosovanu, M. Dimian, “Traffic Flow Density Model and Dynamic Traffic Congestion Model Simulation Based on Practice Case with Vehicle Network and System Traffic Intelligent Communication”, Symmetry, vol. 12, pp. 1-19, doi: https://doi.org/10.3390/sym12071172
S. Mollier, M. Delle, C. Canudas-de-Wit, B. Seibold, “Two-dimensional macroscopic model for large scale traffic networks”, Transportation Research Part B: Methodological, vol 122, pp.309-326, 2019, doi: https://doi.org/10.1016/j.trb.2019.02.016
Y. Wanga, W. Y. Szeto, K, Han, T. L. Friesze, “Dynamic traffic assignment: A review of the methodological advances for environmentally sustainable road transportation applications”, Transportation Research Part B: Methodological, vol. 111, pp. 370-394, 2018, doi: https://doi.org/10.1016/j.trb.2018.03.011
K. Han, H. Liu, V.V. Gayah, T.L. Friesz, T. Yao, “A robust optimization approach for dynamic traffic signal control with emission considerations”, Transportation Research Part C: Emerging Technologies, vol. 70, pp. 3-26, 2016, doi: https://doi.org/10.1016/j.trc.2015.04.001
Z. Luo, F. Teng, “An effective finite element Newton method for 2D p-Laplace equation with particular initial iterative function”, Journal of Inequalities and Applications, vol. 281, pp. 1-24, 2016, doi: https://doi.org/10.1186/s13660-016-1223-9
Alberto Bressan, Khai T. Nguyen, “Conservation Law Models for Traffic Flow on a Network of Roads. Research Penn State”, Networks and Heterogeneous Media, vol. 10, pp. 255-293, 2014, doi: https://doi.org/10.3934/nhm.2015.10.255
J. Ma, J. Cui, “Traffic Flow Density Distribution Based on FEM”, Physics Procedia, vol. 25, pp. 939-944, 2012, doi: https://doi.org/10.1016/j.phpro.2012.03.181
H. Brézis, “Analyse fonctionelle. Théorie et applications”, Sciences Sup, Dunod, París, 1983.
K. Han, T. L. Friesz, T. Yao. “A partial differential equation formulation of Vickrey’s bottleneck model, part I: Methodology and theoretical analysis”, Transportation Research Part B: Methodological, vol. 49, pp. 55-74, 2013, doi: https://doi.org/10.1016/j.trb.2012.10.003
C. Marschler, J. Sieber, P. G. Hjorth, J. Starke, “Equation-Free Analysis of Macroscopic Behavior in Traffic and Pedestrian Flow”, SIAM J. Appl. Dyn. Syst., vol.13, pp. 1-17, 2014, doi: https://doi.org/10.1007/978-3-319-10629-8_48
X. M. Chen, L. Li, Q. Shi, “Stochastic Evolutions of Dynamic Traffic Flow: Modelling and Application”, Berlin: Springer-Verlag, 2015, doi: https://doi.org/10.1007/978-3-662-44572-3
F. Li, Wenyong Li, F. Xie. “Study on Finite Element Model of Traffic Flow based on Weighted Residual Method”, Procedia Engineering, vol. 24, pp. 495-499, 2011, doi: https://doi.org/10.1016/j.proeng.2011.11.2683
F. V. Wageningen-Kessels et al, “Numerical diffusion in traffic flow simulations: Accuracy analysis based on the modified equation method”, 11thTrail Congress “Connecting people, Integrating expertise”, Netherlands, 2010, pp. 1-4.
M. Makridis, A. Anesiadou, K. Mattas, G. Fontaras, C. Biagio, “Characterising driver heterogeneity within stochastic traffic simulation”, Transportmetrica B: Transport Dynamics, pp. 1-19, doi: https://doi.org/10.1080/21680566.2022.2125458
S. M. Hossein Hosseini, M. Merkel, A. Öchsner, “Finite element simulation of the thermal conductivity of perforated hollow sphere structures (PHSS): Parametric study”, Materials Letters, vol. 63, pp. 1135-1137, 2009, doi: https://doi.org/10.1016/j.matlet.2008.10.009
P. Y. Li, R. Horowitz, L. Alvarez, J. Frankel, A. M. Robertson, “Traffic flow stabilization,” Proceedings of 1995 American Control Conference - ACC'95, Seattle, 1995, vol. 1, pp. 144-149, doi: https://doi.org/10.1109/ACC.1995.529225
F. V. Wageningen-Kessels, T. Schreiter, J.W.C. Lint, S. Hoogendoorn, “Modelling Traffic Flow Phenomena”, 2ndInternational Conference on Models and Technologies for Intelligent Transportation Systems, Lovaina, 2011, vol. 22-24, pp. 1-4.
F. V. Wageningen-Kessels, H. Lint, K. Vuik, S. Hoogendoorn, “Genealogy of traffic flow models”, EURO J Transp Logist, vol. 4, pp. 445-473, 2015. https://doi.org/10.1007/s13676-014-0045-5
Notes
Author notes
aEmails: femesa@utp.edu.co; bdmdevian@utp.edu.co
Conflict of interest declaration