A Nonlinear Mathematical Model for Dynamic Traffic Flow Optimization: A Stem Innovation

Abstract

This paper aims to develop a model of road traffic dynamics. The Heat-powered vehicle is modeled as a highly complex, controlled dynamic system whose 3D motion considers kinematic, dynamic, and rotational contributions. An objective function to optimize traffic flow is proposed. An additional assumption of mass variation of the thermal vehicle in motion is added to the fundamental principle of dynamic mechanics formulated by Sir Isaac Newton. A set of constraints related to dynamics, kinematics, control, and comfort is taken into consideration. A set of intercoupled nonlinear differential equations governs the formulation of this problem. A Runge-Kutta discretization RK4 is required to solve the problem. A Mathematical Programming Language AMPL and the Interior Point OPTimizer IPOPT solver are used to extract solutions. The numerical results confirm the assumption of mass variation and a considerable improvement in traffic fluidity.

Share and Cite:

Bigirimana, M. , Nahayo, F. , Haddou, M. and Niyongere, A. (2025) A Nonlinear Mathematical Model for Dynamic Traffic Flow Optimization: A Stem Innovation. Open Journal of Optimization, 14, 131-146. doi: 10.4236/ojop.2025.144008.

1. Introduction

The problem of planning, managing, and optimizing road traffic takes as its starting point the modeling of various systems involving the maintenance of state and the control of vehicle movement. Overall, road Traffic is made up of two components such as the road infrastructure and the mobiles.

To gain a deeper understanding of the vehicle on the road infrastructure, we wish to optimize safe driving conditions; the vehicle system modeling stage is fundamental [1].

Here are two aims of this work. Firstly, to meet the growing demand for road infrastructure capacity through the efficient or optimal use of existing road infrastructure. This means optimizing the inverse function of road congestion, also known as the traffic fluidity function [2] [3]. On the other to establish the dynamic equations characterizing the temporal evolution of the various variables involved in the dynamic modeling of the thermal vehicle system. This means knowledge of a mathematical model made up of a set of differential equations of motion representing physical phenomena is necessary for the representation and analysis of vehicle dynamics and the design of control laws, comfort, and safety [4]. The thermal vehicle interacts with the external environment through the driver and the road. Both play an important role but are difficult to control.

In this paper, we study the overall motion of the thermal vehicle with all its components. For acceleration and braking movements, it is often important to consider the vehicle as a rigid body, characterized by its center of mass, its mass, and its tensor of inertia of the moments of external forces [4] [5]. The model developed in this work is a complex, controlled nonlinear problem, leading to a system of inter-coupled nonlinear differential equations. A nonlinear software, namely Interior Point OPTimizer solver coupled with AMPL, is used to extract optimal dynamic solutions of the nonlinear problem of road traffic optimization. Matlab software is used as an interface for graphical visualization of optimal solutions.

The dynamic system of these nonlinear differential equations, the road traffic fluidity function and the numerical 4th-order Runge-Kutta discretization method are presented in sections 2 and 3, respectively, while the numerical results are presented in section 4.

2. Mathematical Formulation of the Road Traffic

In this section, we model the dynamics of heat-powered vehicle and traffic flow function to be optimized.

Here, the thermal vehicle is considered as a rigid solid with a fixed center of gravity and a variable mass when moving [6]. The equations of motion of a rigid body are obtained from Newton’s second law. The variation in mass can be due to several factors influencing the vehicle system, such as engine propulsion, fuel consumption, and the addition of driver, passengers, and luggage, all of which have a non-negligible effect on the total mass of the vehicle.

The vehicle is then modeled as a highly complex dynamic system taking into account translation and rotational movements and its dynamics are influenced by the contributions of aerodynamic drag forces, longitudinal forces, frictional forces and gravitational forces. See Figure 1 [7].

Figure 1. An overview of the three-dimensional movement of the vehicle body [7].

2.1. Dynamic Modelling of Thermal Vehicle System

Various reference frames can be employed for the modeling and analysis of the motion of vehicle, but in reality, three reference frames are used to derive the equations of motion for vehicle mechanics [8]. Now, the 3D motion of the thermal vehicle is then studied in three 3D reference frames, respectively called the mobile frame R G ( G, X G , Y G , Z G ) associated with the vehicle’s center of gravity G ; aerodynamic frame R a and the inertial frame fixed to the ground R O ( O, X O , Y O , Z O ) . The transition from the inertial frame R O to the moving frame R G is carried by a matrix R known as the rotation operator [5] [6].

