x-stream in madam new junction modelling in macroscopic

62
Omnitrans International BV, University of Twente X-Stream in MaDAM New junction modelling in macroscopic dynamic traffic assignment models

Upload: others

Post on 20-Jan-2022

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: X-Stream in MaDAM New junction modelling in macroscopic

Omnitrans International BV, University of Twente

X-Stream in MaDAM

New junction modelling in macroscopic dynamic traffic

assignment models

Page 2: X-Stream in MaDAM New junction modelling in macroscopic

Omnitrans International BV, University of Twente

X-Stream in MaDAM New junction modelling in macroscopic dynamic traffic assignment models

Author M.P. Schilpzand

Page 3: X-Stream in MaDAM New junction modelling in macroscopic

Documentation page

Client(s) Omnitrans International BV., University of Twente

Title report X-Stream in MaDAM

New junction modelling in macroscopic dynamic traffic assignment models

Author M.P. Schilpzand

Date of publication 27/06/08

Mentors Ir F. Brandt (Omnitrans International), dr. G. Still (University of Twente)

Project Definition Graduation Thesis

Keywords OmniTRANS, MaDAM, Junction Modelling, Mathematics, Dynamic, Macroscopic, Urban, Intersection

Page 4: X-Stream in MaDAM New junction modelling in macroscopic

Acknowledgements

Thinking that the acknowledgements would be the easiest and most joyful chapter of this thesis to write, I find it fascinating that I am a bit lost at what to write here. There are of course those that deserve my gratitude and credit for the help they have given me in the year it took me to write this thesis, and they will get it here. However I know that at least as important for me is the atmosphere at my workplace, the joy I have in doing my research and the relaxation at home. Therefore I would like to begin with thanking all of you guys at work, at volleyball and in my free time who made me laugh and relax. Above all my deepest gratitude goes to Aniek without whom I couldn’t have had this level of happiness. Which, for me, is the best basis for good research and a good thesis! Now I would like to give credit to those people who deserve it. My two mentors, Feike Brandt and Georg Still. Feike, thank you for giving me the freedom to make my own mistakes and learn from them. I would also like to thank you for being optimistic but never hesitant to ask the tough questions to make my research better, and for making time (almost) every Monday in your busy schedule. As for Georg, all throughout the year I was thinking of how special it was to have a mentor who was sick most of the time and still had time to meet me once per month and had suggestions and critics when due. So Georg, thank you most of all for the time you gave me in spite of your sickness. My colleagues who, aside from the joyful time, also always seemed to have time for me whenever I needed an answer or wanted to brainstorm. Especially Edwin, thank you for never hesitating to answer me. Whether there was something I didn’t understand in the code, in MaDAM, in OmniTRANS or just had a general question. Also Mark thanks for getting me in touch with Omnitrans. Finally a “thank you” to my family and again Aniek who, despite of the difficulty of my study, never stopped showing fascination in my work and who always tried to comprehend when I was speaking the foreign language of mathematics again. Maarten Schilpzand June 2008

Page 5: X-Stream in MaDAM New junction modelling in macroscopic

Summary Macroscopic Dynamic Traffic Assignment (MDTA) models are widely used tools to forecast the impact of proposed traffic investments. Most MDTA models were developed to be used on highways, recently however they are used in urban areas as well. A large difference between highways and roads in urban areas is the presence of junctions. This thesis describes in which way the effects of junctions can be taken into account in MDTA models. This thesis also presents the fundamentals of a new algorithm to take into account the effects of junctions in MaDAM, the MDTA model of OmniTRANS. X-Stream describes a more realistic manner in which traffic propagates at intersections. It also gives the user more influence in setting the ratio of computational time versus precision.

Page 6: X-Stream in MaDAM New junction modelling in macroscopic

Samenvatting Macroscopisch Dynamisch Verkeer Toedeling (MDVT) modellen worden veel gebruikt bij het voorspellen van de impact van voorgestelde verkeersaanpassingen. De meeste MDVT modellen zijn ontwikkeld voor het hoofdwegennet. Recentelijk worden ze echter ook veel voor het onderliggend wegennet gebruikt. Een groot verschil tussen het hoofdwegennet en het onderliggend wegennet is de aanwezigheid van kruispunten. Dit verslag beschrijft hoe de effecten van kruispunten meegenomen kunnen worden in MDVT modellen. Verder presenteert dit verslag de fundamenten van een nieuw algoritme waarbij de effecten van kruispunten meegenomen worden in MaDAM, het MDVT model van OmniTRANS. X-Stream beschrijft op een meer realistische manier hoe verkeer zich voortbeweegt op kruispunten. Ook geeft het de gebruiker meer invloed in het bepalen van de ratio van rekentijd versus precisie.

Page 7: X-Stream in MaDAM New junction modelling in macroscopic

Contents Page

1 Introduction 1 1.1 Research goals 1 1.2 Structure of the thesis 2

2 Function of a MDTA model 3 2.1 Macroscopic dynamic traffic assignment models explained 3 2.2 Quantities explained 3 2.2.1 Fundamental diagram 4 2.3 Conservation Equation 7 2.4 Velocity dynamics 8 2.4.1 Continuum model 8 2.4.2 Discrete model 11 2.4.3 Different sound speed of traffic functions 14 2.5 The Link Transmission Model 16

3 Junction Modelling 17 3.1 Junction modelling explained 17 3.2 Basic approach 18 3.3 Current model 18 3.3.1 Explanation of the currently used model 18 3.3.2 Known problems 20 3.3.3 Improvements 23

4 The link between junction modelling and a macroscopic dynamic traffic assignment model 24 4.1 Important variables of junctions and MDTA 24 4.1.1 Input variables for junctions 24 4.1.2 Output variables of junctions 25 4.1.3 Variables which are both input and output for macroscopic dynamic traffic assignment models 26 4.1.4 Input variables of macroscopic dynamic traffic assignment models 27 4.1.5 Output variables of macroscopic dynamic traffic assignment models 27 4.2 Exchange of variables between MaDAM and Junction Modelling 28 4.2.1 From MaDAM to Junction Modelling 28 4.2.2 From Junction Modelling to MaDAM 28 4.3 (In)dependency of JM with respect to MaDAM 28

5 Subsequent questions 29 5.1 Junctions in other MDTA models 29 5.2 Dealing of a junction model with its umbrella MDTA model 30

Page 8: X-Stream in MaDAM New junction modelling in macroscopic

6 Main question and the future 31

7 Explanation of the new algorithm 33 7.1 Principle of the new model 33 7.1.1 Basic approach 33 7.1.2 Handling known problems and improvements 33 7.1.3 Procedure 33 7.1.4 Remarks 34 7.2 Schematics of the algorithm 46 7.3 Calibration and validation 47 7.3.1 Propagation model with new anticipation term 47 7.3.2 Speed and capacity of junctions 48 7.3.3 Complete junction effects 48

8 Conclusions and recommendations 49 8.1 The effects of junctions in macroscopic dynamic traffic assignment models 49 8.1.1 Conclusions 49 8.1.2 Recommendations 49 8.2 The development of a new algorithm 50 8.2.1 Conclusions 50 8.2.2 Recommendations 50

9 References 51

Appendix A: Notation 53

Page 9: X-Stream in MaDAM New junction modelling in macroscopic

Page 1

1 Introduction

The concept of transportation has been around ever since men settled down and founded homes. In the beginning little was going on. However, since the twentieth century, the transportation sector has seen a dramatic increase in number of vehicles and turnover. As there are literally billions of euros spent in traffic, this sector has become more and more important which resulted in the increase of importance of traffic models. A set of these models are the macroscopic dynamic traffic assignment (MDTA) models. These models were developed somewhere halfway the twentieth century in order to have scientific methods for attacking the problem of organizing road traffic so that the full benefits of the increased mobility can be enjoyed at the lowest cost in human life and capital [LW55]. These models were originally developed for use on highways. With the ascending of the computer however they were soon used on suburban roads and recently even on urban roads. A large difference between highways and (sub)urban roads which has to be dealt with, is the presence of junctions. Macro dynamic traffic assignment models should therefore take into account the effects of junctions on traffic flows. This leads to the first goal of this thesis; to formulate a global theory of how to take into account the effects of junctions in macroscopic dynamic traffic assignment models. The second goal of this research is the development of an algorithm which deals with junctions in MaDAM and can be implemented in its code. MaDAM stands for Macroscopic Dynamic Assignment Model and is the MDTA used and developed by Omnitrans International. 1.1 Research goals

The first goal of this thesis can be formulated as a question: How can the effects of junctions be taken into account in a macroscopic dynamic traffic assignment model? The second goal, the development of an algorithm which deals with junctions in MaDAM, is essentially nothing more than the first goal applied to the MDTA of OmniTRANS. The questions leading to answering the main question and to the development of the algorithm are therefore sometimes global and sometimes more specific for development. It is of essential importance for answering the main goal that it is clear what a MDTA model is and what the function is of a junction. This leads to the first two preliminary questions: What is the function of a macroscopic dynamic traffic assignment model? And: What is the function of junction modelling? When these two questions are answered the logical next step is the link between the two models: What are the important variables of a macroscopic dynamic traffic assignment model and junction modelling? Closely connected to this last question is one leading to the second goal: Which variables are being exchanged between MaDAM and Junction Modelling? Also important for the development of an algorithm is: What is the (in)dependency of Junction Modelling with respect to MaDAM? After the preliminary questions, it is important to know some subsequent issues like junctions in other models and the combination of static and dynamic models.

Page 10: X-Stream in MaDAM New junction modelling in macroscopic

Page 2

This leads to two more questions: In what way do other MDTA models deal with junctions? And: Can a static (junction) model deal with its umbrella dynamic model? Because of the planning that more macro dynamic traffic assignment models could be implemented in OmniTRANS, it is also important to know what the future will bring: How can a macroscopic dynamic traffic assignment model deal with junctions in the future? 1.2 Structure of the thesis

This thesis consists of eight chapters. Chapter 2 treats the basics of macroscopic dynamic traffic assignment models. Its function is explained here as well as the mathematics behind the model. In chapter 3 the function of junction modelling is explained. The effects of junctions on traffic flows come up for discussion, as well as two different ways in which junctions can be modelled. Chapter 4 treats the connection between a model for junctions and an MDTA model. Important for this connection are the important variables of models for junctions and macroscopic dynamic traffic assignment models and how these variables can be exchanged. After attending the link between junction modelling and a macroscopic dynamic model, two subsequent questions have to be treated before the formulation can be made of a theory of how to take into account the effects of junctions in an MDTA model. These questions are discussed in chapter 5. Chapter 6 attends the main question, the first goal of this research. Chapter 7 gives the fundamentals on which X-Stream, the new algorithm, can be built, as well as a validation scheme to verify whether the algorithm does the job it is supposed to do. The conclusions and recommendations of both goals are reviewed in chapter 8.

Page 11: X-Stream in MaDAM New junction modelling in macroscopic

Page 3

2 Function of a MDTA model

This chapter treats the basics of macroscopic dynamic traffic assignment models. Its function is explained here as well as the mathematics behind the model. Most elaborately explained is the model used in MaDAM at this moment. This is a model based on an MDTA model developed by Messmer and Papageorgiou [MP90], which itself is based on an MDTA made by Payne [Pay71]. Also mentioned is the link transmission model, a new MDTA model developed by Ypperman [Ype06], which could be interesting if a new MDTA model is implemented next to MaDAM. 2.1 Macroscopic dynamic traffic assignment models explained

One way of modelling traffic is by means of macroscopic dynamic traffic assignment models. Macroscopic models all describe the flow of traffic, the traffic streams. Traffic is therefore not viewed as cars driving on a road (as is with microscopic models) but more as some substance flowing on the roads. There are two different macroscopic models, first order and higher order models. The most famous first order model is the LWR-model [LW55], explained in paragraph 2.3. First-order models however have some shortcomings. Harold Payne [Pay71] was one of the first to recognize this and developed a higher-order model, explained in paragraph 2.4. Firstly however, in paragraph 2.2, the quantities used as well as the fundamental diagram are explained. 2.2 Quantities explained

