<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AM</journal-id><journal-title-group><journal-title>Applied Mathematics</journal-title></journal-title-group><issn pub-type="epub">2152-7385</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/am.2019.103011</article-id><article-id pub-id-type="publisher-id">AM-91456</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  One-Dimensional Explicit Tolesa Numerical Scheme for Solving First Order Hyperbolic Equations and Its Application to Macroscopic Traffic Flow Model
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Tolesa</surname><given-names>Hundesa</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Legesse</surname><given-names>Lemecha</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Purnachandra</surname><given-names>Rao Koya</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>School of Mathematical and Statistical Sciences, Hawassa University, Hawassa, Ethiopia</addr-line></aff><aff id="aff2"><addr-line>Department of Mathematics, Adama Science and Technology University, Adama, Ethiopia</addr-line></aff><pub-date pub-type="epub"><day>15</day><month>03</month><year>2019</year></pub-date><volume>10</volume><issue>03</issue><fpage>119</fpage><lpage>137</lpage><history><date date-type="received"><day>10,</day>	<month>January</month>	<year>2019</year></date><date date-type="rev-recd"><day>25,</day>	<month>March</month>	<year>2019</year>	</date><date date-type="accepted"><day>28,</day>	<month>March</month>	<year>2019</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  In this paper, a new numerical scheme for solving first
  -
  order hyperbolic partial differential equations is proposed and is implemented in the simulation study of macroscopic traffic flow model with constant velocity and linear velocity-density relationship. Macroscopic traffic flow model is first developed by Lighthill Whitham and Richards (LWR) and used to study traffic flow by collective variables such as flow rate, velocity and density. The LWR model is treated as an initial value problem and its numerical simulations are presented using numerical schemes. A variety of numerical schemes are available in literature to solve first order hyperbolic equations. Of these the well
  -
  known ones include one-dimensional explicit: Upwind, Downwind, FTCS, and Lax-Friedrichs
   schemes. Having been studied carefully the space and time mesh sizes, and the patterns of all these schemes
  ,
   a new scheme has been developed and named as one-dimensional explicit Tolesa numerical scheme. Tolesa numerical scheme is one of the conditionally stable and highest rates of convergence schemes. All the said numerical schemes are applied to solve advection equation pertaining traffic flows. Also the one-dimensional explicit Tolesa numerical scheme is another alternative numerical scheme to solve advection equation and apply to traffic flows model like other well-known one-dimensional explicit schemes. The effect of density of cars on the overall interactions of the vehicles along a given length of the highway and time are investigated. Graphical representations of density profile, velocity profile, flux profile, and in general the fundamental diagrams of vehicles on the highway with different time levels are illustrated. These concepts and results have been arranged systematically in this paper.
 