The equations describing the dynamics of the thermal vehicle system are summarized in Isaac Newton’s two principles, to which we add the hypothesis of variation in the mass of the moving vehicle [1] [9]:

F ext dm dt v a =m v ˙ a , M F ext =J( G, V eh ) dΩ dt (1)

In the above system, F ext are the external forces acting on the moving vehicle, m( t ) is the mass of the vehicle, v a is the aerodynamic speed of the vehicle, J( G, V eh ) is the inertial matrix of the vehicle and Ω is the rotation speed vector of the vehicle in three directions, as shown in Figure 1.

The relations between the derivatives in the R G frame and R O are given by the following fundamental relation of dynamics or Poisson’s formula [9] [10]:

dr dt | R O = dr dt | R G + Ω R G / R O r (2)

where dr dt | R O is the derivative with respect to time of the vector r in the inertial frame R O , dr dt | R G is the derivative with respect to time of the vector r in the vehicle frame R G , Ω is the angular velocity of the vehicle and Ω R G / R O is the angular velocity R G with respect to R O [9].

The relation (2) means that the derivation is made considering an observatory attached to the R O frame but the equations are written in the R G frame. A second-time derivation and then multiplying the two members of the fundamental Equation (2) by the mass m( t ) of the vehicle, and under the additional assumption that the mass of the vehicle varies only in the R G frame, we obtain the following dynamic system:

{ m ˙ = ( C cse ×τ×[ P i v e LH V fuel η m η c +( p 0 p e ) A e ] ) 1 2 v ˙ a = 1 2m ρ A f C a ( v a + v wind ) 2 + C r gcosθ γ ˙ a = m ˙ 2 m 2 ρ A f C a ( v a + v wind ) 2 + 1 m ρ A f C a v ˙ a ( v a + v wind ) C r g θ ˙ sinθ u ˙ = 1 m [ mgsinθ 1 2 ρ A f ( u+ u w ) 2 C x C r mgcosθ+ F x m ˙ um( qwrv ) ] v ˙ = 1 m [ mgcosθsinϕ+ 1 2 ρ A f ( v+ v w ) 2 C y + F y m ˙ vm( rupw ) ] w ˙ = 1 m [ mgcosθcosϕ+ 1 2 ρ A f ( w+ w w ) 2 C z + F z mgcosθ m ˙ wm( pvqu ) ] p ˙ = C AC D 2 [ 1 2 ρ A f t ( u+ u w ) 2 C l +( BC )qr+Dpq ] + D AC D 2 [ 1 2 ρ A f L ( w+ w w ) 2 C n +( AB )pqDqr ] q ˙ = 1 B [ 1 2 ρ A f L ( v+ v w ) 2 C m +( CA )prD( p 2 r 2 ) ] r ˙ = A AC D 2 [ 1 2 ρ A f L ( w+ w w ) 2 C n +( AB )pqDqr ] + D AC D 2 [ 1 2 ρ A f t ( u+ u w ) 2 C l +( BC )qr+Dpq ] ϕ ˙ =p+qtanθsinϕ+rtanθcosϕ, θ ˙ =qcosϕrsinϕ, ψ ˙ =q sinϕ cosθ +r cosϕ cosθ X ˙ G o =ucosψvsinψ, Y ˙ G o =ucosψ+vsinψ, Z ˙ G o =w (3)

where ψ , θ and ϕ are yaw, roll and pitch angles of the vehicle. A= I xx , B= I yy , C= I zz and D= I xz are the moments of inertia of the vehicle. C cse is the specific consumption coefficient of the vehicle. τ and v e are respectively the coefficient of performance and the gas ejection velocity relative to the engine. P i is the power injected into the engine, LH V fuel is the calorific power of the fuel. η m and η c are respectively the engine’s mechanical efficiency and the fuel’s combustion efficiency, p e and p 0 are respectively the exhaust gas pressure at the engine outlet and the ambient atmospheric pressure. A e is the exhaust gas surface area, ρ is the air density, A f is the frontal area of the vehicle and t is the vehicle width [11] [12]. C r is the rolling resistance coefficient, C a = C a,0 +k( A f / A ref ) is the coefficient of aerodynamic force, k is a correction factor depending on specific vehicle characteristics, A ref is a standard reference surface used to normalize A f [13]-[15]. C x = C x,0 +k( L/H ) , C y = C y,0 ( t/L )sinψ , and C z = C z,0 + k 1 ( A roof / A f )+ k 2 ( A spoiler / A f ) are longitudinal, lateral and vertical force coefficients. k 1 and k 2 are correction factors for roof shape and aerodynamic devices, A roof is the roof area and A spoiler is the spoiler area [1] [5] [14] [15]. C l = C l,0 + k l ( h/t ) , C m = C m,0 + k m ( d/L ) and C n = C n,0 + k n ( L/t ) are rolling, pitching and yawing moment coefficients, h is the height of the vehicle’s center of gravity, d is the distance between the center of pressure and the center of gravity, k m and k n are the pitching and yawing moment correction factors [5] [11] [15].

2.2. Constraints Formulation

The constraints arising from the modeling of our problem concern constraints on the safety of the vehicle, driver and passengers on board, technological constraints, operational constraints, speed, roll angle, yaw angle and control position. These constraints are expressed in terms of the following boundary conditions [9]:

1) Longitudinal vehicle position is bounded by X 0 o X G o X f o where X 0 o , X f o are longitudinal position limits. The lateral vehicle position is bounded by Y 0 o Y G o Y f o where Y 0 o , Y f o are lateral positions limits and the vertical vehicle position is bounded by Z 0 o Z G o Z f o where Z 0 o , Z f o are the vertical positions limits.