Basic quantities The three most important quantities in a macro-dynamic propagation model are flow, concentration (or density) and speed (or velocity). The flow is defined as follows: q

nqτ

= (2.2.1)

With

number of vehicles

time interval

nτ==

So the flow is the average number of vehicles passing a certain point of the road during some time period. The common unit of flow is: number of vehicles per hour. The concentration on a piece of road is defined as: k

dtk

dx

αα

τ=

∑ (2.2.2)

With

time taken by vehicle to cross a slice of road

length of the slice of road

time interval

dtdxα α

τ

=

==

Page 12: X-Stream in MaDAM New junction modelling in macroscopic

Page 4

To make things more clear imagine some road with two lines a distance apart. Now measure all the times taken by the vehicles to cross this slice of road over a moderate

time interval

dx( )dt

.τ This interval has to be long enough for many vehicles to pass. All the times taken by the vehicles to cross the slice of road added and divided by the time interval

( )dt τ∑ gives the average number of cars on that slice of road. When this average is

divided by the length of the slice, it gives the number of vehicles per unit length of road. The common unit of concentration is: number of vehicles per kilometre. The velocity v is defined as:

1

q dxvk dt

n

= =

∑ (2.2.3)

This is the average of vehicle speeds weighted according to the time they remain on the slice of road. 2.2.1 Fundamental diagram For a relation between two of the quantities a so-called fundamental diagram is used. In this diagram two of the three quantities are depicted. Because of the relationship

,q k v= ⋅ diagrams with other combinations of quantities can be made. Several types of

fundamental diagrams are available. As an example a flow-concentration curve and a speed-concentration curve can be seen in Figure 1.

Figure 1: Flow-concentration curve and speed-concentration curve

These curves are based on the Van Aerde car following model [RC02]. This model depends on four parameters, namely:

. Roadway free speed, the maximum speed of the road,

. Speed at capacity, the speed with maximum flow,

. Capacity,

. Jam concentration, concentration where the flow is zero again.

Page 13: X-Stream in MaDAM New junction modelling in macroscopic

Page 5

Equation (2.2.4) gives the formula for a so-called “fundamental diagram”:

21 3

f

ch c c v

v v= + +

− (2.2.4)

Where

( )

1 2

2

21

3

2

1

1

2

jf

c

c f c

c

c f

f c

c mc

c

k mv

v ccq v v

cv

v vm

v v

=

=⎛ ⎞

+⎜ ⎟⎜ ⎟⎝ ⎠

− + −−

=

−=

With

headwayspeedfree speed

speed at capacity

jam concentration

flow at capacity

f

c

j

c

hv

v

vk

q

===

=

=

=

The deduction of the formulas for are done in the following section. The term

headway is the distance between the front bumpers of two successive vehicles. The relation between headway and concentration is

,1 2 3 and c c c

.1h k= The relation between the

concentration and the speed is:

2

1 3

1

f

kcc c v

v v

=+ +

(2.2.5)

Using this relation and the fact that ,k v q⋅ = enables one to calculate the relation between

the flow and the speed:

2

1 3f

vqcc c v

v v

=+ +

(2.2.6)

Explanation of parameters in the fundamental diagram For equation (2.2.6) two conditions exist. The first condition is that the maximum flow rate occurs at the speed-at-capacity when the derivative of the flow rate with respect to speed is equal to zero. The second condition is that at jam concentration the traffic speed is equal to zero. When these conditions hold, the parameters can be calculated. ,1 2 3 and c c c

Page 14: X-Stream in MaDAM New junction modelling in macroscopic

Page 6

From the first condition follows:

( )

2 21 3 3 2

22

21 31 3

0c

c cf c f c

vcf

f c

c cc c v v cv v v vq v

cv v cc c v c c vv v v v

⎛ ⎞⎛ ⎞ ⎜ ⎟+ + − +⎜ ⎟ ⎜ ⎟⎜ ⎟− ⎜ ⎟−⎝ ⎠∂ ∂ ⎝= =∂ ∂ ⎛ ⎞+ +

+ +⎜ ⎟− ⎜ ⎟−⎝ ⎠

⎠ = (2.2.7)

Simplifying this gives:

21 1 c

f c f c

vccv v v v

⎛ ⎞0+ −⎜ ⎟⎜ ⎟− −⎝ ⎠

= (2.2.8)

Which in turn can be written as:

( ) ( )

1 2 22 2f c c

f c f c

v v vc c c

v v v v

⎛ ⎞−⎜= − − =⎜⎜ ⎟− −⎝ ⎠

m⎟⎟ (2.2.9)

With

( )2

2 c f

f c

v vm

v v

⎛ ⎞−⎜ ⎟= ⎜ ⎟⎜ ⎟−⎝ ⎠

By setting the speed equal to zero in (2.2.5), the second condition gives:

2 1 2

1

1 fj

f

f

vk

c c v ccv

= =++

(2.2.10)

Solving equation (2.2.10) for gives: 1c

21

1

j f

cc

k v= − (2.2.11)

Combining formulas (2.2.9) and (2.2.11) gives a new equation for independent of

2c

1 3or :c c

21

1j

f

c

k mv

=⎛ ⎞

+⎜ ⎟⎜ ⎟⎝ ⎠

(2.2.12)

With this formula for is also fixed for given free-speed, speed-at-capacity and

concentration-at-capacity. For the calculation of equation

,2 1c c

3c (2.2.6) is used, with the flow-

at-capacity and speed-at-capacity substituted for the flow and speed.

Page 15: X-Stream in MaDAM New junction modelling in macroscopic

Page 7

This gives:

21

3

c

c f c

c

v ccq v v

cv

− + −−

= (2.2.13)

So the relation between two of the units of speed, concentration and flow depends, as mentioned above, on free-speed, the speed-at-capacity, the capacity and the jam concentration. 2.3 Conservation Equation

The LWR-model of Lighthill, Whitham and Richards describes how slight changes in flow are propagated back through the stream of vehicles along ‘kinematic waves’. One of the main equations in this model is the conservation equation, a partial differential equation that describes the conservative transport of some kind of quantity. In this paragraph, the conservation equation for traffic streams is deduced from a general form for fluids. The general form of the conservation equation is [Vel93]:

( ) 0k kvt

δδ

+∇ = (2.3.1)

With

, ,...,1 2

density of the fluid

velocity of the fluid

n

kv

x x x

==

⎛ ⎞∂ ∂ ∂∇ = ⎜ ⎟

∂ ∂ ∂⎝ ⎠

In traffic the relation between density, velocity and flow is: q kv= (2.3.2)

With

traffic flow

density of traffic

velocity of traffic

qkv

===

Combining (2.3.1) with (2.3.2) and noting that the dimension of space in this equation is equal to 1 gives:

( ) ( ), ,

0k x t q x t

t x∂ ∂

+ =∂ ∂

(2.3.3)

In words this conservation equation states that no cars can vanish or appear out of the blue! For computational performance and simplicity the model has to be made discrete in both time and space. This means that time is divided in steps of .tΔ Making space discrete is done by dividing the motorway in sections. For numerical stability x v tΔ > Δ is assumed.

Page 16: X-Stream in MaDAM New junction modelling in macroscopic

Page 8

2.4 Velocity dynamics

2.4.1 Continuum model Conservation equation The principle of the theory of Payne is to combine the kinematics of Lighthill and Whitham with a car-following model and make this model discrete [Pay71]. The quantities

are used again and are related by the identity: , and q k v ( ) ( ) ( ), ,q x t k x t v x t= ⋅ ,

2

(2.4.1)

in any time-space segment. To derive a discrete model of a segment between locations

1 and x x over the time interval observe that for the number of cars in this

segment the following holds:

,1 and t t2

1

( ) ( ) ( ) ( ) ( ) ( )( ) ( ) ( ) ( )

1 1 2 22 1 2 1 2

2 1 2 1

segment segment x x x x

on on off off

n t n t n t n t n t n t

n t n t n t n t

⎡ ⎤ ⎡ ⎤= + − − −⎣ ⎦ ⎣ ⎦⎡ ⎤⎡ ⎤+ − − −⎣ ⎦ ⎣ ⎦

(2.4.2)

With

( )( )( )( )

1

2

1

2

number of vehicles on the segment at time

total number of vehicles generated on point at time

total number of vehicles generated on point at time

total number of vehi

segment

x

x

on

n t t

n t x t

n t x t

n t

=

=

=

=

( )cles generated on on-ramp at time

total number of vehicles generated on off-ramp at time off

t

n t = t

Figure 2: Conservation of vehicles

Now define the flow, concentration and on- and off-ramp frequencies as follows:

( )( ) ( )( ) { }

( ) ( )( )

( ) ( ) ( )( ) { }

, , , ,

, ,

, ,

2 11 2

2 1

1 22 1

2 11 2

2 1

1 2i ix xi

segment

j jj

n t n tq x t t i

t t l

n tk x x t

x x l

n t n t,f t t j on off

t t

−= ∈

=−

−= ∈

(2.4.3)

With

on-ramp frequency

off-ramp frequency

number of lanes

on

off

f

fl

=

==

Page 17: X-Stream in MaDAM New junction modelling in macroscopic

Page 9

Using the definitions of (2.4.3), equation (2.4.2) can be rewritten to:

( ) ( ) ( ) ( ) ( )

( )( )

( ), , , , , , , , , ,1 2 2 1 2 1 2 1 2 1 1 2 1 2 1 2

2 1 2 1 2 1 2 1

on offk x x t k x x t q x t t q x t t f t t f t tt t x x x x l x x l− −

= − + −− − − −

1t 1

(2.4.4)

Now taking the limits and 2t → ,2x x→ equation (2.4.4) becomes:

( ) ( ) ( )

, ,,

k x t q x tg x t

t x∂ ∂

+ =∂ ∂

(2.4.5)

With

( ), change in traffic due to on- and off-ramps vehg x t

km h⎛ ⎞= ⎜ ⎟⋅⎝ ⎠

Equation (2.4.5) is a generalized form of the conservation equation (2.3.3). Where (2.3.3) stated that no vehicles could turn up out of nowhere or disappear into nothingness, (2.4.5) says that there could be a change in the number of vehicles due to on-ramps and/or off-ramps. Dynamic equation Next to the expanded conservation equation a car-following model is reviewed. Suppose that at some moment the position of a vehicle is given as: ( )ny t x= (2.4.6)

With ( ) position of the vehicle at time ny t n t=

With the vehicle position known, the spacing between vehicles is next examined. This spacing can be approximated by the reciprocal of the density:

( ) ( ) ( ),11

n ny t y tk x t− − → (2.4.7)

The density in this formula depends on space and time. The space ( )x is set to the place of

vehicle A more accurate representation is the density at a location midway between the vehicles. This location can be approximated by taking the current location and adding half

the headway at the current location:

.n

( ).

,1 12

xk x t

+ Formula (2.4.7) can then be replaced

by:

( ) ( )

( ),

,

11

12

n ny t y tk x t

k x t

− − →⎛ ⎞

+⎜ ⎟⎜ ⎟⎝ ⎠

(2.4.8)

The vehicle speed ( )ny t is directly related to the velocity ( ), :v x t

( ) ( ),ny t v x t→ (2.4.9)

Page 18: X-Stream in MaDAM New junction modelling in macroscopic

Page 10

To include the reaction time observe that the vehicle at time is approximately at

position

,T t T+( ),x T v x t+ ⋅ assuming that the velocity doesn’t change in time-interval

[ ],t t T+ , this assumption can be made because the reaction time is very small compared

to other time-scales on the highway. Expanding formula (2.4.9) gives: ( ) ( )( ), ,ny t T v x T v x t t T+ → + ⋅ + (2.4.10)

Because the reaction time is small, the right-hand side of expression (2.4.10) can be expanded using Taylor’s series in :T

( ) ( ) ( ) ( )( )( ) ( ) ( )( ) ( )

( ) ( ) ( ) ( ) ( )

, ,, ,

, ,, ,

2

2

nv x t v x t

