Escolar Documentos
Profissional Documentos
Cultura Documentos
Copyright
Copyright 1992-2010 TSS-Transport Simulation Systems, S.L.
Trademark
Aimsun is trademark of TSS-Transport Simulation Systems S.L.
Other brand or product names are trademarks or registered
trademarks of their respective holders.
2
ABOUT THIS MANUAL .................................................................................................................................... 2
COPYRIGHT .................................................................................................................................................. 2
TRADEMARK.................................................................................................................................................. 2
1 AIMSUN MACROSCOPIC MODELLING .............................................................................................. 7
2 USER INTERFACE ............................................................................................................................... 8
3 STATIC TRAFFIC ASSIGNMENT ...................................................................................................... 10
3.1 MULTI-USER TRAFFIC ASSIGNMENT ................................................................................................ 11
3.2 MACRO SCENARIO ......................................................................................................................... 12
3.2.1 Macro Scenario Editor ....................................................................................................... 12
3.3 MACRO EXPERIMENT ..................................................................................................................... 16
3.3.1 Macro Experiment Editor ................................................................................................. 16
3.3.2 Macro Experiment Context Menu ................................................................................... 18
3.4 GRAPHICAL ASSIGNMENT RESULTS .................................................................................................. 18
3.5 NON-GRAPHICAL ASSIGNMENT RESULTS ........................................................................................... 19
3.5.1 Sections ............................................................................................................................... 19
3.5.2 Turnings ............................................................................................................................... 21
3.5.3 Shortest Paths .................................................................................................................... 22
3.5.4 Convergence ....................................................................................................................... 23
3.5.5 Validation............................................................................................................................ 25
3.5.6 Refinement ......................................................................................................................... 28
3.6 CREATION OF A TRAFFIC STATE FROM ASSIGNMENT RESULTS ............................................................ 29
4 MATRIX ADJUSTMENT ..................................................................................................................... 30
4.1 TRIPS .......................................................................................................................................... 32
4.2 VALIDATION ................................................................................................................................. 32
4.3 ORIGIN DATA ............................................................................................................................... 34
4.4 CONVERGENCE ............................................................................................................................. 35
5 DETECTOR LOCATION..................................................................................................................... 38
5.1 INPUTS ........................................................................................................................................ 38
5.2 OUTPUTS ..................................................................................................................................... 40
5.2.1 Discard Output ................................................................................................................... 41
5.3 ALGORITHM.................................................................................................................................. 41
6 TRAVERSAL MATRIX ........................................................................................................................ 43
7 MATRIX BALANCING ........................................................................................................................ 48
8 APPENDIX 1: OUTPUT DATABASE DEFINITION ......................................................................... 50
8.1 META INFORMATION TABLES .......................................................................................................... 50
8.1.1 SIM_INFO Table .................................................................................................................. 50
8.1.2 META_INFO Table .............................................................................................................. 50
8.1.3 META_SUB_INFO ................................................................................................................. 51
8.1.4 META_COLS ......................................................................................................................... 51
8.2 INFORMATION TABLES ................................................................................................................... 51
8.2.1 Example ............................................................................................................................... 52
8.3 MACROSCOPIC DATABASE ............................................................................................................. 54
9 APPENDIX 2: TRANSPORT PLANNING AND DEMAND ANALYSIS MODELS AND ALGORITHMS
IN AIMSUN ................................................................................................................................................... 56
9.1 THE FOUR STEP MODEL TO TRANSPORT PLANNING ......................................................................... 56
9.1.1 Description .......................................................................................................................... 56
Stage I: ............................................................................................................................................... 57
Stage II:.............................................................................................................................................. 57
Stage III: ............................................................................................................................................ 57
Stage IV: ............................................................................................................................................ 57
9.1.2 Process ................................................................................................................................. 57
9.2 TRIP GENERATION / ATTRACTION MODELS ..................................................................................... 61
9.3 TRIP DISTRIBUTION MODELS AND ALGORITHMS................................................................................ 62
3
9.3.1 Growth Factor Methods .................................................................................................... 62
9.3.2 Gravity Model ..................................................................................................................... 64
9.3.3 Gravity models and measures of dispersion, accessibility and efficiency .............. 65
9.3.4 Multinomial and Entropy models .................................................................................... 66
9.3.5 Gravity models with exponential deterrence function .............................................. 69
9.4 TRAFFIC ASSIGNMENT: USER EQUILIBRIUM MODELS ......................................................................... 72
9.4.1 The concept of equilibrium in transportation analysis .............................................. 73
9.4.2 User Equilibrium Fixed Demand Models ........................................................................ 78
9.5 ESTIMATION OF O/D DEMAND FLOWS USING TRAFFIC COUNTS: MATRIX ADJUSTMENT ....................... 81
9.6 HEURISTIC APPROACHES FOR ESTIMATING TIME DEPENDENT O/D MATRICES: TIME SLICING THE GLOBAL
O/D MATRIX .............................................................................................................................................. 89
9.7 ESTIMATION OF THE TRAVERSAL O/D MATRIX ................................................................................. 91
9.7.1 Definition of a sub-network ............................................................................................ 91
9.7.2 Estimation of the traversal O/D Matrix for the selected scenario .......................... 92
9.8 VALIDATION ................................................................................................................................. 95
9.9 METHODOLOGICAL NOTES ON COMBINING MACROSCOPIC WITH MICROSCOPIC ANALYSIS ........................ 97
10 REFERENCES ................................................................................................................................... 100
4
Figure 1 Accessing the Static Traffic Assignment ..................................................... 8
Figure 2 Accessing the Adjustment and Traversal tools .......................................... 8
Figure 3 Accessing the Detector Location tool .......................................................... 9
Figure 4 Macro Scenario Main folder ......................................................................... 13
Figure 5 Traffic Demand Editor .................................................................................. 14
Figure 6 Macro Scenario Output folder ..................................................................... 15
Figure 7 Macro Scenario Variables folder ................................................................. 16
Figure 8 Macro Experiment Editor – Main folder .................................................... 17
Figure 9 Graphical Assignment Results ..................................................................... 19
Figure 10 Macro Experiment Editor Output Folder Sections subfolder .............. 20
Figure 11 Sections’ volumes and travel time data copied into an Excel file .... 20
Figure 12 Macro experiment editor, Output folder, Turnings subfolder ........... 21
Figure 13 Turnings’ data copied into an Excel file ................................................. 22
Figure 14 Shortest Paths visualization ...................................................................... 23
Figure 15 Information on the iterations of the assignment .................................. 24
Figure 16 Relative Gap Graph ..................................................................................... 24
Figure 17 Static Assignment Validation Page – Graph representation ................ 25
Figure 18 Static Assignment Validation Page – Regression representation ........ 26
Figure 19 Static Assignment Validation Page – Table representation ................. 27
Figure 20 Actions in the validation folder................................................................ 27
Figure 21 Re-scaling the Y-axis ................................................................................... 28
Figure 22 Refinement Page.......................................................................................... 29
Figure 23 Create Traffic State option in the Macro Experiment editor ............. 29
Figure 24 Adjustment Dialogue - Intervals ............................................................... 30
Figure 25 Adjustment Dialogue - Parameters .......................................................... 31
Figure 26 Adjusted matrix ........................................................................................... 32
Figure 27 Adjustment Validation Page – Graph representation ........................... 33
Figure 28 Adjustment Validation Page – Regression representation ................... 33
Figure 29 Adjustment Validation Page – Table representation ............................ 34
Figure 30 Re-scaling the Y-axis ................................................................................... 34
Figure 31 Adjustment Origin Data Page .................................................................... 35
Figure 32 Adjustment R2 and Relative Gap table.................................................... 36
Figure 33 R2 Evolution Graph ...................................................................................... 37
Figure 34 The Macro Experiment hasn’t been executed yet ................................ 38
Figure 35 Detector Location Dialogue ....................................................................... 39
Figure 36 Detector Location Results dialogue ......................................................... 40
Figure 37 Output Folder in the Detector Location dialogue ................................. 41
Figure 38 Sub-network definition .............................................................................. 43
Figure 39 Subarea definition and its corresponding Centroids Configuration .. 44
Figure 40 Traversal Dialogue....................................................................................... 45
Figure 41 Traversal matrix .......................................................................................... 46
Figure 42 Sub-Network and its corresponding centroid configuration ............... 47
Figure 43 Specifying the new generation and attraction totals .......................... 48
Figure 44 Balanced matrix matching the new generation and attraction totals
.......................................................................................................................................... 49
Figure 45 The four stages transport planning model ............................................. 56
Figure 46 Zoning ............................................................................................................ 59
Figure 47 Example of an intersection and its associated movements ................ 59
Figure 48 Graph representation of the intersection .............................................. 60
5
Figure 49 Example of network model with centroids and connectors
representing the traffic zones, and the corresponding O/D Matrix.................... 60
Figure 50 Travel time on a link as a function of the volume on that link ......... 73
Figure 51 Demand and supply functions ................................................................... 73
Figure 52 Demand and supply function for a transport system ........................... 74
Figure 53 Example network ......................................................................................... 75
Figure 54 User Equilibrium Assignment solutions ................................................... 75
Figure 55User Equilibrium for two paths ................................................................. 76
Figure 56 Relationship between estimation of O/D flows with traffic counts
and traffic assignment (from Cascetta, 2001) ......................................................... 82
Figure 57 Time Slicing a global O/D Matrix ............................................................. 90
Figure 58 Centroid Configuration for a sub-network ............................................. 92
Figure 59 Traversal O/D Matrix for a subarea ......................................................... 93
Figure 60 Calling the Traversal Generation command ........................................... 94
Figure 61 Examples of centroids for the in and out gates of the Problem
Network ........................................................................................................................... 94
Figure 62 Scattergram of predicted vs. observed values, regression line and R2
coefficient....................................................................................................................... 96
Figure 63 Left: Macro level representation. Right: Micro level representation
showing network details .............................................................................................. 99
6
1 Aimsun Macroscopic Modelling
The Aimsun solution for Transport Planning and Demand Analysis has
been designed and implemented to support the analyst in the
application of the main stages of the Four Steps Transport Planning
Methodology.
7
2 User Interface
The steps to access each one of the macroscopic modelling tools
available are the following:
8
The Matrix Balancing feature is accessible via the O/D Matrix Editor
as one of the operations that can be applied to a matrix, the Furness
operation.
- For import and export of matrices into and from Emme, refer to
the Emme Interface Manual.
- The Matrix manipulations are available from the Edit menu of the
matrix, accessed by double-clicking on the matrix. Refer to the
Aimsun Users Manual for more information.
9
3 Static Traffic Assignment
Static Traffic Assignment models are used to estimate the link traffic
volumes on a network for a period of time, that is, how the trips
given by an O/D Matrix will spread through the network.
The connectors, which join the centroids with the physical network,
also have an associated VDF. They are a special case, since their
VDFs only accept the length as a parameter, so connectors travel
time will be either constant or proportional to their length. A
default VDF (0.06*Linklength(S), where the link length is expressed
in km.) is assigned to connectors, unless another VDF is chosen for a
connector through the Centroid editor. Turnings between connectors
and sections are assigned a zero cost.
TurnSpeed(T) TPF
TurnSpeed(T) < 10.0 6.0 * TurnLength(T)
10.0 < TurnSpeed(T) < 4.0 * TurnLength(T)
20.0
20.0 < TurnSpeed(T) < 2.4 * TurnLength(T)
30.0
30.0 ≤ TurnSpeed(T) < 1.7143 * TurnLength(T)
40.0
TurnSpeed(T) ≥ 40.0 1.2 * TurnLength(T)
Table 1 Default Turning Penalty Functions
10
New Volume Delay and Turn penalty functions can be defined using
the Function Editor (see the Function Editor section in the Aimsun
Users Manual).
Note that all Macro default functions offered in the template are
expressed in minutes.
Not only the volume delay functions but also all the parameters they
are dependent on have to be taken care of to get the appropriate
results. It is important to check in the definition of each Vehicle
Type the value set for the Passenger Car Units (PCUs). Each vehicle
has its equivalent value in PCUs in terms of capacity, that is, for
example, if the effect of a truck on the network is equivalent to the
effect of 2 cars, then trucks should be accounted as 2 PCUs in the
calculations.
11
runs (which imply the assignment of each vehicle type) must be
executed, to reach a stable solution. This number will be the
Maximum Outer Iterations. As an assignment per vehicle type must
be done at each iteration, the parameters for the assignments must
also be specified. All these parameters are set in the Macro
Experiment Editor.
Traffic Demand
Public Transport Plan (optional)
Real Data Set for Validation (optional)
12
Figure 4 Macro Scenario Main folder
Static Traffic Assignments are based on a Traffic Demand that can
contain one or more O/D matrices. An example of a Traffic Demand
in Aimsun is shown in Figure 5. If the Traffic Demand consists of
matrices for a single Vehicle Type, a single-user Static Traffic
Assignment will take place. If matrices for several Vehicle Types are
present in the Traffic Demand selected, a Multi-User Traffic
Assignment will take place.
13
Figure 5 Traffic Demand Editor
When a Public Transport Plan is selected, the PCU‟s corresponding to
the volume represented by Public Transport vehicles will be
automatically calculated to be taken into account for all the travel
time calculations.
14
Figure 6 Macro Scenario Output folder
Once the Paths calculation has been activated, the user can also
select whether to store the path assignment results into a file. To
store them, the Store option must be checked and the file where to
store the paths must be selected. As a macro scenario can contain
several experiments, the file created with the paths information will
add the macro experiment identifier to its name. This paths file can
be used either to restore the information without recalculating the
assignment or in Aimsun Meso and Aimsun Micro simulators as user
defined shortest path trees to simulate dynamically the static
equilibrium situation. Please refer to the Aimsun Meso and Aimsun
Micro Manuals for details.
15
In the Sections and Turnings area, the user can choose whether to
store the output information not related to paths in a database.
When selected, the database driver and name where to store the
data must be defined. The basic information stored is the one
corresponding to sections and turnings data. Optionally, the user can
select whether to store the convergence information obtained during
each assignment iteration.
For information about the available database drivers please see the
Aimsun MicroMeso Users Manual, Scenerio editor section.
16
1. The Maximum number of Outer Iterations (only in case of a Multi-
User Assignment).
2. The Maximum number of Inner Iterations (iterations for each
single assignment).
3. The relative gap for the single assignments, that is, the relative
error allowed expressed as a percentage. The definition of the
relative gap is given in the Appendix 2, section User Equilibrium
Fixed Demand Models, equation (4.19).
4. The number of threads available when working with more than
one processor (CPU).
17
3.3.2 Macro Experiment Context Menu
Apart from the assignment execution, three other features can be
accessed through the Macro Experiment Context Menu:
Retrieve Static Traffic Assignment Results: This feature reads
the assignment results which were stored in a database when
the Macro Experiment was assigned. The database to be read
is the one stated in the Macro Scenario editor, Output folder.
Discard Static Traffic Assignment Results: Once the
assignment has been executed, the result data is kept in
memory until the network is closed or this option is used to
discard it.
Retrieve Path Assignment Results: This option can be used to
read the shortest paths information stored in the path
assignment results file when the Macro Experiment was
assigned. The path assignment results file read will be the one
stated in the Macro Scenario editor, Output folder.
18
Figure 9 Graphical Assignment Results
The View Styles included in the Assigned Volume View Modes are:
1. A style for the width of each section, proportional to its
volume.
2. Two styles for the labels of the assigned volumes on the
sections at two different levels of zoom.
3. Two styles to hide section objects and nodes.
4. A style for coloring each section based on the
volume/capacity percentage. The colours used are defined in
the ASSIGNED_VOLUMES colour ramp. Please refer to the
Aimsun User's Manual for more information on colour ramps.
By default, six different intervals are defined.
5. A style to display Shortest Paths (Except for Vehicle All).
3.5.1 Sections
This page lists the resulting volumes and travel times per link of the
Assignment for the entrances if the „Show Only Entrances‟ box is
checked, as shown in Figure 10, or for all the links otherwise.
19
Figure 10 Macro Experiment Editor Output Folder Sections subfolder
The „Copy Data‟ button allows copying the sections‟ assigned
volumes and travel times into a file for the posterior manipulation of
data, as in the example given in Figure 11.
Figure 11 Sections’ volumes and travel time data copied into an Excel file
20
3.5.2 Turnings
21
Figure 13 Turnings’ data copied into an Excel file
In this page, for each O/D pair, the list of shortest paths for each
vehicle type that have been calculated in the static traffic
assignment is displayed, together with their percentage of use,
volume, travel time obtained in the Assignment and the distance
covered by the path. When one or several paths are selected on the
list, they are marked on the network, see Figure 14 for an example.
To ease the analysis, the list of all Shortest Paths can be limited by
selecting the desired origin centroid or destination centroid (or
both), and also all paths going through a specified section can be
listed.
All the paths that remain checked after clicking OK are added to the
collection of routes in the Routes folder, located in the Centroids
Configuration folder. Afterwards, these routes will be available in
the Routes folder and also their usage percentage is exported to the
corresponding O/D matrices.
22
Figure 14 Shortest Paths visualization
3.5.4 Convergence
In this page, information related to the evolution of the assignment
algorithm is shown. For each assignment iteration, the relative gap,
the lambda, best lower bound, Objective function value and the
elapsed time are listed.
23
Figure 15 Information on the iterations of the assignment
The evolution of the relative gap is also shown in a graphic.
24
In the case of a Multi-User Assignment, the information shown in the
Convergence page corresponds to the last assignment done for each
of the vehicle types.
3.5.5 Validation
The Validation page offers the opportunity to compare the results
obtained in the Traffic Assignment with Detection Data; the flow or
volume counted by a detector can be compared with the link volume
calculated by the Assignment. The way to make the detection data
accessible for Aimsun is explained in Aimsun Users Manual, section
Time Series. The Real Data Set for comparison must be loaded and
set in the Macro Scenario editor, Main page, as the Real Data Set for
Validation.
25
Figure 18 Static Assignment Validation Page – Regression representation
26
Figure 19 Static Assignment Validation Page – Table representation
In the Table representation, the observed and assigned number of
vehicles are listed, and also their Absolute Difference and their
Relative Difference computed as:
100 · (Assigned - Observed) / MAX (Assigned, Observed)
27
Figure 21 Re-scaling the Y-axis
3.5.6 Refinement
This page is only available for single assignments. Under this tab,
two different groups of data and the possibility of continuing the
Traffic Assignment are available: first, all the data relevant to the
settings for the Assignment is shown: the parameters Relative Gap
and Maximum Number of Iterations, and the number of threads used
(all these three parameters correspond to the ones defined in the
experiment prior to executing the assignment); second, the final
information for the obtained Assignment: that‟s the number of
iterations done and the achieved gap. With this information, the
user can decide whether to continue the Assignment allowing more
iterations or forcing the gap to be smaller. After filling in this
„future‟ information for the continuation of the Assignment, the user
only has to click on the „Continue Assignment…‟ button in order to
refine the current Assignment. Figure 22 shows this page.
28
Figure 22 Refinement Page
29
4 Matrix Adjustment
The Matrix Adjustment is based on a bi-level model solved
heuristically by a gradient algorithm, and it is a procedure for
estimating an O/D matrix, from an a priori matrix, using link traffic
counts and/or turning traffic counts from the subset of links and
turnings for which traffic detection is available. For a wider
theoretical explanation about the Matrix Adjustment, see the
Appendix 2, section Estimation of O/D Demand Flows using Traffic
Counts: Matrix Adjustment.
The first thing needed is to load the Time Series containing the
corresponding detection data. This is explained in Aimsun Users
Manual, section Real Data Sets. As the matrix adjustment result is
dependent on detection quality, it is always advisable to start with a
Detection layout location checking, to know how much of the
demand is currently intercepted by the detectors placed on the
network. Go to section Detector Location for more information.
Provided the Time Series for links and/or for turnings are ready, the
adjustment process can be started. The dialogue for the Matrix
Adjustment (available from the matrix context menu) is shown in
Figure 24. At the Intervals folder, by pressing „Add‟, an adjustment
interval will appear and the user must set the initial time of the
interval, the duration, the percentage of the original matrix to be
used, the Time Series with the corresponding link detection data
and/or the Time Series with the corresponding turning detection
data for the adjustment in that interval, and the date in case the
Time Series embrace data for more than one day.
For example, the intervals set in Figure 24 will produce two adjusted
matrices. The first one will use as original matrix the chosen matrix
30
multiplied by 0.55 and the detection data in the Time Series
corresponding to the period from 08:00:00 to 08:30:00, and will
produce an adjusted matrix with 08:00:00 as initial time and
duration 00:30:00. The second interval will produce an analogue
matrix corresponding to the second half an hour, with initial time
08:30:00 and duration 00:30:00.
At the Parameters folder, the adjustment dialogue will ask for the
following:
The option Use entrance flows as detectors is used for a special case
of O/D matrix adjustment, in which in addition to link flow counts
on a subset of links, the values of the total traffic volumes attracted
and/or generated by a subset or all the zones in the model, are
taken into account in the adjustment. The user can include either all
centroids generations and attractions or a subset of them.
The adjustment results obtained for each interval are shown with a
tab folder in four different pages:
31
4.1 Trips
The adjusted matrices obtained are displayed in this page, as shown
in Figure 26. We can see all the matrices by changing their
corresponding adjustment interval in the Matrix: box, at the top of
the window.
4.2 Validation
The Validation page offers the opportunity to compare the results of
the volumes obtained in the Assignment of the adjusted matrix with
the set of Detection Data that was used for this adjustment. There
are three different possible representations of this comparison:
using a Graph, a Regression or in a Table. Images of the three of
them are shown in Figure 27, Figure 28 and Figure 29 respectively.
32
Figure 27 Adjustment Validation Page – Graph representation
33
Figure 29 Adjustment Validation Page – Table representation
The possibility to copy the data into a text file, in the table format,
is available with the Copy Data option. Also, the Graph and the
Regression Graph can be copied as a picture with the Snapshot
option. Finally, the limits of the Graph can be set in different ways,
all listed in the Adjust Limits option. The Set Limits... option lets
the user set the limits in the dialogue in Figure 30, where the
minimum and maximum Y-coordinate can be fixed.
34
Figure 31 Adjustment Origin Data Page
After clicking OK, the adjusted matrices will be saved in the list of
O/D Matrices. They will be saved with the name shown in the
Adjustment Results dialogue; they can be renamed afterwards by
right-clicking on the matrix and choosing the option Rename.
4.4 Convergence
This folder shows the information about the evolution of the R 2 and
about the Assignment‟s Relative Gap obtained at each iteration. The
best R2 is marked in red, the adjusted matrix corresponding to this
R2 is the one returned by the adjustment.
35
Figure 32 Adjustment R2 and Relative Gap table
The evolution of the R2 through the adjustment process is also
shown in a graph as in Figure 33.
36
Figure 33 R2 Evolution Graph
37
5 Detector Location
Whenever detection data is going to be used as an input to any
process, mainly for an O/D Matrix Adjustment, the first step is to
make sure that the detection data available is providing significant
information on the network traffic. Basing on the percentage of
intercepted demand covered by the working detection sites, the
Detector Location feature can be used to evaluate the power of the
current detection sites locations, or to work out an improvement of
the current configuration by proposing new detectors to be added
which would complement the current configuration, or even to
produce a completely new configuration if there are no detection
sites located on the network.
The calculations are made taking into account the section volumes
obtained from a static traffic assignment of the demand on the
network and the paths followed. That means a Macro Experiment
with the Path calculation activated must already have been
executed before starting the calculation. If that Macro Experiment
hasn‟t been previously executed, a dialog asking if the user wants to
execute it prior to the calculation will be shown:
5.1 Inputs
The Detector Location feature is accessed from Menu Project /
New… / Infrastructure / Detector Location. A new detector location
object will be created in the Detector Locations folder located
inside the Infrastructure folder in the Project window.
38
Figure 35 Detector Location Dialogue
The dialogue asks for:
1. The Macro Experiment to be used. In order to be able to
calculate a detector location, the selected Macro Experiment has
to have assigned data for links, turnings and paths available.
2. The Stopping Criterion. The user can set the maximum number of
new detection sites to be added or the percentage of intercepted
demand that must be achieved. If both criteria are selected,
then the process will stop when the first one is met. If the
maximum number of detectors is the only criterion used and it is
set to 0, the result obtained will be the information about the
percentage of trips intercepted by the already existing (included
in the calculation) detectors.
3. From the list of detectors defined in the network, the user must
specify which of them are considered in the percentage
calculation. That is, for example, if some detectors are defined
in the model but not working in the reality, they should not be
included in the calculation. The list of Existing detectors initially
contains all the existing detectors in the network. Select on the
list the ones that must be included and press the green arrow to
add them to the list on the right.
4. The list of sections that must not be considered as candidates for
a new detector. The user must specify if there is any section in
39
the network that cannot contain a detector. Sections are added
to this list just by clicking on them at the 2D view of the
network. To remove them from the list, select them on the list
and press the Remove button.
5.2 Outputs
At the end of the calculation, the dialogue in Figure 36 pops up:
40
Figure 37) lists the Candidate Sections, the cumulative achieved
percentage of intercepted trips, the information of whether a
detector was created on that section after the detector location
algorithm execution (the ones ticked) or not and the sections that
currently have a detector on them (the ones in the list with a purple
background).
5.3 Algorithm
The procedure to calculate the list of candidate detector locations
follows these steps:
41
equivalently, all paths) intercepted by these detectors are not
taken into account anymore. The percentage of deleted trips in
comparison with the total amount of trips of the demand is
calculated.
2. From the selectable sections, the one with a higher number of
the remaining trips (yet to be intercepted) is chosen and added
to the Candidates list. Trips through this section are not taken
into account anymore and the accumulated percentage of
intercepted trips is calculated.
42
6 Traversal Matrix
The objective is to extract an origin-destination matrix for a
subarea. Its traversal matrix will contain the gate-to-gate traversal
trips calculated from the Assignment of the trips of a global matrix
in the global network.
Thus, the first thing is to define the subarea, which will be called
Sub-Network. This will be done by means of a polygon defined by the
user. This polygon will be converted into a Sub-Network border, a
red dash line, by clicking on the Tools icon Sub-Network Creation
while the polygon is selected. This is shown in Figure 38. The action
of converting a polygon into a sub-network boundary also creates a
Sub-network object into the Project window. If the sub-network is
rather a list of sections than a graphical area, once the sub-network
has been defined, it can be edited and in the Sections folder in the
sub-network editor, the list of sections belonging to the sub-network
can be chosen. Please refer to the Aimsun Users manual, section 15.
Sub-Network Editing, for more information.
43
When the traversal matrix is calculated, a new Centroids
Configuration corresponding to the Sub-Network object is
automatically created, as in the example in Figure 39.
44
Figure 40 Traversal Dialogue
1. The Sub-Network.
2. The Gap, the relative error allowed in the Assignment.
3. The Maximum Number of Iterations in the Assignment.
4. The Number of Threads to be used.
As output parameter, for the centroids which are not gates but that
exist in the global network, the user can choose to maintain the
Percentage usage in Micro simulation from their corresponding
centroids in the global Centroids Configuration, or to fill them in
automatically with the percentages of usage obtained by the global
assignment that takes place in order to calculate the Traversal
matrix, or to leave them blank.
45
Figure 41 Traversal matrix
46
Figure 42 Sub-Network and its corresponding centroid configuration
47
7 Matrix Balancing
The Matrix Balancing is based on the Furness algorithm, and it‟s used
to modify a prior matrix in order to satisfy the new
generation/attraction totals specified. For more documentation on
the Furness algorithm, refer to the Appendix 2, section Trip
Distribution Models and Algorithms.
48
The user must also set the parameters for executing the algorithm:
1. The maximum number of iterations.
2. Epsilon, the maximum error allowed.
The user can also decide if differences between the new value and
the old one must be highlighted when they exceed a certain
percentage, after the algorithm has been executed.
Figure 44 Balanced matrix matching the new generation and attraction totals
49
8 APPENDIX 1: Output Database Definition
Aimsun has a generic format that accommodates data from macro,
meso and micro experiments. The application generates two set of
tables, one that contains the information about what has been
stored (meta information tables) and another with the information
itself (information tables).
50
8.1.3 META_SUB_INFO
This table contains the information about the vehicles types used to
gather the data. It lists the object id, the name and the position at
which it appears in the information tables (from 0 for the
aggregated data, to N).
8.1.4 META_COLS
This table lists, for each information table, the fields stored and its
type. The aggregation type details if this data has been created as a
sum of values (for example count) or as a mean of values (speed).
51
Type Description
did INTEGER Id of the replication/ average /experiment that
generates this data
oid INTEGER Id of the objects that generates this data
eid VARCHAR(128) External Id of the object that generates this data
sid INTEGER Subobject position ( as set in META_SUB_INFO)
ent INTEGER Interval number, from 1 to N and 0 reserved for the
aggregated value.
8.2.1 Example
The following example shows the contents of all the meta tables and
the information tables (for sections and system).
52
did tname pos oid oname
628 MASECT 0 0
628 MASECT 1 8 Car
628 MASECT 2 12 Van
628 MASECT 3 28 Truck
628 MATURN 0 0
628 MATURN 1 8 Car
628 MATURN 2 12 Van
628 MATURN 3 28 Truck
53
8.3 Macroscopic Database
The Tables defined in the Aimsun Macroscopic Results Database are:
MASECT, MATURN and PLCONV.
MASECT
It contains statistical information of the sections for the static
traffic assignments performed.
Attributes:
MATURN
It contains statistical information of the turnings for the static
traffic assignments performed.
Attributes:
PLCONV
It contains information about the convergence of the static traffic
assignment for each vehicle.
Attributes:
54
Attribute Type Description
Name
did integer Macro Experiment identifier
oid integer Vehicle type identifier
eid char Vehicle type External id
iteration integer Id of the assignment iteration (from 0 to
number of iterations calculated)
relGap double Relative gap achieved
lambda double Lambda
blb double Best lower bound
objFunc double Value of the objective function
itime double Iteration time (seconds)
55
9 APPENDIX 2: Transport Planning and Demand Analysis
Models and Algorithms in Aimsun
9.1 The Four Step Model to Transport Planning
9.1.1 Description
Urban travel demand and mobility analysis have evolved into a well
established methodology, commonly referred to as the four steps
model, or five, depending on the weight the analyst gives to some of
the intermediate stages (Oppenheim (1995)).
56
embeds the classical four steps model as part of it. Ortúzar and
Willumsen methodological approach consists of the following Stages:
Stage I:
In which the objectives of the study are defined, the strategies to
achieve those objectives are selected, and the data necessary to
conduct the study are collected. This usually implies
- The collection of the socioeconomic and land use data, usually
structured according to a zoning scheme partitioning the area
that is the object of the study.
- The collection of all the information concerning the
transportation infrastructure: motorways, highways, roads,
streets and urban streets, public transport lines, railways, etc.
Stage II:
It is the modeling stage, and consists of three out of the four steps
of the four step model:
- The construction of the trip generation and attraction models
(Step I)
- The construction of the trip Distribution Models (Step II)
- The construction of the Modal Split Models (Step III)
Stage III:
The Forecasting stage, identified in this case with the construction
of the trip Assignment Models, coincides in this proposal with Step
IV.
Stage IV:
It is the evaluation stage where the results of the forecasting are
analyzed and evaluated in terms of the alternatives that are the
object of the study as defined in Stage I, and if satisfactory
elaborated in the form of the report delivered to decision makers.
9.1.2 Process
The methodology, as represented in the diagram, with the Four
Steps Model highlighted in the blue box, should be understood as an
iterative process in which the results of any stage can lead to the
restatement of the modeling hypothesis of the previous ones, or the
need of collecting new data or evidence to repeat the corresponding
part of the process under the light of the new information.
57
Descriptive transportation analysis can be formulated in terms of
mathematical models whose components are:
58
Figure 46 Zoning
59
Figure 48 Graph representation of the intersection
60
connectors, to appropriately model how trips originating or ending
at a zone, enter or leave the network (Functions of Box 1 in the
diagram of Figure 45). Figure 49 depicts an example of network
model including centroids and connectors.
Aimsun also provides the utilities to define and manipulate the O/D
matrix (Functions in Box 3 in the diagram of Figure 45). Figure 49
also depicts an example of O/D matrix for the network of the
example, in which row and column names identify the zones
(centroids).
Each origin zone will have a capacity for trip generation that can be
modeled in terms of its socioeconomic characteristics (land use,
income level, house holding, car ownership, employment, etc.) as a
function:
At the aggregate zonal level the most frequently used techniques for
trip generation and attraction are based on multiple regression
analysis, and then a common form for functions Oi and Dj may be:
61
m
Ti a i0 a
k 1
ik v ik i (Ti=Oi if i is an origin and Ti=Di if it is a destination)
(2.3)
t
j
ij Oi , i I Origin Set
(3.1)
t
i
ij D j , j J Destination Set
(3.1) means that the sum of the trips generated at each origin over
all the destinations must be equal to the trip generation capacity of
each origin, and the sum of all trips arriving to each destination
from all origins must be equal to the trip attraction capacity of each
destination.
62
the growth rate for the study area in the time period span between
the year of the target matrix and the design year.
T j
ij Oi , i I
T D , j J
i
ij j (3.4)
O D
i
i
j
j
Step 0. Initialization
Set l=0 (iteration count), and ai0 b 0j 1,i,j
63
Otherwise set l:=l+1 and return to Step 1.
Tij αOiD j f cij (3.5)
Tij Ai OiB jD j f cij (3.6)
64
The various types of gravity models depend on the form of the
deterrence function, the most common are:
65
equivalent sample is a monotonic decreasing function of the total
cost. Smith showed that the Efficiency Principle holds if and only if:
Tij ri s jexp γcij (3.7)
Let (in, jn) be the random variable denoting the cell to which trip
number n is allocated, and Tij(T) be the random variable denoting
the number of trips allocated to cell (i,j).
n
X ij 0 otherw ise
Then Tij T X n
ij (3.8)
n1
There are usually many microstates that produce the same trip
matrix; it can be proven that the number of different microstates
that produce the same trip matrix is given by the multinomial
coefficient:
T!
(3.10)
T !
i, j
ij
P Tij T Tij T!
p Tij
(3.11)
ij
T!
ij i, j
i, j
66
The probability distribution {pij} is said to satisfy the Efficiency
Principle if and only if for every T and every pair of activity-
equivalent microstates i1, j1 ,....,iT , jT and i1' , j1' ,...., i'T , j'T we have:
c T c T Pi , j ,....,i Pi1' , j1' ,....,i'T , j'T
'
ij ij ij ij 1 1 T , jT
i, j i, j (3.13)
that is p
i, j
ij
Tij
p
i, j
ij
Tij'
and all microstates are equally likely, then the most probable
mesostate would be the one that can be generated in a greater
number of ways. Taking logarithms in (3.15), and using the first
Stirling approximation:
log H Tij log
T!
logT! logT ! logT! T logT T
Tij !
ij ij ij ij
i j i j
i, j
(3.16)
then the trip distribution problem can be solved by the following
convex optimization model:
s.t. T j
ij Oi , i I
(3.17)
T i
ij D j, j J
Tij 0, i I, j J
67
LT, α, β T logT T α O T β D T
ij ij ij i i ij j j ij (3.18)
iI jJ iI jJ jJ iI
L
Tij
0 log Tij αi β j Tij exp αi β j (3.19)
Tij
H(T) T log t ij
Tij t ij
ij
(3.21)
iI jJ
which takes the value 0 if Tij = tij and otherwise a positive value
which increases with the difference between T ij and tij, it can then
be considered a good measure of the difference between T and t. It
can further be shown that:
Tij t ij 2
HT
1
(3.22)
2 iI jJ
t ij
In this case the resulting solution is the one with the mesostates
closest, in the sense of (3.21) or (3.22) to the prior mesostates and
is provided by the convex optimization model:
Tij
MAX HT T log t ij
Tij t ij
ij
i j
s.t. T j
ij Oi , i I
(3.23)
T
i
ij D j, j J
Tij 0, i I, j J
68
Tij
LT, α, β T log t
ij
Tij t ij
ij
α O T β D T
i i ij j j ij
iI jJ iI jJ jJ iI
(3.24)
Tij
L
Tij
0 log αi β j Tij t ijexp αi β j
t ij
(3.25)
And defining ai = AiOi and bj = BjDj (3.26) can be restated as: Tij =
aibjtij and the values of the balancing parameters ai and bj can be
calculated by means of the Furness algorithm.
s.t. T j
ij Oi , i I
T D ,
i
ij j j J (3.27)
c T C
iI jJ
ij ij
Tij 0, i I, j J
69
Lagrangean multiplier of the time constraint, and the optimality
conditions hold for:
L
Tij
0 log Tij αi β j γcij Tij exp αi β j γcij (3.29)
Step 0. Initialization
Set l=0 (iteration count), and Ai0 B0j 1,i,j
70
Tij
MAX HT T log t ij
Tij t ij
ij
i j
s.t. T j
ij Oi , i I
T D ,
i
ij j j J (3.31)
c T C
iI jJ
ij ij
Tij 0, i I, j J
(3.32)
where, as before, I and j are respectively the i-th and j-th
Lagrangean multipliers of the constraints in (3.31), is the
Lagrangean multiplier of the time constraint, and the optimality
conditions hold now for:
Tij
L
Tij
0 log αi β j γcij Tij t ijexp αi β j γcij
t ij
(3.32)
Step 0. Initialization
Set l=0 (iteration count), and ai0 b 0j 1,i,j
71
a li1 a li bl1 blj
If Max Max , Max j ε (a convergence criteria
l1 j bl1
i
a i j
defined by whether the acceptable error ε is satisfied) or l+1=
lmax, (the maximum number of iterations has been reached)
then STOP.
Using as before the inverse of the average travel cost between zones
as recommended estimated value for the Lagrangean multiplier .
72
representation of link impedance is in terms of the so called
“volume-delay” functions, expressing the travel time sa(va) on link
aA as a function of the volume va on that link. These are non-linear
functions which theoretical appearance looks as the one depicted in
Figure 50, always under the capacity of the link.
73
at which the two curves intersect is characterized by the “market
clearing” price, P*, and quantity produced Q*. The point (P*,Q*) is
the point at which price remains stable, this is known as the
“equilibrium” point.
A simple example taken from Sheffi (1985) will help to illustrate and
understand the Wardrop‟s Principle. Let‟s assume a simple network
as the one in Figure 53, with only one origin and one destination
connected by two alternative routes, with a total demand of q trips,
generating the traffic flows x1 and x2, on routes one and two
respectively, satisfying q = x1+x2.
74
Figure 53 Example network
Let‟s also assume that travel times s1 and s2 in routes 1 and 2
respectively are determined by the performance functions s 1(x1) and
s2(x2) of Figure 54, that estimate the travel time as a function of the
traffic flow on each route.
Another way to view the user equilibrium (UE), between the two
routes is to superimpose the two cost (travel time or volume delay)
curves (Bell and Iida, 1997) as shown in Figure 55. To the left of the
intersection of the two curves, route 1 costs less than route 2, and
there is an incentive to swap to route 1. To the right of the
intersection, route 2 costs less than route 1 and there is an incentive
to swap to route 2. The intersection of the two curves represents
the equilibrium point at which costs of route 1 and 2 are equal and
there is no incentive to swap routes. Geometrically the intersection
corresponds also to the point that minimizes the total area under
the cost functions; at any other point the area will be greater.
75
The main traffic models for the estimation of the distribution of
traffic flows on a road network are based on mathematical models
of route choice, that is, the modeling of how users select their
routes under the prevailing traffic conditions.
The first principle states that "The journey times on all routes
actually used are equal to or less than those which would be
experienced by a single vehicle on any unused route".
The traffic flows that satisfy this principle are usually referred to as
"user optimized flows", since each user chooses the route that he
perceives the best. "System optimized flows" are characterized by
Wardrop's second principle which states that "the total travel time is
minimum".
76
Static Traffic Assignment Models built according to these principles
and the postulate of minimization of total cost, consider a given
period of time for which the demand characteristics have been
determined, and estimate the flow patterns that result from the
interaction of the demand and the congestion characteristics of the
transport infrastructure available.
h
kK i
k gi , i
(4.2)
hk 0,k Ki , i
va δ
i kKi
akhk , a A (4.3)
The cost of each path sk is the sum of user costs of the links on path
k:
sk δ
aA
ak s a (v ),k Ki , i (4.4)
Let ui be the cost of the least cost path for any O/D pairs i:
77
ui Minsk | k Ki i (4.5)
By summing over kKi, and i, and taking into account constraints
(4.2) and (4.3) when the demand gi is constant, model (4.7) can be
reformulated as follows (Fisk and Boyce, 1983) (Magnanti, 1984)
(Dafermos, 1980):
s v v v 0
T
(4.8)
va
Min S(v ) s
aA 0
a (x)dx
s.t. h
kKi
k gi , i I (4.9)
hk 0,k K i , i I
78
of the linear approximation method of Frank and Wolfe (Frank and
Wolfe, 1956) have been developed in the past years (Leblanc at al.,
1975) (Nguyen, 1976) (Florian, 1976). Other efficient algorithms
based on the restricted simplicial approach have been developed by
Hearn et al. (Lawphongpanich and Hearn, 1982) (Guélat, 1982) or on
an adaptation of the parallel tangents method (PARTAN) (Florian et
al., 1987).
S v l S v l y v l (4.10)
Since Sv l andSv l v l are constants, the linearized subproblem to
be solved reduces to:
Min s v δ
iI kKi aA
a a
l
ak hk
s.t.
(4.11)
h
kKi
k gi i I
hk 0 k K i , i I
Min s h
iI kKi
k
l
k (4.12)
y al δ
kKi iI
akhk a A (4.13)
79
dal yal v al a A (4.14)
min S v l λdl
0 λ 1
(4.15)
s v λd d 0
aA
a a
l
a
l
a
l
(4.16)
Sv * S v i s v i y i v i , i 1,2,....,l (4.17)
The right hand side of (4.17) provides a lower bound on the optimal
values S(v*) at each iteration. The best lower bound obtained up to a
current iteration l is:
BLB max S v i s v i y i v i
i1,2,...,l
(4.18)
Hence a natural stopping criterion, usually denoted as the relative
gap (RGAP) is
RGAP
S v l BLB
(4.19)
Sv l
.100
80
Min s h
iI kKi
k
l
k
s.t. h
kKi
k g i , i I
hk 0,k K i , i I
where s(l)k is the cost on path k at iteration l. For each O/D pair i the
algorithm finds the shortest path k*i, performs an all-or-nothing
assignment, finds the flows hkl , computes the arc flow vector y(l)
according to (4.12), and the descent direction d(l) = y(l) - v(l)
according to (4.13)
STEP 5: Update link flows v(l+1) = v(l) + (l)d(l) and costs s(l+1) = s(v(l+1))
Set l = l + 1, and
Return to Step 2.
81
choice model. Vice-versa, the problem under study is that of
calculating the O/D flows starting from the measured link flows,
using network and path choice model (see Figure 56).
Figure 56 Relationship between estimation of O/D flows with traffic counts and
traffic assignment (from Cascetta, 2001)
82
In the OD-matrix estimation problem we are interested in finding a
feasible vector (OD-matrix) g, where g = {gi}, iI, consists of the
demands for all O/D pairs. One can assume that the assignment of
the O/D matrix onto the links of the network is made according to
the assignment proportion matrix P = {p ia}, iI, aA, where each
element in the matrix is defined as the proportion of the O/D
demand gi that uses link a. The notation P = P(g) is used to remark
that, in general, these proportions depend on the demand.
s.t. p
iI
ia ggi vˆ a , ˆ
a A (5.1)
g Ω
The functions F1g,gˆ and F2 v, vˆ represent generalized distance
measures between the estimated OD-matrix g and the given target
matrix ĝ , and between the estimated link flows v and the observed
link flows v̂ , respectively.
83
measure. One of the distances initially proposed, probably by
analogy with the trip distribution problem, has been the maximum
entropy function, which in its original form can be formulated as:
F1 g, g
ˆ g logg 1
i i (5.2)
iI
F1 g, gˆ g log gˆ
gi
i 1 (5.3)
iI i
F1 g, g
ˆ ρ g gˆ logg
i i i i (5.4)
iI
F2 v ,vˆ v vˆ a (5.5)
2
a
ˆ
aA
F2 v ,vˆ ζ v vˆ a
1
2 a
2
(5.6)
ˆ
aA a
84
One disadvantage of the entropy maximising approaches as
formulated in (5.1) lies in the treatment of link flow observation as
constraints, and therefore as error-free (Bell and Iida, 1997). A way
of trying to overcome this disadvantage is using a generalised least
squares approach to provide a framework for allowing for errors
from various sources, the method also yields standard errors for the
trip table, thereby indicating the relative robustness of the fitted
values. The method was first proposed by Cascetta (Cascetta, 1984).
MinFg, v
g, v
1
2
2
g gˆ T X 1 g gˆ 1 vˆ P(g)gT Y 1 vˆ Pgg (5.7)
t* X 1 P T gY 1Pg X
1
g P T gY 1vˆ
1 ˆ
(5.9)
p
iI
ia ggi vˆ a , ˆ
a A
(5.10)
g Ω
consists of one equation for every link flow observation, and thus it
is an undetermined equation system as long as the number of O/D
pairs |I|, is greater that the number of link flow observations  ,
and this especially true for large real world networks. Additionally,
the information transferred through the equation system is delimited
by topological dependencies. A basic principle in middling network
85
flows is that for consistent flows the balance equations must hold or,
in other words, the sum of incoming and outgoing flows at any
intermediate node must be zero; a principle that can also be
interpreted in physical terms by Kirchoff‟s law. This means that for
each intersection, at least one link flow is linearly dependent from
the others, what results in a row-wise dependency for the equation
system.
Thus we can conclude that the equation system (5.10) most likely is
not fully ranked, which further increases the freedom of choice for
the O/D estimation problem, and therefore the way of determining
the pia(g) becomes crucial for the quality of the O/D matrix
estimation model, and this is usually done in terms of how the
assignment matrix P(g) is calculated, and whether it is dependent of
g or not or, in other words, if the route choices are made with
respect to the congestion or not.
If we assume that the network is congested, and that the routes are
chosen with respect to the current travel times, the route
proportions are dependent of the current traffic situation, which in
turn is dependent of the OD-matrix. Thus, the relationship between
the route proportions P and the OD-matrix g can only be implicitly
defined. The set of feasible solutions to the estimation problem
86
(5.1), is defined as all the points (g,v) where v is the link flow
solution satisfying an assignment of the corresponding demand g,
then the generic OD-matrix estimation problem (5.1), can be
reformulated as a bi-level optimization program in the following
way:
va
v(g) = argmin
aA
0
s a (x)dx
s.t. h
kK i
k g i , i I
(5.11)
hk 0, k K i , i I
va δ
iI kK i
ak h k
1
v(g)a vˆ a
2
Min F(v(g),vˆ ) =
2 ˆ
aA
87
va
v(g) = argmin s
aA
0
a (x)dx
s.t. h
kK i
k g i , i I
h k 0, k K i , i I
h
va δ
iI kK i
ak h k g δ
iI
i
kK i
ak p k , p k k
gi
, a A
where va(g) is the flow on link a estimated by the lower level traffic
assignment problem with the adjusted trip matrix g, hk is the flow
on the k-th path for the i-th O-D pair, and v̂ a is the measured flow
on link a. I is the set of all Origin-Destination pairs in the network,
and Ki is the set of paths connecting the i-th O-D pair. sa(va) is the
volume-delay function for link aA. The algorithm used to solve the
problem is heuristic in nature, of steepest descent type, and does
not guarantee that a global optimum to the formulated problem will
be found. The iterative process is as follows:
At iteration k:
gˆ i for k = 0
gki+1 = k
k F(g) for k = 1,2,3,...
g
1 - λ
gi gki
i
F(g)
pk
g i kK aAˆ
δ ak (v a vˆ a ), i I
i
h
(where Aˆ A is the subset of links with flow counts and p k k )
gi
- The step length is approximated as:
88
v (vˆ v )
'
a a a
* aAˆ
λ
v '2
a
aAˆ
where
v 'a g p δ
i k ak (v a vˆ a )
δ ak p k
iI kKi aAˆ kKi
Fg
λ* 1 i
g i
If the condition is violated for some i then the step length must be
bounded accordingly:
Fg
Fg gi
If i : λ * 1 then λ λ , i
gi 1.2 MAX λ Fg
i
g i
89
characteristics during the day. The heuristic consists of the
following steps:
1. Starting from a global O/D matrix for the whole region for a
time horizon T (i.e. the whole day, the peak morning hour,
etc.) use additional information on time distribution of trips
to generate a set of O/D matrices, O/Di for the n smaller time
intervals i = 1, …,n (i.e. for example for intervals of 30
minutes) in which the time horizon has been split, for
example O/Di = i O/D, where i represents the % of trips
done in the i-th time interval.
2. Let O/Di be the O/D matrix for the i-th time interval, and via,
aÂA the link volume measured on link a on the i-th time
interval, where  is the subset of links with traffic detectors,
then adjust the O/Di from the observed flows for that time
interval to estimate the matrix O / Di that will be input to
Aimsun for the dynamic simulation.
90
9.7 Estimation of the traversal O/D matrix
To simulate the traffic flows on the sub-network corresponding to
the selected scenario for the current period of time, one of the
basic data inputs required is the local O/D matrix for the scenario
for that period of time.
91
Figure 58 Centroid Configuration for a sub-network
9.7.2 Estimation of the traversal O/D Matrix for the selected scenario
The local O/D matrix for the scenario for that period of time
contains the number of trips tij between each origin i and each
destination j for each time period. There will be two types of origins
and destinations: the ones that lay in the borders of the area
spanned by the network, corresponding to the input and output
gates defined by the border of the sub-network, and the ones
located inside the area defined by the sub-network. This is the
situation schematized in Figure 59 explained below.
Given an O/D matrix for the whole area and a sub-network, the
procedure to calculate the traversal consists in calculating the
traversal O/D flows between gates defined by the border of the sub-
network, in addition to the flows corresponding to the inner
centroids, that is, it extracts from the global O/D matrix the sub-
matrix corresponding to the selected sub-network. This sub-network
defines the scenario selected by the operator, where the traffic
conflicts have been identified.
The so-called traversal matrix is the local O/D matrix for the shaded
area inside the rectangle in Figure 59, corresponding to a sub-
network of the road network for the whole area. The traversal
matrix is composed by the original Origins and Destinations in the
area plus some extra origins and destinations generated from the
input and output gates of the flows into, from and through the area.
92
In Figure 59, I/Oi and I/Oj correspond to the i-th and j-th
input/output gates, which then generate the new centroids,
corresponding to the flows from centroid r to centroid s crossing the
area. Ik is the k-th input gate for the flows with origin at centroid p,
outside the area, that finish the trip inside the area, and O n the n-th
output gate, for flows generated at a centroid inside the area that
leaving the area through this output gate and finish the trip in
centroid q outside the area.
I/Oi I/Oj
s
r
Ik On
q
p
MICRO LEVEL
(SUBNETWORK)
AIMSUN2 MODEL
93
Figure 60 Calling the Traversal Generation command
Figure 61 Examples of centroids for the in and out gates of the Problem
Network
94
The procedure starts by establishing the correspondence between
gates and zones. The links considered as in-gates are all the
outgoing connectors from the centroids located in the selected
scenario, as well as all the links that enter the scenario boundaries.
The links considered as out-gates are all the incoming connectors to
the centroids located in the scenario, as well as all the links that
exit the scenario boundaries. All the streets that cross the scenario
boundary are assigned centroid numbers and are defined as
directional gates. The utilities implemented in Aimsun perform all
these functions automatically for the Problem Network under study
once it has been graphically defined as described.
9.8 Validation
As usual in any type of modelling, model validation is the key
process to decide on the acceptability of the model results and their
ability to suitably answer the “what if” questions that the analyst
tries to answer through the transportation study.
s.t. h
kK i
k gi , i
(8.1)
hk 0, k Ki , i
va δ
i kK i
ak hk , a A
v
βa
s a v a t 0 1 α a a (8.2)
ca
95
where va is the volume on link a, t0 is the free-flow time, and a and
a are calibration parameters of the function for link a, to more
sophisticated, like those proposed by Florian (Florian and Nguyen,
1976):
1
2 v a 2
2
va
s a v a da δ α γ α γ β (8.3)
a
l a l
where da is the length of the link, la the number of lanes of the link
and , , and are constants whose values are determined by the
calibration of the model.
96
9.9 Methodological notes on combining macroscopic with
microscopic analysis
Traffic assignment models based on the user equilibrium approach
are one of the most widely used tools in transportation planning
analysis. All the modelling hypotheses lead to nice mathematical
models, described in the previous section, for which there are
efficient algorithms that provide solutions in terms of the expected
flows on network links. Modelled flows offer a static average view of
the expected use of the road infrastructure under the modelling
hypothesis. This information has usually been sufficient for planning
decisions. However, the evolution of advanced technologies and
their application to modern traffic management systems require in
most cases a dynamic view complementing the static estimates
provided by the assignment tools. The planned infrastructure is
probably sufficient for average demand, but time-varying traffic
flows, i.e. at peak periods, combined with the influence of road
geometry, can produce undesired congestion that cannot be
forecasted or analyzed with the static tools. The appropriate
analysis of these situations clearly asks for a change in the analysis
methodology: the combination of traffic assignment model, with a
microscopic traffic simulator.
97
infrastructure, complementing in that way the estimations of a
classical planning exercise based only on traffic assignment.
There are also other reasons for requiring such an interface. In the
case of a typical microscopic simulation input data consist mainly of
traffic flows defined at input sections in the model, and turning
proportions for emulating the behaviour at intersections. Quite
frequently not all input flows and turning proportions are available
due to lack of the corresponding measurements. The result of a
calibrated assignment model can in this case provide default values
for these missing measurements. A direct communication between a
transport planning model and the microscopic simulator would
provide the user with a friendly tool to overcome the cumbersome
task of manually inputting the data.
98
Figure 63 Left: Macro level representation. Right: Micro level representation
showing network details
99
10 References
M. S. Bazaraa, H.D. Sherali and C.M. Shetty, Nonlinear Programming:
Theory and Algorithms, John Wiley (1993)
100
M. Florian, An Introduction to Network Models Used in
Transportation Planning, in Transportation Planning Models, M.
Florian (ed.) North-Holland pp 137-152 (1984).
101
matrices from traffic counts, Transportation Science, 23, pp.77-90,
(1989).
H. J. van Zuylen and L.G. Willumsen, The most likely trip matrix
estimated from traffic counts, Transportation Research 14B, pp.
281-293 (1980).
102