2) The aerodynamic velocity of the vehicle v a must be bounded by v min v a v max where v min and v max are limits of the vehicle aerodynamic velocity. Vehicle acceleration γ a is given by a min γ a a max where a min and a max are limits of the vehicle acceleration.

3) Constraints on longitudinal velocity of the vehicle u min u u max , lateral velocity of the vehicle v min v v max and vertical velocity of the vehicle w min w w max .

4) Constraints on vehicle roll speed p 0 p p f , vehicle pitching speed q 0 q q f and the vehicle yaw rate r 0 r r f should also be taken into account. Nautical angles also vary: roll angle θ[ θ 0 , θ f ] , pitch angle ϕ[ ϕ 0 , ϕ f ] and yaw angle ψ[ ψ 0 , ψ f ] .

5) Command δ( t ) of the vehicle is bounded between the limits δ x 0 and δ x f for thrust control, δ l 0 and δ l f for roll control, δ m 0 and δ m f for pitch control and δ n 0 and δ n f for yaw control.

6) The vehicle mass varies in the mobile frame: m f m m 0 . This constraint results in fuel consumption, the thrust of the vehicle and the addition of passengers or goods [9].

On the whole, the constraints come together in the following connection:

l 1 ( y,δ )0, l 2 ( y,δ )0 (4)

where l( t ): 15 × 4 15 ×U,( y,δ )l( y,δ )

l 1 ( y,δ )=( m( t ) m f , v a ( t ) v af , γ a ( t ) γ af ,u( t ) u f ,v( t ) v f ,    w( t ) w f ,p( t ) p f ,q( t ) q f ,r( t ) r f ,θ( t ) θ f ,ϕ( t ) ϕ f ,    ψ( t ) ψ f , X G o ( t ) X f o , Y G o ( t ) Y f o , Z G o ( t ) Z f o     δ x ( t ) δ x f , δ l ( t ) δ l f , δ m ( t ) δ m f , δ n ( t ) δ n f )

l 2 ( y,δ )=( m( t ) m 0 , v a ( t ) v a0 , γ a ( t ) γ a0 ,u( t ) u 0 ,v( t ) v 0 , w( t ) w 0 ,p( t ) p 0 ,q( t ) q 0 ,r( t ) r 0 ,θ( t ) θ 0 ,ϕ( t ) ϕ 0 , ψ( t ) ψ 0 , X G o ( t ) X 0 o , Y G o ( t ) Y 0 o , Z G o ( t ) Z 0 o δ x ( t ) δ x 0 , δ l ( t ) δ l 0 , δ m ( t ) δ m 0 , δ n ( t ) δ n 0 )

2.3. Objective Function Formulation

The main goal of this work is to optimize the fluidity of road traffic. This flow traffic function is defined as the measure of a road network’s ability to allow for the efficient and uninterrupted movement of vehicles. This function promotes smoother traffic flow. High fluidity implies rapid and unimpeded movement, while low fluidity indicates congestion, frequent stops, and interruptions in the flow of traffic.

To model the traffic fluidity function, we introduce V( y,t ) as the total circulation speed of the flow of vehicles, which takes into account the contributions of the components of the aerodynamic speed transformed by the aerodynamic angles together with the effects of rotation [16]-[18]. The traffic fluidity function is then modeled as follows:

J( y,δ,t )= 1 v max 2 R( ϕ,θ,ψ ) v a +Ω× r G o 2 +g( y,δ ), (5)

