University of York
Dissertation submitted for the MSc in Mathematics with Modern Applications, Department of Mathematics,
University of York, UK.
August 2009
Network Traffic Modelling
Author:
David Slade
Supervisor:
Professor M.J. Smith
Contents
1 Introduction to Signal Control and Timings 6
1.1 Continuous Modelling of Fixed Time Signals . . . . 6
1.2 Delays, Routes, Links and Stages . . . . 7
1.3 Optimisation of Fixed Time Signals . . . . 9
1.4 Examples of P
0Policy . . . . 11
2 Braess’s Network 15 2.1 Braess’s Network with Flow from Node 1 to Node 2 . . . . 16
3 Responsive Control In A Simple Network 19 3.1 Terminology . . . . 19
3.2 Demand Feasibility, Supply Feasibility and Feasibility . . . . 20
3.3 Two Delay Formulae . . . . 20
4 Consistent Equilibrium Using The Equisaturation Policy 23 4.1 Equilibrium Using Delay Formulae δ
1. . . . 23
4.2 Stability of Equilibria Using Delay Formulae δ
1. . . . 24
4.3 Equilibrium Using Delay Formulae δ
2. . . . 26
4.4 Stability of Equilibria Using Delay Formulae δ
2. . . . 27
4.5 Alternative Stability Analysis . . . . 30
4.5.1 Analysis for Equilibria Using δ
1Formulae . . . . 30
4.5.2 Analysis for Equilibria Using δ
2Formulae . . . . 31
4.6 Remark . . . . 32
5 Effect on Network Capacity 33 5.1 Network Capacity Using Equisaturation Policy . . . . 33
5.2 Network Capacity Using the P
0Policy . . . . 34
5.3 Modelling as a Dynamical System and Finding a Lyapunov Function 34 5.4 General Case . . . . 37
5.5 P
0and Equisaturation Policies . . . . 39
6 Equilibria of a Symmetrical Network with Bottlenecks 40 6.1 Using delay formulae δ
2. . . . 40
6.1.1 How The Value of α Affects Stability of the Network . . . 42
6.2 Using the δ
1Delay Formulae . . . . 44
6.2.1 How The Value of α Affects Stability of the Network . . . 46
6.3 Using the P
0Policy . . . . 46
6.3.1 Remark . . . . 47
6.3.2 When A 6= 0 Using P
0Policy . . . . 47
6.3.3 Stability . . . . 48
7 Conclusion 49
List of Figures
1 A typical shape of the graph of Webster’s delay formula as traffic flow on the lane, X
i, increases. Note the asymptote at s
iG
iwhere the delay increases towards infinity. . . . 8 2 A simple example of a network that has four routes. The flow on
link i is therefore = flow on route 1 + flow on route 2 + flow on route 3 + flow on route 4 = X
1+ X
2+ X
3+ X
4. . . . 9 3 A simple example of a signal controlled junction with two links
approaching it. Link 1 has saturation flow s
1and link 2 has satu- ration flow s
2. . . . 9 4 A simple network. . . . 11 5 A network with a single origin-destination pair with four routes. . 13 6 Braess’s Network showing costs on the links, e.g. flow + 50 means
the cost on the link is the flow + 50 units. . . . 15 7 The average travel cost at equilibrium flow as k changes, it is a
decreasing function for 0 ≤ k ≤ 23. . . . 16 8 The average travel costs of the three routes as the amount of traffic
travelling from node 1 to node 2, ǫ, changes. . . . 17 9 How the price of anarchy changes for increasing amount of cars
travelling from node 1 to node 2. . . . 18 10 A simple signal-controlled network. Route 1 has saturation flow
= k vehicles per minute at node A and saturation flow k vehicles per minute at the signal. Route 2 has saturation flow=k vehicles per minute at node B and saturation flow s vehicles per minute at the signal. . . . 19 11 Example graph of how d
12may change as ’spare capacity’ de-
creases, approaching infinity as T X
1approaches sG
1. . . . 21 12 Bifurcation diagram to show pitchfork bifurcation of the equilibria
of the system. Bifurcation point at T = s −
4BAsand x
∗1=
12+ h
14
−
[As(s−T )]Bi
12, x
∗2=
12− h
1
4
−
[As(s−T )]Bi
12. . . . . 25 13 The set of equilibria consistent with the equisaturation policy for
some T using delay formulae δ
1. The lines are all equilibria, in- cluding the axes, and the arrows indicate the natural directions of motion of non-equilibria as drivers and green times respond to delays and saturation ratios (they also indicate the stability of the equilibria). . . . 26 14 Bifurcation diagram to show the changing stability of the equilibria
of the system. Bifurcation points at T
1=
2s−
12s
2−
16BA 12and T
2=
s2+
12s
2−
16BA 12. . . . . 28
15 The set of equilibria consistent with the equisaturation policy for some T using delay formulae δ
2. The lines are all equilibria, including the axes, and the arrows indicate the natural direc- tions of motion of non-equilibria as drivers and green times re- spond to delays and saturation ratios (they also indicate the sta- bility of the equilibria). The bifurcation points are also indicated;
T
1=
s2−
12s
2−
16BA 12and T
2=
2s+
12s
2−
16BA 12. . . . . 29 16 A network with a wide long upper route and shorter narrower lower
route. Route 1 has saturation flow = 8s
1vehicles per minute at node A and saturation flow s
1vehicles per minute at the signal.
Route 2 has saturation flow=α vehicles per minute at node B and saturation flow s
2vehicles per minute at the signal. . . . 33 17 Network capacity as s
2varies using two different policies for de-
termining signal timings, P
0and equisaturation. . . . 35 18 A symmetrical network with two routes both with identical satu-
ration flows of α at the bottlenecks at Node A and Node B and saturation flow s at the signal controlled junction. . . . 40 19 A graph of the equilbria of the network as T increases, with α =
s2. 43 20 A typical graph of the equilbria of the network as T increases, with
s
4
< α <
s2. . . . 43 21 A graph of the equilbria of the network as T increases, with α =
s2. 46 22 The set of equilibria consistent with the P
0policy for some T
using delay formulae δ
2. The lines are all equilibria, including the
axes, and the arrows indicate the natural directions of motion of
non-equilibria as drivers and green times respond to delays and
saturation ratios (they also indicate the stability of the equilibria). 49
Acknowledgements
I would like to thank the whole of the Department of Mathematics for their help, lectures, seminars and other such work in the four years i have spent at the University of York. In particular i would like to thank Dr.Zaq Coehlo for organising the MSc course which has been most enjoyable.
I would also like to thank Professor Mike Smith who has been a marvellous
supervisor for this dissertation. For providing me with an insight into his and oth-
ers work on the subject of Traffic Modelling, for guiding, advising and correcting
me; i have thoroughly enjoyed working on and completing this project.
Introduction
In the modern world many people own cars or use public transport to travel.
This leads to congestion and therefore long delays on journeys. To attempt to minimise delays and keep traffic moving then we must try and find the best signal timings and traffic flows for traffic networks. To do this various models have been used and their dynamics analysed. Within these models there are two important choices to make, one of them is the form of the delay function of a link and the other the signal timing policy employed.
In this project we will look at two forms of a delay function, both similar and both representing a term in Webster’s delay formula which will be introduced in the next section. We will also consider two signal timing policies, one of them called the ’equisaturation’ policy and the other the P
0policy.
We will first introduce notation and concepts of traffic modelling, as well as the two signal timing policies and Webster’s delay formula. In the section following this we look at Braess’s network and how increasing cost and thus decreasing traffic flow on a link in Braess’s network can actually reduce average travel cost across the network. We will then consider changing the parameters and adding flow on one link and consider how this changes the price of anarchy.
In the next section we look at the set of feasible traffic flows and green times and the constraints that they have. We also look at our two chosen delay formulae and look at the consistent equilibria they produce when the equisaturation policy is utilised on a simple network with no bottlenecks. We analyse the stability of these equilibria, using two methods, and will acquire graphs of the evolution of the equilibria as the total flow on the network changes.
We next look at the effect on network capacity using the P
0policy has com- pared with the equisaturation policy. We then consider the system as a system of four differential equations and find a Lyapunov function to show that there is only one consistent equilibrium when using the P
0policy on the network.
Finally we introduce bottlenecks into the simple network we have been looking at, and look at the symmetrical version of this network. We find the equilibria of the network, using both delay formulae, and consider how the saturation flows at the bottlenecks can affect the stability of these.
Acknowledgement of Previous Work
This project is based upon work done by a number of experts. The first sec- tion involving Braess’s network is based upon work done by both Braess [4] and Roughgarden [8].
The rest of the project is based upon work, supervision and guidance done
by Professor Mike Smith at the University of York, who has provided numerous
papers, projects and presentations for myself to learn from and work from.
1 Introduction to Signal Control and Timings
Traffic signal control strategies seek to minimise a combination of total travel time and stops for vehicles for the local traffic flow that has been observed, assuming that this pattern does not change.
1.1 Continuous Modelling of Fixed Time Signals
Definition 1 A stage a set of lanes approaching a junction which are shown green simultaneously as their paths do not coincide.
The simplest case is where the stages are such that traffic approaching the junction along distinct lanes in the same stage follow paths which do not intersect and so lanes in the same stage may be given green simultaneously.
Let there be K stages at a junctions, the signal display changes from ’green to stage 1’ to ’green to stage 2’ to...to ’green to stage K’ to ’green to stage 1’ and in a continuous cycle as given.
The method of changing display is ’fixed time’ if the periods of time when the signal is green for stage k are of the form t
kto t
k+ τ G
k, τ + t
kto τ + t
k+ τ G
k, 2τ + t
kto 2τ + t
k+ τ G
k, and so on. The time period during which stage k is green consists of repeated periods of time of constant lengths, τ G
kseconds, which happen regularly (every τ seconds).
The time τ seconds is called the cycle time of the signal and is usually less that 120 seconds. τ G
kis the green time and t
kmay be thought of as the offset associated with the particular junction been considered. Different junctions have their own t
koffset time and taken together these describe the way in which the fixed time evolutions at separate junctions are related.
Definition 2 An integreen is some fixed time, η seconds say, during which all stages at a junction are shown red to allow traffic which has just had priority in one stage the time to clear the junction before traffic flows with coinciding paths are given priority/shown green.
We will assume that η = 0 for simplicity.
The green time proportions G
1,G
2,...,G
Kfor which stages 1,2,...,K are given green add up to one.
A signal controlled junction has signals operating fixed time if the variables τ,G
1,...,G
Kare fixed. It is natural to seek the best values of these variables which is the reason for modelling traffic signals.
Webster [2] first thoroughly studied isolated traffic signals and this is now a
standard reference on fixed time signal control. Webster developed a formula for
the delay imposed on a single traffic stream by a traffic signal operating to fixed
time signal timings and used this to justify a simple rule in calculating fixed time
settings which approximately minimise the total of all delays experienced by all vehicles passing through the junction. The study involved:
1. theoretical modelling
2. simulation to validate the delay formula
3. optimisation to estimate reasonable signal settings.
These three elements play an important part in studies that follow Webster’s work.
1.2 Delays, Routes, Links and Stages
To optimise the signal control variables we need an objective function which is usually chosen to be the total rate of delay D at the junction. To minimise D we require a formula giving D in terms of flows and signal timing parameters which leads us to Webster’s Formula. This was designed to estimate the average medium run delay d
ito vehicles on a single lane caused by traffic signals operating on a fixed time basis.
It gives the estimated average delay per vehicle as a function of 1. average traffic inflow rate along that lane (X
ivehicles per second) 2. proportion of time the lane is given green (G
i)
3. saturation flow of the lane (s
ivehicles per second) 4. cycle time (τ seconds).
Webster’s Delay Formula
d
i(X
i, G
i) = 9 20
"
τ (1 − G
i)
21 −
Xsii+ X
is
iG
i(s
iG
i− X
i)
#
This is an extremely important function that is considered throughout modelling of traffic flow networks.
We can consider numerous simplifications of this formula as the overriding factor of the delay formula is
δ = 1
s
iG
i− X
ias this almost dictates the shape of the graph completely. So we can consider
this formula and slight variations of it when deciding on a delay formula that we
wish to apply to a network when studying its dynamics.
d i
x i
s i G i
Figure 1: A typical shape of the graph of Webster’s delay formula as traffic flow on the lane, X
i, increases. Note the asymptote at s
iG
iwhere the delay increases towards infinity.
The term δ is close to a well know formula, derived by Pollaczek and Khint- chine, for the average delay experienced by a Poisson stream of traffic being served by a server with identical service times equal to
s1iGi
seconds. The first term of Webster’s delay formula approximates the delay due to the stop start nature of traffic signal control.
A network is made up of links, routes and nodes. At the start of each route is an origin node which is connected by a number of links and nodes to the final node, the destination node. There may be a number of origin-destination pairs.
Definition 3 A link is a road that adjoins the last signal controlled junction or bottleneck to the next one.
Definition 4 A route is made up of a finite number of links that join the origin to the destination with no breaks.
Definition 5 The flow on a link i is denoted x
iand is the number of vehicles per minute on the given link. The flow on a route r is denoted by X
r.
The flow along link i, x
i, is the sum of the flows along all routes which the link belongs to. So
x
i= X
r: route r contains link i
X
rwhere X
ris the flow along route r.
The green time awarded to link i, G
i, is the sum of those green times awarded to the stages to which the link belongs:
G
i= X
k:stage k contains link i
g
k.
Example:
link i
Figure 2: A simple example of a network that has four routes. The flow on link i is therefore = flow on route 1 + flow on route 2 + flow on route 3 + flow on route 4 = X
1+ X
2+ X
3+ X
41.3 Optimisation of Fixed Time Signals
link 1
link 2 signal
Figure 3: A simple example of a signal controlled junction with two links ap- proaching it. Link 1 has saturation flow s
1and link 2 has saturation flow s
2.
Let us consider a junction with only two lanes approaching it (see Figure 3, link 1 and link 2, with saturation flows s
1and s
2respectively, so stage 1 is link 1 and stage 2 is link 2. Link 1 has signal green time G
1and link 2 is awarded green time G
2. We have that the delays experienced by each of the routes are represented by
d
1(X
1, G
1) and d
2(X
2, G
2) .
Suppose link 1 is given green for τ G
1seconds and link 2 is given green for τ G
2seconds during each cycle of τ seconds then we have that as G
1and G
2are proportions that
G
1+ G
2= 1.
Supply Feasibility and Constraints: Let flows X
1and X
2be fixed. The stage green times G
1and G
2are adjusted so the fixed traffic flows can get through the junction. Then the feasible supply gives X
1< s
1G
1, X
2< s
2G
2. Also we have that G
1+ G
2= 1 and G
1≥ 0, G
2≥ 0. These constraints give us a set for feasible green time vector G = (G
1, G
2) .
We are supposing that the vector of link flows, X, and cycle time τ are both fixed. It is easy to check that Webster’s formula is decreasing and strictly convex in G
i. Thus if we let D be the sum of all the delays experienced at the junction
D (X, G) = X
1d
1(X
1, G
1) + X
2d
2(X
2, G
2)
is (for fixed X) a convex function of the vector G of the stage green times.
There are many ways of determining a feasible vector G which minimises the convex function D subject to the linear feasibility constraints on G.
One way is to begin with a feasible G. Determine the ’marginal costs’
∂D
∂G
1and ∂D
∂G
2.
Both are negative as delay d
iwill be smaller if G
igets larger. They give the degree to which D changes when the stage green time vector G changes. We may think of
−
∂G∂D1and −
∂G∂D2as pressures P
1and P
2on stages 1 and 2 respectively. Increasing the green time for the stage under the most pressure is a natural decision.
Suppose
P
1= − ∂D
∂G
1< − ∂D
∂G
2= P
2then a swap of time α from less pressurised stage 1 to more pressurised stage 2 will reduce D, by about α h
∂D
∂G1
−
∂G∂D2i
if α is small. A more general swap rate is defined as − (P
1− P
2).
As green time is swapped towards stage 2, D must decline and under natural conditions G approaches the stage green time vector G
∗which minimises D for fixed X. At G
∗it is impossible to swap further according to the above rules. At optimum G
∗, P
1= P
2. Pressures on the two stages (or in this case links) are equal and D is minimised.
This is one signal timings policy called the delay minimisation policy. One can
build other objectives into a signal setting policy by letting P
i(X, G) be other
functions of flow and green time. Still following as above and considering P
ias
pressures. The new control policy, we call it ’policy P’, is determined by P
1and
P
2.
Policy P clearly depends on how we choose the pressures P
i. For any natural P the adjustment of G is as straight forward as with delay minimisation.
The rate of change of G
1is P
1− P
2, rate of change of G
2is P
2− P
1. The swap rule leads to G which equalises P
1and P
2and minimise the maximum of P
1and P
2.
There are three choices for P that are most popular:
Delay Minimisation
P
1(X, G) = − ∂D
∂G
1P
2(X, G) = − ∂D
∂G
2Equisaturation
P
1(X, G) = X
1s
1G
1P
2(X, G) = X
2s
2G
2P
0Policy
P
1(X, G) = s
1d
1(X
1, G
1) P
2(X, G) = s
2d
2(X
2, G
2)
The third choice called the ’P
0policy’ [1] and, as we will show throughout the project, favours links with high saturation flows and maximises the capacity of a network automatically.
1.4 Examples of P 0 Policy
Consider the following simple network with signal control where link 1 and link 2 meet. It has link 1 which has twice the saturation flow as the shorter link 2.
So take s
1= 2 and s
2= 1.
Link 1
Link 2
Figure 4: A simple network.
Using the policy P
0we have
s
1d
1= s
2d
2⇒ d
2= 2d
1so the delay time for vehicles on link 2 is twice as long as the delay for vehicles
on link 1 thus encouraging vehicles to use the higher saturation link that is link
1 and so overall maximising the capacity of the network as a whole.
Now consider the network in Figure 5. The network has one origin destination pair and four routes. There are three signal controlled junctions at nodes A,B and C.
route 1
route 2
route 3 A
B
C Origin
Destination
Figure 5: A network with a single origin-destination pair with four routes.
Let us assume that routes 1,2 and 3 have saturation flow s
1= 1. We now look at two cases, one where the saturation flow on route 4 is greater than the sum of the saturation flows on the other routes. The other case is when the saturation flow on route 4 is less than the sum of the other routes.
Take s
4= 4. Thus
s
1d
1= s
4d
4⇒ d
1= 4d
4.
So as there are 3 signals on route 4 the total delay time is 3
4 d
1< d
1so the delay time on either route 1,2 or 3 is greater than on route 4. Thus favouring the route with the higher saturation flow.
Now take s
4= 2.
d
1= 2d
2and so the total delay time on route 4 is 3
2 d
1> d
1so the incentive is to stay on either route 1,2 or 3 and avoid route 4. This is because as a combination routes 1,2 and 3 offer a higher saturation flow than route 4 in this case.
These two examples show that policy P
0favours the higher capacity routes
and maximises the network capacity. We consider this policy further in other
sections of the project and show how P
0produces favourable results.
2 Braess’s Network
Origin Destination
flow + k flow + 50
flow + 50 10 x flow
10 x flow
Node 1 Node 2
Route 1 Route 2
Figure 6: Braess’s Network showing costs on the links, e.g. flow + 50 means the cost on the link is the flow + 50 units.
We consider Braess’s network [4], shown in figure 6, which we assume has a capacity flow of 6 travels from the origin to the destination. If we, at first, consider that the dotted link is not present then the equilibrium flow (where both routes have equal costs) is when there is a flow of 3 on each route. As the costs are equal there is no incentive to swap routes. The cost on the two routes are
(10.flow on link) + (flow on link + 50) = (10.3) + (3 + 50) = 83.
Now we consider the network with the dotted link included. If k = 10, then the three routes have the same cost if the distribution of flow is equal on all three, i.e. flow on route 1 = flow on route 2 = flow on route 3 = 2. The average travel cost at this distribution is 92 which is greater than the average cost without the dotted link.
We now look at the effect of varying the parameter k. If k = 23 then we see that the flow distribution (3,3,0) is an equilibrium with the costs of each route being 83. So by increasing the cost of the dotted link it has been made undesirable and so traffic flow is only on the other routes. So the equilibrium of the network changes when k changes.
If k varies between 0 and 23 then we obtain that the equilibrium flow pattern
is
2 + k − 10
13 , 2 + k − 10
13 , 2 − 2 (k − 10) 13
(presented in the form (flow on route 1, flow on route 2, flow on route 3) ),which
gives all route costs as 92 −
9(k−10)13.
92 83
10 23
Average travel cost
k
Figure 7: The average travel cost at equilibrium flow as k changes, it is a de- creasing function for 0 ≤ k ≤ 23.
2.1 Braess’s Network with Flow from Node 1 to Node 2
Let us now consider Braess’s network when there is a set amount of traffic flow, ǫ, of the total flow (which is 6) travelling from node 1 to node 2 (see figure 6 ).
Let us find the equilibrium flow pattern that is created in this situation and how this affects costs of travel.
There is an equilibrium when costs on all three routes are the same. These are defined as
C
1= (10.flow on link11) + (50 + flow on link12) C
2= (10.flow on link22) + (50 + flow on link21)
C
3= (10.flow on link11) + (10.flow on link11) + (flow on dotted link + k).
We note that (if f
i= flow on route i);
flow on link 11 = f
1+ f
3, flow on link 12 = f
1, flow on link 21 = f
2, flow on link 22 = f
2+ f
3,
and flow on dotted link = f
3+ ǫ.
We also note that as the total network flow is 6, then f
1+ f
2+ f
3= 6 − ǫ.
At equilibrium we have C
1= C
2= C
3, thus we have four simultaneous equations to solve for three variables f
i. Firstly, C
1= C
2, gives us that f
1= f
2. Then we use the fact that f
2+ f
3= 6 − ǫ − f
1to yield, from C
1= C
3,
10 (6 − ǫ − f
1) + (50 + f
1) = 20 (6 − ǫ − f
1) + f
3+ ǫ + k and noting that f
3= 6 − ǫ − 2f
1,
(50 + f
1) = 10 (6 − ǫ − f
1) + 6 − 2f
1+ k
gives
f
1= f
2= 2 + k − 10 (1 + ǫ) 13 f
3= 2 − 2 (k − 10) + 7ǫ
13 .
This gives average costs for all routes following this equilibrium flow pattern as
92 − 9 (k − 10) + 40ǫ 13
which we see is the same as the usual Braess’s network costs when ǫ = 0.
The equilibrium flow pattern is valid until f
3= 0 which is when 2 (k − 10) + 7ǫ < 26
which is when
k < 23 − 7 2 ǫ.
This gives us the following graph of average travel cost for different values of ǫ, see Figure 8.
92
83
10 23
average travel cost
k
16 19.5 12.5 77.5
72 66.5
ǫ = 0 ǫ = 1 ǫ = 2 ǫ = 3
Figure 8: The average travel costs of the three routes as the amount of traffic travelling from node 1 to node 2, ǫ, changes.
The ratio of the equilibrium cost and the optimal cost, which Roughgarden
[8] called the price of anarchy, is interesting to look at to see how big an effect
changes have on the cost of the network. We can see when ǫ = 0 that the
price of anarchy for the Braess network we considered in the first section is
9283.
Roughgarden [8] showed that if the cost functions of the routes have the form (a x flow)+b then the price of anarchy is ≤
43and for large random networks the price of anarchy approaches
43with probability 1 as the number of links in the network tends to infinity, provided networks loads are suitably chosen.
We look at how adding in traffic flowing from node 1 to node 2 affects the price of anarchy. We look at cost at k = 10 and cost at k = 23 −
7ǫ2. This gives the price of anarchy as
92 −
40ǫ1383 −
17ǫ26which is equal to
8 (−299 + 10ǫ)
−2158 + 17ǫ . We plot this graph in figure 9.
Price of anarchy
ǫ
92 83
26 7 4
3
1
Figure 9: How the price of anarchy changes for increasing amount of cars travel- ling from node 1 to node 2.
We must have that 23 −
72ǫ ≥ 10 which gives us that ǫ ≤
267, otherwise the
ratio is 1. This shows us that by having cars travelling from node 1 to node
2 the price of anarchy falls, so the improvement in travel costs by increasing k
decreases. Therefore the benefit of closing the link in Braess’s network will be
reduced if there are cars that travel from node 1 to node 2.
3 Responsive Control In A Simple Network
We will consider a simple, symmetrical network shown in Figure 10. Two routes of equal uncongested travel time and distance join a single Origin-Destination pair. There are two stages at the signal; the first gives green to route 1, the second gives green to route 2. We suppose the cycle time at the junction is fixed and so the total of the two green times will be fixed. At nodes 1 and 2 there are bottlenecks. We consider the characteristics of the two routes to be identical.
Origin
Destination Node A
Node B
Signal Link 11
Link 21
Link 12
Link 22 Route 1
Route 2
Figure 10: A simple signal-controlled network. Route 1 has saturation flow = k vehicles per minute at node A and saturation flow k vehicles per minute at the signal. Route 2 has saturation flow=k vehicles per minute at node B and saturation flow s vehicles per minute at the signal.
3.1 Terminology
We will use the following terminology:
T = total flow from the Origin to Destination (vehicles per minute) T X
1= flow on route 1 (vehicles per minute)
T X 2 = flow on route 2 (vehicles per minute) X
1= proportion of flow using route 1
X
2= proportion of flow using route 2
G
1= proportion of time route 1 is given green G
2= proportion of time route 2 is given green
k = saturation flow at nodes A and B via either route (vehicles per minute) s = saturation flow at the signal approached via either route (vehicles per minute)
d
11= delay at exit of link 11 (minutes per vehicle)
d
21= delay at exit of link 21 (minutes per vehicle)
d
12= delay at exit of link 12 (minutes per vehicle) d
22= delay at exit of link 22 (minutes per vehicle)
K
1= uncongested time to traverse route 1 ignoring bottleneck delays (minutes per vehicle)
K
2= uncongested time to traverse route 2 ignoring bottleneck delays (minutes per vehicle)
C
1= K
1+ AX
1+ d
11+ d
12= average travel time on route 1 (minutes per vehicle)
C
2= K
2+ AX
2+ d
21+ d
22= average travel time on route 2 (minutes per vehicle).
We are assuming that the routes have the same uncongested travel time so that K
1= K
2= K.
The vector X = (X
1, X
2) gives the flow split between route 1 and route 2;
always X
1+ X
2= 1, X
1≥ 0 and X
2≥ 0.
Also, we suppose that the stage green-time proportions satisfy G
1+ G
2= 1, G
1≥ 0 and G
2≥ 0, so there are no positive minimum green-times.
3.2 Demand Feasibility, Supply Feasibility and Feasibility
The assumed conditions on the vector X and the stage green times lead to the following definitions. The set D of demand feasible (X, G) is given by
D = {(X, G) : X
1+ X
2= 1, X
1≥ 0, X
2≥ 0, G
1+ G
2= 1, G
1≥ 0, G
2≥ 0} . The set S of supply feasible (X, G) is given by
S = {(X, G) : sG
1> T X
1, sG
2> T X
2} .
From this we immediately have the set E of feasible (X, G) given by E = D ∩ S.
3.3 Two Delay Formulae
We assume that there are two delay formulae δ
1and δ
2giving all four delays d
11, d
12, d
21and d
22. We define them using δ
1as the following:
d
11= d
21= 0
d
12= δ
1(T X
1, sG
1) = BT X
1[sG
1(sG
1− T X
1)]
d
22= δ
1(T X
2, sG
2) = BT X
2[sG
2(sG
2− T X
2)] .
Using δ
2the delays are given by the following:
d
11= d
21= 0
d
12= δ
2(T X
1, sG
1) = B (sG
1− T X
1) d
22= δ
2(T X
2, sG
2) = B
(sG
2− T X
2) .
The travel costs along routes 1 and 2 given by C
1and C
2respectively are defined as
C
1= K + AT X
1+ d
12and
C
2= K + AT X
2+ d
22.
A, B, k and s are all constants. δ
1is identical to the second term of Webster’s delay formula (1958) if we choose B to be
209.
d 12
sG 1
T X 1
Figure 11: Example graph of how d
12may change as ’spare capacity’ decreases, approaching infinity as T X
1approaches sG
1.
For both δ
1and δ
2, as the ’spare capacity’ (the difference between sG
iand T X
i, i.e. the maximum flow possible and the actual flow) decreases towards zero, the delays increase towards infinity. This is a natural requirement and explains the supply feasible set S (see Figure 11).
The delays defined by δ
1and δ
2are defined throughout the feasible set E.
We define an equilibrium flow as a feasible vector (X
1, X
2) and a feasible T such that
C
1= C
2.
The definitions of the costs show that this involves the delay functions and thus
depends on X, G and T .
4 Consistent Equilibrium Using The Equisatu- ration Policy
4.1 Equilibrium Using Delay Formulae δ 1
If we now assume that the delay formulae are in the form of δ
1then we have C
1= K + AT X
1+ d
12= AT X
1+ BT X
1[sG
1(sG
1− T X
1)]
and
C
2= K + AT X
2+ d
22= AT X
2+ BT X
2[sG
2(sG
1− T X
2)]
as d
11= d
21= 0.
In the equisaturation policy, for any feasible X and T , green times are chosen so that
T X
1sG
1= T X
2sG
2thus X
1= G
1and X
2= G
2which gives C
1− C
2= AT (X
1− X
2) +
BT
s (s − T )
1 X
1− 1
X
2.
To find the equilibria of the system we solve the equation C
1− C
2= 0.
Obviously X
1= X
2=
12is a solution for all T . To find the others we multiply C
1− C
2= 0 by X
1X
2and obtain
(C
1− C
2) X
1X
2= AT (X
1− X
2) X
1X
2−
BT
s (s − T )
[X
1− X
2] = 0.
Now we have already obtained the solution of X
1−X
2= 0 so here we assume that this is not true and divide through by X
1−X
2and then substitute in X
2= 1−X
1to yield
X
12− X
1+ B
[As (s − T )] = 0 which gives us two solutions
X
1= 1 2 + 1
4 − B
[As (s − T )]
12and
X
1= 1 2 − 1
4 − B
[As (s − T )]
12.
These are two real roots of the equation C
1−C
2= 0 if and only if
14−
[As(s−T )]B≥ 0
which is the same as saying if and only if T ≤ s −
4BAs.
4.2 Stability of Equilibria Using Delay Formulae δ 1
We have three equilibria of this system, namely X
1= 1
2 X
1= 1
2 − 1
4 − B
[As (s − T )]
12X
1= 1 2 + 1
4 − B
[As (s − T )]
12and we wish to find the ranges of T in which they are stable. To do this we consider the function C
1− C
2as a function of X
1only which we can do as X
2= 1 − X
1, so let
f (X
1) = C
1− C
2= AT (2X
1− 1) +
BT
s (s − T )
1
X
1− 1 1 − X
1.
To analyse the stability of the equilibria we look at the derivative of this equation, which is
f
′(X
1) = 2AT −
BT
s (s − T )
1
X
12+ 1 (1 − X
1)
2. When X
1=
12we have
f
′1 2
= 2AT − 8BT s (s − T ) .
Now an equilibrium is stable for values of T for which f
′(X
1) > 0. So we see that the equilibrium X
1=
12is stable when T < s −
4BAs.
Let us consider the equilibrium point X
1=
12+ h
1
4
−
[As(s−T )]Bi
12. Now for simplicity let θ = h
1
4
−
[As(s−T )]Bi
and so X
1=
12+ θ
12.
If we consider the function f (X
1) (X
1X
2) we note that as X
1X
2≥ 0 the sign of the gradient of the function is the same as f (X
1) (although with possibly different magnitude) and the roots of the two equations are the same. Therefore we can consider f (X
1) (X
1X
2) and its derivative when analysing the stability of the equilibria.
F (X
1) = f (X
1) (X
1X
2) = AT (2X
1− 1) X
1− X
12− BT
s (s − T ) (2X
1− 1) and its derivative is thus
F
′(X
1) = AT
2X
1− 2X
12+ (2X
1− 1) (1 − 2X
1) − 2BT
s (s − T ) .
T X 1
s − 4B As s x ∗ 1
x ∗ 2 1 2
Figure 12: Bifurcation diagram to show pitchfork bifurcation of the equilibria of the system. Bifurcation point at T = s −
4BAsand x
∗1=
12+ h
1
4
−
[As(s−T )]Bi
12, x
∗2=
12− h
1
4
−
[As(s−T )]Bi
12.
So substituting in X
1=
12+ θ
12we obtain F
′(X
1) = 1
2 − 2θ − 4θ
− 2B
As (s − T ) = −4θ
and this is always less than zero for the range in which the equilibrium point X
1=
12+ θ
12is real. Similarly for the other point we get the same result.
So for the other two equilibria, we obtain that these are unstable for T < s−
4BAswhich gives us the following two diagrams. Figure 12 is a bifurcation diagram, showing how the stability of the equilibria change as T increases. Figure 13 shows the set of equilibria (T X
1, T X
2) as T increases from zero to s (of course T cannot be greater than s).
We see that we have a pitchfork bifurcation at T = s −
4BAswhere as T
increases we have three equilibria, two of which are unstable with the middle
equilibrium point stable but as T increases past the bifurcation point we only
have one equilibrium and this is unstable.
T X 2
s
T X 1
s s − 4B As
Figure 13: The set of equilibria consistent with the equisaturation policy for some T using delay formulae δ
1. The lines are all equilibria, including the axes, and the arrows indicate the natural directions of motion of non-equilibria as drivers and green times respond to delays and saturation ratios (they also indicate the stability of the equilibria).
4.3 Equilibrium Using Delay Formulae δ 2
Now suppose that the delay formulae are in the form of δ
2. Therefore we have C
1= K + AT X
1+ d
12= AT X
1+ B
sG
1− T X
1and
C
2= K + AT X
2+ d
22= AT X
2+ B sG
2− T X
2.
As we are using the equisaturation policy, as before, we have X
1= G
1and X
2= G
2and so
C
1− C
2= AT (X
1− X
2) + B s − T
1 X
1− 1
X
2.
We note that X
1= X
2=
12is an equilibrium. We attempt to find more equilibria by multiplying C
1− C
2= 0 through by X
1X
2to get
(C
1− C
2) X
1X
2= AT (X
1− X
2) X
1X
2− B
s − T (X
1− X
2) = 0.
Now as we have ruled out X
1− X
2= 0 as we have found this as an equilibrium already we may divide by X
1− X
2and set X
2= 1 − X
1to yield
X
12− X
1− B
AT (s − T ) = 0.
Solving this quadratic equation we obtain two solutions:
X
1= 1 2 + 1
4 − B
AT (s − T )
12and
X
1= 1 2 − 1
4 − B
AT (s − T )
12.
We see that these are two real equilibria of the system if and only if
14−
AT(s−T )B≥ 0 which is equivalent to
T
2− sT + 4B A ≤ 0
and if we solve this we have that the above two equilibria are real between
T = s 2 − 1
2
s
2− 16B A
12and
T = s 2 + 1
2
s
2− 16B A
12.
4.4 Stability of Equilibria Using Delay Formulae δ 2
If we consider
f (X
1) = C
1− C
2= AT (2X
1− 1) + B s − T
1
X
1− 1 1 − X
1then we take its derivative
f
′(X
1) = 2AT − B s − T
1
X
12+ 1 (1 − X
1)
2.
We evaluate the derivative at each of the equilibria. If we have an equilibrium point X
1∗then this is stable for all values of T that f
′(X
1∗) > 0. By applying this rule to each equilibrium point we obtain for the point X
1=
12f
′1 2
= 2AT − 8B
(s − T )
T X 1
1 2
T 1 T 2
Figure 14: Bifurcation diagram to show the changing stability of the equilibria of the system. Bifurcation points at T
1=
s2−
12s
2−
16BA 12and T
2=
2s+
1
2
s
2−
16BA 12.
and so the equilibrium is unstable whenever this is greater than zero. This gives us that X
1=
12is stable for all values of T such that
s 2 − 1
2
s
2− 16B A
12< T < s 2 + 1
2
s
2− 16B A
12and unstable at all other points. The other two equilibria points that were found before are unstable for all values of T such that they are real solutions i.e. the values stated above.
Let us consider the equilibrium point X
1=
12+ h
1
4
−
[AT (s−T )]Bi
12. Now for simplicity let θ = h
1
4
−
[AT (s−T )]Bi and so X
1=
12+ θ
12.
If we consider the function f (X
1) (X
1X
2) we note that as X
1X
2≥ 0 the sign of the gradient of the function is the same as f (X
1) (although with possibly different magnitude) and the roots of the two equations are the same. Therefore we can consider f (X
1) (X
1X
2) and its derivative when analysing the stability of the equilibria.
F (X
1) = f (X
1) (X
1X
2) = AT (2X
1− 1) X
1− X
12− B
s − T (2X
1− 1) and its derivative is thus
F
′(X
1) = AT
2X
1− 2X
12+ (2X
1− 1) (1 − 2X
1) − 2B
s − T .
T X 2
T X 1
s T 2
T 1
Figure 15: The set of equilibria consistent with the equisaturation policy for some T using delay formulae δ
2. The lines are all equilibria, including the axes, and the arrows indicate the natural directions of motion of non-equilibria as drivers and green times respond to delays and saturation ratios (they also indicate the stability of the equilibria). The bifurcation points are also indicated; T
1=
s
2
−
12s
2−
16BA 12and T
2=
s2+
12s
2−
16BA 12.
So substituting in X
1=
12+ θ
12we obtain F
′(X
1) = AT 1
2 − 2θ − 4θ
− 2BT (s − T ) which is less than zero when
−4θ < 0
and this is always less than zero for the range in which the equilibrium point X
1=
12+ θ
12is real. Similarly for the other point we get the same result.
This information allows us to draw two informative graphs shown below.
Figure 14 is a bifurcation diagram which shows the changing stability of the
equilibria of the system, we see how it appears as two opposing pitchforks. Figure
15 shows the set of equilibria, (T X
1, T X
2) for a certain T from zero to s; all lines,
including the axes up to s, are equilbria.
4.5 Alternative Stability Analysis
Although we have considered the stability of the equilibria that we have found, it is beneficial to check the answers we achieved with another method. We will use a, maybe, more traditional way of checking stability by considering the Jacobian matrix of the system. This means we must write the system in terms of differential equations which is something we will use later in the project. We will show that this method achieves the same answers and thus back up the method we have already used where we considered the derivative of the equilibrium equation.
4.5.1 Analysis for Equilibria Using δ
1Formulae
We have already found three equilbria of the formula C
2− C
1= 0 which are also equilibria with the same stability of the differential equation system
X ˙
1= (C
2− C
1)(X
1X
2) = AT (X
2− X
1)X
1X
2+ BT
s (s − T ) (X
1− X
2) X ˙
2= (C
1− C
2)(X
1X
2) = AT (X
1− X
2)X
1X
2+ BT
s (s − T ) (X
2− X
1) which has Jacobian matrix
A =
"
∂ ˙X1
∂X1
∂ ˙X1
∂X2
∂ ˙X2
∂X1
∂ ˙X2
∂X2
#
=
AT (X
22− 2X
1X
2) +
s(s−T )BTAT (2X
1X
2− X
22) −
s(s−T )BTAT (2X
1X
2− X
22) −
s(s−T )BTAT (X
12− 2X
1X
2) +
s(s−T )BT
To evaluate the stability of the equilibria we look at the Jacobian matrix evaluated at the equilbria points and consider the trace and determinant of the matrix to decide stability. Let us consider a Jacobian matrix
B = a b c d
then the characteristic equation is det (B − λI) = 0, which thus yields λ
2− τλ + ∆ = 0
where
τ = trace(A) = a + d
∆ = det(A) = ad − bc.
So the eigenvalues only depend on the trace and determinant of the matrix B. If
τ < 0 then the equilibria are stable [6].
If we use this information for our system we first evaluate the equilibrium (X
1, X
2) =
12,
12:
A 1 2 , 1
2
=
"
−
AT4+
s(s−T )BT AT4−
s(s−T )BTAT
4
−
s(s−T )BT−
AT4+
s(s−T )BT#
which has trace, τ = −
AT2+
s(s−T )2BTand this is less than zero when T < s −
4BAs. Now let us consider the equilibrium
1
2
+ θ
12,
12− θ
12, where θ =
14−
As(s−T )B. We have that the trace of the matrix A evaluated at the equilibrium point is
τ = (2 − θ) AT + 2BT s (s − T )
and this is less than zero when T > s −
4BAsbut the equilibrium point is only real when T < s −
4BAsso this equilibrium point is always unstable. The equilibrium point
1
2
− θ
12,
12+ θ
12satisfies the same conditions so is always unstable while real.
We note that these equilibria are also equilibria of the extended system of the following differential equations
X ˙
1= (C
2− C
1)(X
1X
2) = AT (X
2− X
1)X
1X
2+ BT
s (s − T ) (X
1− X
2) X ˙
2= (C
1− C
2)(X
1X
2) = AT (X
1− X
2)X
1X
2+ BT
s (s − T ) (X
2− X
1) G ˙
1= T X
1sG
1− T X
2sG
2G ˙
2= T X
2sG
2− T X
1sG
1.
4.5.2 Analysis for Equilibria Using δ
2Formulae
Using the same method we analyse the system C
1− C
2= 0 defined using the δ
2delay formulae. We analyse the differential equations system X ˙
1= (C
2− C
1)(X
1X
2) = AT (X
2− X
1)X
1X
2+ B
(s − T ) (X
1− X
2) X ˙
2= (C
1− C
2)(X
1X
2) = AT (X
1− X
2)X
1X
2+ B
(s − T ) (X
2− X
1) which has Jacobian matrix
A =
AT (X
22− 2X
1X
2) +
(s−T )BAT (2X
1X
2− X
12) −
(s−T )BAT (2X
1X
2− X
22) −
(s−T )BAT (X
12− 2X
1X
2) +
(s−T )B
Let us consider the equilibrium point
12,
12, if we evaluate the Jacobian matrix A at this point then we get the trace of A as τ = −
AT2+
(s−T )2Band this is less than zero when
s 2 − 1
2
s
2− 16B A
12< T < s 2 + 1
2
s
2− 16B A
12. (1)
Now if we look at the equilibrium point
1
2
− θ
12,
12+ θ
12, where in this case, θ =
14−
AT(s−T )B. The matrix A evaluated at this point has trace
τ = AT X
12+ X
22− 4X
1X
2+ 2B (s − T ) , which, if we note that X
12+ X
22= 1 − 2X
1X
2, is
τ = AT
− 1 2 + 6θ
+ 2B
(s − T ) and this is less than zero when
4θ < 0
which is at no point when the equilibrium point is real so the point
12
− θ
12,
12+ θ
12is always unstable when real, i.e. in the interval (1).
The other equilibrium point found has the same conditions, shown in the same way.
4.6 Remark
By using the above method we have shown that we get the same answers for the
ranges of stability and instability of the equilibria as before when we considered
the derivative of the equilibrium equation C
1−C
2= 0. This gives us two methods
now for finding the range of stability of equilibria that we find.
5 Effect on Network Capacity
5.1 Network Capacity Using Equisaturation Policy
We now consider the network shown in Figure 16 with same saturation flow at both nodes but different saturation flows at the signal from each route. We consider when s
1> s
2so that the upper route is considered as wider.
Origin
Destination Node A
Node B
Signal Link 11
Link 21
Link 12
Link 22 Route 1
Route 2
Figure 16: A network with a wide long upper route and shorter narrower lower route. Route 1 has saturation flow = 8s
1vehicles per minute at node A and saturation flow s
1vehicles per minute at the signal. Route 2 has saturation flow=α vehicles per minute at node B and saturation flow s
2vehicles per minute at the signal.
We now introduce two delay formulae for the bottlenecks;
d
11= δ
1(T X
1, α) = BT X
1α (α − T X
1) d
21= δ
1(T X
2, α) = BT X
2α (α − T X
2) and
d
11= δ
2(T X
1, α) = B α − T X
1d
21= δ
2(T X
2, α) = B
α − T X
2.
If the equisaturation policy is used to determine fixed time signal timings then we have that X
1= X
2is the stable equilibrium (see next section). From this we have that as, by the policy,
T X
1s
1G
1= T X
2s
2G
2then s
1G
1= s
2G
2. We also have G
1= 1 − G
2so s
1− s
1G
2= s
2G
2and thus s
1s
1+ s
2= G
2. Similarly s
2− s
2G
1= s
1G
1, giving
s
2s
1+ s
2= G
1. We find the upper bound for feasible T ;
s
1G
1+ s
2G
2= s
1s
2s
1+ s
2+ s
2s
1s
1+ s
2= 2s
1s
2s
1+ s
2and we note that
ss11+s2