y t T v x t x T v x t x t T t O Tx t

v x t v x tv x t T v x t O T

x t

∂ ∂+ → + + ⋅ − + + − +

∂ ∂⎛ ⎞∂ ∂

→ + ⋅ + +⎜ ⎟⎜ ⎟∂ ∂⎝ ⎠

(2.4.11)

Using the substitution of the steady-state velocity for the vehicle speed suggested by Gazis [GHR61] and deleting higher order terms, one gets:

( ) ( ) ( ) ( ) ( )((, ,

, ,1 ev x t v x tv x t v x t V k x t

t x T∂ ∂

+ = − −∂ ∂

)), (2.4.12)

With ( )( ), steady-state velocity, depending on the concentrationeV k x t =

The steady-state velocity can be obtained by means of the fundamental diagram as shown in Figure 1. The steady-state velocity depends on the concentration at a certain point in time and space. This point can be explained using Figure 3.

Figure 3: Steady-state velocity explained

In this figure two roads are depicted. Road A can be seen as a picture taken from above at time where the left car is vehicle and the front of this vehicle is said to be at position ,t n

.0x Road B can be seen as a picture of the same road, but taken a time T later. The left car is now at position .1x Because the driver of the left vehicle is only human, he needs a

reaction time ( before he changes his speed according to the vehicle in front of him. )T

Page 19: X-Stream in MaDAM New junction modelling in macroscopic

Page 11

The vehicle speed at time t T+ therefore depends on the headway between cars and n1n − at time As seen before in equation.t (2.4.8), the headway can be approximated by

( ).

,1

2k x tThis point in time and space is depicted by the white plus-sign in Figure 3. Using

these variables for time and space, equation (2.4.12) can be rewritten as:

( ) ( ) ( ) ( ) ( )

( ) ( ) ( )( )

( ) ( )( ) ( )( )( )

( )( )

( ) ( )

, ,, , ,

,

,, ,

,

, ,, ,

, ,

,

Convection

Relaxation

1 12

1 12

1 12

e

e

ee

e

v x t v x tv x t v x t V k x t

t x T k x t

k x tv x t V k x t

T x k x t

V k x t k x tv x t V k x t

T k x t x k x t

V k v x tT

⎛ ⎞⎛ ⎞⎛ ⎞∂ ∂⎜ ⎟⎜ ⎟+ = − − +⎜ ⎟⎜ ⎟⎜ ⎟⎜ ⎟∂ ∂ ⎝ ⎠⎝ ⎠⎝ ⎠

⎛ ⎞⎛ ⎞∂⎜ ⎟= − − +⎜ ⎟⎜ ⎟⎜ ⎟∂⎝ ⎠⎝ ⎠⎛ ⎞∂ ∂⎜ ⎟= − − −⎜ ⎟∂ ∂⎝ ⎠

−=

( ) ( )( )

,,

Anticipation

12

edV k k x tdk x T k x t

∂+

∂ ⋅

(2.4.13)

In equation (2.4.13) it can be seen that Payne stated that the momentum of the fluid, the derivative of speed to time, has three different aspects: a convection term describing how the speed changes due to the arrival and departure of vehicles, a relaxation term describing how vehicles adept their speed according to the fundamental diagram and an anticipation term describing how vehicles react to the concentration conditions downstream of the road. This anticipation term can be made more general by defining a model-dependant sound speed of traffic ( ) ,c k the dynamic equation then becomes:

( ) ( ) ( ) ( ) ( ) ( )

( )( ), , ,

,,

2

RelaxationConvection Anticipation

ev x t v x t V k v x t c k k x tv x t

t x T k x t∂ ∂ − ∂

+ = −∂ ∂

,x∂

(2.4.14)

2.4.2 Discrete model For modelling purposes the speed, concentration and flow given at points are not as useful as speed on intervals and concentration and flow on segments. Equation (2.4.14) should therefore be made discrete. First the important quantities are defined on segments (speed and capacity) or time steps (flow):

( ) ( )

( ) ( )

( ) ( )

; , ,

, ; ,

, ; ,

2

1

2

1

2

1

1 22 1

1 22 1

1 22 1

1

1

1

t

t

x

x

x

x

q x t t q x t dtt t

v x x t v x t dxx x

k x x t k x t dxx x

=−

=−

=−

(2.4.15)

Page 20: X-Stream in MaDAM New junction modelling in macroscopic

Page 12

With

( )( )( )

; ,

, ;

, ;

1 2 1 2

1 2 1 2

1 2 1

average number of vehicles passing point between and

mean speed on section between points and at time

mean number of vehicles on section between points and

q x t t x t t

v x x t x x t

k x x t x

=

=

= 2 at time x t

For the derivative of the speed to space, Payne uses a backward difference formula, for the derivative of the concentration to space he uses a forward difference and for the derivative of the speed to time Payne again uses a forward difference approximation:

( ) ( ) ( )

( ) ( ) ( )

( ) ( ) ( )

, ; , ,,

, ; , ,,

, ; , ; , ;

v x x t v x x tv x tx x x

k x x t k x x tk x tx x x

v x x t v x x t v x x tt t t

−∂≈

∂ −

−∂≈

∂ −

∂ −≈

∂ −

1 2 0 1

2 1

2 3 1 2

2 1

1 2 1 2 2 1 2 1

2 1

(2.4.16)

For the derivative of concentration to time and of flow to space, similar difference approximations can be used:

( ) ( ) ( )

( ) ( ) ( )

, , ; ,

, ; , ; ,

k x t k x x t k x x tt t t

q x t q x t t q x t tx x x

∂ −≈

∂ −

∂ −≈

∂ −

1 2 2 1 2 1

2 1

2 1 2 1 1 2

2 1

;

(2.4.17)

To make the equations a little easier to understand, define the following discrete variables:

( )( )

( )( )

, ,

, ,

, ,

0

1

1

1

j

nj j

nj j j

nj j j

x x j x

q q x n t n t

v v x x n t

k k x x n t

+

+

= + Δ

= − Δ Δ

= Δ

= Δ

(2.4.18)

So is defined as the flow of cars passing a point, located n

jq j times the segment length

from 0,x in the time interval between 1n − times the time step and times the time step.

The speed is defined as the average speed on a slice of road starting

nnjv j times the

segment length from 0x and ending 1j + times the segment length from 0,x after times

the time step.

n

Page 21: X-Stream in MaDAM New junction modelling in macroscopic

Page 13

Conservation equation On segments with on-ramps traffic has to merge and on segments with off-ramps traffic has to diverge. Because both merging and diverging flows are special cases of fluid streams they are not considered here and instead of the more general form, equation (2.3.3), which considers no on- or off-ramps, will be made discrete:

( ) ( ), ,

0k x t q x t

t x∂ ∂

+ =∂ ∂

(2.4.19)

The derivatives of flow and concentration are replaced by section flow and section concentration, defined in equation (2.4.17):

( ) ( ) ( ) ( ), ; , ; ; , ; ,k x x t k x x t q x t t q x t t

t t x x− −

+ =− −

1 2 2 1 2 1 2 1 2 1 1 2

2 1 2 10 (2.4.20)

With section length (equal for all section)xΔ =

Using the variables from equation (2.4.18), the conservation equation then becomes:

1

1 0n n n nj j j jk k q q

t x

+−− −

+ =Δ Δ

(2.4.21)

Rewriting this equation to a formula of the concentration on the section at time 'thj

1n+ gives:

(11

n n n nj j j

tk k q qx

+−

Δ= + −

Δ )j

nj

(2.4.22)

The relation given in equation (2.4.1) still holds for sections and is rewritten as: n n

j jq k v= ⋅ (2.4.23)

The concentration, flow and speed are all per lane, for modelling purposes however it is more natural to have a flow on a road than a flow per lane. The flow per lane is therefore multiplied by the number of lanes to return a flow for the total road. At the start of this section it was assumed there would be no on- or off-ramps. When a segment actually has an on-ramp, traffic has to merge which results in an extra term in the dynamic equation. When a segment has an off-ramp, traffic has to diverge which results in dividing the streams over different roads. Both cases however are specially modelled and fall outside of the scope of this thesis. Dynamic equation Taking again the more general form of the dynamic equation (2.4.14) which is slightly rewritten:

( ) ( ) ( ) ( ) ( ) ( )

( )( ), , ,

,,

2ev x t v x t V k v x t c k k x tv x t

t x T k x t∂ ∂ −

= − + −∂ ∂

,x

∂ (2.4.24)

The speed and concentration on both sides are then replaced by section speed and section concentration conform equations (2.4.15) and (2.4.16):

Page 22: X-Stream in MaDAM New junction modelling in macroscopic

Page 14

( ) ( ) ( ) ( ) ( )

( )( ) ( )

( )( )( )

( ) ( )( )

, ; , ,, ; , ;, ;

, ; , ;

, ; , ;, ;

, ;

1 2 1 0 1 11 2 2 1 2 11 2 1

2 1 2 1

1 2 1 1 2 1

22 3 1 1 2 11 2 1 2

1 2 1 2 1

e

v x x t v x x tv x x t v x x tv x x t

t t x x

V k x x t v x x t

Tk x x t k x x tc k x x t

O xk x x t x x

−−= −

− −

−+

−+ + Δ

(2.4.25)

With section length (equal for all section)xΔ =

Using the variables from equation (2.4.18), the dynamic equation then becomes:

( ) ( )21

1e n n nn n n n n

j j j 1n

j j j j jnj n

j

V k v c kv v v v k kv

t x T k

+−

−− −= − + −

Δ Δj

x+ −

Δ (2.4.26)

Rewriting this equation to a formula of the speed on the section at time gives: 'thj 1n+

( ) ( )( ) ( )211

1

RelaxationConvectionAnticipation

n n nj j jn n n n n e n n

j j j j j j j nj

c k k kt tv v v v v V k v tx T k

++−

−Δ Δ= + − + − − Δ

Δ Δx (2.4.27)

So the speed a time step further equals the speed at that section at this time adjusted by three terms, the convection, relaxation and anticipation term. Equations (2.4.22), (2.4.23) and (2.4.27) together give an iterative scheme for the calculation of which are used in computer packages simulating macroscopic

dynamic traffic assignment models.

, and n n nj j jk q v

2.4.3 Different sound speed of traffic functions For the function ( )c k there are several options [Mae06]. In the next paragraphs three of

these options are elaborated. For a better understanding of the different functions, a new study has to be done, as this is too expansive for the current thesis. The three functions treated are those of Payne [Pay71], Zhang [Zha98] and Messmer & Papageorgiou [MP90]. Payne The sound speed of traffic function suggested by Payne is nothing else than reinstating the term which was replaced by ( )c k in the first place:

( )( )1

2

e njdV k

c kT dk

= − − (2.4.28)

Page 23: X-Stream in MaDAM New junction modelling in macroscopic

Page 15

The whole dynamic equation now becomes:

( ) ( )( ) ( ) 111

RelaxationConvectionAnticipation

1

2

e n n nj j jn n n n n e n n

j j j j j j j nj

dV k k kt tv v v v v V k v tx T dkT k

++−

−Δ Δ= + − + − + Δ

Δ Δ⋅ x (2.4.29)

For the derivative of the fundamental diagram speed to the density ( )e nj

d V kdk

⎛ ⎞⎜ ⎟⎝ ⎠

there are

two options. One is really calculating the derivative when the equations of the fundamental diagram are given. Problem with this option is that calculating the derivative can be an elaborate job and therefore can cost a lot of time, especially when the fundamental diagram of Van Aerde is used. The other option is estimating the derivative by means of a forward difference formula again. The anticipation term is than changed as follows:

( ) ( ) ( )

( ) ( )

11 1

1

1

1 1

2 2

1

2

e n e n e nn n nj j j

nj j j

n n n nj j j j

e n e nj j

nj

dV k V k V kk k k kt tT x dk xk T k k k

V k V kt

xT k

++ +

+

+

−− −Δ= Δ

Δ Δ⋅ −

−= Δ

Δ⋅

j

(2.4.30)

