Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Exercise 1. Template.
The first step after executing Aimsun is to create a new model; this can be done
using the menu File / New. Select the default template.
This template places default objects within the project, which are shown in the
following image:
The user has the opportunity to create new objects and store them in a template
for future projects.
Exercise 2. Background.
Now we are going to import the images that will help us to create the exercises
model. We have a .DWG (CAD drawing) file and a JPG image to be imported.
Well use the menu File / Import:
Now we should look at the layers which make up the imported background. For
this we should make the layers active, by selecting the menu Window /
Windows / Layers.
If we look at the layers, we see that the layer Ejes is a layer with a lot of clutter
which would be better hidden by deselecting the corresponding checkbox : .
The second operation we can do is to select the layer subarea by double
clicking on the layer with the mouse and assigning the colour red. We should
modify the drawing style as in the following figure:
Finally, select the VITORIA layer by double clicking on the layer with the mouse
and assign the colour blue. We should modify the drawing style as in the
following figure:
Next we import the image image.jpg by selecting File / Import / Image File and
selecting image.jpg from the Exercises directory.
After selecting the image image.jpg a dialog where the Units can be selected
shows up. Accept the default settings.
Once the image is open, to place it correctly in the model, we use the option
called positioner. Double click on the image, and we are presented with the
Positioner window.
First of all, select check the option Show Image When Selected in the Basic
tab of the Geo Image dialog.
After that, open the Positioner tab to select corresponding reference points in
the model and in the image.
Once reference points have been selected, click on Scale and Translate to
position the image correctly over the background.
Suitable points could be those shown in the figure below:
Once the image is well located, it is useful to lock the layer so that it cant be
accidentally edited or moved. To do this we double click on the layer Images
and deselect the option Allow Object Editing.
Zoom 1
Zoom 2
The section position may be modified by dragging its centre line update points
(circled in red) which are visible when the section is selected.
Create new vertex - using straight or curve segments
Sections can be shaped using the New (Straight
or Curve
) Vertex tool.
10
The first ones define straight segments, and as many vertexes as desired can
be added to a section. Between two of these vertexes, up to two new curve
vertexes can be added.
To add a new vertex, first select the section, then click on the New Vertex tool
(straight or curve), then by holding down the left mouse button on the view, drag
a line that intersects the section at the point where the control point is required.
This point may then be dragged to apply a shape to the section.
Adding lanes
To add or remove lanes in each section, select the section and right click to
enter the context menu, then from this select Number of Lanes / [number]. The
number of lanes of a section can also be chosen while the section is selected,
by clicking CTRL + [number of lanes].
Adding lateral lanes
Use lateral update points (circled in green) to create or remove lateral lanes.
Drag the update point away from the section to create the lateral, then drag the
new point down the section to change the lateral lanes length.
Joining sections
Join sections by selecting all sections to be joined with SHIFT-(left click), then
either right click on any section to reveal the context menu and select Join, or
use [Ctrl+M].
11
Roundabout
Intersection
Roundabout
Intersection
12
We could also have set the priority by opening the nodes dialog window and
selecting Give Way in the Warning column for the corresponding turnings.
13
Roundabouts
14
15
CTRL + [number of lanes] (1, 2, 3,..., 7). Release the mouse button to create all
sections representing the roundabout.
Then we should modify the sections geometry to Automatically, all turnings
entering the roundabout have a Give Way Warning Sign. Note that, in the first
roundabout, the highlighted section has 5 lanes instead of 4. We should modify
the lanes and turnings as it is shown in Figure 1
16
17
This creates a waiting line as shown in the image (indicated by the orange
arrow), which can be moved by dragging with the mouse.
18
ARTERIAL
ON/OFF RAMP
ROAD
At present, all sections are of type Arterial. You can check this by doubleclicking in the Site window on the Arterial road type. Arterial is found under the
folder Road and Lane Types. To assign type On/Off Ramp to the relevant
sections, we select them using the left Mouse button (remembering to hold
down [SHIFT] to select multiple sections), then press the right Mouse button on
one of the selected, then from the context menu change the Road Type to
On/Off Ramp.
19
We must also change the roundabout sections type so we select all the sections
belonging to it, press the right mouse button and change the Road Type to
Roundabout.
20
Exercise 7. Layers.
Layers are used to show objects in the network in different groups and altitudes.
Each layer has a subgroup of elements in the network, and they all are on the
same level. In our network we have sections which are elevated with respect to
the others. Therefore if we want the network to be drawn correctly we have to
have them in different layers and their view at different height.
The first step is to create the two layers from the previous figure (UPPER and
LOWER). To create each new layer, reveal the Network layer context menu by
right clicking on it in the Layers window and selecting New Layer.
Rename the two layers ([F2] while selected or select Rename from their context
menu) with the names from that previous figure, then double click on each to
access the layer editor and edit their drawing level. As an example we set the
drawing level for the lower drawing Level to 9, and the upper drawing Level a
higher value of 12 which means it will be drawn over the lower layer.
21
22
Finally, we must assign each section to its corresponding layer. We select the
two sections which will go in the lower layer, and with the right mouse button we
open their context menu. Select Arrange / Move To Layer / Network Layers /
Lower to send these sections to the lower layer:
Repeat the same operation with the elevated sections to the upper layer, and
now we have the sections correctly located in their layers. Now when we carry
out the simulation we will not have vehicles appearing to overlap in the 2D view.
23
Solid Lines
24
Within the network we need to place 6 detectors as shown in the picture above.
To place a detector, press icon
and press again on the desired location on
the desired section. Then, double-click on the detector to set its name and
features, as shown in the next picture.
25
VMS
Now we are going to set two Variable Message Signs (VMS) in the main
street of the model. To set a VMS, press on the icon
and press
again on the desired location on the desired section. Double-click on the
VMS to set its features and name (South Direction and North Direction).
26
700
1800
400
20
80
80
30
70
20
80
20
90
10
700
30
70
70
10
200
90
600
30
90
10
2100
27
70
30
70
50
50
50
50
30
70
30
30
40
60
70
60
95
40
5
To put this data in the model, we need to create a Traffic State with the menu
Project / New / Demand Data / Traffic State. In the Project window the folder
Traffic State inside the folder Demand Data will appear with a state inside it.
We rename the state to State Car: 08:00 and double-click on it to change its
parameters. Within the Input Flow tabbed form:
After that, click on the tab Turning Info and fill in the turning proportions with
the data from the previous figure.
28
In the following pictures we can see how the dialogs should look after all the
information has been filled in.
29
30
31
Total
Matrix
95%
5%
Car
Matrix
Truck
Matrix
We can create the matrix from the Centroids Configuration folder, in the
Project window. Click the right mouse button on the configuration, then select
the option New... / O/D Matrix. Rename the matrix to Total Matrix and by
double-clicking on it well edit the matrix. Fill in all the data as in the previous
image: vehicle type, initial time, duration and all the values in the OD Matrix.
The next operation is to create the two matrices from this one. To move from
one matrix to two, we may use the operation built into Aimsun. Double click on
the matrix Total Matrix to open the dialog windo (Cells Tab), then select the
operation split. Then press the button New twice two create two divisions
where we should mark the percentages by which we want to divide the original
matrix. Edit the percentages as shown to 95% y 5% then select Execute.
32
Two new matrices appear in the Project window. Open each one to change the
type of vehicle, and change the name of each to Car Matrix y Truck Matrix, as
shown in the following image:
33
1) With OD Matrices
Rename the first Traffic Demand to Traffic Demand Matrix, double-click on
it and follow these steps:
34
35
Available for all editions except Aimsun Professional for Travel Demand edition. Users with an
Aimsun Professional for Mesoscopic edition should change the microscopic simulator with the
mesoscopic simulator.
36
The simulation dialog (see next picture) will appear in the task box, and well be
able to perform the simulation of our exercise by pressing play ( ).
37
5
4
3 2
The first step before entering the signal timings is to create the signal groups.
To do this we follow the groups as shown in the image above.
Available for all editions except Aimsun Professional for Travel Demand Modelling edition.
38
SG 2
SG 3
SG 4
SG 5
Click on New and a signal group identifier will appear in the list. Then we must
select the set of turnings belonging to that Signal Group. When all the Signal
Groups are already defined, press OK.
The adjacent dialog window looks like the window one should get after
assigning all the turnings in the intersection to the four corresponding Signal
Groups.
39
The first thing we need to start defining the phases is a Control Plan. Control
Plans are created in menu Project / New / Control / Control Plan. In the
Project window a new Control Plan folder will appear and the new created
Control Plan will be inside it.
We can rename the Control Plan, pressing the right mouse button on it. Another
way to do this is to press F2 when the Control Plan is selected. Lets name it
Control AM. Now we return to the signalised intersection, and specify the
signal phases according to the information above:
Available for all editions except Aimsun Professional for Travel Demand Modelling edition.
40
Duration
Start Time
Duration
0
0
0
58
58
52
52
52
26
26
Blank spaces between phases are considered interphase. In this case, they are
considered 6 long. Yellow time is taken as the first 3 seconds of the
interphase.
Then we switch to Phases Mode. There, the different phases are shown as in
the next figure:
41
This mode also permits traffic control edition. It is also the way of editing
actuated or external types of control.
And we can finally check all different movements corresponding to each phase:
Phase 1
Phase 3
42
Press the button Set Time and set it to 8:00:00 with duration of 1:00:00, as we
had in our only Control Plan. Now, to link them, press Add Control Item and
load the Control Plan.
The editor should look like this:
Available for all editions except Aimsun Professional for Travel Demand Modelling edition.
43
Available for all editions except Aimsun Professional for Travel Demand Modelling edition.
44
Reserved Lanes
45
Should this not be available we can create a new Lane Type in menu Project /
New / Infrastructure / Lane Type. By double-clicking on this new Lane Type
(in the Road and Lane Types folder) we can manipulate the features of the
lane. We relate the Lane Type to the Vehicle Class Public and set this Lane
Type to be reserved for this class:
Now we should relate the Lane Type to the desired lane from the section in our
exercise. To do that, select the section and press the right mouse button on the
lane and select, in the option Lane Type, the reserved lane type.
46
Stop 1
Stop 2
Stop 3
47
L2
All the necessary information about the stops in the routes and time tables is
listed in the table below:
Name
L1
L2
Stop Time
(mean)
18 sec
18 sec 20 sec
48
In the tabbed form Main: Select consecutively the sections of the bus line route
(by clicking the left mouse button on the sections in the view), and in the
sections where a bus stop of the line is located, we must choose it. The next
figure corresponds to Route definition for line L1:
Click on the New button to create a new timetable, then change the
name to: Work Day.
Click on the New button in the Schedules area, and set the Initial
Time to 8:00:00, the Duration to 15:59:00, and the Departure Times
to Interval(Punctual).
In the Departure area, select bus as the vehicle type and set the
corresponding time from the previous table in the field Mean.
In the Dwell Times area, fix the mean times for each of the stops with
the data from the data from the table above by entering values
directly into the forms table
49
When all the Public Transport Lines are ready, the Public Transport Plan must
be generated. We create a new plan in menu Project / New / Public Transport
/ Public Transport Plan; it will appear in the folder Public Transport / Public
Transport Plans in the Project window with the icon . We rename the plan to
Plan AM and double-click on it and double click on it to enter the Public
Transport Plan editor.
Now we assign Lines and corresponding Timetables to the Plan. We can do this
either by double clicking on the Timetable of each Line, or by selecting the
Timetable and pressing the icon . The next image shows how the editor
should look after assigning the three lines to the Plan.
50
Available for all editions except Aimsun Professional for Travel Demand Modelling edition.
51
These detectors must be able to recognise equipped vehicles using this line. So
buses from line 2 must be equipped and the detectors must have the Equipped
Vehicle measuring capability (double click on each detector and select
Equipped Vehicle under Measuring Capability).
Available for all editions except Aimsun Professional for Travel Demand Modelling edition.
52
The percentage of equipped buses is set in its Vehicle Type editor (in the
Project / Demand Data window under Vehicle Types and Classes double click
on bus).
Now we are prepared to set all the data in the Pre-emption folder in the Control
of the Node Editor. Add a Pre-emption set with the Add button. For this preemption set, we must add the line 2, the phase that gives right of way to the
buses of this line, phase number 3 and the detector that emits the request for
priority (detector A in the picture) and the one ending the request (detector B).
In the parameters section, we will set the Minimum Dwell time to 15 seconds
and the Maximum to 20. And finally, between the two types of pre-emption lets
choose the alternative, which will give green to the dwell phase as soon as the
minimum green time of the current green phases are over and the interphase is
finished.
53
Now we can run a simulation to observe how the pre-emption works. Open the
Simulation Control folder in the Node Editor during the simulation for information
about the active signals and phases.
54
SG 2
SG 3
SG 4
SG 5
Then, we must also add enough detectors to detect calls for any of the
movements, so we will add five detectors (covering one or two lanes depending
on the movement) as shown in next figure:
5
4
8
3 2
55
We will define a dual-ring with two barriers. Add a ring by pressing the Add Ring
button, and create a second barrier by dragging the right line defining the end of
Barrier 1 towards the left.
The Yellow Time can be set to 3 seconds, and we deactivate the Single Entry
option so that, when a barrier is crossed, a phase in every ring must receive
green (marked as Default phase).
Now lets define the phases: the first barrier will contain the movements coming
from the North and the South, and the other barrier will contain the movements
coming from the West.
On the other hand, in the first barrier, the movement up is compatible with the
movement up-left and the movement down, so this last two will be together in
one ring, and the first in the other.
56
Next picture shows how this control could be defined (signals for each phase
are defined in the Basics tab):
Signal 2
Signal 3
Signal 4
Signal 1
Signal 5,6
57
Phase 5:
And finally Phase 7 that we will mark with the Hold feature, so that it stays
green even in the absence of calls, until we cross the barrier.
The last step is the definition of the detectors that will emit the call for a green
phase when they detect the presence of vehicles. Choose the detector by
pressing the Add button and then selecting the detector in the view.
Detector
2
4
3
1
5
Now we can run a simulation to observe how the actuated control works. Open
the Simulation Control folder in the Node Editor during the simulation for
information about the signals and phases.
58