where R( ϕ,θ,ψ ) is the rotation matrix, v a = ( u,v,w ) T is the vehicle aerodynamic speed, Ω= ( p,q,r ) T is the vehicle rotation speed vector and r G o = ( X G o , Y G o , Z G o ) T is the vehicle position in the mobile frame R G relative to the observator frame R O , g( y,δ )= δ 2 δ max 2 is the control price function [17] [19], and y=( m, v a , γ a ,u,v,w,p,q,r,θ,ϕ,ψ, X G o , Y G o , Z G o ) is the state vector.

The form (5) above is chosen as the most suitable in the concept of traffic optimization because it takes into account aerodynamics, which influences the dynamic performance of the vehicle in traffic; the vehicle orientation matrix, which allows for changes in direction and inclination, essential for smooth movement in varied conditions; and the costs associated with control decisions.

The conceptual definition of traffic fluidity and the mathematical form (5) allow for effective modeling of traffic dynamics while incorporating practical and theoretical considerations, making it a valuable tool for traffic optimization. To support this approach, we can refer to pioneering works that laid the foundations for traffic flow by linking speed to traffic density and mathematical models that link speed and density, reinforcing the idea that traffic flow is a function of these parameters [20] [21].

2.4. Explicit Formulation of the Road Traffic Flow Dynamics

By combining dynamic modelling (3), constraints formulation in section 1 and the objective function (5), the nonlinear mathematical traffic optimization model is given as follows:

max ( y,δ ) ad 15 × U ad J( y,δ,t )= 1 v max 2 R( ϕ,θ,ψ ) v a +Ω× r G o 2 + δ 2 δ max 2

s.c:{ m ˙ = ( C cse ×τ×[ P i ( v e + α 1 δ x ) LH V fuel η m η c +( p 0 p e ) A e ] ) 1 2 v ˙ a = 1 2m ρ A f C a ( v a + v wind ) 2 + C r gcosθ γ ˙ a = m ˙ 2 m 2 ρ A f C a ( v a + v wind ) 2 + 1 m ρ A f C a v ˙ a ( v a + v wind ) C r g θ ˙ sinθ u ˙ = 1 m [ mgsinθ 1 2 ρ A f ( u+ u w ) 2 C x C r mgcosθ+ F x m ˙ um( qwrv ) ] v ˙ = 1 m [ mgcosθsinϕ+ 1 2 ρ A f ( v+ v w ) 2 C y + F y m ˙ vm( rupw ) ] w ˙ = 1 m [ mgcosθcosϕ+ 1 2 ρ A f ( w+ w w ) 2 C z + F z mgcosθ m ˙ wm( pvqu ) ] p ˙ = C AC D 2 [ 1 2 ρ A f t ( u+ u w ) 2 C l +( BC )qr+Dpq ] + D AC D 2 [ 1 2 ρ A f L ( w+ w w ) 2 C n +( AB )pqDqr ]+ α 2 δ l q ˙ = 1 B [ 1 2 ρ A f L ( v+ v w ) 2 C m +( CA )prD( p 2 r 2 ) ]+ α 3 δ m r ˙ = A AC D 2 [ 1 2 ρ A f L ( w+ w w ) 2 C n +( AB )pqDqr ] + D AC D 2 [ 1 2 ρ A f t ( u+ u w ) 2 C l +( BC )qr+Dpq ]+ α 4 δ n ϕ ˙ =p+qtanθsinϕ+rtanθcosϕ, θ ˙ =qcosϕrsinϕ, ψ ˙ =q sinϕ cosθ +r cosϕ cosθ X ˙ G o =ucosψvsinψ, Y ˙ G o =ucosψ+vsinψ, Z ˙ G o =w (6)

The simplified notation of NLP (6) above is expressed as follows:

max ( y,δ ) ad 15 × U ad J( y,δ )

s.c:{ y ˙ =f( t,y,δ ) t 0 t t f t 0 =0,y( 0 )= y 0 ,δ( 0 )= δ 0 l 1 ( y,δ )0, l 2 ( y,δ )0 (7)

where y:[ t 0 , t f ] 15 is the state vector, and δ:[ t 0 , t f ]U 4 , f:[ t 0 , t f ] 15 ×U .

Although this paper discusses a model that optimizes the trajectory of a single vehicle and focuses on individual parameters, its effects are felt throughout the overall traffic system. By improving the behavior of one vehicle, we contribute not only to its own efficiency but also to the traffic flow of other vehicles, creating a more fluid and organized traffic environment. This holistic approach is essential for developing sustainable and effective urban traffic management solutions.

3. Digital Processing of the Model

The proposed model as defined in relation (7) is a controlled nonlinear problem. A fourth-order digital Runge-Kutta method is used to discretize and solve the system of nonlinear differential equations. This RK4 method is chosen because of its higher order while avoiding the disadvantages of other methods, which require evaluation of the partial derivatives of f [5].

RK4 Algorithm:

1) Let’s fix the number N of iterations and the time interval [ t 0 , t f ] , and calculate the step h= t n+1 t n = t f t 0 N for each differential equation.

2) For 0 ≤ nN