Zhang The sound speed of traffic function suggested by Zhang only depends on the derivative of the fundamental diagram speed to the concentration and the concentration itself:

( )( )e n

jnj

dV kc k k

dk= ⋅ (2.4.31)

The whole dynamic equation now becomes:

( ) ( )( ) ( ) 2

111

RelaxationConvectionAnticipation

e n n nj j jn n n n n e n n n

j j j j j j j j

dV k k kt tv v v v v V k v t kx T dk

++−

⎛ ⎞ −Δ Δ ⎜ ⎟= + − + − −Δ ⋅ ⎜ ⎟Δ Δ⎜ ⎟⎝ ⎠

x (2.4.32)

As described above there are two options for the derivative of the fundamental diagram speed to the density again. The first option being the real calculation of the derivative, which is cumbersome. The second option being the estimation of the derivative via a forward difference formula again. The anticipation term is than changed as follows:

( ) ( ) ( )

( ) ( )( )( )

2

11 1

1

2

1

1

1

2

e n e n e nn n nj j j

nj j jn

jn n nj j j

e n e nj jn

j n nj j

dV k V k V kk k k kt t kT x dk xk k k

V k V kt k

k k x

++ +

+

+

+

⎛ ⎞−− −Δ ⎜ ⎟= Δ ⋅ ⎜ ⎟Δ Δ−⎜ ⎟⎝ ⎠

−= Δ ⋅

− Δ

j

(2.4.33)

Page 24: X-Stream in MaDAM New junction modelling in macroscopic

Page 16

Messmer & Papageorgiou The sound speed of traffic function suggested by Messmer & Papageorgiou is the simplest of the three options. Instead of dependency on the derivative of the fundamental diagram speed, this function depends on the concentration, the reaction time and two global

parameters:

( )T

( ) ( )nj

nj

kc k

k T

ν

κ

⋅=

+ (2.4.34)

The whole dynamic equation now becomes:

( ) ( )( ) ( )11

1

RelaxationConvectionAnticipation

n nj jn n n n n e n n

j j j j j j j nj

k kt tv v v v v V k v tx T xk T

ν

κ++

−Δ Δ= + − + − −Δ

Δ Δ+ (2.4.35)

In Messmer & Papageorgiou’s model, the values of the parameters are given and are the following:

35

13

20T

νκ===

At this moment MaDAM uses the function of Messmer & Papageorgiou. As mentioned before however, this choice is open to debate and further research is needed. 2.5 The Link Transmission Model

Not quite a first-order or higher-order model, but still consistent with the kinematic wave theory, a new theory has recently been developed by Yperman [Ype06]: The Link Transmission Model. This model is different from the model used in MaDAM at this stage, it claims however to describe realistic traffic dynamics on both motorways and urban regions and therefore could have a suitable procedure for junction modelling in a macro-dynamic model.

Page 25: X-Stream in MaDAM New junction modelling in macroscopic

Page 17

3 Junction Modelling

In this chapter the function of junction modelling is explained. The effects of junctions on traffic flows come up for discussion as well as two different ways in which junctions can be modelled. On the basics of the currently used model some errors which can occur are treated and improvements are discussed. 3.1 Junction modelling explained

On highways traffic can be modelled comparatively easy with fluid models. Models for traffic flows just need to take into account the presence of bottlenecks, on- and off-ramps and some special cases as merging and diverging lanes. In urban areas the models will no longer be easy, as a new type of node will come in perspective: the cross-node. On this node at least two flows of traffic will meet, interact and leave again. The interaction can occur in a lot of different ways. Part of one of the flows just needs to cross the other flow, another part needs to diverge one way or another. To make it even more complicated, the cross-node can have specific requirements such as traffic lights, roundabout or priority roads. Now a junction has to take into account two different effects:

. Interaction between two (or more) traffic streams. For example, one stream going from south to north has to cross a stream going from the west to the east. Another interaction could be the merge of a stream from south to north with a stream from west to north.

. Extra limitations. Some junctions have specific conditions which have to be considered. Traffic lights for example block a flow for some time and let it flow for some other time. This can be seen as a bottleneck with a capacity of zero for certain (set) times and maximum capacity for the other times. Another condition could be a stop sign on a junction. This creates extra delay even when the other flow would be very small. The last example is the crossing of pedestrians with traffic lights on a road. Again this can be seen as the bottleneck from the first example. This junction however doesn’t have any interaction between traffic streams.

To take into account all these needs, junction modelling has to be capable of calculating a lot of different types of junctions and still be quite fast so that the model isn’t going to be terribly slow.

Page 26: X-Stream in MaDAM New junction modelling in macroscopic

Page 18

3.2 Basic approach

There are two different ways of modelling junctions in macro-dynamic models. . The average method in which the characteristics of a junction are calculated

beforehand, added to the total travel time in case of a delay or added to the density of the road in case of a queue.

. A more embedded model in which the junction is explicitly evaluated at the step the dynamic model is currently in. When possible a traffic stream then flows over the junction.

Both ways have their advantages and their disadvantages. The first method has the advantage of being simple to implement. The junctions don’t have to be simulated during every time-step of the macro-dynamic model but instead the characteristics can be computed beforehand and these characteristics can be used during the time-steps. With this approach the junction modelling is also fast, again because of the computation beforehand instead of simulating the junction every time-step. A drawback of the first method is the possible occurrence of errors. In section 3.3.2 known problems of the currently used method, based on the first approach, are reviewed. The possible advantage of the second method is the accuracy. Every time-step new intensities can occur on all directions, therefore the capacity and delay for different directions on junctions change with every time-step (see the section Changes of intensities over time for a more detailed explanation). Also the forming of queues can be more pessimistic in real life than in an averaged model (see the section Occurrence of a queue for a more detailed explanation). With an explicit simulation of junctions the queues are formed more natural. A disadvantage of the second method is the length of the simulation. When junctions have to be simulated every time-step and the program also needs to know at what time-step the process is to simulate correct green times, more simulation time will be needed compared to the first method. A special point of explicitly simulating the characteristics of a junction is some series of signalised intersections. When properly modelled, series of signalised junctions can show the effect of a platoon. All junctions in these series however, have to be modelled very precisely which is computationally intensive. 3.3 Current model

3.3.1 Explanation of the currently used model The model currently used to take into account the effects of intersections on traffic streams has three variables which have to be transferred from the junction model to the propagation model. These variables are:

. Delay: The amount of time a vehicle needs for deceleration, crossing and acceleration

. Capacity: The maximum number of vehicles which can cross the intersection in a given time, typically one hour

. Queue: The forming of a line of vehicles

Page 27: X-Stream in MaDAM New junction modelling in macroscopic

Page 19

Of these three the capacity can be transferred directly to the propagation model, the other two have to be rewritten in variables known by the propagation model. Variables of junctions and macroscopic dynamic traffic assignment models are further explained in section 4.1. Delay In the current model the junction is calculated once in the beginning to get the correct values i.e. the capacity of the junction, the delay for the different directions and green-times when the junction is signalised. In every time-step the traffic streams for turns on junctions are now viewed, the delay is added and the speed adjusted as explained in Example 1. When the inflow is higher than the capacity of that turn on the junction a queue is formed. The adding of the delay is done by means of adjusting the speed on the segment before the junction such that the time to ride over the segment is the same as the time it took normally with the delay added to this.

Example 1: Suppose the last segment before a junction has a length of 200 meters, the speed calculated is 36 km/h (or 10 m/s) and the delay is 30 seconds. Normally it would take 20 seconds to cross this segment (200/10), with the added delay it takes 50 seconds, so the speed is adjusted to 14.4 km/h (or 4 m/s).

Queue Next to the speed adjustments a queue could be formed. This happens when the flow of a specific turn is higher than the capacity of that turn. When there are multiple lanes on a junction, the appropriate lane will first get a queue. The forming of a queue is done by means of a recursive formula:

( )( ),max ,1 0n n n nl l in l l oup p q fr q+

t t= + ⋅ − Δ (3.3.1)

With

,

number of cars in queue on lane after timesteps

inflow on the segment after timesteps

outflow of lane after timesteps

fraction of inflow for lane

lentgh of the time-ste

nlnin

nl out

l

p l

q n

q l n

fr lt

=

=

=

=

Δ = p in hours

n

Page 28: X-Stream in MaDAM New junction modelling in macroscopic

Page 20

For the calculation of the length of the queue, the number of cars in the queue is divided by the maximum concentration for that lane. The maximum concentration is only reached when all the cars are in a queue. The maximum concentration is therefore the number of cars in a queue with a length of one kilometre.

Example 2: Suppose the last segment for a junction has two lanes, one lane for a left turn and a combined straight and right turn. The fractions of traffic for a left, a straight and a right turn are respectively a quarter, a half and a quarter. Total inflow is 2000, outflow on the left lane is 200, on the combined lane it is 300. Number of cars already in queue are 2 for the left turn and 6 for the combined lane. The length of the time-step is 12 seconds and the maximum concentration is 180. For the combined lane the number of cars in the queue are:

( )( ). . 126 0 25 0 5 2000 300 10

3600nowcombinedp = + + − =

The length of this queue is approximately 56 metres. For the left turn only the number of cars in the queue are:

( ). 122 0 25 2000 200 3

3600nowleftp = + ⋅ − =

The length of this queue is approximately 17 metres.

If the inflow remains too high, the queue could spill back on the segment before the last segment. When this happens the queue will grow even faster because now also streams for other turns are in the queue. 3.3.2 Known problems Two of the main problems of the currently used model for junctions are changes of intensities over time and a too optimistic occurrence of a queue i.e. the queue in the model is not as long as it could be in reality. Changes of intensities over time As time goes on, the intensities of flows will differ. In the beginning of a run, a road could be relatively quiet, get really busy during congestion time and then get quieter again. Traffic streams which have to cross this flow at junctions are less impeded during the beginning and the end of the run, but could be almost completely blocked during the congestion time. The current model first determines a characteristic intensity by means of a static assignment. With this intensity the delay at an intersection is calculated. This delay is used throughout the whole run.

Page 29: X-Stream in MaDAM New junction modelling in macroscopic

Page 21

Example 3:

Figure 4: Long road with intersection at the end

Suppose there is a road as depicted in Figure 4, where there is only traffic from points 1 to 3 and 2 to 4 the distance from 1 to 3 is 100 kilometre and one kilometre before point 3 there is a crossing with cars from 2 to 4. When there is a lot of traffic from 1 to 3, a static assignment returns a large intensity on the road from one to three, which results in a large delay for traffic from 2 to 4 on the junction, regardless of the fact whether the traffic from point 1 has already reached the junction.

Occurrence of a queue A problem arising only at traffic signals, is the lack of occurring of queues. The current model affirms whether the flow arriving for a turn isn’t higher than the capacity of that turn, and if so no queue forms. In real life however, a queue forms when the lights are red and, when the capacity is higher than the flow, disappears when it turns green again. In the time the queue forms, it can reach considerable length and could even spill back. Also in combination with changing intensities a queue could form remarkably fast.

Page 30: X-Stream in MaDAM New junction modelling in macroscopic

Page 22

Example 4: Assume a junction where there are two lanes for a road from some direction, both lanes are 50 meters long. The cycle-time of the signal is 120 seconds of which lane 1 gets 40 seconds, lane 2 gets 60 seconds and some other directions get 20 seconds. Every 6 seconds one car arrives for lane 1 and every 4 seconds one car arrives for lane 2. So direction 1 has a flow of 600 cars per hour and direction 2 has a flow of 900.

Currently used model

When the traffic lights are green, every two seconds one car can leave. This gives a capacity of 600 for direction 1 and 900 for direction 2. Because the capacity and flow are equal no queue will form in the currently used model.