</p></abstract><kwd-group><kwd>Hyperbolic Equation</kwd><kwd> Advection Equation</kwd><kwd> Tolesa Numerical Scheme</kwd><kwd> Traffic Flow</kwd><kwd> Numerical Simulation</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Hyperbolic partial differential equation of conservation laws has recently received great attention and many books have been published in this area [<xref ref-type="bibr" rid="scirp.91456-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.91456-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.91456-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.91456-ref4">4</xref>] . Hyperbolic PDEs describe the time dependent physical systems and can be used to model a wide variety of phenomenon including wave motion and advection transport of substances [<xref ref-type="bibr" rid="scirp.91456-ref5">5</xref>] . Advection equations do form a special class of conservative first order hyperbolic PDEs which transport a given property across a system at a specified rate. In advecting equations, the temporal and spatial derivatives of the conserved quantity u ( x , t ) are proportional to each other. That is ( ∂ u / ∂ t ) ∝ ( ∂ u / ∂ x ) . Thus, the advection equation for the function u ( x , t ) will be</p><p>( ∂ u / ∂ t ) + v ( ∂ u / ∂ x ) = 0 (1)</p><p>In (1), the quantity v is a proportional constant and can be interpreted as the velocity along x-direction [<xref ref-type="bibr" rid="scirp.91456-ref6">6</xref>] . However, if v &gt; 0 then the characteristics are directed to the positive direction or to the right and if v &lt; 0 then they are directed to the negative direction or to the left. In other words the sign of v indicates the direction of propagation of information. In fact the advection Equation (1) is also called as the one-way wave equation and in this context v represents the speed of propagation of the wave. The advection Equation (1) admits general analytic solutions u = f ( x − v t ) and u = f ( x + v t ) representing respectively a wave motion along positive and negative x-directions. The lines in the ( t , x ) plane on which x &#177; v t is constant are called characteristics. The parameter v has dimensions of distance divided by time and is called the speed of propagation along the characteristic. We give u ( x , t ) at the initial time, u ( x , 0 ) is required to be equal to a given function u ( x , 0 ) = f ( x ) or u 0 ( x ) = f ( x ) for all − ∞ &lt; x &lt; ∞ . This is called an initial value problem. Advection Equation (1) is being numerically solved using various one-dimensional explicit numerical schemes, for example Upwind, Downwind, FTCS and Lax-Friedrichs schemes. In these one-dimensional explicit schemes the space and time mesh sizes are restricted both by order of accuracy and numerical stability. The said schemes have been visualized with the unique schematic diagrams which are illustrated in Figures 1-4.</p><p>Having been studied carefully the space and time mesh sizes and patterns or schematic diagrams of all these schemes, another but a new scheme has been developed and named as one-dimensional explicit Tolesa numerical scheme. This new scheme has been visualized with the unique schematic diagram and is illustrated in <xref ref-type="fig" rid="fig5">Figure 5</xref>. The implication of the advection Equation (1) together with initial value problem in the context of Lighthill Whitham and Richards (LWR) traffic flow model is implemented. The LWR model is the well-known model and describes the traffic flow using a partial differential equation based on the conservation law of the vehicles in traffic [<xref ref-type="bibr" rid="scirp.91456-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.91456-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.91456-ref9">9</xref>] [<xref ref-type="bibr" rid="scirp.91456-ref10">10</xref>] . In this study, the single lane traffic flow with constant speed and linear density-speed relationship are considered as a test case. The simulations of traffic flow model with constant speed will also be done by using the mentioned one-dimensional explicit numerical schemes including Tolesa scheme, and linear density-speed relationship will be simulated by using Tolesa scheme.</p><p>In this research work we present and discuss some of the one-dimensional explicit numerical schemes available in the literature and the newly propose scheme. Specifically, the paper is organized in three more sections that follow this Introduction. Section 2 is devoted to carry out finite difference method. The finite difference approximations of the first order hyperbolic partial differential equation using one-dimensional explicit numerical schemes are presented. Section 3 reports about macroscopic continuum traffic flow depend mainly on three quantities flux, speed and density, and present some cases for speed-density relationship. Finally section 4 deals with the numerical simulation. In this section, we present the discretization of the macroscopic continuum traffic flow model, specifically Lighthill-Whitham and Richards Traffic flow model presented in section 3, using finite difference schemes presented in Section 2.</p></sec><sec id="s2"><title>2. Overviews of Finite Difference Method</title><p>In this study, it is mainly focused to carry out finite difference method (FDM). The FDM was introduced by Euler in 18<sup>th</sup> century and has been greatly regarded as the easiest method and widely used to solve simple geometrical problems [<xref ref-type="bibr" rid="scirp.91456-ref11">11</xref>] . The FDM is classically obtained by approximating the derivatives appearing in the partial differential equation by a Taylor expansion up to some given order which will give the order of the scheme. The application of FDM in solving a PDE is to transform a calculus problem into an algebraic problem by discretizing the continuous physical domain into a number of cells or intervals, and approximating the individual exact partial derivatives in the PDE by algebraic finite difference approximations.</p><p>Let the spatial and temporal domains be divided into N and M cells respectively. The index ( x j , t n ) represents a grid point where x j spatial and t n temporal grids intersect. Here j = 0 , 1 , 2 , ⋯ , N and n = 0 , 1 , 2 , ⋯ , M . Thus, the discretization of space-time domain is assumed as x j = j Δ x and t n = n Δ t . The quantities Δ x &gt; 0 and Δ t &gt; 0 respectively denote the spatial and temporal step sizes. These are also known as the increments between two consecutive spatial and temporal nodes respectively.</p><p>Let the quantity u j n denote an approximate value of the function u ( x , t ) at the grid point or space-time location ( x j , t n ) . That is u j n ≈ u ( x j , t n ) . Thus, the function u ( x , t ) can now be replaced with a discrete set of point-wise approximate values { u j n } . These approximations are called the finite difference approximations. The finite difference approximations of the first order hyperbolic partial differential Equation (1) using one-dimensional explicit numerical schemes are presented in the following subsection.</p>One Dimensional Explicit Numerical Schemes<p>In this subsection, the one-dimensional explicit numerical schemes with Upwind, Downwind, FTCS and Lax-Friedrichs schemes including Tolesa scheme are presented to approximate the spatial and temporal partial derivatives of the advection Equation (1) in different views as shown in Figures 1-5. Also the orders of accuracy and numerical stability have been determined in which the space and time mesh sizes are restricted. The approximations and the schematic diagrams of the mentioned schemes are explained sequentially.</p><p>In one-dimensional explicit upwind scheme, the first order spatial and temporal partial derivatives are approximated respectively as ( ∂ u / ∂ x ) ≈ [ ( u j n − u j − 1 n ) / Δ x ] + O ( Δ x ) and ( ∂ u / ∂ t ) ≈ [ ( u j n + 1 − u j n ) / Δ t ] + O ( Δ t ) . In this view, the stencil is given as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref> and the approximations of the finite difference form of Equation (1) can be expressed as</p><p>u j n + 1 = u j n − v ( Δ t / Δ x ) ( u j n − u j − 1 n ) + O ( Δ t , Δ x ) ,     v &gt; 0 (2)</p><p>The scheme (2) is a first order accurate in both space and time, O ( Δ t , Δ x ) . This scheme is stable if the condition v ( Δ t / Δ x ) ≤ 1 is satisfied.</p><p>In one-dimensional explicit downwind scheme, the first order spatial and temporal partial derivative are approximated respectively as</p><p>( ∂ u / ∂ x ) ≈ [ ( u j n − u j + 1 n ) / Δ x ] + O ( Δ x ) and ( ∂ u / ∂ t ) ≈ [ ( u j n + 1 − u j n ) / Δ t ] + O ( Δ t ) .</p><p>In view of this the finite difference approximations form of Equation (1) can be expressed as</p><p>u j n + 1 = u j n − v ( Δ t / Δ x ) ( u j + 1 n − u j n ) + O ( Δ t , Δ x ) ,     v &lt; 0 (3)</p><p>Equation (3) is a first order accurate in both space and time O ( Δ t , Δ x ) . This scheme is unconditionally unstable.</p><p>In one-dimensional explicit FTCS scheme, as its name implies, the first order temporal and spatial partial derivatives are obtained respectively by taking a first order forward finite differencing in time and a central differencing in space. These are approximated respectively as ( ∂ u / ∂ t ) ≈ [ ( u j n + 1 − u j n ) / Δ t ] + O ( Δ t ) and ( ∂ u / ∂ x ) ≈ [ ( u j + 1 n − u j − 1 n ) / 2 Δ x ] + O ( Δ x 2 ) . Then, the approximations of the finite difference form of Equation (1) can be expressed as in Equation (4) and the schematic diagram is given in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p><p>u j n + 1 = u j n − v Δ t 2 Δ x ( u j + 1 n − u j − 1 n ) + O ( Δ t , Δ x 2 ) (4)</p><p>Equation (4) is a first order accurate in time and second order accurate in space, i.e., O ( Δ t , Δ x 2 ) . This scheme is unconditionally unstable.</p><p>In one-dimensional explicit Lax-Friedrichs scheme, the term u j n in FTCS scheme is replaced by its average value 1 2 ( u j + 1 n + u j − 1 n ) . In Lax-Friedrich scheme the finite difference form of Equation (1) can be expressed as (5) and its stencil is viewed as in <xref ref-type="fig" rid="fig4">Figure 4</xref>.</p><p>u j n + 1 = 1 2 ( u j + 1 n + u j − 1 n ) − v ( Δ t / 2 Δ x ) ( u j + 1 n − u j − 1 n ) + O ( Δ t , Δ x 2 ) (5)</p><p>Equation (5) is a first order accurate in time and second order accurate in space, i.e., O ( Δ t , Δ x 2 ) . This scheme is conditionally stable, if the condition v ( Δ t / Δ x ) ≤ 1 is satisfied.</p><p>Having been studied carefully the space and time mesh sizes, and the patterns of all these schemes a new scheme has been developed and named as one-dimensional explicit Tolesa numerical scheme. The one-dimensional explicit Tolesa numerical scheme is still another alternative numerical scheme to solve advection equation and can be applied to traffic flows model. The schematic diagram of Tolesa evolution scheme is shown in <xref ref-type="fig" rid="fig5">Figure 5</xref> and the application of this scheme to the advection Equation (1) is straightforward. In view of this, the first order temporal and spatial partial derivatives are approximated respectively as Equations (6) and (7).</p><p>( ∂ u / ∂ t ) = u j n + 1 − u j n + ( 1 / 2 ) ( 1 / 2 ) Δ t (6)</p><p>( ∂ u / ∂ x ) = ( 1 Δ x ) [ u j + ( 1 / 2 ) n + ( 1 / 2 ) − u j − ( 1 / 2 ) n + ( 1 / 2 ) ] (7)</p><p>Let the term u j n + ( 1 / 2 ) on the left hand side of (6) be expressed as the average value as</p><p>u j n + ( 1 / 2 ) = 1 2 [ u j + ( 1 / 2 ) n + ( 1 / 2 ) + u j − ( 1 / 2 ) n + ( 1 / 2 ) ] (8)</p><p>In (8), the terms on the left hand side can be expanded, as in view of (5), as</p><p>u j + ( 1 / 2 ) n + ( 1 / 2 ) = 1 2 ( u j + 1 n + u j n ) − v Δ t 2 Δ x ( u j + 1 n − u j n ) (9)</p><p>u j − ( 1 / 2 ) n + ( 1 / 2 ) = ( 1 / 2 ) ( u j n + u j − 1 n ) − v ( Δ t / 2 Δ x ) ( u j n − u j − 1 n ) (10)</p><p>Using the three expansions (8)-(10) in the two Equations (6)-(7) and on substituting them in (1), the advection equation reduces to the form as</p><p>u j n + 1 = ( 1 / 4 ) ( u j + 1 n + 2 u j n + u j − 1 n ) − α ( u j + 1 n − u j − 1 n )     + α 2 ( u j + 1 n − 2 u j n + u j − 1 n ) + O ( Δ t , Δ x 2 ) (11)</p><p>Here in (11), the notation α = v ( Δ t / 2 Δ x ) is used. Thus, (11) is the newly proposed one-dimensional explicit Tolesa scheme. Equation (11) is a first order accurate in time and second order accurate in space, O ( Δ t , Δ x 2 ) .</p><p>Local Truncation Error Local truncation error represents the difference between an exact differential equation and its finite difference representation at a point in space and time. Local truncation error provides a basis for comparing local accuracies of various difference schemes. Accordingly the local truncation error for Tolesa scheme (11) will be</p><p>u t + c u x + Δ t 4 u t t − Δ x 2 4 Δ t u x x + Δ t 2 6 u t t t + c Δ x 2 6 u x x x = 0</p><p>⇒ u t + c u x + O ( Δ t , Δ x 2 ) = 0</p><p>by using Taylor’s expansion. Therefore, Tolesa scheme is first-order in time and second-order in space.</p><p>The fundamental properties that every finite difference approximation of a partial differential equation should possess are consistency, convergence and stability.</p><p>Consistence: The notion of consistency addresses the problem of whether the finite difference approximation is really representing the partial differential equation. We say that a finite difference approximation is consistent with a differential equation if the finite difference equations converge to the original equation as the time and space grids are refined. Hence, if the truncation error goes to zero as time and space grids are refined we conclude that the scheme is consistent. For the explicit solution to the advection equation, the truncation error is,</p><p>u t + v u x + Δ t 4 u t t − Δ x 2 4 Δ t u x x + Δ t 2 6 u t t t + v Δ x 2 6 u x x x + Higherorder = 0</p><p>u t + v u x + e l + Higherorder = 0 ,</p><p>where</p><p>e l = Δ t 4 u t t − Δ t − 1 Δ x 2 4 u x x + Δ t 2 6 u t t t + v Δ x 2 6 u x x x + Higherorder .</p><p>Thus as Δ x → 0 and Δ t → 0 , then e l = 0 , hence the Tolesa scheme is consistent with partial differential Equation (1) as long as Δ t − 1 Δ x 2 → 0 .</p><p>Stability Analysis: A finite difference scheme is stable if the scheme do not allows the growth of error in the solution with different time level. Stability analysis is a useful tool for checking validity of a given numerical scheme [<xref ref-type="bibr" rid="scirp.91456-ref12">12</xref>] . There are many approaches to analyze whether a finite difference scheme is stable or unstable. In this paper, we will consider the Von Neumann stability analysis for presented finite difference schemes. The basic idea of this analysis is given by defining the discrete Fourier transform of u as (12). Let it be assumed that the solution can be seen as eigenmodes [<xref ref-type="bibr" rid="scirp.91456-ref13">13</xref>] which at each grid point have the form</p><p>u j n = ξ n e i p j Δ x (12)</p><p>Here in (12), ξ = ξ ( p ) is a complex number dependent on p and it works as an amplification factor; p is a real spatial wave number; i = − 1 is an imaginary number. Equation (12) shows the time dependence of a single eigenmode. The differential equations are said to be stable if | ξ ( p ) | ≤ 1 .</p><p>Also, the Courant-Friedrichs-Lewy CFL criteria for stability say that | ξ | ≤ 1 if and only if | v Δ t Δ x | ≤ 1 . CFL is necessary condition for stability [<xref ref-type="bibr" rid="scirp.91456-ref14">14</xref>] .</p><p>Substituting (12) in (11) and solving the expression for ξ ( p ) is obtained:</p><p>| ξ | 2 = | ( 1 2 cos ( p Δ x ) − 8 α 4 cos ( p Δ x ) + ( 1 4 + 2 α 2 + 4 α 4 ) cos 2 ( p Δ x )     + ( 1 4 − 2 α 2 + 4 α 4 ) ) + 4 α 2 sin 2 ( p Δ x ) |</p><p>From Von-Neumann stability analysis, Tolesa method is stable when | ξ | 2 ≤ 1 .</p><p>| ξ | 2 = | ( 1 2 − 8 α 4 ) cos ( p Δ x ) + ( 1 4 − 2 α 2 + 4 α 4 ) cos 2 ( p Δ x ) + ( 1 4 + 2 α 2 + 4 α 4 ) | ≤ 1</p><p>After some computations, and considering different cases which satisfy equality and the CFL condition, then we decided that the α ≤ 1 / 2 .</p><p>α = | v Δ t 2 Δ x | ≤ 1 / 2 ⇒ | v | Δ t Δ x ≤ 1 (13)</p><p>Thus, the explicit Tolesa scheme is conditionally stable (13).</p><p>Convergence: A numerical scheme is convergent if the computed solution of the discretized equation leads to the exact solution of the differential equation as the time and grid spacing lead to zero. The computed solution u j n must approach the exact solution u e x a c t of the differential equation at any point x j = j Δ x and t n = n Δ t when Δ x and Δ t lead to zero while keeping x j and t n constant. In other hand, the error</p><p>e j n = u j n − ( u e x a c t ) j n</p><p>satisfying the following convergence condition.</p><p>lim Δ x , Δ t → 0 | e j n | → 0 , at fixed x j = j Δ x and t n = n Δ t . Hence, the explicit Tolesa scheme is convergent; we can see this from the simulations result.</p></sec><sec id="s3"><title>3. Lighthill-Whitham and Richards Traffic Flow Model (LWR Model)</title><p>In this section, macroscopic continuum traffic flow model is introduced and analyzed. Macroscopic continuum traffic flow depends mainly on three quantities: traffic density, traffic flow or flux and traffic velocity [<xref ref-type="bibr" rid="scirp.91456-ref15">15</xref>] . The number of vehicles on a highway per unit length is defined as traffic density and is denoted by ρ ( x , t ) . The traffic flow rate or flux is defined as the number of vehicles passing through a given point x at time t and is denoted by q ( x , t ) . Here x ∈ R and t ∈ [ 0 , ∞ ) . In this study, highway is considered as a unidirectional roadway of finite length with no entrances and exits.</p><p>The well-known Lighthill-Whitham and Richards (LWR) model describes the traffic flow using a partial differential equation constructed based on the conservation law of the vehicles in traffic. In this model the traffic flow is represented using a first order hyperbolic partial differential equation and is put as</p><p>∂ ρ ( x , t ) ∂ t + ∂ q ( x , t ) ∂ x = 0 (14)</p><p>The flux can also be expressed in terms of the traffic density and the traffic speed as</p><p>q ( x , t ) = v ( x , t ) ρ ( x , t ) (15)</p><p>In view of (15), the traffic flow model (14) with initial condition takes the form as</p><p>{ ∂ ρ ∂ t + ∂ ( v ρ ) ∂ x = 0 ρ ( x , t 0 ) = ρ 0 ( x ) (16)</p><p>Equation (16) is called an initial value problem IVP of the macroscopic traffic flow model.</p><p>In this study, Equation (16) has been considered in two different cases depending on the speed-density relationship as constant speed, and linear speed-density relationship. Also assuming that traffic flux and speed are expressed as a function of density q = q ( ρ ) and v = v ( ρ ) respectively.</p><p>Case 1: In this case Equation (16) can be expressed as (17) by considering constant speed v and the flux as a function of density q ( ρ ) .</p><p>{ ∂ ρ ∂ t + v ∂ ρ ∂ x = 0 ρ ( x , t 0 ) = ρ 0 ( x ) (17)</p><p>The analytical solution of the form (17) has been calculated using the method of characteristics in implicit form [<xref ref-type="bibr" rid="scirp.91456-ref16">16</xref>] as follows.</p><p>ρ ( x , t ) = ρ 0 ( x − v t ) (18)</p><p>Case 2: Linear speed-density function v ( ρ ) = v max ( 1 − ρ ρ max ) in 1935, Greenshields [<xref ref-type="bibr" rid="scirp.91456-ref17">17</xref>] proposed what was perhaps the first traffic flow model. According to his observations made using photographic methods, Greenshields postulated that there existed a linear relationship between speed and density. Then traffic flux q ( ρ ) = ( v max ( ρ − ρ 2 ρ max ) ) . In this case Equation (16) can be expressed as</p><p>{ ∂ ρ ∂ t + ∂ ∂ x ( v max ( ρ − ρ 2 ρ max ) ) = 0 ρ ( x , t 0 ) = ρ 0 ( x ) (19)</p><p>The analytical solution of the form (19) has been calculated using the method of characteristics in implicit form as follows.</p><p>ρ ( x , t ) = ρ 0 ( x − v max ( 1 − 2 ρ ρ max ) t ) (20)</p></sec><sec id="s4"><title>4. Numerical Simulations</title><p>In this subsection, we present the discretization of the traffic flow model (17) using finite difference schemes (2)-(5), and (11) as shown in table below:</p><sec id="s4_1"><title>4.1. Traffic Flow with Constant Speed</title><p>In order to better understand, methods for highway design, it is necessary to discretize the given model using the numerical schemes and perform numerical experiments. The numerical discretization of traffic flow model using explicit finite difference schemes are shown in <xref ref-type="table" rid="table1">Table 1</xref>.</p><p>The numerical schemes given in <xref ref-type="table" rid="table1">Table 1</xref> are implemented using the following</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Discretization of traffic flow model using explicit finite difference schemes, where the parameters α and β are used to represent the expressions β = v ( Δ t / Δ x ) and α = β / 2 </title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Name of the Explicit scheme</th><th align="center" valign="middle" >Discretization of traffic flow model</th></tr></thead><tr><td align="center" valign="middle" >Upwind</td><td align="center" valign="middle" >ρ j n + 1 = ρ j n − β ( ρ j n − ρ j − 1 n )</td></tr><tr><td align="center" valign="middle" >Downwind</td><td align="center" valign="middle" >ρ j n + 1 = ρ j n − β ( ρ j + 1 n − ρ j n )</td></tr><tr><td align="center" valign="middle" >FTCS</td><td align="center" valign="middle" >ρ j n + 1 = ρ j n − α ( ρ j + 1 n − ρ j − 1 n )</td></tr><tr><td align="center" valign="middle" >Lax-Friedrichs</td><td align="center" valign="middle" >ρ j n + 1 = ( 1 / 2 ) ( ρ j + 1 n + ρ j − 1 n ) − α ( ρ j + 1 n − ρ j − 1 n )</td></tr><tr><td align="center" valign="middle" >Tolesa</td><td align="center" valign="middle" >ρ j n + 1 = ( 1 / 4 ) ( ρ j + 1 n + 2 ρ j n + ρ j − 1 n ) − α ( ρ j + 1 n − u j − 1 n ) + α 2 ( ρ j + 1 n − 2 ρ j n + ρ j − 1 n )</td></tr></tbody></table></table-wrap><p>assumptions and values:</p><p>1) Highway is considered as a single lane of length 20 km. Thus x ∈ [ 0 , 10 ] .</p><p>2) The initial density of vehicles in this study is taken as in [<xref ref-type="bibr" rid="scirp.91456-ref18">18</xref>] , ρ 0 ( x ) = 25 sin ( 3 x ) + 30 and from this the exact solution becomes ρ ( x , t ) = 25 sin [ 3 ( x − v t ) ] + 30 .</p><p>3) The boundary condition is considered as constants: ρ ( 0 , t ) = 25 sin [ − 3 v t ] + 30 .</p><p>4) The total time duration is divided into 100 steps: N = 100 .</p><p>5) The total spatial distance is divided into 100 steps: M = 100 .</p><p>6) Vehicles are considered to flow with constant speed v = 0.9   km / min .</p><p>7) The temporal and spatial step lengths are considered as Δ t = 0.07 and Δ x = 0.1 .</p><p>Using these assumptions and the discretization shown in <xref ref-type="table" rid="table1">Table 1</xref>, we have developed computer programs to conduct simulation study of traffic flow model with constant velocity (17). Numerical experiments are performed on a time scale of 7 minutes and some qualitative behaviors of the schemes are verified. The simulation of the exact solution as in <xref ref-type="fig" rid="fig6">Figure 6</xref>(a) and numerical approximations of each schemes are shown in (<xref ref-type="fig" rid="fig6">Figure 6</xref>(b), Figures 6(d)-(f) and <xref ref-type="fig" rid="fig6">Figure 6</xref>(h)). The blue colored curves represent the density at 0.7<sup>th</sup> min; green colored represent the density at 3.5<sup>th</sup> min; red colors represent the density after 7<sup>th</sup> min.</p><p>In <xref ref-type="fig" rid="fig6">Figure 6</xref>, the plots are obtained using the exact solution and the discretized one-dimensional explicit numerical schemes in <xref ref-type="table" rid="table1">Table 1</xref>. All the schemes are implemented to show the traffic densitie profiles at 0.7, 3.5, and 7 minutes as shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>. The Upwind, Lax-Friedrichs, and Tolesa schemes are conditionally stable, v ( Δ t / Δ x ) ≤ 1 . That is, stable if and only if the physical velocity v is not bigger than the spreading velocity Δ x / Δ t of the numerical schemes or if the condition v ( Δ t / Δ x ) ≤ 1 is satisfied. Equavelently the time step Δ t must be smaller than the time taken for the vehicle to travel the distance of the spatial step Δ x . The amplitude of the wave increases as the Courant number increseases. But, does not blow up as far as the Courant number is satisfied. In all schemes as shown in (<xref ref-type="fig" rid="fig6">Figure 6</xref>(b), <xref ref-type="fig" rid="fig6">Figure 6</xref>(f), <xref ref-type="fig" rid="fig6">Figure 6</xref>(h)) of</p><p>density profiles account lesser densities as time scale increase in comparison with those of the exact solution.</p><p>The downwind and FTCS schemes are unconditionally unstable as shown in (<xref ref-type="fig" rid="fig6">Figure 6</xref>(d), <xref ref-type="fig" rid="fig6">Figure 6</xref>(e)). The numerical scheme is unconditionally unstable indecating that the numerical solution will be destroyed by numerical errors which will be certainly produced and grow exponentially. That means, exponentially growing modes appear, rapidly destroying the solution. The amplitude of the wave strongly blow up or peak up and violate the numerical solution this is unphysical as shown in (<xref ref-type="fig" rid="fig6">Figure 6</xref>(d), <xref ref-type="fig" rid="fig6">Figure 6</xref>(e)).</p><p>(<xref ref-type="fig" rid="fig6">Figure 6</xref>(c), <xref ref-type="fig" rid="fig6">Figure 6</xref>(g), <xref ref-type="fig" rid="fig6">Figure 6</xref>(i)) indicate the numerical errors. The numerical errors increase as time scale increase. That is, the error formed at 7 min is larger than the error formed at 3.5 min and the error formed at 3.5 min is larger than the error formed at 0.7 min.</p></sec><sec id="s4_2"><title>4.2. Traffic Flow with Linear Speed-Density Relationship</title><p>Greenshields proposed the first traffic flow model, and he observed that using photographic methods. The Greenshields was also able to show that a linear relationship between speed and density, and a quadratic relationship exists between flux and density, which, over the years, has come to be known as the fundamental diagram of traffic flow. In this subsection, we present the application of the Tolesa Scheme in the cases of traffic flow model with linear speed-density relationship as shown in <xref ref-type="table" rid="table2">Table 2</xref>. The LWR model (14) has been discretized by explicit Tolesa Scheme as follow.</p><p>ρ j n + 1 = ( 1 / 4 ) ( ρ j + 1 n + 2 ρ j n + ρ j − 1 n ) − α ( q j + 1 n − q j − 1 n ) + α 2 ( q j + 1 n − 2 q j n + q j − 1 n )</p><p>The Tolesa scheme discretization given in <xref ref-type="table" rid="table2">Table 2</xref> can be implemented using the same assumptions and values are used as in the case traffic flow model with</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Discretization of traffic flow model using explicit Tolesa schemes</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Linear speed-density relationship</th><th align="center" valign="middle" >Discretization</th></tr></thead><tr><td align="center" valign="middle" >∂ ρ ∂ t + ∂ ∂ x ( v max ( ρ − ρ 2 ρ max ) ) = 0</td><td align="center" valign="middle" >ρ j n + 1 = a ( ρ j − 1 n ) + b ( ρ j n ) + c ( ρ j + 1 n ) + d ( ρ j − 1 n ) 2 + e ( ρ j n ) 2 + f ( ρ j + 1 n ) 2 where a = [ 1 / 4 + v max ( Δ t / 2 Δ x ) + v max ( Δ t / 2 Δ x ) 2 ] b = [ 1 / 2 − 2 v max ( Δ t / 2 Δ x ) 2 ] c = [ 1 / 4 − v max ( Δ t / 2 Δ x ) + v max ( Δ t / 2 Δ x ) 2 ] d = [ − ( v max / ρ max ) ( Δ t / 2 Δ x ) − ( v max / ρ max ) ( Δ t / 2 Δ x ) 2 ] e = [ 2 ( v max / ρ max ) ( Δ t / 2 Δ x ) 2 ] f = [ ( v max / ρ max ) ( Δ t / 2 Δ x ) − ( v max / ρ max ) ( Δ t / Δ x ) 2 ]</td></tr></tbody></table></table-wrap><p>constant speed. Using these assumptions and the discretization shown in <xref ref-type="table" rid="table2">Table 2</xref>, we have developed computer programs to conduct simulation study of traffic flow model with linear density-speed relationship (19).</p><p>The exact solutions vary with location but almost the same for time as shown in <xref ref-type="fig" rid="fig7">Figure 7</xref>(a). The numerical errors increase as time scale increase. The error varies with time and location as shown in <xref ref-type="fig" rid="fig7">Figure 7</xref>(b). That is, the error formed at 7 min is larger than the error formed at 3.5 min and the error formed at 3.5 min is larger than the error formed at 0.35 min. The density, speed, and flow vary with time and location. As shown in Figures 7(c)-(e) Tolesa scheme is the correct simulation which express the reality and Mathematical relation between density, speed, and flow. An increase in density results in a decrease of vehicle speed and vehicle flow.</p><p>Fundamental Diagrams of Traffic Flow: Traffic flow theory involves the development of mathematical relationships among the primary elements of a traffic stream flow, density and speed. These relationships help traffic engineer in planning, designing, and evaluating the effectiveness of implementing traffic engineering measures on a highway system. Mathematical algorithms are used to study the complex interrelationship between elements of traffic stream. The diagrams shown in the relationship between speed-flow, speed-density, and flow-density are called the fundamental diagrams of traffic flow. These are as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>0. The fundamental diagrams of traffic flow are vital tools which enables analysis of fundamental relationships. There are three diagrams: speed-density, speed-flow and flow-density.</p><p>1) Speed vs. Density: The variation of speed with density is linear as shown by the solid line in <xref ref-type="fig" rid="fig8">Figure 8</xref>. When there are no vehicles on the highway, the density is zero. When density is zero there will be little or no interaction between vehicles, therefore drivers are free to travel at max possible speed. Further continuous increase in density will then result in continuous reduction of speed,</p><p>which will be zero when density is equal to the jam density. The maximum speed will be referred to as the free flow speed, and when the density is maximum, the speed will be zero.</p><p>2) Flow vs. Density: At zero density, the flow is obviously zero, because there are no vehicles on the road. As the density begins to rise, so does the flow, until a maximum flow is achieved at a critical density. Up to this point the movement of vehicles is relatively free and there is little interaction between the vehicles. An increase in density results in a decrease of vehicle speed and vehicle flow; this continues up to jam density, when traffic comes to a standstill. The flow and density varies with time and location. The relation between the density and the corresponding flow on a given stretch of road is referred to as one of the fundamental diagram of traffic flow and shown in <xref ref-type="fig" rid="fig9">Figure 9</xref>.</p><p>3) Speed vs. Flow: When flow is very low, there is little interaction between vehicles, therefore drivers are free to travel at max possible speed. The absolute max speed is obtained as the flow tends to zero. A point will be reached when further addition of vehicles will result in the reduction in the actual number of vehicles that pass a point on the highway (reduction of flow). At this point congestion is reached and eventually both speed and flow become zero. The flow is zero either because there are no vehicles or there are too many vehicles so that they cannot move. At maximum flow, the speed will be in between zero and free flow speed. The maximum flow occurs at critical speed. It is possible to have two different speeds for a given flow. The relationship between the speed and flow is referred to as one of the fundamental diagram of traffic flow and shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>0.</p></sec></sec><sec id="s5"><title>5. Conclusion</title><p>In the present work, one-dimensional explicit Tolesa scheme is developed for solving advection Equation (1) and is successfully applied on macroscopic traffic flow model with constant velocity (17). The one-dimensional explicit Tolesa</p><p>numerical scheme is another alternative numerical scheme to solve advection equation and apply to traffic flows model like other well-known one-dimensional explicit schemes such as Upwind, Downwind, FTCS, and Lax-Friedrichs schemes. The one-dimensional explicit Tolesa Scheme has unique schematic diagram as others one-dimensional explicit Schemes. One-dimensional explicit Tolesa scheme is conditionally stable by Von Neumann stability analysis. Although the Tolesa scheme has been developed to find a numerical solution of advection equation, traffic flow with constant speed, and linear density-speed relationship, it can also be extended for first and second order traffic flow models with non-linear velocity-density relationships. The further applications of Tolesa scheme will be taken up in the further study.</p></sec><sec id="s6"><title>Acknowledgements</title><p>This research work was supported by the Hawassa University and Wolaita Sodo University under the Ministry of Education. The contents of this paper reflect the views of the authors contributed equally to prepare, develop and carry out this manuscript.</p></sec><sec id="s7"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s8"><title>Cite this paper</title><p>Hundesa, T., Lemecha, L. and Koya, P.R. (2019) One- Dimensional Explicit Tolesa Numerical Scheme for Solving First Order Hyperbolic Equations and Its Application to Macroscopic Traffic Flow Model. Applied Mathematics, 10, 119-137. https://doi.org/10.4236/am.2019.103011</p></sec></body><back><ref-list><title>References</title><ref id="scirp.91456-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Quarteroni, A. (2009) Numerical Models for Differential Problems. Modeling, Simulation and Applications, Springer-Verlang, Milan, Vol. 2, 325-354.  
&lt;/br&gt;https://doi.org/10.1007/978-88-470-1071-0</mixed-citation></ref><ref id="scirp.91456-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Lakhouili, A., Essoufi, El., Medromi, H. and Mansouri, M. (2015) Numerical Simulation of Some Macroscopic Mathematical Models of Traffic Flow. Comparative Study. International Journal of Computer Science, 3, 1-6.</mixed-citation></ref><ref id="scirp.91456-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Hoffma, J.D. (2001) Numerical Methods for Engineers and Scientists. 2nd Edition, Marcel Dekker Inc., New York.</mixed-citation></ref><ref id="scirp.91456-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Elena Vázquez-Cendón, M. (2015) Solving Hyperbolic Equations with Finite Volume Methods. Springer International Publishing, Berlin, Vol. 90.  
&lt;/br&gt;https://doi.org/10.1007/978-3-319-14784-0</mixed-citation></ref><ref id="scirp.91456-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Leveque, R.J. (202) Finite Volume Methods for Hyperbolic Problems. The Press Syndicate of the University of Cambridge, Cambridge.</mixed-citation></ref><ref id="scirp.91456-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Noye, J. (1981) Finite Difference Methods for Partial Differential Equations. In: Numerical Solutions of Partial Differential Equations, North-Holland Publishing Company, University of Adelaide South Australia, 9-21.</mixed-citation></ref><ref id="scirp.91456-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Afroz, A., Kabir, M.H. and Andallah, L.S. (2014) A Computational Study of the Non-Dimensional Two Lane Traffic Flow Model with Two Sided Boundary Conditions. American International Journal of Research in Science, Technology, Engineering &amp; Mathematics, 8, 50-56.</mixed-citation></ref><ref id="scirp.91456-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Chronopoulos, A. (1992) Efficient Traffic Flow Simulation Computations. Mathematical and Computer Modelling, 16, 107-120.  
&lt;/br&gt;https://doi.org/10.1016/0895-7177(92)90123-3</mixed-citation></ref><ref id="scirp.91456-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Kabir, M.H., Gani, M.O. and Andallah, L.S. (2010) Numerical Simulation of a Mathematical Traffic Flow Model Based on a Non-Linear Velocity-Density Function. Journal of Bangladesh Academy of Sciences, 34, 15-22.  
&lt;/br&gt;https://doi.org/10.3329/jbas.v34i1.5488</mixed-citation></ref><ref id="scirp.91456-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Gani, M.O., Hossain, M.M. and Andallah, L.S. (2011) A Finite Difference Scheme for a Fluid Dynamic Traffic Flow Model Appended with Two-Point Boundary Condition. GANIT: Journal of Bangladesh Mathematical Society, 31, 43-52.</mixed-citation></ref><ref id="scirp.91456-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Ferziger, J.H. and Peric, M. (2002) Computational Methods for Fluid Dynamics. Springer, Berlin. &lt;/br&gt;https://doi.org/10.1007/978-3-642-56026-2</mixed-citation></ref><ref id="scirp.91456-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Strikwerda, J.C. (2004) Finite Difference Schemes and Partial Differential Equations. Society for Industrial and Applied Mathematics, Philadelphia.</mixed-citation></ref><ref id="scirp.91456-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Rezzolla, L. (2011) Numerical Methods for the Solution of Partial Differential Equations. Albert Einstein Institute, Max-Planck Institute for Gravitational Physics, Potsdam.</mixed-citation></ref><ref id="scirp.91456-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Bressan, A. (2016) Research Themes on Traffic Flow on Networks.</mixed-citation></ref><ref id="scirp.91456-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Hasan, M., et al. (2015) Lax-Friedrich Scheme for the Numerical Simulation of a Traffic Flow Model Based on a Nonlinear Velocity Density Relation. American Journal of Computational Mathematics, 5, 186-194.  
&lt;/br&gt;https://doi.org/10.4236/ajcm.2015.52015</mixed-citation></ref><ref id="scirp.91456-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Stavroulakis, I.P. and Tersian, S.A. (2004) Partial Differential Equations and an Introduction with Mathematica and Maple. 2nd Edition, World Scientific Publishing, Singapore, 130-140.</mixed-citation></ref><ref id="scirp.91456-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Greenshields, B., et al. (1935) A Study of Traffic Capacity. Highway Research Board Proceedings, 14, 448-477.</mixed-citation></ref><ref id="scirp.91456-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Ali, A. and Abdallah, L.S. (2016) Inflow Outflow Effect and Shock Wave Analysis in a Traffic Flow Simulation. American Journal of Computational Mathematics, 6, 55-65. &lt;/br&gt;https://doi.org/10.4236/ajcm.2016.62007</mixed-citation></ref></ref-list></back></article>