max ( y,δ ) ad 15 × U ad J( y,δ,t )

k 1 =hf( t n , y n ,δ )

k 2 =hf( t n + h 2 , y n + k 1 2 ,δ )

k 3 =hf( t n + h 2 , y n + k 2 2 ,δ )

k 4 =hf( t n +h, y n + k 3 ,δ ),

t n+1 = t n +h

μ 1 l 1 ( y( t n ),u( t n ), t n )=0

μ 2 l 2 ( y( t n ),u( t n ), t n )=0,

μ 1 0, μ 2 0

3) Updating y variables values: y n+1 = y n + 1 6 ( k 1 +2 k 2 +2 k 3 + k 4 )

Now, the discretized NLP of (7) is expressed as follows:

max ( y,δ ) ad 15 × U ad n=1 N J( y n , δ n )

s.c:{ y n+1 = y n +h.f( t n , y n , δ n ) μ 1 l 1 ( y( t n ),u( t n ), t n )=0, μ 2 l 2 ( y( t n ),u( t n ), t n )=0 μ 1 0, μ 2 0 (8)

Model data:

The Model parameter values and state variable limits are given in the following tables. See Table 1 and Table 2.

Table 1. Model parameter values [5] [13] [18] [22].

Denomination

Notation

Value

Fuel consumption coefficient

C cse

1 × 104 kg.m−1

Internal motor power

P i

≈2 × 105 W

Throttle ejection speed

v e

≈30 m.s−1

Calorific value of fuel

LH V fuel

42.7 × 106 J.kg−1

Motor mechanical efficiency

η m

≈0.9

Fuel conversion efficiency

η c

≈0.4

Environmental pressure

p 0

1.01325 × 105 Pa

Gas outlet pressure

p e

1.0 × 105 Pa

Exhaust outlet surface

A e

≈0.1 m2

Air density

ρ

≈1.225 kg.m3

Vehicle frontal area

A f

≈2.89 m2

Gravity acceleration

g

≈9.81 m/s2

Basic longitudinal drag coefficient

C x 0

≈0.34

Rolling resistance coefficient

C r

≈0.015

Facteur de correction

k

≈0.2

Correction factor for a roof form

k 1

≈0.05

Correction factor for aerodynamic devices

k 2

≈0.1

Reference surface

A ref

≈2.6 m2

Roof surface

A roof

≈2 m2

Spoiler surface

A spoiler

≈0.3 m2

Vehicle length

L

4.84 m

Vehicle width

t

1.885 m

Vehicle height

H

1.845 m

Height of vehicle of gravity center

≈0.5 m

Motor efficiency

η m

≈0.9

Basic aerodynamic drag coefficient

C a 0

≈0.35

Basic lateral force coefficient h

C y 0

≈0.1

Basic vertical force coefficient

C z 0

≈−0.1

Basic roll moment coefficient

C l 0

≈0.1

Roll moment correction factor

k l

≈0.2

Basic pitch moment coefficient

C m 0

≈−0.1

Pitch moment correction factor

k m

≈0.01

Basic yaw moment coefficient

C n 0

≈0.02

Yaw moment correction factor

k n

≈0.01

Pressure’s center and gravity’s center distance

d

≈1.2

Maximum speed allowed

v max

60 m.s1

3*The vehicle inertia moments

I xx

1.417525 × 103 kgm2

I yy

5.415145 × 103 kgm2

I zz

5.41138 × 103 kgm2

Thrust control coefficient

α 1

1.5

Roll control coefficient

α 2

1/ I xx

Pitch control coefficient

α 3

1/ I yy

Yaw control coefficient

α 4

1/ I zz

Table 2. Limit values for dynamic variables [5] [13] [18] [22].

Constraint denomination

Minimum value

Maximum value

Mass of the vehicle

m 0 3000kg

m f 2500kg

Aerodynamic vehicle speed

v a 0 =22m s 1

v a f =55m s 1

Aerodynamic vehicle acceleration

γ a 0 =2m s 2

γ a f =5m s 2

Longitudinal vehicle speed

u 0 =22m s 1

u f =50m s 1

Lateral vehicle speed

v 0 =5m s 1

v f =5m s 1

Vertical vehicle speed

w 0 =3m s 1

w f =3m s 1

Vehicle roll velocity

p 0 = 5 s 1

p f = 5 s 1

Vehicle pitch velocity

q 0 = 2 s 1

q f = 2 s 1

Vehicle yaw velocity

r 0 = 2 s 1

r f = 2 s 1

Vehicle thrust control

δ x 0 =0.1

δ x f =0.8

Vehicle roll control

δ l 0 =0.0275

δ l f =0.0275

Vehicle pitch control

δ m 0 =0

δ m f =0.095

Vehicle yaw control

δ n 0 =0.036

δ n f =0.35

Roll angle

θ 0 =15˚

θ f =15˚

Pitch angle

ϕ 0 =30˚

ϕ f =30˚

Yaw angle

ψ 0 =0˚

ψ f =45˚

X G 0 o =0m

X G f o = 10 3 m

Position of the vehicle’s center of gravity

Y G 0 o = 10 2 m

Y G f o = 10 2 m

Z G 0 o =0m

Z G f o = 10 1 m

Limits of time

t 0 =0s

t f =180s

Longitudinal wind speed

u wind =4m s 1

Lateral wind speed

v wind =2.5m s 1

Verticalal wind speed

w wind =1m s 1

4. Digital Results

The model is tested on the technical specifications of a Toyota Land Cruiser Lounge Pack Techno civilian vehicle, 204 ch-BVA6, 5-door/5-seater, 2.8 L D-4D Diesel and with a mass of around 3 × 103 kg. The optimality characteristics of IPOPT’s output solutions are such that:

EXIT = Optimal Solution Found

Ipopt 3.8.0: Optimal Solution Found

Number of Iterations = 105

Objective function value = 2.0400987422160904e+002

Option (rel_boundtol/abs_boundtol) = 1.769176e−06/1.769172e−06

Dual infeasibility = 2.2110767346561301e−014

Constraint violation = 8.8359453712429730e−019

Complementarity = 9.0909099006618611e−010

Overall NLP error = 9.0909099006618611e−010

Number of objective function evaluations = 119

Number of objective gradient evaluations = 106

Number of equality constraint evaluations = 119

Number of inequality constraint evaluations = 119

Number of equality constraint Jacobian evaluations = 106

Number of inequality constraint Jacobian evaluations = 106

Number of Lagrangian Hessian evaluations = 105

Total CPU secs in IPOPT (w/o function evaluations) = 10.781

Total CPU secs in NLP function evaluations = 49.640

The graph in Figure 2 shows the values of the fluidity function J , mass dynamic m , aerodynamic velocity v a and aerodynamic acceleration γ a as a function of time, respectively. These results show that for a simulation time of 180 seconds, road traffic fluidity ranges from 0.189882 to 1.14225. This result shows average behavior and free-flowing traffic conditions where all vehicles in the traffic flow seem to follow the same speed and move at high velocities. Given this result, it can be asserted that traffic is evolving towards a fluid state. The vehicle’s mass varies between 3 × 103 kg and 2.99904 × 103 kg, i.e. a mass loss of around 0.96 kg or 0.032% of its total mass. Now, the additional assumption of considering the mass of the moving vehicle as a variable has an important meaning when modeling road traffic dynamics.

Although the 0.032% variation in mass may seem insignificant from a numerical standpoint, its practical significance is considerable in the field of traffic flow optimization. This small variation is a critical element of the model, as it reflects complex dynamics and contributes to cumulative improvements that can have a major impact on traffic, time savings for users that translate into reduced fuel and vehicle wear costs, and the quality of life for users. These savings can be significant when considered over an extended time scale or across a large number of vehicles. Aerodynamic speed and acceleration evolve positively from small to large values, meaning that traffic vehicles accelerate slightly for attack or climb maneuvers. These results correspond to fluid traffic situations where vehicles are moving normally.

Figure 2. Objective function and vehicle mass, aerodynamic speed and acceleration.

The graphs in Figure 3 show the optimal vehicle controls. These results show that the main thrust command δ x varies from 0.46 to 0.1. The roll command varies between 0.0007 and 0.0017 but remains constant between 5 and 140 seconds of vehicle motion, proving vehicle stability and passenger comfort over this time interval. Pitch control decreases significantly, meaning that the nose of the vehicle lowers, causing the vehicle to descend. Yaw control increases from 0.113 to 0.16, meaning that the vehicle pivots to the right, resulting in a right turn for the time interval 0 to 177 seconds.

Figure 3. Vehicle dynamic controls.

Figure 4 shows an evolution of the respective longitudinal, lateral, vertical components of aerodynamic velocity and roll angle. This graph shows that the longitudinal velocity u varies from 22 m/s to 21.36 m/s, meaning that the vehicle is slowing down or braking in a straight line in the direction of its motion. The lateral velocity v evolves positively from 3 m/s to 3.72 m/s in a curved line, meaning that the vehicle is subjected to the more pronounced lateral motion on a curvilinear road. This is common on bends when the vehicle is making a sharp turn or evasive maneuver. The w vertical speed, on the other hand, varies positively from 1.5 m/s to 1.022 m/s, meaning that the vehicle is descending on a curvilinear road. Roll angle θ evolves positively from 1 to 0.86, meaning that the vehicle is returning to a stable vertical position.

Figure 4. Vehicle speeds.

The results in Figure 5 show the evolution of the pitch and yaw angles of the vehicle’s rotational movement and the evolution of p and q vehicle’s rotational speed. These results show that the pitch angle ϕ evolves positively from 1 to 7.86, meaning that the vehicle is tilting upwards or maneuvering uphill. The yaw angle ψ varies positively from 1 to 1.007, implying vehicle rotation to the right. The roll speed p varies positively between 0 and 13.6/s, implying that the vehicle is rolling to the right. The pitching speed decreases from 0 to −0.3/s.

Figure 6 shows the third component r of the vehicle’s rotational speed and the time evolution of the center of mass G in the R G frame from the point of view of an observer in the R O frame. The observation position is taken above the ground and the trajectory is as follows (50 m, 20 m, 1 m). These graphs show that the yaw rate r changes slightly from 0 to 0.04/s, implying that the vehicle rotates slightly to the right. The position X G o varies positively between 50 m and 71.6 m in the moving frame relative to an observer attached to the inertial frame, which indicates that the vehicle is moving forward for an observer attached to the inertial frame. The position Y G o evolves positively between 20 m and 23.6 m in the moving frame relative to an observer attached to the inertial frame. This indicates that the vehicle is moving to the right relative to an observer attached to the inertial frame. The position Z G o varies positively between 1 m and 2.35 m in the mobile frame relative to an observer attached to the inertial frame, which means that the vehicle is climbing relative to an observer attached to the inertial frame.

Figure 5. Vehicle nautical angles.

Figure 6. Observer positions.

It is important to acknowledge the limitations of our optimization model. First, the model focuses on a single vehicle and may not capture the complex, dynamic interactions that occur in a multi-vehicle environment. Additionally, the environmental conditions have been oversimplified, which may limit the model’s ability to produce robust results in real-world scenarios where factors such as weather, road conditions, and traffic density influence vehicle behavior. Finally, our model relies on vehicle-specific parameters, such as those of the Toyota Land Cruiser. This may restrict generalization to other types of vehicles with different characteristics. These constraints should be considered when planning future research in this area.

5. Conclusions

In this work, a mathematical model has been developed for traffic road optimization. This model aims to maximize traffic flow under dynamic, control, operational and technical constraints. An RK4 algorithm has been developed to solve the optimization problem under inter-coupled nonlinear dynamic constraints. This method is used to discretize the problem because of its high-order efficiency in solving nonlinear differential equations. The IPOPT solver coupled with the AMPL programming language was used to extract the optimal solution from the model. The results obtained here for the traffic dynamics constraints and the objective fluidity function prove that our model can optimize traffic conditions on a road infrastructure toward totally fluid traffic.

The new hypothesis of mass variation, in particular, the decrease in the mass of a moving vehicle allows us to model scenarios in which traffic demand fluctuates. This facilitates the dynamic adjustment of resources and routes.

Optimizing traffic flow under dynamic constraints, control, and safety allows for the optimization of routes and travel times, which reduces traffic congestion. This enables traffic managers to improve the overall efficiency of the road network, ensure user safety, and better anticipate and respond to changes in traffic conditions.

This model can be used to develop control algorithms for autonomous vehicles and improve intelligent traffic management systems. It makes accurate predictions and facilitates communication between vehicles, optimizing trajectories and traffic flow. Its ability to identify congestion points reduces waiting times and prevents traffic jams. By incorporating safety features, this model enhances user safety and improves the efficiency of the road network. The application of this model can mark a step toward smarter, more sustainable transportation systems.

Future Perspectives

In this study, we considered the fluidity of a single route with a single vehicle. Our next research will extend this to the joint optimization of two vehicles’ movements.

Conflicts of Interest

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

References

[1] Derbel, O. (2014) Modélisation microscopique et macroscopique du trafic. Impact des véhicules automatisés sur la sécurité du conducteur. Thèse de Doctorat de l’Université de Haute-Alsace.
https://tel.archives-ouvertes.fr/tel-01314140
[2] Treiber, M. and Kesting, A. (2013) Traffic Flow Dynamics: Data, Models and Simulation. Springer-Verlag, 983-1000.
[3] Treiber, M. and Kesting, A. (2012) Model-Based Traffic Flow Optimization. In: Treiber, M. and Kesting, A., Eds., Traffic Flow Dynamics: Data, Models and Simulation, Springer, 403-422.[CrossRef]
[4] Li, L. (2021) Modélisation et contrôle d’un véhicule tout-terrain à deux trains directeurs. Thèse de doctorat de l’Université PSL.
[5] Duysinx, P. (2020-2021) Performance et dynamique des véhicules, LTAS-Ingénierie des Véhicules Terrestres. Université de Liège.
[6] Saafi, K. (2012) Amélioration de l’implémentation des volets dans un modèle de dynamique et contrle de vol de l’avion L1011-500. Université de Québec.
[7] Venture, G. (2003) Identification des paramètres dynamiques d’un véhicule automobile. Thèse de doctorat de l’École Centrale de Nantes et l’Université de Nantes.
https://theses.hal.science/tel-00696169
[8] Duysinx, P. and Bauduin, I.S. (2021) Meca0525 Vehicle Performance and Dynamics.
[9] Nahayo, F. (2012) Modèle mathématique d’optimisation non linéaire du bruit des avions commerciaux en approche sous contrainte énergétique. Thèse de doctorat de l’Université Claude Bernard Lyon 1.
https://theses.hal.science/tel-00855690v1
[10] Eraydin, E. (1994) Domaine de validité des équations de la dynamique de vol: Dé-couplage. Thèse de l’Ecole Nationale Supérieure de l’Aéronautique et de l’Espace, ONERA-CERT.
[11] Wong, J.Y. (2022) Theory of Ground Vehicles. 5th Edition, John Wiley & Sons.[CrossRef]
[12] Ian Douglas, G. (2003) A New Approach to Estimate Congestion Impacts for Highway Evaluation: Effects on Fuel Consumption and Vehicle Emissions. Ph.D. Thesis, ResearchSpace@Auckland.
[13] Hucho, W.-H. (1995) Aerodynamics of Road Vehicles. Progress in Technology, 49, 3-60.
[14] Boretti, A. (2019) Advances in Turbocharged Racing Engines: An SAE Technical Paper Compilation. SAE International.
[15] Gillespie, T. (2021) Fundamentals of Vehicle Dynamics. SAE international.
[16] Lieu, H. (2005) the Physics of Traffic: Empirical Freeway Pattern Features, Engineering Applications, and Theory. Physics Today, 58, 54-56.[CrossRef]
[17] Helbing, D. (2001) Traffic and Related Self-Driven Many-Particle Systems. Reviews of Modern Physics, 73, 1067-1141.[CrossRef]
[18] Luu, H., Nouvelière, L. and Mammar, S. (2010) Dynamic Programming for Fuel Consumption Optimization on Light Vehicle. 6th IFAC Symposium Advances in Automotive Control, Munich, 12-14 July 2010, 372-377.
[19] Treiber, M. and Kesting, A. (2012) Elementary Car-Following Models. In: Treiber, M. and Kesting, A., Eds., Traffic Flow Dynamics: Data, Models and Simulation, Springer, 157-180.[CrossRef]
[20] Greenshields, B.D., Bibbins, J.R., Channing, W.S. and Miller, H.H. (1935) A Study of Traffic Capacity. Proceedings Highway Research Record, Vol. 14, 448-477.
[21] Lighthill, M.J. and Whitham, G.B. (1955) On Kinematic Waves II. A Theory of Traffic Flow on Long Crowded Roads. Proceedings of the Royal Society of London. Series A. Mathematical and Physical Sciences, 229, 317-345.
[22] Rajamani, R. (2012) Vehicle Dynamics and Control. Department of Mechanical Engineering, University of Minnesota.

Copyright © 2026 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.