Real life When a length of the lanes of 50 meters and an average length of 5 meters per car are assumed however, the following table shows a queue will form. The values after 1, 2 and 3 cycle-times (120, 240 and 360 seconds) can be compared best to see this: after 1 cycle a queue of 9 cars is formed, after 2 cycles the queue is 19 vehicles long and after 3 cycles 22. Seconds Queue on the road Cars on lane 1 Cars on lane 2 0 0 0 0 20 0 0 5 40 0 0 10 60 0 3 5 80 0 7 0 100 1 10 0 120 9 10 0 140 2 6 10 160 10 0 10 180 1 7 10 200 3 10 4 220 11 10 0 240 19 10 0 260 8 10 10 280 16 0 10 300 7 7 10 320 6 10 7 340 14 10 0 360 22 10 0

Page 31: X-Stream in MaDAM New junction modelling in macroscopic

Page 23

3.3.3 Improvements The method currently used for the modelling of junctions in the macro-dynamic propagation model has at least two points of improvements. The propagation of traffic over the junction and the existence of special bottlenecks as open bridges and railway crossings. Propagation Because the method used for the modelling of junctions is based on averages of capacity and delay, the propagation of traffic flows on junctions can be improved. When a junction is more integrated in the system, and modelled as a highway with some sort of bottleneck, the spillback of flows can be modelled better on the junctions. Special bottlenecks At this moment special bottlenecks, such as bridges which can be opened for a given amount of time, crossings with lights for pedestrians and railway crossings which can be closed for a given amount, are hard to model. Some extra tricks have to be used for a good approximation of these bottlenecks. When junctions are integrated and calculated every time-step, these bottlenecks can be modelled as junctions. The modelling of special bottlenecks is thus made a lot easier

Page 32: X-Stream in MaDAM New junction modelling in macroscopic

Page 24

4 The link between junction modelling and a

macroscopic dynamic traffic assignment model

In the previous two chapters the function of a macroscopic dynamic traffic assignment model and of junction modelling are reviewed respectively. The next step in the formulation of a theory of how to take the effects of junctions into account in a macroscopic dynamic traffic assignment (MDTA) model, is to make a link between these models. This chapter treats the connection between junctions and an MDTA model. Important for this connection are the important variables of junctions and macroscopic dynamic traffic assignment models and how these variables can be exchanged between the models. Specifically the interchanges of variables between MaDAM and Junction Modelling is reviewed. Furthermore the dependency of junctions on an MDTA model is observed and again specifically the dependency of Junction Modelling on MaDAM and vice versa.

4.1 Important variables of junctions and MDTA

Both models for junctions and for macroscopic dynamic traffic assignment need input variables and generate output variables. The two models need different input variables and generate different output variables. This paragraph treats these variables, input and output, of both models.

4.1.1 Input variables for junctions Three variables are important for junctions:

. Saturation flow

. Load

. Junction Type Also of importance, but not really a variable, is the characteristic of the junction, for example the number of lanes and the junction type. Many of the variables are dependent on a given time period. Without loss of generality the time period is assumed to be one hour. Saturation flow Saturation flow is the capacity, in number of vehicles per hour, per lane when no restrictions are present. This is sometimes also called the base capacity. A junction with no restrictions can be seen as a junction where there are no interactions between flows and no other limitations on the junction. In the junction modelling used in OmniTRANS it depends on the type of junction and the turn what the saturation flow is. A straight turn on an equal junction for example has a saturation flow of 1800, a right turn on an equal junction has a value of 1700 and a straight turn on an unsignalised roundabout has a value of 1500 [Sch07].

Page 33: X-Stream in MaDAM New junction modelling in macroscopic

Page 25

Load The load is identical with the flow in an MDTA model: it is the average number of vehicles passing the junction scaled to one hour. The load has to be known for each turn separately. In the junction modelling used in OmniTRANS the load is the number of vehicles per turn per hour. Junction type Junction types are the different base types of road crossings. The difference for example between a signalised and unsignalised junction is easy to see. A roundabout is also basically different from other junctions. Every type has its own specifications and basic characteristics. In OmniTRANS there are six different junction types: an equal junction, a priority junction, a signalised junction, a roundabout, a signalised roundabout and an all stop junction. Characteristics The characteristics can specify the number of branches of the junction (specifically three or four), the number of lanes per turn, the possible presence of a mid verge et cetera. Also sometimes used as input are green-times. At other times, depending on the way a signalised junction is handled, green-times can also be an output variable. The characteristics of a junction is not really a variable itself, however it is a composition of multiple variables. More information on the characteristics of Junction Modelling can be found in The explanation of Junction Modelling, which is part of Junction Modelling [Sch07]. 4.1.2 Output variables of junctions Different models for junctions can have different variables as output, the most common variables are however: delay and capacity. Also sometimes available are queue and green-times. Green-times can both be an input and an output. Delay Delay is the extra time a vehicle gets when crossing a junction. The delay is composed of three parts, the uniform delay, the incremental delay and the geometric delay. Depending on the model used for junctions these delays are calculated in a different way. The way the three parts of the delay are calculated is too elaborate to explain in this thesis, for the junction modelling used in OmniTRANS it is however explained in The explanation of Junction Modelling, which is part of Junction Modelling [Sch07]. Capacity Recall that the input variable saturation flow was defined as the capacity per lane when no restrictions were present, so for example no interactions between streams and no stop sign. This variable on the other hand is defined as the capacity per lane when all restrictions are accounted for. The capacity is given in number of vehicles per hour.

Page 34: X-Stream in MaDAM New junction modelling in macroscopic

Page 26

Queue Some junction models give the length or number of vehicles in the queue as an output variable. In Junction Modelling a queue forms when the load for a turn is higher than the capacity of that turn. This is called an overflow queue. Green times When green times are not fixed for a signalised junction, these have to be calculated by the model. The model can then give these times as an output variable. 4.1.3 Variables which are both input and output for macroscopic dynamic traffic

assignment models Because an MDTA model is an iterative model, some variables are both input and output. Recall from paragraph 2.4.2 that for concentration, speed and flow hold:

( )

( ) ( )( ) ( )

11

211

1

RelaxationConvectionAnticipation

1 1 1

n n n nj j j j

n n nj jn n n n n e n n

j j j j j j j nj

n n nj j j

tk k q qx

c k k kt tv v v v v V k v tx T k

q k v

+−

++−

+ + +

j

x

Δ= + −

Δ

−Δ Δ= + − + − − Δ

Δ Δ

= ⋅

(4.1.1)

These are all at a given time period and segment. Flow Flow is the average number of vehicles passing a certain point of the road during one hour. Although the flow is more of a by-product than a necessary variable, it is still usable as output and therefore it is also needed as input. In MaDAM the variable flow is the outflow of a link. So even when a link is internally divided in several segments, the flow is the outflow of the last segment. Concentration Concentration is the mean number of vehicles per lane per unit length of road. Generally the unit length of road is kilometre. Because the next time-step computation of the concentration and speed needs the concentration of this time-step the concentration has to be given as both an input and an output. Speed The in- and output variable speed is the average speed on a segment in a given period. This can be computed by means of weighting the average of vehicle speeds according to the time they remain on the slice of road. As with concentration, the speed is needed in the computation of the concentration and speed in the next time-step, so it has to be given as both input and output.

Page 35: X-Stream in MaDAM New junction modelling in macroscopic

Page 27

4.1.4 Input variables of macroscopic dynamic traffic assignment models Different models for MDTA need different input variables depending on the way of calculating the propagation. Some variables however are the same for all methods. The time-step and network are always essential for an MDTA model. In MaDAM there are also model parameters which have to be defined. Time-step The time-step is the step that will be made between two calculation cycles of the simulation. It is a trade off between run time and accuracy. Higher values will reduce the run times, but at the expense of modelling accuracy. In MaDAM the time-step is typically 1 second. Network The network is a schematic view of the characteristics of a traffic model. For example, it shows the way roads are interconnected, what their length is, the maximum speed and capacity. Other characteristics can be part of a macroscopic dynamic traffic assignment model and are best explained in the relevant manual. In MaDAM other characteristics are: speed at capacity, flow at capacity Model parameters In MaDAM the calculation of the propagation of traffic need some variables next to those described above. These model parameters exist of the following: τ, ν, κ, δ, ϕ, minimum speed, maximum density, segment length and junction segment length. The Greek symbols and the segment length are used for calibration of the actual propagation model. The symbols τ, ν and κ and segment length correspond with the symbols T, ν, κ and

xΔ explained in paragraph 2.4.3. The minimum speed is necessary for a genuine propagation. The maximum density together with the maximum speed, speed at capacity and flow at capacity are used in the calculation of the fundamental diagram, explained in paragraph 2.2.1. The junction segment length is only used when there are junctions and is the part of the road before the junction where the speed is adjusted to take account for the delay and where the queue forms, would one occur. 4.1.5 Output variables of macroscopic dynamic traffic assignment models As with junctions, different models for MDTA give different output variables. The most common output variables can be derived from the base output given by (4.1.1). For example the travel time on a path for a given start time can be calculated. Another example is the occurrence of traffic jams which can be made visible when every n time-steps the densities are shown in a network. Where n is typically 60, 300 or 900, corresponding to 1 minute, 5 minutes or 15 minutes.

Page 36: X-Stream in MaDAM New junction modelling in macroscopic

Page 28

4.2 Exchange of variables between MaDAM and Junction Modelling

The previous paragraph attended the input and output variables of models for junctions and models for macroscopic dynamic traffic assignment. This paragraph treats the trade off of the variables between Junction Modelling and MaDAM, the models for junctions and MDTA respectively in OmniTRANS. 4.2.1 From MaDAM to Junction Modelling The input variable of Junction Modelling which is also an output variable of MaDAM is the load, or flow in MaDAM. At this moment, the flow is generally calculated beforehand in a static run, and the values of the loads of different turns are kept the same throughout the whole run. This results in lower run times at the cost of accuracy, explained in paragraph 3.3.2. The power of MaDAM is the flexibility in its in- and output and it is therefore recommended to update the flow every few time-steps to get a more truthful junction input resulting in a more truthful output. 4.2.2 From Junction Modelling to MaDAM Junction Modelling has two output variables which are of importance to MaDAM. The first variable is the capacity. When one of the turns of a junction has a low capacity and a large flow, not all of the vehicles can pass and this effect has to be taken into account for in MaDAM. The other variable which is of importance, is the delay. Because delay is not an input variable for MaDAM, it has to be converted to a variable which is an input variable. The delay can be converted to a decrease in speed, which is an input variable in MaDAM. The way this is done is treated in paragraph 3.3. At this moment, the forming of a queue is done separately from the propagation method. In X-Stream, the new algorithm for communication between Junction Modelling and MaDAM, however, the forming of a queue is treated the same way as the forming of a traffic jam. It is a complete product of the propagation model and can be seen as an increase in density and decrease in speed. This is further explained in chapter 7. 4.3 (In)dependency of JUNCTION MODELLING with respect to

MaDAM

Both Junction Modelling and MaDAM are used separately in OmniTRANS. Junction Modelling was originally designed for junctions in a static traffic model and is therefore independent of MaDAM. In MaDAM there is a function with which the Junction Modelling can be turned on and off. MaDAM is therefore also independent of Junction Modelling. However, when the function for junctions is turned on in the new model, every few time-steps some variables have to be exchanged between MaDAM and Junction Modelling. Because both models have to wait for each other to get new input data the independency is not complete anymore.

Page 37: X-Stream in MaDAM New junction modelling in macroscopic

Page 29

5 Subsequent questions

After attending the link between junction modelling and a macroscopic dynamic model, two subsequent questions have to be treated before a formulation of a theory of how to take the effects of junctions into account in an MDTA model can be made. The first question in this section is: In what way deal other MDTA models with junctions? When other MDTA models have a working model taking into account the effects of junctions, these should be reviewed and, if possible, benefit the theory in this thesis. The second question is: Can a static (junction) model deal with its umbrella dynamic model? To make a connection between the junction model and the macroscopic dynamic traffic assignment model it is vital to know how these models can be associated. 5.1 Junctions in other MDTA models

Since it is only recently that macroscopic dynamic traffic assignment models are used on urban roads, theories for junction effects are also young. Most papers only treat either a specific type of junction or only the basics of junctions. In A macroscopic theory for unsignalized intersections [CL07] a macroscopic dynamic model for unsignalized intersections that recognizes the flow disruptions caused in and by the insertion process has been introduced. This model though, treats only the merging effect of two traffic streams, an effect which is already part of some MDTA models. It is no theory taking into account all effects of junctions on MDTA models. Models for traffic control [BdSdM02] presents a brief overview of traffic flow models from the point of view of a control engineer. The traffic controls discussed in this paper are controls on highways and are therefore less interesting for junctions in urban areas. In the Highway capacity manual [HCM00] two chapters are dedicated to junctions. One chapter treats unsignalized intersections, the other signalized intersections. In these chapters functions for calculation of the capacity and delay of turns, depending on the characteristics of junctions, are given. These functions are used for static models and can be compared with the functions for calculation in Junction Modelling. One paper treats a global new intersection flow model for DTA: A delayed flow intersection model for dynamic traffic assignment [DH05]. This is a model based on the LWR model [LW55] with new equations describing the flow on the intersection. Also an artificial segment is created with a length depending on the suffered delay. One of the assumptions in this model is that traffic flows differently on junctions and that these flows need new equations. In X-Stream the assumption is that the propagation model can be used on intersections and there is no need for new equations describing the flow. Instead restrictions are imposed on turns. Further explanation of the new model in X-Stream can be found in chapter 7.

Page 38: X-Stream in MaDAM New junction modelling in macroscopic

Page 30

5.2 Dealing of a junction model with its umbrella MDTA model

There are two basic divisions of models: static and dynamic. Recall that in a static model, the current outputs are based solely on the instantaneous values of the current inputs. When a model depends on the present and past input, it is said to be a dynamical model. A static model can easily be used as a part of a larger dynamic model, as it can be invoked with some inputs. As seen before, models for the effects of junctions can depend on the values of current inputs only and are then static. They can also be implemented in a more embedded way and are then dynamic. Macroscopic dynamic traffic assignment models are, as the name already indicates, dynamic models. As stated at the begin of this paragraph, static junction models can deal with its umbrella macroscopic dynamic traffic assignment model without any problem. Dynamic junctions have to be updated every time-step, but since the macroscopic dynamic traffic assignment model also has to be updated every time-step, the dynamic junction model can also deal with its umbrella MDTA model.

Page 39: X-Stream in MaDAM New junction modelling in macroscopic

Page 31

6 Main question and the future

The main question of this thesis is: How can the effects of junctions be taken into account in a macroscopic dynamic traffic assignment model? In chapter 2 macroscopic dynamic traffic assignment models are reviewed. Most elaborately explained is the second order model developed by Payne [Pay71], and a derivative model by Messmer and Papageorgiou [MP90], which is used in MaDAM. The quantities used by this model are mentioned and the dynamic functions elaborated. Chapter 3 treats the effect of junctions and how to take these into account. Two different approaches are mentioned and arguments for both approaches are given. Next to these approaches the currently used method is reviewed and improvements on this method given. In chapter 4 the important variables of both models for junctions and models for MDTA are observed. After this the exchange of variables of Junction Modelling and MaDAM are reviewed and the dependency of these two models examined. Chapter 5 lastly, treats a more general topic of the effects of junctions in other MDTA models and the dealings of a static model with its umbrella dynamic model. Chapter 5 implies that a large dynamic model can easily handle both a static part and a dynamic part. From a mathematical point of view, the effects of junctions can therefore be statically modelled and used by an MDTA model. The consequence of chapter 4 is that the important variables of the two models can be exchanged without much effort. So the communication between models of junctions and MDTA models runs smoothly. The way the effects of junctions have to be taken into account depends therefore on the specification of the MDTA model. When low project running time is required, the best way to model the effects of junctions is the average method. When accuracy is required on the other hand, the best way is likely to model the effects in a more embedded way. To combine the two ways, a hybrid model can be constructed which can be dynamic (embedded) on one hand, and completely static (average) on the other hand. This hybrid model has to be called every time-step when it is dynamic and it can be called at some time-steps with new input variables when it is static. In this way when accuracy has to be guaranteed, the effects of junctions are precise. When speed is desired, the effects are not as precise but the project running time is lower.

Page 40: X-Stream in MaDAM New junction modelling in macroscopic

Page 32

MDTA

Junction modelUpdate?

Yes

No

Figure 5: Flow chart of the combined hybrid model

Figure 5 depicts a flow chart of the hybrid model. Every time-step the macroscopic dynamic traffic assignment model calls the junction model for the effects of junctions. This model in its turn checks whether an update is necessary. It is necessary every time-step when the model is embedded and only some time-steps when a more averaged model is used. The junction effects model then returns its output variables and the MDTA can make its calculations for the next time-step. In chapter 7 X-Stream is treated. This is an algorithm currently under development which deals with the communication between Junction Modelling and MaDAM. This algorithm is planned to be implemented in the code of Streamline, a new framework for different MDTA models with additional models as route-choice and analysing modules. When new MDTA models are implemented in Streamline, new algorithms for the communication between these new models and Junction Modelling are likely to have to be implemented as well. However these algorithms are most probably very similar to X-Stream and future research can be limited to expanding X-stream to be capable of communicating with different MDTA models.

Page 41: X-Stream in MaDAM New junction modelling in macroscopic

Page 33

7 Explanation of the new algorithm

This chapter gives the fundamentals on which X-Stream, the new algorithm, can be built, as well as a validation scheme to verify whether the algorithm does the job it is supposed to do. In section 7.1 the known problems and improvements already mentioned in chapter 4 are used to develop a more realistic way of communication between a macroscopic dynamic traffic assignment model and a model for junctions. Two vital remarks are made here on the delay and acceleration/deceleration of traffic streams. With these principles of the new model, a schematic view of X-Stream is made in section 7.2. The last section of this chapter, 7.3, gives schemes of a way in which the algorithm can be validated. 7.1 Principle of the new model

7.1.1 Basic approach Because both approaches discussed in section 3.2 have their advantages in different settings, some kind of hybrid model would be the best solution. This hybrid model is a model in which the user can decide how detailed each junction has to be computed. In this way unimportant junctions don’t use a large amount of time to compute, while important junctions can be precisely modelled and accurately evaluated. 7.1.2 Handling known problems and improvements In case of changing intensities which have an effect on the capacity and delay of a junction, an improvement would be the recalculation of the capacity and delay at different time-steps. The average characteristics of a junction can still be used for this problem and no explicit simulation of red stages have to be done. For the problem with the (lack of) occurrence of a queue, junctions have to be computed explicitly, this because of the dynamic nature of a queue. This problem only occurs when a junction almost reaches its capacity and is then of such importance that either the lack of queuing is not important in the model or the junction is completely modelled and it can be calculated explicitly. Special bottlenecks are mostly simple, in which case it can be completely modelled easily and then simulated explicitly. 7.1.3 Procedure The delay on junctions is caused by the reduction of speed to cross the junction. This reduction is caused by the necessity to brake for different reasons. On signalised intersections, the reason is the colour of the light, on intersections where you have to yield, the reason is the opposing stream you have to cross, and on roundabouts the design also takes part in the reduction of speed. Taking this into account it is only logical to simulate every turn (of every lane) on junctions separately and reserve a segment of some length for this turn. On this segment, both speed and capacity are adjusted according to the junction-type and the intensity of opposing traffic.

Page 42: X-Stream in MaDAM New junction modelling in macroscopic

Page 34

Figure 6: Schematic view of a junction

In Figure 6 all turns of a junction are depicted. Every turn has some kind of bottleneck which has a given length and returns the capacity of that turn and the maximum

speed for the turn depending on the intensities of the conflicting flows and the specifics of the junction. The schematic view is always the same, whether the junction has traffic lights, is an all stop junction, roundabout or anything else. The only difference is the formula for the

i,ibn

.ibn 7.1.4 Remarks When the delay of junctions in a macro-dynamic propagation model is done in this way, it is of vital importance that the speed on the junction-segment is the correct maximum speed of a bottleneck, which depends on the delay received on that turn. Also important is that the propagation model can model the acceleration and deceleration correctly. Acceleration and deceleration When the speed on the junction-segments is low, to model the delay of crossing the junction correctly, the traffic stream has to adjust its speed before (deceleration) and after (acceleration) the junction. To get a correct total delay it is of vital importance that the deceleration and acceleration are both modelled neither too high or too low. When both are too high, traffic can brake and accelerate too fast which results in an excessive optimistic travel time. When both are too low, it takes too long for cars to adjust their speed resulting in an excessive pessimistic travel time. To examine the deceleration and acceleration of MaDAM at this moment, a testing network was made.

Page 43: X-Stream in MaDAM New junction modelling in macroscopic

Page 35

Figure 7: Testing network for acceleration and deceleration

The testing network exists of five roads all of equal length. The first five segments (from dot to dot) of each road have a length of 300 metres, the middle (orange) segment has a length of 20 metres and the last five segments are again 300 metres. The only difference between the roads is the maximum velocity on the middle segment, everything else is the same. The testing network has a maximum speed of 50 km/h on the most left road and decreases to 10 km/h on the most right. To examine the rapidity of acceleration and deceleration of MaDAM, traffic will run from the upper to the lower centroids.

Figure 8: Acceleration and deceleration with Messmer & Papageorgiou anticipation

Page 44: X-Stream in MaDAM New junction modelling in macroscopic

Page 36

Figure 8 depicts the average speed on the segments when a total flow of 600 vehicles per hour is put on the different roads. When the flow has to slow down to a speed of 10 km/h it starts to decelerate more than 1.5 kilometres before it gets to the point where the speed limit is set. To slow down to a speed of 30 km/h, depicted in the middle road, the flow starts decelerating at approximately 1.5 kilometres before the given segment. To nullify this unrealistic braking behaviour, a smart anticipation term was implemented in MaDAM. The smart anticipation term first checks the density in the next segment and only when this is larger than half the critical density and when the anticipation term is non-negative, the anticipation term is used, otherwise the anticipation term has a value of zero. So when the density is less than half the critical density, the velocity will not drop. This can be seen in Figure 9, the velocity stays at 49.70 km/h on the first four roads. Only the last road where the density is becoming larger (a more purple colour) also has a drop in speed, though being a less drastic than the normal anticipation term.

Figure 9: Acceleration and deceleration with smart anticipation

The problem with the smart anticipation term occurs when the density on a road is approximately half the critical density. At this point the speed becomes very instable, because sometimes the density is a little lower and the anticipation term is not used, while at other times the density is a little higher than the critical density and the anticipation term is used. Also the length of deceleration is rather drastic, from no deceleration whatsoever to a deceleration for about 1 kilometre. The acceleration is the same in both normal anticipation term and smart anticipation term. In both methods however the acceleration is slow. It takes about 1 kilometre to accelerate from 10 km/h to 50 km/h. The current model for the effects of junctions in MaDAM recognises this problem and makes the assumption that when the stream has crossed the junction it has no restrictions and gets therefore the fundamental diagram velocity.

Page 45: X-Stream in MaDAM New junction modelling in macroscopic

Page 37

Figure 10: Acceleration and deceleration with smart anticipation and junction assumptions

Figure 10 shows the average speed on links with both smart anticipation and junction-assumptions. On the first four roads, the speed-drop to allow for the extra delay is not continuous, but drops to the desired speed at the point of transition from normal road to the speed restricted road. On the last road the speed-drop is more continuous, but starts a kilometre before the road-segment with speed restriction. Instead of the anticipation term explained in the section on Messmer & Papageorgiou, a new anticipation term can be constructed. This new anticipation term is based on the anticipation term of Payne. The section on Payne in paragraph 2.4.3, explains both this term, as well as an option of estimating the derivative of the fundamental diagram speed by means of a forward difference formula.

( ) ( )( ) ( )

( ) ( )( )

e n n nj j jn n n n n e n n

j j j j j j j nj

n n n n e n nj j j j j j

dV k k kt tv v v v v V k v tx T dk xT k

t tv v v v V k vx T

++−

−Δ Δ= + − + − + Δ

Δ Δ⋅

Δ Δ≈ + − + − +

Δ

111

RelaxationConvectionAnticipation

1

RelaxationConvection

1

2

( ) ( )e n e n n nj j j j

n n nj j j

V k V k k kt

xT k k k+ +

+

− −Δ

Δ⋅ −

1 1

1

Anticipation

1

2

(5.1.1)

Because the anticipation term in dynamic equation (5.1.1) doesn’t give the correct result yet, an extra throughput factor is introduced:

( )max 1

nj

nj

k

k kζ

+− (5.1.2)

Page 46: X-Stream in MaDAM New junction modelling in macroscopic

Page 38

With

max

njk j

=

=

=

density on segment at time-step

jam density

parameter

n

The anticipation term has to be multiplied by this throughput factor. Equation (5.1.2) has the density of the current segment as the numerator and the space still available on the next segment as denominator. Now four situations can arise:

. Both the density on this segment and on the next segment are low. When this happens, the throughput factor is small, resulting in small effect on the whole dynamic equation. In this case the difference ( ) (1

e n e njV k V k+ − )j is restrained,

because drivers do not anticipate when there is nothing to anticipate for. . The density on this segment is low but on the next segment it is high. When this

happens, the throughput factor is average, resulting in normal effect on the whole dynamic equation. In this case the difference ( ) ( )1

e n e nj jV k V k+ − is

neither restrained nor magnified. . The density on this segment is high, but on the next segment it is low. When this

happens, the throughput factor is average, resulting in normal effect on the whole dynamic equation. In this case the difference ( ) ( )1

e n e nj jV k V k+ − is

neither restrained nor magnified. . Both the density on this segment and on the next segment are high. When this

happens, the throughput factor is large, resulting in a lot effect on the whole dynamic equation. In this case the difference ( ) (1

e n e njV k V k+ − )j is magnified,

because drivers have to anticipate when there is a lot of traffic. The constant ζ is only used to calibrate the throughput factor. The anticipation term becomes:

( ) ( )

( )max

1 1

1 1

1

2

e n e n n n nj j j j j

n n n nj j j j

V k V k k k kt

xT k k k k kζ

+ +

+ +

− −Δ

Δ⋅ − − (5.1.3)

Or, simplified:

( ) ( )( )max

1

12

e n e nj j

nj

V k V kt

T x k kζ +

+

−Δ

⋅Δ − (5.1.4)

Resulting in the complete dynamic equation:

( ) ( )( ) ( ) (( )

)max

111

1RelaxationConvection

Anticipation

2

e n e nj jn n n n n e n n

j j j j j j j nj

V k V kt tv v v v v V k v tx T T x k k

ζ ++−

+

−Δ Δ= + − + − + Δ

Δ ⋅Δ − (5.1.5)

Page 47: X-Stream in MaDAM New junction modelling in macroscopic

Page 39

Figure 11: Acceleration and deceleration with Payne anticipation

The propagation model with this new anticipation term gives the results depicted in Figure 11. When a constant deceleration is assumed the flow starts braking about 50 metres before the segment with maximum speed of 10 km/h. With this assumption it takes little more than 6 seconds to decelerate from 50 km/h to 10 km/h. The acceleration takes even less time: about 4 seconds. This means that after a little less than 30 metres the speed is approximately the desired velocity again. As mentioned in the section on Messmer & Papageorgiou, the dynamic equation used in MaDAM has some default values:

35

13

20T

νκ===

(5.1.6)

In the new dynamic equation (5.1.5) both ν and κ are absent, instead a new constant is used: .ζ For the output depicted in Figure 11 the following values of the constants are used:

max 180

10

2

k

Tζ=

==

(5.1.7)

The value of the jam density is the same as the default value of the jam density in MaDAM. The value of 10 for ζ is only based on the fact that this seems to give realistic output. The value of 2 seconds for T seems to be a more reasonable reaction time than 20 seconds. The values of these parameters need to be calibrated however to give the most realistic output. A scheme for calibration and validation is discussed in section 7.3.

Page 48: X-Stream in MaDAM New junction modelling in macroscopic

Page 40

Speed on junctions In Figure 12 two situations are shown. Situation A depicts a road from the left to the right with a junction in the middle. Situation B depicts the same road without the crossing.

Figure 12: Situations with and without crossing

The difference in travel time for the road from the left to the right, in situations A and B is the extra delay experienced on the junction in situation A. To simulate this correctly, the speed on the junction has to be adjusted in such a way that together with the loss of time for deceleration and acceleration it returns exactly the extra delay. Because a macro-dynamic propagation model adjusts the speed of the flow near bottlenecks itself, the adjusted speed on the junction only needs to take into account the loss of time for crossing the junction, it doesn’t need to consider the loss of time for the acceleration and deceleration. To get to know the correct loss time on junctions, it is important to know how the loss time is composed. In the static Junction Modelling the loss time for a lane is computed by the following formula:

( ), , , max,min ,1 2 3l l l lD d d d d= + + l (5.1.8)

With

,

,

,

max,

l

l

l

l

l

D ld l

d l

d l

d l

=

=

=

=

=

1

2

3

average delay on lane

uniform delay on lane

incremental delay on lane

geometric delay on lane

maximal delay on lane

When junctions are split into two classes; signalised and unsignalised, the different

have the same calculations for different junction types in the same class. The

difference between the classes, in a delay point of view, is the uniform delay. The incremental delay and geometric delay are the same for both classes. In the signalised class, the uniform delay depends on both the capacity of a turn and the amount of green time a turn gets.

,i ld

Page 49: X-Stream in MaDAM New junction modelling in macroscopic

Page 41

In the unsignalised class, the uniform delay only depends on the capacity of a turn. For the exact calculations see The explanation of Junction Modelling, which is part of Junction Modelling [Sch07]. Each of the separate delays has a different origin. The uniform delay in the signalised class is an estimate of delay, assuming uniform arrivals, stable flow and no initial queue. In the unsignalised class, the name uniform delay is badly chosen because it has nothing to do with a uniform arrival, but with the capacity of the approach lane as it is the inverse of the capacity per second. The incremental delay is an extra delay due to nonuniform arrivals, random delay and delay caused by sustained periods of over saturation. The geometric delay is the extra time needed for deceleration and acceleration, [HCM00]. This paragraph only treats a priority junction to verify whether, with the correct delay, the speed on a junction segment can be chosen in such a way that the complete travel time from one centroid to another in a dynamic model is approximately the same as in a static model. Two different functions for the calculation of the delay are used. Both only use the incremental part of the average delay. The uniform delay part is not used because in a macroscopic dynamic traffic assignment model the speed already drops near a bottleneck. The geometric delay part is not used because the acceleration and deceleration is done in a more realistic way by the MDTA model. The first function is from the Highway Capacity Model [HCM00], the second delay function comes from the code of Junction Modelling [Sch07].

2

2

2

8max 0,900 1 1

142

max 0,900 1 1

jun jun junHCM

jun

jun junJM

q q qD

cap cap cap

qq q cap

Dcap cap cap

⎛ ⎞⎛ ⎞⎛ ⎞⎜ ⎟⎜ ⎟= − + − +⎜ ⎟⎜ ⎟⎜ ⎟⎜ ⎟⎜ ⎟⎝ ⎠⎜ ⎟⎝ ⎠⎝ ⎠⎛ ⎞⎛ ⎛ ⎞⎜ ⎟⎜ −⎜ ⎟⎜ ⎟⎜ ⎟⎛ ⎞ ⎝ ⎠= − + − +⎜ ⎟⎜ ⎟⎜ ⎟⎜ ⎟⎜ ⎟⎝ ⎠⎜ ⎟⎜ ⎟⎜ ⎟⎜ ⎟⎝ ⎠⎝ ⎠

⎞⎟

(5.1.9)

With

flow on the junction segment

capacity of the junction segmentjunq

cap

=

=

The capacity of the junction segment is calculated by Junction Modelling. In this research it is assumed that the capacity given by Junction Modelling is correct. The travel time in the static model is the sum of the delay(s) of the junction(s), values returned by Junction Modelling, and the speed on the links times the length of the links. In a dynamic model, the travel times depend on the time. When a crossing is very busy for example, its capacity could be lower than the flow which has to cross, resulting in a growing queue and an increasing travel time. Generally the travel time in a static model should be in the same order of magnitude as the travel time in a dynamic model.

Page 50: X-Stream in MaDAM New junction modelling in macroscopic

Page 42

Figure 13: Network with priority junction

To show that the travel time in a dynamic model, with junction delay taken into account as explained, can be compared to the travel time in a static model, two times three consecutive runs are done in a static model, on a network depicted by Figure 13. The first time, a flow of 200 is set for streams from centroid 1 to 2 and flows of respectively 0, 250 and 500 are set for streams from centroid 3 to 4 and centroid 4 to 3. The second time, a flow of 600 is set for streams from centroid 1 to 2 and again flows of respectively 0, 250 and 500 for streams from centroid 3 to 4 and centroid 4 to 3. The travel time we are concerned about is that of traffic going from centroid 1 to 2.

After these six static runs, six dynamic runs are done with delay HCMD and six runs with

delay .JMD In these dynamic runs, the first hour has the specified flow, the second hour

has no flow, so no new traffic gets on the roads in the second hour. The results of these runs can be seen in Figure 14 to Figure 19.

Page 51: X-Stream in MaDAM New junction modelling in macroscopic

Page 43

215

216

217

218

219

220

221

1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77 81 85 89 93 97 101 105 109 113 117

Time of departure

Trav

el ti

me

Static Dynamic HCM Dynamic JM

Figure 14: Travel time; own flow 200, opposing flow two times 0

214

215

216

217

218

219

220

221

222

1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77 81 85 89 93 97 101 105 109 113 117

Time of departure

Trav

el ti

me

Static Dynamic HCM Dynamic JM

Figure 15: Travel time; own flow 200, opposing flow two times 250

Page 52: X-Stream in MaDAM New junction modelling in macroscopic

Page 44

212

214

216

218

220

222

224

226

228

1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77 81 85 89 93 97 101 105 109 113 117

Time of departure

Trav

el ti

me

Static Dynamic HCM Dynamic JM

Figure 16: Travel time; own flow 200, opposing flow two times 500

212

214

216

218

220

222

224

226

228

1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77 81 85 89 93 97 101 105 109 113 117

Time of departure

Trav

el ti

me

Static Dynamic HCM Dynamic JM

Figure 17: Travel time; own flow 600, opposing flow two time 0

Page 53: X-Stream in MaDAM New junction modelling in macroscopic

Page 45

210

215

220

225

230

235

240

1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77 81 85 89 93 97 101 105 109 113 117

Time of departure

Trav

el ti

me

Static Dynamic HCM Dynamic JM

Figure 18: Travel time; own flow 600 opposing flow two times 250

0

200

400

600

800

1000

1200

1400

1600

1 5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 77 81 85 89 93 97 101 105 109 113 117

Time of departure

Trav

el ti

me

Static Dynamic HCM Dynamic JM

Figure 19: Travel time; own flow 600, opposing flow two times 500

Some remarks can be made on behalf of the graphs of travel time. In the last graph, both delays of the dynamic runs are the same. They are the same because both delay functions yielded such a low speed that the maximum density could not be reached. Instead of this speed, the speed at capacity was set at the capacity divided by the maximum density and the maximum speed was set at 4/3 times the speed at capacity.

Page 54: X-Stream in MaDAM New junction modelling in macroscopic

Page 46

The reason that the yellow line is not a nice parabola lies in the fact that the propagation model of Payne is a bit unstable when the speed is very low. The delay of the Highway Capacity Model is always a bit more pessimistic. Especially in the runs where the flow from centroid 1 to 2 was 200. Here the function for the delay of Junction Modelling returned a delay of zero, resulting in a constant delay and thus a constant travel time for the first three runs. It seems that the delay of the Highway Capacity Model is a good estimate of the reality and this could be used in the calculation of the delay in a macroscopic dynamic traffic assignment model. 7.2 Schematics of the algorithm

Because X-Stream is the communication between a model for junctions and a macroscopic dynamic traffic assignment model, it has to collect, modify and transfer data. Before this however, the algorithm has to prepare the network. A junction, which is just a point in a macroscopic dynamic traffic assignment model, has to be transformed to several segments; one for each turn. The junction type is also determined here and whether the junction has to be treated dynamically or statically. During the run, data is transferred between the model for junctions and the MDTA model. In the case where the model for junctions is Junction Modelling and the MDTA model is MaDAM, the data that has to be transferred is flow from MaDAM to Junction Modelling and speed from Junction Modelling to MaDAM. X-Stream also checks every time step whether the junction has to be updated.

Page 55: X-Stream in MaDAM New junction modelling in macroscopic

Page 47

MDTA

Junction model

Update?

Done? No

No

Yes

Output

Yes

Preparation

Begin

Figure 20: Flow-chart of X-Stream in MaDAM

A simplified flowchart of the process of a macroscopic dynamic traffic assignment model is depicted in Figure 20. The parts which are important for X-Stream are coloured blue. 7.3 Calibration and validation

A distinction has to be made between the calibration and validation of the new anticipation term and the validation of the effects of junctions, i.e. the delay and capacity. It is recommended that the new anticipation term (5.1.5) is not only used for intersections, but for the complete urban network. This recommendation is not only made because the anticipation term should have effect before and after the intersection, but also because it seems to approach reality in a more realistic way than the old anticipation term. The new anticipation term has to be calibrated and validated for an urban network, not just for intersections. The effects of junctions are only of importance on junctions and need therefore only be validated on junctions. 7.3.1 Propagation model with new anticipation term The major difference of the propagation model with the new anticipation term compared to the propagation model with the old term is the way in which vehicles accelerate and decelerate. The calibration and validation of the new propagation model should therefore especially be done on places where cars have to accelerate and decelerate, like junctions or speed bumps. Take a speed bump for example.

Page 56: X-Stream in MaDAM New junction modelling in macroscopic

Page 48

Three speeds have to be measured. Firstly the average vehicle speed on a segment 200 metres before the speed bump. Secondly the speed with which the vehicle crosses the speed bump. Thirdly the average vehicle speed on a segment of 200 metre after the speed bump. When this is done for say an hour, the number of vehicles passing the speed bump has to be counted. An hourly average speed on the segments and on the speed bump can now be calculated. A network can then be made of a road say two segments long before an artificial junction segment and two segments after the junction segment. The speed on the junction segment has to be set on the calculated hourly average speed on the speed bump, the flow is set as the number of vehicles which passed the speed bump. The output speed on the segments before and after the junction segment can now be compared with the calculated hourly average speed of the measured data. 7.3.2 Speed and capacity of junctions The validation of the effects of junctions consists of two parts, the speed on the junction segment, and the capacity of the junction segment. The speed on a junction in X-Stream is the same as the speed a vehicle has when crossing the junction. The speed on a junction segment can therefore easily be validated by comparing the average speed of vehicles on a real junction with the speed on the junction segment with the same characteristics in the model. The capacity of a junction segment can be validated by looking at junctions with over saturation. The maximum capacity on these junctions is the inflow minus the queue. A network with the same characteristics should give approximately the same capacity.

7.3.3 Complete junction effects The most important validation is the comparison of travel times in the macroscopic dynamic traffic assignment model with travel times in the real world. The travel times used for this validation are of a route starting one kilometre before the junction and ending one kilometre after the junction. Travel times measured in real life should be the same as travel times generated by the macroscopic dynamic traffic assignment model with the same characteristics. This validation is the most important validation because in travel times the effects of junctions as well as the propagation model with the new anticipation term are used.

Page 57: X-Stream in MaDAM New junction modelling in macroscopic

Page 49

8 Conclusions and recommendations

This thesis treats a research with two goals: to formulate a global theory of how to take into account the effects of junctions in macroscopic dynamic traffic assignment models, and the development of a new algorithm which deals with junctions in MaDAM. The first goal is completely finished and the next section discusses the conclusions of this goal. The second goal is still in progress, though some conclusions and recommendations can already be made. These are given in section 8.2. 8.1 The effects of junctions in macroscopic dynamic traffic

assignment models

8.1.1 Conclusions The main question of this thesis is: How can the effects of junctions be taken into account in a macroscopic dynamic traffic assignment model? Because a macroscopic dynamic traffic assignment model can handle both the embedded and the average model, the answer on this question is by means of a hybrid model which links the macroscopic dynamic traffic assignment model with the model for junctions. The hybrid part implies that the model can be dynamic (embedded) on one hand, and completely static (average) on the other hand. The problem with different macroscopic dynamic traffic assignment models is that the input and output variables do not have to be the same. A hybrid model between an MDTA model and a model for junctions is therefore dependent of both the MDTA model and the model for junctions. The algorithm devised in this thesis, X-Stream, is a model for the communication between MaDAM and Junction Modelling. It is likely that it can be used as a basis for other combinations of MDTA models and models for junctions. The method of devising a hybrid model linking an MDTA model with a model for junctions should be largely the same and therefore easy to make. 8.1.2 Recommendations The communication model between a macroscopic dynamic traffic assignment model and a model for junctions will be hybrid. The advantage of a hybrid model is that the user has a lot of influence over the computational time and the amount of precision of the model. Precaution has to be taken at this point that users with less interest in optimising their model with respect to computational time and precision, will get default values with good ratio of the computational time versus the amount of precision.

Page 58: X-Stream in MaDAM New junction modelling in macroscopic

Page 50

8.2 The development of a new algorithm

8.2.1 Conclusions With respect to the new algorithm, two types of conclusions can be made. Conclusions based on the fundamentals on which the algorithm is built and conclusions based on the algorithm itself. The fundamentals on which the new algorithm is built, are those assumptions made, which have to hold for the new algorithm to be true. One of these assumptions is that the macroscopic dynamic traffic assignment model has a realistic way in modelling acceleration and deceleration. When this assumption does not hold, the new algorithm does not function as well as it should. The development of an algorithm which deals with junctions in MaDAM has led to an algorithm that made Junction Modelling communicate with MaDAM. The old connection of Junction Modelling and MaDAM was a solid foundation on which the new algorithm is based. The new model should give better results when traffic intensities fluctuate, because the new model does not depend on a single static run anymore. It also should model the propagation on junctions better and make the modelling of bottlenecks easier. However, since the new model hasn’t been fully developed yet, precautions have to be made with respect to these conclusions. As with every model, the new algorithm has to make a trade off between computational time and getting correct results. Bearing this in mind the goal of the new algorithm is twofold, giving the user more influence on the ratio of computational time versus the amount of precision, but also giving at least as good results as the old algorithm. 8.2.2 Recommendations With the development of X-Stream, the new algorithm for communication between MaDAM and Junction Modelling, came the introduction of a new anticipation term in the propagation model of MaDAM. It is recommended that, after validation of this new term, the propagation model with the new term is used on all urban roads in a network and not only in the neighbourhood of junctions.

Page 59: X-Stream in MaDAM New junction modelling in macroscopic

Page 51

9 References

[BdSdM02] T. Bellemans, B. De Schutter and B. De Moor. Models for traffic control. Journal A, volume 43, nr 3-4, pages 13-22. 2002.

[CL07] E.Chevallier and L. Leclercq. A macroscopic theory for unsignalised

intersections. Transportation Research Part B: Methodological, volume 41, Issue 10, pages 1139-1150. 2007.

[DH05] T. Durlin and V. Henn. A delayed flow intersection model for dynamic traffic

assignment. Proceedings of the Joint Conference-10th EWGT Meeting and 16th Mini-Euro Conference, Poznan. 2005.

[GHR61] D.C. Gazis, R. Herman and R.W. Rothery. Non-linear follow-the-leader

models of traffic flow. Operations Research, volume 9, no. 4, pages 545-567. 1961.

[HCM00] 2000 Highway Capacity Manual. Transportation Research Board, National

Academy of Science, Washington D.C., 2000. [LW55] M. Lighthill and G. Whitham. On kinematic waves: II. A theory of traffic flow

on long crowded roads. Proceedings of the Royal Society, volume A229, pages 317-345. 1955.

[Mae06] S. Maerivoet. Modelling traffic on motorways: state-of-the-art, numerical

data analysis, and dynamic traffic assignment. Ph. D. thesis, University of Leuven. 2006.

[MP90] A. Messmer and M. Papageorgiou. METANET: A macroscopic simulation

program for motorway networks. Traffic Engineering and Control, volume 31, pages 466-470. 1990.

[Pay71] H.J. Payne. Models of freeway traffic and control. Mathematical Models of

Public Systems (Simulation Council Proceedings), volume 1, pages 51-61. 1971

[RC02] H. Rekha and B. Crowther. Comparison of Greenshields, Pipes, and Van

Aerde Car-Following and Traffic Stream Models. Transportation Research Record, volume 1802-2002, pages 248-262. 2002.

[Sch07] M.P. Schilpzand. Junction Modelling. Internship thesis, University of Twente.

2007

Page 60: X-Stream in MaDAM New junction modelling in macroscopic

Page 52

[Vel93] H.G.M. Velthuisen. Inleiding stromingsleer. University of Twente. 1993 [Ype06] I. Yperman. The Link Transmission Model for Dynamic Network Loading. Ph.

D. thesis, University of Leuven. 2007 [Zha98] H.M. Zhang. A theory of nonequilibrium traffic flow. Transportation

Research Part B, volume 32, issue 7, pages 485–498. 1998.

Page 61: X-Stream in MaDAM New junction modelling in macroscopic

Page 53

Appendix A: Notation

( )

1,

2,

3,

max,

l

l

l

l

l

c kcapD l

d l

d l

d l

d

=

==

=

=

=

=

sound speed of traffic

capacity of the junction segment

average delay on lane

uniform delay on lane

incremental delay on lane

geometric delay on lane

maximal dela

( ),

on

off

l

j

l

f

ffr l

vehg x tkm h

hk

k

=

==

⎛ ⎞= ⎜ ⎟⋅⎝ ⎠===

y on lane

on-ramp frequency

off-ramp frequency

fraction of inflow for lane

change in traffic due to on- and off-ramps

headway

concentration (or density)

jam concent

( )( )

max

1

1 2 1 2

, ,

, ;

nj

nj j j

segment

k

k j n

k k x x n t

k x x t x x tln

n

+

=

=

= Δ

=

==

ration

jam density

density on segment at time-step

mean number of vehicles on section between points and at time

number of lanes

number of vehicles

( )( )( )( )

1

2

1

2

x

x

on

t t

n t x t

n t x t

n t

=

=

=

=

number of vehicles on the segment at time

total number of vehicles generated on point at time

total number of vehicles generated on point at time

total number of vehicles gen

( )off

nl

t

n t t

p l n

=

=

erated on on-ramp at time

total number of vehicles generated on off-ramp at time

number of cars in queue on lane after timesteps

Page 62: X-Stream in MaDAM New junction modelling in macroscopic

Page 54

( )( )

( ),

1 2

, 1 ,

; ,

flow

flow on the junction segment

flow at capacity

inflow on the segment after timesteps

outflow of lane after timesteps

average number of vehicles pa

jun

cnj j

nin

nl out

qq

q

q q x n t n t

q n

q l n

q x t t

==

=

= − Δ Δ

=

=

=

( )

1 2

1, ,

ssing point between and

time taken by vehicle to cross a slice of road

lentgh of the time-step in hours

parameter

speed (or velocity)

speed at capacity

free speedc

f

nj j j

x t tdt

tTv

vv

v v x x n t

v

α α

+

=

Δ ====

=

= Δ

( )( )( )

1 2 1 2

0

, ;

,

mean speed on section between points and at time

steady-state velocity, depending on the concentration

length of the slice of road

section length (equal for all sect

e

j

x x t x x t

V k x t

x x j x

dxx

=

=

= + Δ

=Δ =

( )

1 2, ,...,

ion)

position of the vehicle at time

parameter

parameter

time interval

parameter

n

n

y t n t

x x xζκτν

=

⎛ ⎞∂ ∂ ∂∇ = ⎜ ⎟

∂ ∂ ∂⎝ ⎠====