Академический Документы
Профессиональный Документы
Культура Документы
Import text file for programing classic controller (see Import signal programing, page 316).
New types of flow scenarios:
Empty scenario, page 113,
Aggregate, page 149.
New types of counts:
Traffic count percentage, page 127,
Traffic count in a database, page 129.
New editing features for counts:
Splitting a traffic count, page 133,
Import the values of traffic counts from a text file, page 134.
Reduce computation time and minimize file size while compiling flow boxes based on bitmaps.
For assignment flow, or sub network assignment, it is possible to modify path flow estimation before
assignment.
Transit stops, page 272 now have a randomized probability that the driver will stop.
New editing features for Timetable, page 284.
New panel for simulation scenario allowing to separate, for the same simulation scenario, the calculation of the demand from the replication, from the compilation of the reports. The same flow scenario
shared by different simulation scenarios will be computed only once. Moreover, the Simulation module
in Compute scenario mode, page 408 allows multiple selection of scenarios to be computed in parallel
WHATS NEW IN
VERSION 6
to the demands, the replications and the reports (in one click).
Parking simulation, the update lot can simulate drivers leaving the parking because they are tired of
looking for a free spot.
Presentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Projects and simulation models. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Flow scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Network scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Signal scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
Public transport scenarios. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
User interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Edit modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Menu bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Button bars. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15
Network edit area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .19
Status areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Animation in the network edit area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .24
Module entry window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Object entry windows. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Name field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Integer numeric value field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
Color field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Single-choice list field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Multiple-choice list field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
Chapter 2
Managing projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Project management window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Files and directories. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Installing CubeDynasim . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Creating a project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Deleting a project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39
Modifying a project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Adding a simulation scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Deleting a simulation scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Chapter 3
Vehicle categories. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Managing categories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Graphic representations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Editing 2D representations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44
Editing 3D representations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
Movement capacities. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Categories database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Saving a category. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
Import a category. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .52
Chapter 4
Background map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Maps Management window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Background map in DXF format. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Background map in bitmap format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Tiling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .57
Map Management window for bitmap files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58
Chapter 5
Chapter 6
Chapter 7
Road network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Vehicle network. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Handles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
Trajectories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Creating the vehicle network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .83
Editing the handles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Editing trajectories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Speed distributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Creating a Percentage distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93
Creating a Maximum Speed distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Creating a Category distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .93
Pedestrian crossings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Representation of a pedestrian crossing in the edit area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95
Creating a pedestrian crossing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Editing and deleting a pedestrian crossing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Chapter 8
Aggregate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Paths: visualization and analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Flow box. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Paths on trajectory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .154
Scenario comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Chapter 9
Paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Speed link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .159
Split link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
Split link by PCE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Prohibitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
The different types of prohibitors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .168
Invalid paths. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .168
Prohibitor field. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
MP prohibitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Creating a MP prohibitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .173
Editing a MP prohibitor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Chapter 10
Yield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
The elements of a yield. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
Creating a yield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
Editing a yield . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .209
Use of the yield. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
Yield-on-green. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
Representation of a YOG in the edit area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
Creating a YOG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .215
Editing a YOG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .215
Stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
Representation of the stop in the edit area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .217
Creating a stop. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Editing a stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
Stop-if-stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
Representation of a stop-if-stop in the edit area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .224
Creating a stop-if-stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Editing a stop-if-stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Example of how to use a stop-if-stop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
Stop-on-red . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
Representation of an SOR in the edit area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .228
Creating an SOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
Editing an SOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
Example of how to use the SOR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .230
Chapter 11
Chapter 12
Timetable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
Creating a timetable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .284
Edit the schedule of a timetable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .285
Timetable assignment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
Creating a timetable assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
Chapter 13
Detectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Multimarker detectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Single-marker detectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
Controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
Representation of controllers in the edit area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
Creating a controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
Editing a controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
Chapter 14
Utopia . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
Utopia controllers (CubeDynasim) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .399
Editing and naming objects in CubeDynasim . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .400
Defining the CubeDynasim UTOPIA client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400
Simulation in client mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
Chapter 15
Chapter 16
Parking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
Model development and the simulation of parking. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424
Parking Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
Attractor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 429
Create or edit an attractor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 430
Aisle. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
The parking lot objects. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
Create, edit a parking lot object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
Link an aisle to the road network. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .434
Clone an aisle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .436
Chapter 17
Animator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
Controller. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
Animation menu bar. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .453
Controller Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .453
Animation cursor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .454
View. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 455
2D view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .455
3D view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .459
View of a controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
Chapter 18
DynasimViews . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
View scenarios window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
Scenario display area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
Command area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
Graph . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472
Chapter 19
Presentation
CubeDynasims graphic editor enables the user to define all aspects of a simulation model; with it, the user
can position objects on a background and define these objects using data entry windows.
Licenses and transfers can be managed via the License and transfer codes, page 475 menu.
The simulation engine is microscopic, stochastic and event-driven. Microscopic simulation helps to consider each moving vehicle according to its behavior and immediate environment. The simulation model is
stochastic because the parameter values (for example, a behavioral parameter) are obtained from statistical
distributions. During the simulated time period, an event (for example, a traffic signal change) can impact a
vehicles motion.
There are different tools for viewing and analyzing simulation results:
1.
2.
3.
4.
5.
The animator, which reproduces vehicle movements calculated by the simulation engine as
graphic animations in two or three dimensions.
The grapher, which displays the statistical results as curves according to criteria measured during
the simulation, such as the travel time or the flow.
Standard tables, obtained from criteria measurements taken during the simulation. They give a
summary view of how the various simulated developments work.
Flow illustrations, obtained from the quantification of the demand.
Signal programs, obtained via the signals module.
PRESENTATION
CubeDynasim is a software application for modeling and simulating the operation of transportation infrastructures including rail and waterways. CubeDynasim includes a graphic editor, a simulation engine and
tools for viewing and analyzing simulation results. These three components are directly accessible via the
CubeDynasim interface.
This chapter breaks down into two parts:
Projects and simulation models, page 11 which gives a definition of the terminology and methodology implemented to develop simulation models in the field of highway infrastructure operation,
User interface, page 13 which describes the main components of the CubeDynasim humanmachine interface, giving access to the simulators various functions.
10
PROJECTS
Flow scenarios
Flow-type parameters quantify the demand of vehicles wanting to use the modeled development. The
CubeDynasim simulator can distinguish three types of quantification in terms of the demand:
In CubeDynasim, a flow basically refers to the quantification of the demand. You can define different
demand quantification hypotheses. A flow scenario corresponds to each of these hypotheses. The flow scenario-based approach makes it easier to study the operation of the simulated development at morning or evening peak times, or even future forecasts.
A simulation scenario necessarily includes a flow scenario (see Flow scenarios, page 110).
Network scenarios
Network scenarios contain all the simulation objects that describe the trajectories taken by the developments
users. This includes the sequence of trajectories, the management of trajectory conflicts, and the positioning
of regulation elements such as signals, detectors, etc.
CubeDynasim uses layers to share a subset of simulation objects among two network scenarios. Simulation objects are thus compiled in layers, and layers are in turn compiled in network scenarios. This technique
makes it possible to reuse portions of the road network common to two different network scenarios.
It must be noted that the networks entry and exit points are common to all the network scenarios in a project.
The entry and exit points serve to establish a connection between the network scenarios, the flow scenarios,
and the public transport (PT) scenarios for the simulation.
The network scenario can be edited/viewed in either logical or geometric modes.
Geometric mode corresponds to a description of the simulation objects determined by a dimension and/or
physical coordinates. The editing of trajectories, trajectory conflicts, the location of traffic signals and detectors, and the definition of data collectors are done in geometric mode.
Simulation objects without dimensions, i.e., trajectory sequences (links) and entry/exit points on the network, are edited in logical mode.
11
PRESENTATION
P R O J E C T S
A simulation scenario necessarily includes a network (see Network scenarios, page 65).
Signal scenarios
Signal scenarios are used to simulate different signal timing strategies. This consists in defining - for the simulation - the diagram of signals times and, if necessary, the actuated signal control. As with network scenarios, the signal scenario compiles a set of layers defining the signals to be considered.
A simulation scenario does not necessarily incorporate a signal scenario. The set of layers in the signal scenario must be included in the set of layers in the network scenario of a simulation scenario (see Signal scenarios, page 308).
12
USER
INTERFACE
User interface
Simulation models are mainly edited in the main window. The main window contains the "tools" used to edit
and view a projects various simulation models. These tools are accessible according to the edit mode in use.
The section describes the following :
Edit modes, page 13,
Menu bar, page 14,
Button bars, page 15,
Network edit area, page 19,
Status areas, page 24,
Module entry window, page 27,
Animation in the network edit area, page 24,
Object entry windows, page 28,
Name field, page 29,
Integer numeric value field, page 31,
Color field, page 31,
PRESENTATION
Edit modes
There are three edit modes that affect the main windows appearance:
Geometric mode is used to edit elements determined by geometric positioning (trajectories, priority rules, etc.), see the "Main CubeDynasim window in geometric mode" (see fig. 1, page 14).
2. Logical mode is used to name and identify the networks incoming and outgoing traffic, the conditioned trajectory sequences, etc., see the "Main CubeDynasim window in logical mode" (see
fig. 2, page 14).
3. Rail mode for editing and model rail network.
1.
The appearance of the main window in CubeDynasim is determined by the current mode. While the objects
differ from one mode to the other (simulation object bar), the general modules (tool bar and module bar) are
present in both modes.
Click the
button on the tool bar to switch to logical mode. Click the
to geometric mode.
13
SER
U
INTERFACE
Menu bar
Tool bar
Object bar
Network
edit area
Module bar
Information area
Message area
Figure 1. Main CubeDynasim window in geometric mode
Menu bar
Tool bar
Object bar
Network
edit area
Module bar
Information area
Message area
Figure 2. Main CubeDynasim window in logical mode
Menu bar
Located at the top of the CubeDynasim main window, the main menu bar offers access to all the CubeDynasim functions. Each menu contains commands and sub-menus. The menu bar has six menus : File, Edit,
Multilane, Distributions, Car-following rules, Report, Parking, View and Help. Menus and their commands
do not change with the edit mode.
To select a menu command:
1.
2.
14
USER
INTERFACE
To select a sub-menu:
Select a command containing a sub-menu (indicated by a black arrow).
2. A sub-menu is displayed: click the desired sub-menu command, or press Esc to quit select submenu mode.
1.
Button bars
Button bars offer easy access to the commands used when editing the model. To display a tool-tip describing
the buttons function, rest the mouses cursor on the button.
The CubeDynasim main window contains the following three button bars :
15
PRESENTATION
The "Toolbar" (see fig. 3, page 16) contains buttons used to modify the status of the Network edit area,
page 19, and to facilitate access to the functions used most frequently. The functions available are always the
same whatever the mode (logical or geometric) in use. They are activated by left-clicking the corresponding
button.
SER
U
INTERFACE
Figure 3. Toolbar
Quick selection to select one of the possible Signal scenarios, page 308.
Button for shortcut simulation: Animation in the network edit area, page 24.
or
Save the model being edited. You can also save it via Menu bar, page 14, by selecting File
> Save.
or
Advanced zoom adjusts the zoom level to display all the elements in the network edit area.
There are three types of advanced zoom: Object zoom on all simulation objects (
zoom on the simulation objects in the current network (
), Network
ments in the background map ( ). These three types of advanced zoom must be distinguished in
order to solve the problem that occurs when updating a background map, which is defined in a new
marker. Here, the objects in the simulation model are no longer positioned on the background map.
You may have the impression that you have lost your changes, since the simulation model is no longer
displayed. By switching from one advanced zoom mode to another, you will see that the position of
the objects in the simulation model and the background map no longer correspond.
By leaving the mouses cursor over the toolbars
button for a few seconds, the advanced zoom
current status is displayed in a tool-tip.
To perform an advanced zoom depending on this status, left-click the
button.
To change the type of advanced zoom :
16
1.
button.
2.
When the sub-menu opens, move the mouses cursor to the appropriate sub-item.
USER
INTERFACE
Measure
Invalid path
Lane change
Measure
Pedestrian
VMS
Underpass
3DS tile
Conflict
Signal
Traffic count
Detector
Stop
Timetable
The simulation object bar contains buttons to change the edit area toCreate Object mode, page 19. The
simulation object bars appearance changes depending on whether you are in logical or geometric mode see
The simulation object bar in geometric mode, page 17 and see Simulation object bar in logical mode,
page 17).
Simulation
object
category
titles
Bars initial
state
Other types
of simulation
object by
category
Dstns
Zones
Stages
Links
Origins
Split links
Simulation object
category titles
Bars initial
state
Other types of
simulation object
by category
17
PRESENTATION
SER
U
INTERFACE
For an object category that includes a number of different objects, to change the type of the simulation
object associated with the button on the simulation object bar:
Move your cursor to the button on the simulation object bar.
2. Keep the left mouse button pressed until the drop-down menu containing the various types of possible simulation objects for the associated category is displayed.
3. Keeping the left mouse button pressed, drag the mouse to the menu item corresponding to the
appropriate simulation object.
4. Release the mouse button.
1.
Module bar
The module bar provides access to the module entry windows (see "Module bar", fig.6 p.18).
The contents of the module bar are not affected by the current mode, i.e., logical or geometric.
Search object
This command is used to find/delete an object in the simulation model.
The search can be performed by browsing the list of objects sorted by name, type, or the layer to which
they belong:
1.
Click
Click the header of the column corresponding to the appropriate sort key; the arrow displayed next
to the columns header represents the sort order. To invert the sort order, click this header again.
3. Browse the list using the scroll bar.
4. In the list of objects, left-click the object searched for to highlight it and zoom in the network edit
area.
5. Click Quit to close the Search object window.
2.
Click
In the Name Filter field, enter the name of the object or its first letters followed by the * wildcard
character to filter the list.
3. In the list of objects, click the object searched for to highlight it and zoom in the network edit area.
4. Click Quit to close the Search object window.
2.
It is possible to reduce the number of objects displayed by applying a filter on their IDs. A filter is defined as
a set of characters and/or of meta-characters * replacing any set of characters. For example, the filter
WE_*_1 will display objects named WE_1_1, WE_20ze_1 etc. The filter is defined using the field named
Name Filter of the "Search object window" (see fig. 7, page 19).
18
USER
INTERFACE
The Search object window lists all the objects in the model, even those not included in the current scenario.
If you select an object that is not included in the current scenario, the edit window is zoomed, however the
object is not displayed since it does not exist in the current scenario.
Name filter
Validation
buttons
Figure 7. Search object window
The current mode also determines the shape of the pointer when located in the network edit area.
To modify the part of the network displayed in the network edit area, you can use the scroll boxes along the
borders of the display area. You can also use the mouse wheel to move the area displayed vertically, provided
the cursor is inside the scroll area.
Create Object mode
You switch to Create object mode after clicking one of the buttons on the Simulation object bar,
page 17.
19
PRESENTATION
SER
U
INTERFACE
The subsequent operations to perform for creating network objects are described in the chapter dealing with
the type of simulation object.
In Create object mode, you can use the following functions:
1. Pan mode, page 24, using the middle mouse button instead of the left button.
2. Continuous Zoom mode, page 20, using the mouse wheel.
Zoom mode
To increase or decrease the scale at which the background map and the simulation objects are displayed :
Switch to zoom mode by clicking the
button on the toolbar. The mouse pointer changes to
in the network edit area.
2. In the edit area, position the pointer at the center of the area you wish to zoom in on.
3. Left-click to zoom in and right-click to zoom out.
4. The edit area remains centered on the selected point.
1.
The zoom window function is accessible in continuous zoom mode. The window is delimited by a rectangle,
defined by two opposite corners, either from left to right or from right to left, regardless. The zoom factor is
defined by the minimum height or width ratios between the rectangle and the edit window.
Right-click to define the first corner of the selection rectangle.
2. Drag the mouse to define the rectangle.
3. Right-click again to complete the rectangle that defines the selection window.
1.
In continuous zoom mode, you can use the Pan mode, page 24, function using the middle mouse
button instead of the left button.
Edit Object mode
You enter edit object mode by clicking the
The mouse pointer changes to
20
USER
INTERFACE
perform a multiselection
1.
2.
21
PRESENTATION
2.
SER
U
INTERFACE
Selected
trajectory
Clicked
handle
Figure 8. Multiselection by path
22
USER
INTERFACE
modify a set of objects : change the layer, switch to the foreground/background, delete, change the
speed limit.
1. Make a multiselection or a rectangle multiselection on the objects to modify.
2. Position the pointer on one of the objects selected.
3. Right-click and drag the mouse to select the appropriate operation.
4.
Define the naming rule applied to the cloned objects by filling in the fields according to the following rules :
if possible, replace the old prefixes with the new prefixes, or else concatenate the new prefix and the
original object name,
b. if the name of the cloned object already exists, add the "CL !" prefix.
a
5.
The multiselection now applies to the cloned objects, which cover the old objects. You must move
the selected objects in order to distinguish the original ones from their clones (see move a set of
objects, page 23).
paste the parameters of one path to a set of paths (see Copying/Pasting trajectory properties,
page 91).
You must select an object to change a subset of its geometric characteristics.
For a multiselection, you can move, delete or modify the order in which the selected objects are displayed,
and assign them a common layer.
23
PRESENTATION
SER
U
INTERFACE
Pan mode
To enter pan mode, click the
The pointer changes to
In Create Object mode, page 19, Continuous Zoom mode, page 20, and Edit Object mode,
page 20 pan mode is accessible by following the same procedure using the middle mouse button
instead of the left button.
Status areas
The two status areas are located at the bottom of the "Main CubeDynasim window in geometric mode" (see
fig. 1, page 14).
The information area displays parameters specific to the simulation object the mouse is pointing to regardless of the mode of the Network edit area, page 19. Moreover, when pointing to Handles, page 80,
Trajectories, page 81, or Links, page 158, the object will be highlighted in the Network edit area,
page 19.
The message area offers guidance about the appropriate actions and their consequences depending on
CubeDynasims current mode. When creating a simulation object, the message area reminds you of the possible commands.
24
USER
INTERFACE
Click on one of the displayed simulation scenarios. The quick selections of the Toolbar, page 15 are automatically updated.
25
PRESENTATION
SER
U
INTERFACE
Calculate a simulation scenario
Once the scenario has been defined, its status is indicated by a circular indicator to the right of the list of
quick selections.
The
indicator specifies that the scenario has never been simulated and that the animation is therefore
not available.
Click this button to add the scenario to the simulation scenarios in the Simulation module, page 403
and start the scenarios calculation.
The
indicator specifies that the scenario is being calculated and that the animation can already be
displayed in this state.
The
indicator specifies that the scenario has been simulated and is up to date. The animation is avail-
able.
The
indicator specifies that the scenario exists and has been simulated in the past, but that its animation, even if it is available, no longer matches the model.
Click this button to start the simulation and get an updated animation.
Uppercase + left click on the indicator opens the "Messages window" (see fig. 213, page 415).
Animate a scenario in the edit area
The CubeDynasim animator integrated in the edit area has three modes:
the animation for the active scenario, defined by the statuses of the quick selection lists, is not
available.
This mode corresponds to the gray simulation indicator.
the animation for the active scenario is available; click this button to access the animation control
buttons.
the animation for the active scenario is in progress in the models edit area; click this button to close
the animation and go back to the model in edit mode.
Time field: this editable text field shows the current time of the animation. You can edit this field to move
to a given moment in time (provided the simulation calculation has finished or is sufficiently complete.)
To change the animation time, click on the hour, minute or second in the field and enter the corresponding value. After a few moments, the animation in the edit area moves to the instant entered.
Speed field: the vehicle animation speed can be modified either via the numeric field (where 1 corresponds to real time, 2 to twice the speed of real time, etc.), or via the speed slider that you can move to the
left to reduce the animation speed, or to the right to increase it.
26
USER
INTERFACE
The "Module entry window." (see fig. 11, page 27) comprises three parts :
Selected
element
Edit
area
Command
area
Figure 11. Module entry window.
Display area
The display area lists all the elements defined for the module being edited. This list comprises various columns corresponding to the elements parameters. Heading labels identify the columns.
The elements are sorted based on the value of one of the columns. An arrow to the right of the column label
indicates the parameter determining the order of the list. An up arrow indicates an ascending sort order, a
down arrow indicates a descending sort order.
27
PRESENTATION
Display
area
SER
U
INTERFACE
To select the parameter which determines the order of the list, click on the parameters column label. To
reverse the order, click the column label again.
The selected element in the list is highlighted. By clicking on an element in the list, you effectively select this
element, and the fields in the edit area are updated according to this elements parameters.
Edit area
The edit area can be used to edit all the fields of the selected element. These depend on the type of element
being edited.
Command area
The command area contains buttons used to switch the Edit area, page 28 to the Display area,
page 27, as well as to delete elements and close the module entry window.
The command area can be used to perform the following operations:
delete an element
Click the element to delete in the display area; the element becomes the selected element.
Click the Delete button.
3. The element is deleted from the list.
1.
2.
modify an element
Click the element to modify in the display area; the element becomes the selected element.
2. Modify the values of the fields in the edit area.
3. Click the Apply button to validate the elements modifications.
1.
You can navigate and edit the various fields in the module entry window using the keyboard.
Press the Tab (tabulation) key to move the cursor through the various fields in the Display area,
page 27 and the Edit area, page 28 then through the various buttons in the Command area,
page 28. Press Shift + Tab to navigate in reverse
Use the up and down arrow keys to change the field selected in the Display area, page 27.
When the element is determined by a field whose value must be unique, if the field has the same value
as another element in the list, then the other element will be modified, not the selected element.
28
USER
INTERFACE
Name field
All simulation objects are identified by a unique name within the project. These names are used by the editor,
simulation engine and display tools.
An object name is made up of alphanumeric characters. It cannot contain spaces or special characters/
accents.
There are three types of objects, depending on the users level of involvement in naming.
Priority rules
PREFIXESA
L1, QsLxVideAnd_SLTh, QsLxVide_longueurAnd
Invalid Path_
Stop_, GOG_, Strict_stop_
29
PRESENTATION
Validate/Cancel
buttons
SER
U
INTERFACE
PREFIXESA
Transit Stop_
Stop_
PedestrianCross_
NAMING CONVENTION
Handles, page 80
street
next street1
RN20
next RN21
RN20_1
next RN20_2
Trajectories, page 81
30
Oi#Dj
S (i#j)
Si and Sj are the original and target supports with the same prefix S and
index i and j, of the path
S (Xi#Yj)
SXi and SYj are the original and target supports with the same prefix S
and index i and j, of the path
USER
INTERFACE
The Name field in the simulation object entry window is used to edit its name. By clicking in this field, you
can then enter the appropriate name (see "Simulation object Name field", fig.13 p.31).
Field title
Object name
Text field
Figure 13. Simulation object Name field
Color field
You can modify the display color of certain simulation objects in the edit area. The color you choose should
represent the objects functional role. This improves the readability of the model displayed in the edit area.
The color codes are:
red for the Road network, page 79 used by all types of vehicles,
magenta for the Road network, page 79 reserved exclusively for public transport,
blue for the Stop line, page 202 and Detectors, page 295,
green for the Prohibitors, page 168 describing the paths,
cyan for the Lane change marker, page 190 dedicated to the assignment of lanes.
When modeling junctions with a large number of complex movements, you are advised to use color codes to
specify each movement category.
The color field is displayed in the entry window as a button in the color currently used by the simulation
object being edited (see Color field, page 32).
31
PRESENTATION
SER
U
INTERFACE
Field title
Color button
Figure 15. Color field
To change the color of the simulation object in its entry window:
Click the Color button to open the Pick a color window (see "Pick a color window", fig.16 p.32).
Select a color.
3. Click OK.
1.
2.
Colors
parameters
New
color
Old
color
Figure 16. Pick a color window
Field title
32
USER
INTERFACE
To assign the value of a "Single-choice list field displayed as a drop-down list" (see fig. 18, page 33):
Click the arrow to the right of the field to display the list of possible values.
2. Click the description in the list corresponding to the appropriate value.
1.
Field title
Arrow to display the list
Selected element
Elements label
Check-box
Option buttons
Figure 19. Multiple-choice list field
Views
CubeDynasim allows you to graphically analyze the road network according to certain parameters such as
capacity and speed. The views helps to analyze the edited network following the selected parameter.
Depending on the selected parameter, the trajectories are represented in a shade of color that is automatically
calculated between the criterions minimum and maximum values.
33
PRESENTATION
SER
U
INTERFACE
Base
Speed
Capacity
Figure 20. Road network views in basic, capacity and speed colors
There are 8 different types of views:
Views/Default Colors: displays the trajectories in the colors edited by the user.
2. Views/Grey Colors: displays all the trajectories in gray color.This view makes it easier to read the
Animation in the network edit area, page 24.
3. Views/Colors from Speeds: the trajectories are displayed in accordance with the value of the lane
speed field. For multi-lane objects, each lanes minimum value is used.
4. Views/Colors from Capacities: the trajectories are displayed in accordance with the value of the
CAPA (Capacity) field.
1.
To select a view:
Click on View of the Menu bar, page 14.
2. Select the appropriate view.
1.
34
Managing projects
A project is identified by its name which is unique for each computer and user.
CubeDynasim groups all the data/results concerning development operation simulations in a project.
This chapter describes:
the operation of the Project management window, page 36, used to handle projects in CubeDynasim,
the Files and directories, page 38, according to the projects and their simulated scenarios.
35
MANAGING PROJECTS
A project groups together a set of data used to simulate a development according to different hypotheses in
terms of flow, network, signal programming and public transport lines.
P R O J E C T
MANAGEMENT WINDOW
You access the project management window either when you start CubeDynasim, or by selecting
File > New in the Menu bar, page 14.
The "Project Management window" (see fig. 21, page 36) contains three areas: the list area, the edit area and
the command area.
List
area
Edit
area
Command
area
PROJECT PARAMETERS
LABEL
Project
Date
DESCRIPTION
Project name.
Date you last modified the project.
Version CubeDynasim version used when you last modified the project.
Comment
When you start CubeDynasim, the list is sorted in increasing order by date. The selected element displayed
at the end of the list of projects corresponds to the last CubeDynasim project edited and saved.
36
PROJECT
MANAGEMENT WINDOW
load a project
Double-click the project displayed in the list area.
2. Click the project displayed in the list area, then click Open in the command area.
1.
delete a project
Select the project to delete in the list.
2. Click Delete.
3. The project is deleted from the list (provided it is not currently loaded), and the file tree structure
is updated (see Deleting a project, page 39).
1.
If the project management window was opened when CubeDynasim was started, you can quit the application by clicking Quit. If the project management window was opened from the menu bar, when you click
Quit, you close the window without quitting CubeDynasim.
37
MANAGING PROJECTS
F I L E S
AND DIRECTORIES
These operations will generally change the organization of the data on the drive when the project is saved.
Installing CubeDynasim
By default, the SetUp wizard installs CubeDynasim in the following directory:
C :\Program Files\Dynalogic\Dynasim.
When you run CubeDynasim for the first time, it creates the edyna project management directory (see Managing projects, page 35). The location of this directory is determined, in order of priority, by :
The % HOME % user variable (to be defined in Windows : Start > Configuration Panel > System, tab Advanced, button Environment Variables),
2. Otherwise, the %user profile % system variable, usually located at
C :\Documents and Settings\User name\edyna.
1.
To
find
the
edyna
directory,
open
Windows
Explorer
and
enter
%HOMEDRIVE % %HOMEPATH %. in the Address field. Windows Explorer opens the directory
containing the edyna directory.
If you move an individual project directory out of the edyna project management directory, the Project
Management window will no longer list the corresponding project.
Creating a project
All the data in the demo1 project is stored in the \edyna\demo1 folder (see "Tree structure of CubeDynasim projects", fig.22 p.39).
edit : contains the models edit files. It also contains in subdirectory bak a backup of these files in their
version prior to the last save,
ico : contains the icon files used for the animation (signals, vehicles, pedestrians),
plans : contains the files used when defining Background map, page 53,
Flow: includes subdirectories storing specific data for each Flow scenarios, page 111,
Report: stores for each scenario, the results of the replication, which is a summary table, a Flow
box, page 152, a Paths on trajectory, page 154, a Scenario comparison, page 155, and diagram signal timings (see Files generated, page 335).
Simul: includes the directories of each simulation scenario (see Module des simulations, page 421).
38
FILES
AND DIRECTORIES
Studies
Study demo
Model
Flow Scenarios
Data computed
flow scenario
Icons for the
animator
Sqlite
database
Maps
Reports for all
scenarios
Comparing flows
Reports for one
scenario
Animation
Deleting a project
From Project management window, page 36, you can delete a project, page 37. When you confirm,
the directory created in C :\*\edyna corresponding to the project is automatically deleted.
Modifying a project
If the project name is modified (see modify a projects information, page 37), the corresponding directory is
renamed.
39
MANAGING PROJECTS
Flow box
Paths on
trajectory
Tables
F I L E S
AND DIRECTORIES
40
Vehicle categories
Car (CAR)
Truck - 9 meters (TRUCK)
Articulated truck - 13 meters (LONGTRUCK)
Bus (BUS)
Articulated bus (BUS_ART)
Public transport train (TRAMx5)
Long public transport train (TRAMx7)
Pedestrian (PED)
Bike (BIKE)
You can create custom vehicle categories based on these predefined categories.
The chapter deals with the following topics :
41
VEHICLE CATEGORIES
To simulate a transportation system, you must define the properties of the various vehicles that will use this
system. This involves defining each vehicle categorys dimensions (length, width), movement capacities and
method of movement. These properties are used both by the simulation engine and by the animator when it
visually renders the results of the simulation.
ANAGING
M
CATEGORIES
Managing categories
You can create, edit and delete vehicle categories in the Categories window.
To access the Categories window, click the Categories
button on the Module bar, page 18. This window is a Module entry window, page 27. It contains the three properties that represent a vehicle category.
List of
categories
Type of
catgorie
Graphic
representation
Kinematics
capabilities
Command
area
Figure 23. Categories window
42
MANAGING
CATEGORIES
CATEGORY PARAMETERS
LABEL
Name
Type
DESCRIPTION
Unique name of the category, used by other elements in the module, such as Prohibi-
crossings,
page 95.
2.
scenarios,
page 110.
3.
page 278.
4.
5.
6.
7.
Motion
Road network,
page 79).
2.
Length
Animation 2D
Trailer : only the front axle of the vehicle is fixed on the trajectory (cars, trucks, buses, etc.).
The simulated length of the vehicles, which is calculated automatically. It is the sum of the
elements representing the category in 2D.
Definition
1.
2.
Animation 3D
Acceleration
Representation of vehicles in the category when the simulation results are animated in 3D
(see Editing 3D representations, page 47).
Defines the acceleration properties of vehicles in the category (see Movement capacities, page 50).
Emergency Defines the emergency deceleration properties of vehicles in the category (see Movement
deceleration capacities, page 50).
If an event (e.g. signal changes to orange) occurs requiring the vehicle to stop:
1.
2.
3.
The vehicle applies the desired deceleration property if it allows it to respect the event.
Otherwise, the vehicle applies the deceleration property if it allows it to respect the event.
Otherwise the vehicle continues its trajectory and ignores the event.
Desired Defines the desired deceleration properties of vehicles in the category (see Movement
deceleration capacities, page 50).
43
VEHICLE CATEGORIES
1.
RAPHIC
G
REPRESENTATIONS
Graphic representations
You can animate the results of simulations in 2 or 3 dimensions. To do so, you must define coherent category
representations for these two geometric spaces. The representations are defined by lists of graphic files corresponding to the various articulated elements of a vehicle. A car is represented by a single element, whereas
an articulated bus is represented by two elements. For each element, you must define 5 lengths, expressed in
meters in relation to the front of the element (see "Positions of significant points on an articulated truck",
fig.24 p.44).
front
axle
fixation point
rear axle
length of element 1
front axle and fixation
point included
rear axle
length of element 2
Editing 2D representations
To edit a categorys representation in 2D, click the Next button adjacent to the "Animation 2D" property (see
"Categories window", fig.23 p.42). This window is used to add, edit and delete the various graphic elements
that represent the category.
The window displays the categorys complete representation in the display area. The current element is
shown in a blue frame. To select an element, click on its representation in the display area.
The current elements parameters are edited via the edit area (see "Categories window for editing 2D elements", fig.25 p.46).
Total length
Length
44
DESCRIPTION
Total length of the category, in meters. This value is automatically updated by the
simulator as you add/remove elements to/from the graphic representation. The
length of the 2D representation is considered by the simulation engine.
Length of the current element, in meters.
GRAPHIC
REPRESENTATIONS
Width
DESCRIPTION
Width of the current element, in meters. The simulation engine considers the
largest width of the elements in the 2D category.
AP front
Position of the front axle in relation to the front of the element, in meters.
AP rear
Position of the rear axle in relation to the front of the element, in meters.
AttP back
Position of the point of attachment to the next element, in relation to the front of the element, in meters.
Icon
Defines the graphic file associated with the element selected in the edit area. The files
selected are automatically copied to the projects "ico" directory. The display is adjusted
according to the length and width values entered. The following formats are supported :
1.
2.
Frames/meter
You edit the current element using the windows command area. Click Apply to validate your values.
45
VEHICLE CATEGORIES
RAPHIC
G
REPRESENTATIONS
Display area
Current element
Edit area
Command area
Current element
Geometric properties of
the current element
Icon associated with
the current element
46
GRAPHIC
REPRESENTATIONS
Repeat the first 3 steps for adding an element to a category to activate "edit 2D elements" mode.
Click the element in the display area that you want to delete.
Click Delete.
Click Back.
Click Apply to apply the changes made to the category.
To visualize the flow of vehicles in 3D, you must define the categorys representation in this 3D space. Each
category is defined by a non-empty set of representations. In the animation, a vehicles graphic representation is selected at random from the weighted set of representations in its category.
Just like the 2D representation, a 3D representation is defined as an association of elements. 2D and 3D representations of the same category must include the same number of elements. However, they may vary in
terms of their geometric size (length, width), where the geometric sizes used by the simulator remain those
defined for the categorys 2D representation. Each representation is defined by:
1.
2.
47
A weight that affects the likelihood of selecting this representation at random for the animation.
A series of elements that form a 3D representation displayed when the results are animated.
VEHICLE CATEGORIES
Editing 3D representations
RAPHIC
G
REPRESENTATIONS
List area
containing
the 3D
representations
Edit area
Command
area
Fill in the Weight field.
5. Click the Next button to open the Categories window for editing 3D elements.
4.
48
GRAPHIC
REPRESENTATIONS
List of elements
in the 3D
representation
6.
This window works like the "Categories window for editing 2D elements" (see fig. 25, page 46).
Use it to add, edit or delete elements in the 3D representation. The differences concern:
a
The format of the graphic files; here they are exclusively in 3ds format.
7.
8.
9.
10.
11.
49
VEHICLE CATEGORIES
Command
area
OVEMENT
M
CAPACITIES
Movement capacities
A vehicles movement capacities are defined by its acceleration, emergency deceleration and desired deceleration properties. These three types of acceleration are expressed as a function of the vehicles instantiated
speed. For each, you define the maximum and minimum acceleration properties. In fact, the property is
defined by the function f (v) = a, where v is the speed in m/s-1, and a is the acceleration in m/s-2. As the speed
reaches the maximum value, the acceleration approaches zero. For each vehicle generated, the simulator randomly selects an acceleration profile included between the minimum and maximum values.
For each vehicle category, you must define the minimum and maximum acceleration values, the desired
deceleration value and the emergency deceleration value.
ACCELERATION PROPERTIES
LABEL
Speed
Min. acceleration
Mean acceleration
Max acceleration
DESCRIPTION
Reference speed at the basis of which the corresponding acceleration is
applied. Expressed in m/s
Minimum acceleration in m/s2 for the reference speed.
Mean acceleration in m/s2 for the reference speed
Maximum acceleration in m/s2 for the reference speed
5.
6.
b. Click Add.
After editing the acceleration property, click Back to go back to the "Categories window" (see
fig. 23, page 42).
8. Click Apply to validate the new movement property for this category.
9. Click Quit to close the "Categories window" (see fig. 23, page 42).
7.
50
MOVEMENT
CAPACITIES
By noting a point on the acceleration properties curve via 4 values (V, Am, A, AM), where V is the speed,
Am is the minimum acceleration, A is the mean acceleration, and AM is the maximum acceleration for
V :
the last 3 points that define the categorys acceleration property must be defined such that: (vm, 0, a0,
a0M), (v, 0, 0, a1M), (vM, 0, 0, 0). Consequently, the vehicles in this category have a speed included
between vm and vM.
Current speed
edit area
Command area
51
VEHICLE CATEGORIES
C A T E G O R I E S
DATABASE
Categories database
CubeDynasim allows to save categories in a database so that they can be imported and used in other projects.
The categories database is named categ.db, and it is saved in the directory named edyna. The database is
only accessible for a certain Windows user account. In order to share categories, users should copy the database in their CubeDynasim study folder.
Saving a category
1.
Click icon
Click in the visualization zone on the category label you want to save.
Click on Export of the command area. If the button is grayed out, the selected category is already
exported to the database.
4. Click on Quit of the command area to close the Categories window, page 42.
2.
3.
Import a category
1.
Click icon
2.
Click on Import of the command area to open Importation of type of vehicles window, page 52.
Click on the List of category area on the label to be imported.
Click on Import type vehicles of the command area. If the button is grayed out, the selected category is already defined in the model.
Repeat those steps if you want to import other categories.
Click on Back close the Importation of type of vehicles window, page 52, and toggle back to
the Categories window, page 42.
Click on Quit of the command area to close the Categories window, page 42.
3.
4.
5.
6.
7.
List of type
of vehicles
2D representation
for the current element
Command area
Figure 27. Importation of type of vehicles window
52
Background map
Background maps establish a link between graphic files and CubeDynasim. The software supports two types
of graphics :
Vector maps with the DXF format, i.e. the graphic data exchange format used by AutoCADTM,
among others.
2. Bitmaps in formats BMP, JPEG and GIF.
1.
Background map files are copied to the projects maps directory (see "Tree structure of CubeDynasim projects", fig.22 p.39).
This chapter describes the following :
53
BACKGROUND MAP
A background map contains all the data needed to display the geometry of the development to be tested by
the simulation. The background map is used as a support, both for the editing of the model and for the animation of the simulation results (see Animator, page 451).
APS MANAGEMENT
M
WINDOW
Name
Format
Comment
DESCRIPTION
The background maps unique identifier, used when editing Network scenarios,
page 65.
Defines one of two possible formats associated with the background map :
BMP:
the background map is defined by a set of bitmap files.
DXF:
the background map is defined from a file in DXF format
Free text for recording additional information about the background map (optional).
To add a background map in DXF format, see Background map in DXF format, page 55. To add a background map in bitmap format, see Background map in bitmap format, page 57.
To modify or delete a background map in the Maps Management window, refer to the use of the Module
entry window, page 27.
List area
Edit
area
Command
area
54
BACKGROUND
MAP IN
DXF
FORMAT
7.
8.
Text.
Hatching lines, which can however be displayed by exploding them.
External references, which can however be displayed by adding then exploding them.
Images.
All objects included in a layer whose name contains characters with accents.
To optimize the background maps display, in the original file you must delete data that does not
directly concern the road network, such as wastewater, electricity and gas systems.
55
BACKGROUND MAP
9.
Click
in Module bar, page 18 to open the "Background map entry window" (see fig. 28,
page 54).
Fill in the Name and Comment fields.
Select the background maps file format by clicking the DXF button in the Format field.
Click Configure to open the "Maps Management window for a background map in DXF format"
(see fig. 29, page 56).
Click Browse in the file selection window to select a DXF file. The Layers field listing all the
DXF files layers is updated.
The Layers field is a Multiple-choice list field, page 33 for selecting the layers to display when
editing and animating. Click Visualize to check the display of the background map with the
selected layers.
Click Back to go back to the "Background map entry window" (see fig. 28, page 54).
Click Add to confirm the background maps definition.
Click Quit to close the Maps Management window.
B A C K G R O U N D
MAP IN
DXF
FORMAT
Figure 29. Maps Management window for a background map in DXF format
56
BACKGROUND
X1, Y1
Tile
X0, Y0
57
BACKGROUND MAP
B A C K G R O U N D
TILE PARAMETERS
LABEL
Background map
File
Scale
DESCRIPTION
Name of the tiles corresponding background map. You cannot edit this property
directly in the "Maps Management window for a background map in bitmap format" (see fig. 31, page 59).
Bitmap file corresponding to the tile.
Bitmap image resolution in pixels per meter. Three possible values : 1, 2 or 4.
X0, Y0
Coordinates - in meters - of the tiles top left corner. The coordinates must be expressed
in the same marker for all the projects background maps.
X1, Y1
Coordinates of the tiles top right corner. The application calculates the values depending on the scale and on the tiles X0, Y0 coordinates.
Click Browse in the edit area to display the file selection window, for defining the tiles bitmap file.
Click Back to go back to the "Background map entry window" (see fig. 28, page 54).
7. Click Add to confirm the background maps definition.
8. Click Quit to close the Maps Management window.
6.
To modify or delete a tile in the "Maps Management window for a background map in bitmap format" (see
fig. 31, page 59) refer to the use of the Module entry window, page 27.
58
BACKGROUND
List area
Edit area
Commands
area
Figure 31. Maps Management window for a background map in bitmap format
BACKGROUND MAP
59
B A C K G R O U N D
60
This chapter describes how to associate network portions to recreate the different variants to study. With
CubeDynasim, you characterize - once only - a network portion common to a number of variants, which
themselves group together disjointed network portions.
In CubeDynasim, the developments geometry is built using simulation objects grouped into layers corresponding to the network portions. The network scenarios define sets of layers. In CubeDynasim, they are
the consequence of a geometric alternative.
This chapter presents the following topics :
61
LAYERS AND
NETWORK SCENARIOS
The simulation of an urban development must enable you to measure and disclose the effects of implementing one of the proposed alternatives to interested parties and decision makers. Moreover, the project must
facilitate the adjustment of alternatives when considering the initial simulation results. The projects final
design thus follows an iterative process. The concept of these variants and iterative processes must be integral to the simulation software application. CubeDynasim meets these needs by organizing its data into projects, grouping simulation scenarios resulting from the association of four types of information corresponding
to traffic volumes (see Flow module, page 109), regulation (see Signals module, page 289), the public transport network (see Public transport module, page 271), and the Road network, page 79.
SING
U
common to at least two same-network scenarios (e.g., layer 2 in figure 32, page 63),
specific to only one network scenario (e.g., layer 6 in figure 32, page 63).
You can only assign simulation objects to layers belonging to the current network scenario.
Simplify matters by creating the necessary layers first, then positioning the elements directly in the
layers rather than subsequently changing the layer.
A network scenario is defined by:
62
USING
Layer 1
Layer 3
Layer 4
Layer 5
Layer 6
Layer 2
63
LAYERS AND
NETWORK SCENARIOS
ANAGING
M
LAYERS
Managing layers
Click the Layers
button on the Module bar, page 18 to display the "Layer Management window." (see
fig. 33, page 64). This window is a Module entry window, page 27. You cannot delete a layer that does
not yet contain any simulation objects.
LAYER PARAMETERS
LABEL
Name
Frozen
DESCRIPTION
Unique name that identifies the layer; must be unique in the project
Indicates whether you can edit the objects in a layer
Unlocked: you can edit objects in the layer.
Locked: you cannot edit, move or delete objects in the layer.
List area
Edit area
Command
area
Figure 33. Layer Management window.
64
NETWORK
SCENARIOS
Network scenarios
Use the "Network Scenario window." (see fig. 34, page 66) to edit your network scenarios.
Click the Network
button on the Module bar, page 18 to open the Network Scenario window.
adding a new network scenario, which becomes the current network scenario,
deleting a network scenario; the following network scenario, if it exists, becomes the current network
scenario,
selecting a network scenario in the display area; it becomes the current network scenario,
loading a new project (see load a project, page 37): no current network scenario is assigned, all the
simulation objects are represented in the Network edit area, page 19, but there is no Background
map, page 53 displayed.
Name
Layers
DESCRIPTION
Unique name that identifies the network scenario, used by the "Simulation module entry
Display
Indicates whether the background map associated with the network scenario is displayed when
this scenario becomes the current scenario.
Display background map
Do not display background map
You may choose not to display the map if the background map is a large file.
65
You cannot delete a network scenario until all the simulation scenarios that depend on it have been
removed.
You cannot deselect a layer if it used by a signals scenario, and if there is a simulation scenario that
links the network and signals scenarios.
In the Object entry windows, page 28, if the selected objects belong to a layer that can be dited,
only layers in the current network scenario that can be edited are shown, otherwise all the layers in
this network scenario are shown.
LAYERS AND
NETWORK SCENARIOS
Click the Visualize button to display the background map associated with the current network
scenario.
The background map is also displayed when you quit the Network Scenario window.
ETWORK
N
SCENARIOS
List area
Edit area
Command
area
Figure 34. Network Scenario window.
66
Network exits are the destinations that the vehicles want to reach. These destinations correspond to columns
in origin/destination matrices (see Flow module, page 109). Once a vehicle has reached its destination, it is
removed and no longer impacts the network.
Zones are a set of exits located inside an open space (such as a cone), or a closed space (defined by four
lines).
These four elements are common to all the scenarios in a project. Therefore, they are not associated with a
layer (see Layers and network scenarios, page 61).
Origins, stages and destinations need only to be defined when using a Generator scenario,
page 114, a Subnetwork scenario, page 120 or when defining a PT lines, page 278 for a public
transport scenario.
Their use is only necessary when traffic is being quantified by a flow scenario such as the Generator scenario, page 114 or Subnetwork scenario, page 120.
67
&
Stages are dimensionless storage spaces. No movement is defined for a stage. A vehicle that cannot exit a
stage, blocked by a vehicle in front, cancels its speed instantly. In this case, it will enter the network at zero
speed. Moreover, a vehicle does not accelerate in a stage. Stages are used to store and quantify (see Data collectors, page 233) queues that overflow outside the network. Stages are usually connected between the
origin and the highway object on which vehicles will first appear in the network.
NETWORK ORIGINS
DESTINATIONS
Network entries, called origins, define the points where vehicles enter the simulation. The flow capacity of
an origin is defined by two parameters: the speed of vehicles output from the origin, and the quality of the
roadway. This capacity can also be affected by the presence or absence of a stage at the origin. The demand,
i.e. the amount of flow generated by an entry, is defined when editing origin-destination matrices (see Flow
module, page 109) for each vehicle category (see Managing categories, page 42).
This chapter looks at the following topics :
68
ORIGINS
Origins
Representation of an origin
In logical mode, an origin is represented by the
any graphic representation in geometric mode.
ORIGIN PARAMETERS
LABEL
Name
DESCRIPTION
Unique name of the origin. You use this name in the associated row of the origin-destination
matrix (see Flow module, page 109).
You are advised to adopt a naming convention as defined for the Name field, page 29.
Percent speed The speed at which a vehicle arrives in the network as a percentage of the maximum speed
of vehicles gen- specific to each vehicle. For a value of 50 % (i.e. 0.5), the vehicle arrives in the network at a
speed corresponding to 50 % of its maximum speed (see "Categories window for editing
erated acceleration properties", fig.26 p.51)
1.
2.
3.
&
Creating an origin
1.
If necessary, switch to logical mode (see "Main CubeDynasim window in logical mode", fig.2
p.14).
2.
In the Network edit area, page 19, click the location where you want to insert the origin. This
will display the "Origin entry window" (see fig. 35, page 70).
4. Fill in the Origin entry windows fields.
5. Click OK. The new origin icon is displayed in logical mode.
3.
Editing an origin
The origin is a simulation object that can only be modified or deleted in logical mode (see Edit Object mode,
page 20). Deleting entries can reduce the number of columns in the origin/destination matrices of all the flow
scenarios (see Flow module, page 109).
If the entry in the network is located on a multilane, you must create one origin for each lane.
69
Used to assign headways between vehicles, limiting the origins flow capacity.
There are three choices :
NETWORK ORIGINS
DESTINATIONS
Lane quality
RIGINS
O
70
STAGES
Stages
A stage is a dimensionless storage zone positioned between the origin and the first object that defines a trajectory at the entry to the network (see Road network, page 79). If a queue goes back beyond the network,
the vehicles generated wait in the stage. Use Data collectors, page 233 to quantify the queue that overflows beyond the simulated area.
Representation of a stage
Stages are displayed in the network edit area in both logical and geometric mode. In geometric mode, you
can place Data collectors, page 233. on stage objects.
Geometric mode
Logical mode
LABEL
Name
Creating a stage
1.
If necessary, switch to logical mode (see "Main CubeDynasim window in logical mode", fig.2
p.14).
2.
icon in the Simulation object bar, page 17 to activate create stage mode.
In the Network edit area, page 19, click the location where you want to insert the stage. This
will display the "Stage entry window" (see fig. 37, page 72).
4. Fill in the fields.
5. Click OK. The icon representing the new stage is displayed in logical mode.
3.
Editing a stage
The stage is a simulation object which, once created in logical mode, can be modified or deleted in either
logical or geometric mode, see Edit Object mode, page 20.
When you limit a stages storage capacity, you reduce the simulation time considerably. However, in
the case of a pronounced peak during the simulated time, you risk not being able to take account of
the demand required for the entire simulated time period. Similarly, the Data collectors, page 233
give a number of vehicles present in the queue that is limited by the stages storage capacity.
71
&
Surface
DESCRIPTION
NETWORK ORIGINS
DESTINATIONS
STAGE PARAMETERS
S T A G E S
72
EXAMPLE
Extended
multilane
Stages
&
Multilane path in
logical mode
Links
Representation in logical mode
Figure 38. Modeling a network entry
73
NETWORK ORIGINS
DESTINATIONS
Data
collectors
ESTINATIONS
D
Destinations
Representation of a destination
icon in the Network
The destination (or exit) simulation object is represented in logical mode by the
edit area, page 19. The destination has no graphic representation in geometric mode.
Creating a destination
1.
Switch to logical mode (see "Main CubeDynasim window in logical mode", fig.2 p.14).
Editing a destination
A destination (or exit) is a simulation object that must be modified or deleted in logical mode, see Edit
Object mode, page 20. Deleting destinations affects the number of columns in the origin/destination matrices
of all the flow scenarios (see Network origins & destinations, page 67), the appearance of the Prohibitor
field, page 171, the definition of conditions for certain priority rules (see Managing conflicting trajectories, page 197), and the number of lines in the Public transport module, page 271.
74
ZONES
Zones
A zone object groups one or more destinations within the same geometric space. There are two types of
zones: open zones which are defined by a two-point line segment, and closed zones which are defined by a
three-point line segment. For closed zones, the fourth segment is defined by the first point of the first segment, and the last point of the last segment (see "Open and closed zones", fig.40 p.75). Zones are identified
by a name that will be used when editingInvalid paths, page 168, and the Prohibitor field, page 171.
NETWORK ORIGINS
DESTINATIONS
ZONE PARAMETERS
LABEL
DESCRIPTION
Name
Unique name of the zone, used by other objects in the simulation model.
You are advised to adopt a naming convention for the zones (see Name field, page 29).
Width
Color
Color of the segments in non-pointed mode, displayed in the Network edit area,
page 19.
Representation of a zone
A zone is represented in both logical and geometric modes. This representation differs depending on whether
or not the mouse is pointing to one of its segments (see "Representation of zones", fig.41 p.76).
For each intersection, you are advised to create as many zones as there are roads leaving the
intersection, and to use the zones when entering conditions (one-way streets, priorities stops, data
collectors, etc.) That way, you can easily expand or change the structure of the model.
75
&
Z O N E S
Zone
76
ZONES
Creating a zone
1.
Switch to logical mode (see "Main CubeDynasim window in logical mode", fig.2 p.14).
2.
3.
In the Network edit area, page 19, click the location of the start of the first segment in the zone
to display the "Zone entry window" (see fig. 42, page 76).
Fill in the fields (see Zone parameters, page 75).
Click OK.
Click in the Network edit area, page 19, to define the start of the second segment.
To create :
4.
5.
6.
7.
button on the Simulation object bar, page 17 to activate create zone mode.
b. a closed zone: left-click to mark the start of the third segment, then right-click to position the end of
NETWORK ORIGINS
DESTINATIONS
&
77
Z O N E S
78
Road network
Modeling a roundabout.
Modeling a signal junction.
This chapter is divided into six parts :
79
ROAD NETWORK
The road networks characterization consists in defining - on a background map - the trajectories taken by the
various users of the simulated system, i.e. the vehicles and pedestrians. These trajectories are defined by their
geometry, and by the users behavior. This chapter describes how to edit the geometry of the networks. The
path of the network and the behavior of the users will be discussed in the subsequent chapter on Paths,
page 157. The parameters of the network objects also affect the movement of the vehicles.
EHICLE
V
NETWORK
Vehicle network
You edit the vehicle network in the Network edit area, page 19 in geometric mode. This involves describing the geometry of the trajectories taken by the vehicles, and their concatenation. The network is described
by two graphic elements: handles and trajectories.
This section describes the different operations concerning handles and trajectories:
Handles
A handle is defined by its position, its orientation and its number of attachment points. Handles are exclusively represented and edited in geometric mode in the network edit area. The handle has as many arrows
representing its orientation as it has attachment points (see "Representation of handles in geometric mode",
fig.43 p.80).
HANDLE PARAMETERS
LABEL
DESCRIPTION
Name
Links
Boolean field that determines whether or not vehicles can concatenate the trajectories associated with the handle. Its value is usually set to Yes. You set it to No when you want to
manually edit the concatenation of the trajectories taken by the vehicles (see Split link,
page 160).
Number of
lanes
Lane spacing
Color
Integer greater than 1 defining the handles number of attachment points. It usually corresponds to the number of lanes of vehicles at this point in the network.
Distance in meters between the handles attachment points. Represents the width of the
lanes on the road network at this point in the network.
Color in which the handles attachment points are displayed (see Color field, page 31).
80
VE H I C L E
NETWORK
Trajectories
A trajectory is defined between two different handles. It can link one or more attachment points on the handles. A single lane is modeled by a trajectory that links a single attachment point on each handle. A multilane
is modeled by a trajectory that links several attachment points on each handle. In certain conditions, the vehicles can change lanes depending on their behavior, or to reach their destination.
You position the handles, while the application calculates the trajectories between them. The trajectory
results in one or two arcs tangent to the orientations of the handles it links (see "Representations of handles
and trajectories in geometric mode", fig.44 p.81).
Direction of the
vehicles path
Multilane
trajectory
with one arc
Multilane
trajectory
with two arcs
Figure 44. Representations of handles and trajectories in geometric mode
Handles are not represented in logical mode. Trajectories are represented in logical mode, however they cannot be edited in this mode (see "Representations of trajectories in logical mode", fig.45 p.81).
Multilane trajectory
Ends of trajectories
81
ROAD NETWORK
Single lane
trajectory
EHICLE
V
NETWORK
TRAJECTORY PARAMETERS
LABEL
Name
DESCRIPTION
Unique name of the trajectory.
You are advised to either:
1.
2.
Layers
The layer associated with the trajectory. Chosen from among the subset of layers in the
current network scenario (see Single-choice list field, page 32).
Width
Width, in meters, of the lanes in the trajectory, displayed in the Network edit area,
page 19. This parameter is not taken into account by the simulation engine.
Color
Number of lanes
Color in which the trajectories are displayed (see Color field, page 31). This parameter
is not taken into account by the simulation engine.
Number of lanes in the trajectory. The number of attachment points on the handles on
either side of the trajectory is necessarily greater than or equal to the number of lanes in
this trajectory.
Free speed at the start of the trajectory, expressed as a percentage of the vehicles maximum speed.
The free speed is defined as the vehicles speed when it is not restricted by other vehicles
or by priority rules such as stops and stop lines.
Lane speed
Free speed when traveling along the trajectory, expressed as a percentage of the vehicles
maximum speed.
The vehicle attempts to reach this speed by applying its acceleration or its desired deceleration depending on whether its speed at the start of the trajectory is greater or less than
this speed.
Speed at exit
Free speed at the end of the trajectory, expressed as a percentage of the vehicles maximum speed.
In fact, the free speed at the trajectory exit is the minimum out of the following: the lane
speed, the speed at exit and the speed at entry of the following trajectory. If necessary, the
vehicle applies - in order of preference - its desired deceleration, then its emergency
deceleration.
Width in meters of a lane in the simulated trajectory. This width is the same for all the
lanes in the trajectory. Two vehicles, the half-sum of whose widths is greater than the simulated width, cannot travel side by side on two adjacent lanes in the trajectory.
Lag gap
82
Distribution of minimum gaps to the vehicle behind on the target lane when changing
lanes (see "Lag and lead insertion gaps", fig.108 p.175).
VE H I C L E
NETWORK
TRAJECTORY PARAMETERS
LABEL
DESCRIPTION
Lead gap
Distribution of minimum gaps to the vehicle in front on the target lane when changing
lanes (see "Lag and lead insertion gaps", fig.108 p.175).
Change distance
Distribution of distances needed to successfully change lanes (see Lane change distance, page 182).
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
2.
Click the position of the first handles right-hand attachment point. This position corresponds to
the roadways right-hand lane that is to be modeled.
4. Use the "First handle entry window" (see fig. 46, page 84) to enter the parameters of the handles
and trajectories, in particular determining the automatic naming of the objects created (see Objects
named automatically and renamed by the user, page 30). This window differs from the window
for entering and editing handles since it is also used both to edit the Handle parameters,
page 80 and to define theTrajectory parameters, page 82. The names of these two additional
fields are :
a Layers : a Single-choice list field, page 32 used to assign the layer of the trajectories from the
3.
Click Validate in the "First handle entry window" (see fig. 46, page 84). The pointer changes to
in the network edit area while the series of handles is being created.
6.
Drag your mouse to adjust the angle of the handle; it must be tangent to the vehicle trajectory. This
is easier if you move the pointer away from the handle slightly. Left-click to validate the editing of
the handle.
When editing the handles, you can use the Continuous Zoom function via the mouse wheel. Similarly,
you can use the Pan function by pressing and holding the middle mouse button.
Refer to the message area to see which commands are available at each stage in the editing process.
7.
again.
In the network edit area, click the position of the handles right-hand attachment point.
b. Repeat point 6.
83
ROAD NETWORK
EHICLE
V
NETWORK
The values of the last parameters edited when modifying/creating/selecting objects are assigned by
default to the corresponding parameters of a new object. When editing a simulation models
trajectories, it is usually easier to proceed route by route.
Fields specific to
the trajectories
delete or modify a simulation object, or place it in the background or foreground, page 21. The handles associated trajectories are also deleted.
2.
Click
84
VE H I C L E
NETWORK
Old position
New position
Handle selected
New trajectory
Old trajectory
Figure 47. Modifying the angle of a handle
Adding an attachment point to a handle
You can add an attachment point to the left or right of the handle (in the direction of the handle).
If necessary, click the
2.
Click
To quickly add several attachment points to the left of a handle, increase the value of the Number of
lanes field in the Handle entry window, page 86. To change a fields value, see Removing an
attachment point from a handle, page 85.
Removing an attachment point from a handle
You can only delete a handles attachment points from the left (in the direction of the handle).
1.
2.
Click
85
ROAD NETWORK
1.
EHICLE
V
NETWORK
New trajectory
Editing trajectories
This section describes the operations specific to editing trajectory objects:
86
VE H I C L E
NETWORK
2.
Click the
button on the simulation tool bar to activate create trajectory mode. This button is
2.
Click the
button on the simulation objects bar to activate create trajectory mode. The button
2.
Click
3.
Click and drag the first (or last) square to move it, as appropriate.
87
ROAD NETWORK
EHICLE
V
NETWORK
2.
Click
Use the Extend command to complete the maximum number of lanes in a trajectory in accordance with the
minimum number of attachment points available on its left on the original and destination handles. This is
the recommended way to increase the number of lanes in a trajectory:
1.
2.
Click
Position the pointer on the trajectory to modify. Right-click and hold; in the menu displayed, drag
the mouse to the Extend command to display the Handle entry window, page 86.
4. Release the button to activate the command. All the available attachment points are connected.
3.
88
VE H I C L E
NETWORK
Right lane
parameters
Left lane
parameters
ROAD NETWORK
2.
Click
Position the pointer on the single lane at the appropriate spot, then right-click and drag to select
Add a handle.
4. A new handle is created with the minimum number of attachment points needed to maintain lane
continuity. The handles name is <original handle name including index>_1.
3.
Adding a new handle implies destroying the existing handle and creating two new trajectories. If
Links, page 158 were attached to the trajectory, these will be permanently lost.
89
EHICLE
V
NETWORK
Left origin
shift
Left destination
shift
Right destination
shift
Right origin
shift
2.
Click
3.
4.
90
VE H I C L E
NETWORK
2.
Click
If necessary, edit the parameters of the "pilot" trajectory in the Multilane trajectory entry window, page 89.
4. Select Copy to copy its properties:
3.
b. Right-click and drag the mouse to select Copy in the menu displayed.
Select a set of trajectories (see perform a multiselection, page 21, perform a multiselection in
a rectangle, page 21, perform a multiselection by path This consists in selecting a sequence of
paths that a vehicle can take during the simulation., page 21).
6. Position the pointer on one of the selected trajectories. Right-click and select Paste in the menu
displayed. The parameters of the selected trajectories with the same number of lanes as the pilot
trajectory are modified; those with a different number of lanes are not modified.
5.
ROAD NETWORK
91
S P E E D
DISTRIBUTIONS
Speed distributions
CubeDynasim can be used to define the speed distributions to use in the speed fields of trajectory objects,
thus providing greater flexibility when editing this parameter.
The speed distribution serves to group different speed configurations by vehicle category under a single
identifier.
The "Speed distribution entry window" (see fig. 53, page 92) contains:
Name
Type
Speed %
DESCRIPTION
Unique identifier of the distribution
Percentage:
associates a maximum speed percentage (% speed) with the distribution for each category
Maximum Speed:
associates a maximum speed (m/s) with the distribution
Category:
uses a default value (Percentage or Maximum speed, defined beforehand) for all categories except those for which the user is making an association
Value field
List of
distributions
Edit field
Distribution
parameters
Command
area
Figure 53. Speed distribution entry window
92
Name
to create
SPEED
DISTRIBUTIONS
5.
6.
1.
2.
3.
4.
5.
6.
93
ROAD NETWORK
Proceed as follows in the Speed Distributions entry window to create a Maximum Speed distribution:
S P E E D
DISTRIBUTIONS
Proceed as follows in the Speed Distributions entry window to create a Category distribution :
Open the Speed distribution entry window, page 92.
2. Specify the name of the distribution in the edit field.
3. Complete the distributions parameters by selecting its type: Category.
1.
4.
5.
6.
7.
8.
9.
10.
94
Choose the distribution associated by default with all vehicles in the drop-down list.
Click the Associations button.
PEDESTRIAN
CROSSINGS
Pedestrian crossings
The simulation of an urban development requires you to consider the movement of pedestrians, and, more
specifically, their interactions with other modes of transport. CubeDynasim models protected pedestrian
crossings where the pedestrian crossing the road takes priority over the motor vehicles. If a vehicles
motional capacities do not allow it to stop at a pedestrian crossing, the pedestrian gives way to the vehicle.
However, if a vehicle comes to a halt on the pedestrian crossing, the pedestrian continues on his way. In other
words, the pedestrian moving on a crossing does not avoid vehicles at a standstill on the road (see Animator,
page 451).
Pedestrian crossings can be regulated by signals (see "Pedestrian crossings regulated by stop lines", fig.130
p.202), and determined by Pedestrian push-button, page 303.
This section deals with the following topics:
Pedestrian crossings are simulated objects that are edited and displayed in the Network edit area, page 19,
only in geometric mode.
The pedestrian crossing object takes account of crossings in both directions. To assign the quantification of
the crossings by direction, the main direction is identified by the direction of the arrow representing the
crossing (see "Path taken by pedestrians in the main direction for a direct crossing", fig.54 p.96).
The object comprises the following :
waiting areas represented by green rectangles. They correspond to the place where the pedestrian
can wait in complete safety before crossing the road. This zone is defined as a rectangle whose
depth is set to 3 meters, and whose width you can define. In a simulation, it corresponds to a
dimensionless storage area, like the stage positioned at the entry of the vehicle network (see
Stages, page 71). When you view the animation, the pedestrians are displayed randomly in the
space defined by the waiting area.
2. crossing areas represented by an arrow indicating the main direction, and a series of yellow lines.
Conflicts between pedestrians and vehicles are calculated automatically by the simulation engine
when the model is built; they result from the intersections between the trajectories and the crossing areas of the pedestrian crossing (see "Path taken by pedestrians in the main direction for a
crossing with a refuge", fig.55 p.96).
3. refuge areas which are used to model crossings in several stages. They must not be used for a
direct crossing. They comprise one waiting area per direction and one passage area. A physical
length is associated with the passage area, like the crossing. Here, the time required for a pedestrian to cross the refuge will not be null. The interaction between vehicles and pedestrians is not
considered in the refuge area (see "Path taken by pedestrians in the main direction for a crossing
with a refuge", fig.55 p.96)
1.
95
ROAD NETWORK
P E D E S T R I A N
CROSSINGS
Wait
Cross
Crossing area
Wait
Cross
Crossing area
Refuge
Wait
Cross
Refuge
Crossing area
Waiting area, opposite direction
Figure 55. Path taken by pedestrians in the main direction for a crossing with a refuge
96
PEDESTRIAN
CROSSINGS
Crossing area 2
Selection handle
for refuge area
Refuge
Crossing area 1
Stop line on main
waiting area
Main waiting area
Conflicting vehicle
trajectories
Selected state
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
2.
Click the
button on the Simulation object bar, page 17 to activate create pedestrian crossing mode.
In the Network edit area, page 19, click the spot where you want to see the main waiting area;
this will display the "Pedestrian crossing entry window" (see fig. 57, page 98).
Fill in the Pedestrian crossing parameters, page 98.
Click OK to edit the pedestrian crossings geometry.
If you want to add a refuge:
3.
4.
5.
6.
Otherwise finish the crossing objects entry by right-clicking to position the secondary waiting
area.
All the waiting areas on a pedestrian crossing must be placed at least 1 meter from the roads
trajectories so that the pedestrians who are waiting do not appear to be run over by the vehicles in the
animation.
97
ROAD NETWORK
P E D E S T R I A N
CROSSINGS
DESCRIPTION
Layer
The layer associated with the crossing, selected from the current subset of layers in
the Network scenarios, page 65 (see Single-choice list field, page 32).
No. of Ped. in
Main Direction
Number of pedestrians who use the crossing in the main direction (represented by
the arrows direction) per hour, regardless of the length of the simulation.
Proportion Main
Direction
No. of Ped in
Opposite Direction
Proportion Opposite
Direction
Defines the proportion of the different types of PED (pedestrian) categories that
will comprise the flow in the main direction (see Type, page 43).
Number of pedestrians who use the crossing in the opposite direction (represented
by the arrows opposite direction) per hour, regardless of the length of the simulation.
Defines the proportion of the different types of pedestrians that will comprise the
flow in the opposite direction (see Type, page 43).
Length of Zone of
Visualization
The distance at which a pedestrian will take into account an approaching vehicle in
meters. Beyond this distance, the pedestrian crosses as if there were no vehicle.
Path Width
98
PEDESTRIAN
CROSSINGS
delete or modify a simulation object, or place it in the background or foreground, page 21.
move a simulation object on the background map, page 21.
You can also modify the position of the waiting areas :
Select the pedestrian crossing by following the procedure to select a simulation object,
page 21.
2. Move the waiting area by clicking and holding its handle (see "Representation of a pedestrian
crossing with a refuge in selected mode", fig.56 p.97).
3. Drag the mouse, then release the button at the end of the waiting area.
1.
ROAD NETWORK
99
NDERPASS
U
OBJECT AND
3D
TILE
Underpasses
In 2D animations, the underpass object graphically represents vehicles that pass under a civil engineering
structure (bridge, tunnel, interchange, etc.). In 3D animations, you have to integrate a 3DS model to obtain
the same rendering. Moreover, the underpass object does not affect the results of the simulation.
The underpass object comprises three rectangular segments that can partly overlap. The outer two segments
correspond to the ramp needed to go from a height of 0 to that of the underpass object (see Underpass object
parameters, page 102). The middle segment defines a horizontal plane at the height of the underpass object.
The trajectory, one of whose handles belongs to one of the underpass objects segments, "goes up" this object
only if the trajectorys slope (defined by the heights of its two handles) is less than 20%. Trajectories that fail
to satisfy this condition remain at zero height. If a handle belongs to several underpass objects, it is considered as belonging to the highest.
This section describes the following :
100
UNDERPASS
OBJECT AND
3D
TILE
Underpass object
Ramp section
Underpass height
handle
Crossing section
ROAD NETWORK
Trajectories that
pass below
Ramp section
Trajectories that
pass above
Zero height
handle
Figure 58. Representation of the underpass object when selected
2.
Click the
button on the Simulation object bar, page 17 to activate create an underpass
object mode.
In the Network edit area, page 19, click the location where you want the ramp to start. This
opens the "Underpass object entry window" (see fig. 59, page 102).
Enter the objects parameters (see Underpass object parameters, page 102).
Click OK to edit the underpass objects geometry.
Click the location where you want the top part of the ramp to end (this is also the start of the crossing section).
Click the location where you want the crossing section to end (this is also the start of the second
ramp section).
Right-click at the location where you want the second ramp section to finish; this ends the creation
of the underpass object.
3.
4.
5.
6.
7.
8.
101
NDERPASS
U
OBJECT AND
3D
TILE
Layer
DESCRIPTION
The layer associated with the underpass object, selected from the current subset of layers
when Network scenarios, page 65 (see Single-choice list field, page 32).
Height
Width
Color
Color of the handles attachment points (see Color field, page 31).
3D tile
To view the movement of vehicles within a virtual model in 3DS TM format, you must position the models
various tiles on the background map of the corresponding network scenario. A tile is defined by a 3DS file
and all the image files defining the textures. The files that make up a tile will be copied to the projects backgrounds folder. You can position several 3DS files with as many tiles as necessary.
When animating the simulation results in a 3D scene, the height of a trajectory is defined by the heights of its
origin and destination handles.
If there is no point corresponding to a trajectorys handle, the handle is positioned at a height of 0 in the animation. In these conditions, you cannot start a trajectory object under a bridge.
For a visual rendering that implements a virtual model, you may need to increase the number of handles (see
Adding a handle or copying a trajectory, page 89).
102
UNDERPASS
OBJECT AND
3D
TILE
Layer
File
Display
DESCRIPTION
The layer associated with the tile, chosen from the subset of layers in the current Network
scenarios, page 65.
3DS file, absolute path.
Two possible statuses:
Yes: the tile is displayed on the background map.
No: the tile is no longer displayed on the background map, which makes it easier to edit the
simulation model. In this status, the tile is represented by the
icon displayed in the network edit area. To find a 3DS tile with this status, you use the search object utility.
Height
Relative height at which the 3DS tile is positioned. Used to adjust the height of the various
tiles if they have not been defined in the same marker.
2.
Click the
icon on the Simulation object bar, page 17 to activate add 3DS tile mode.
In the network edit area, click the position corresponding to the center of the tile (this position can
easily be adjusted afterwards; an approximate position is sufficient here).
4. Assign the values of the 3DS tile parameters, page 103 displayed in the "3DS tile entry window" (see fig. 60, page 103). Click OK to confirm. The tile is displayed in the network area.
5. To adjust the tiles position, it is best to put it in the background. You can move the tile like any
other simulation object (see move a simulation object on the background map, page 21).
6. To modify the tiles orientation:
a Select the tile (see select a simulation object, page 21).
3.
b. When selected, the tile is displayed with two handles. The position handle is situated at the center of
the tile. The orientation tile is situated on one side of the tile. Click and hold the orientation handle,
then drag to the appropriate orientation.
c. Unselect the tile to adjust its position, if necessary (see
page 21).
103
ROAD NETWORK
1.
ODELING
M
Multilane
Single lane
Figure 61. Curb lane examples
104
MODELING
Multilane
Single lane
Figure 62. Weaving lane examples
Multifile
Monofile
Figure 63. Lane change examples
105
ROAD NETWORK
Modeling a reduction in the number of lanes is done using multilane objects. Examples of possible lane
change configurations are given in figure 63, page 105.
ODELING
M
Circle
Decision zone
Approach zone
106
MODELING
Use the following procedure for modeling two-lane traffic circle exits:
1.
2.
3.
4.
5.
Add a handle in front of the right-hand lane on the circle exit (see Adding a handle or copying a
trajectory, page 89).
Add a handle in front of the left-hand lane on the circle exit (see Adding a handle or copying a trajectory, page 89). Place the two handles as far from each other as possible.
Add a handle with two attachment points for the circle exit.
Add a trajectory between the right-hand attachment point on the handle added in step 1, and the
right-hand attachment point on the handle added in step 2 (see Adding a trajectory between two
handles, page 87).
Left-click and hold on the new trajectory exiting the circle, drag to select 2-lane circle then
release.
ROAD NETWORK
107
ODELING
M
108
Flow module
109
FLOW MODULE
This chapter describes the flow scenarios and how they are used in CubeDynasim. Following a description
of the general principles of
F L O W
SCENARIOS
Flow scenarios
The microscopic simulation of a projects urban development helps to evaluate how this development works
according to many diverse hypotheses formulated on the quantification of the demand. Thus, you can test
this development at various key moments in the same day in accordance with standard days, or by anticipating changes in the traffic.
The demand is a parameter of the simulation model while the offer is a result of the simulation.
Each assumption made on the demand is associated with a flow scenario. The traffic demand is expressed in
two forms:
As origin-destination matrices established for each vehicle category simulated. If necessary, different matrices are defined by time slot to account for variations in the traffic, including peaks.
2. As quantified paths. These paths are estimated from section or directional traffic counts on a
defined network or imported directly from a third party software.
1.
The flow scenario defines both the simulations start and end times, and the measurement start time for the
data collectors (see Data collector representation and associated elements, page 262). The period between
the simulation start time and the measurement start time serves to preload the network, which is empty when
the simulation beings. You must make sure that the network load period is sufficiently long. It will usually
correspond to twice the travel time of the longest trip through the network.
Flow scenario
edited
List of flow scenarios
Identification
Calculation method
Schedule
110
icon on the Module bar, page 18 to access the Flow module entry window, page 110.
FLOW
SCENARIOS
You cannot delete a flow scenario if it is associated with a simulation scenario. You must first delete
the associated simulation scenario.
Name
Schedule
Type
DESCRIPTION
Free, user-defined character string.
Choice from "AM Peak, PM Peak, Off-Peak". This is the time of day
covered by the scenario. The combination of the "Name of scenario"
and the "Time of day" must be unique. For example, you can define a
number of scenarios with the same name, but differentiated by the time
of day represented.
You can enter the name of your choice to add it to the list of predefined
schedules.
Identify 8 types of flow scenarios following their algorithms:
1.
2.
4.
5.
6.
7.
8.
page 112
The time the simulation ends, expressed in Time format,
page 112.
The simulation end time is necessarily greater than the simulation start
time. The maximum duration of a simulation is less than 24 hours,
where the start time is defined at 00:00:00, and the end time at 23:59:59.
A simulation cannot overlap two days.
page 112 (see Data collector representation and associated elements, page 262).
It must fall between the simulation start and end times. By default, it is
set to 15 minutes after the simulation start time. In this case, the duration
of the simulation is set to 1 hour 15 minutes to obtain measurements
over one hour.
111
FLOW MODULE
3.
F L O W
SCENARIOS
Time format
Specify time fields with a character string in hh :mm :ss format, where
hh is the number of hours, between 00 and 23,
mm is the number of minutes, between 00 and 59,
ss is the number of seconds, also between 00 and 59.
For example,17:45 :00 complies with the time format. Midnight is expressed as 00:00:00. Note that
24 :00: 00 is an invalid format.
112
EMPTY
SCENARIO
Empty scenario
A simulation scenario includes a flow scenario as it defines the simulation hours. However, sometimes we
would want to simulate an operation no taking into account the flow of vehicles. For example, while calculating the free motion of the transportation system using the exclusive PT lane, or while conceiving the day
program for railways. For those different situations, we will use the empty flow scenario. By default, while
starting a new study, two empty scenarios are added (see tutorial adding an empty flow scenario).
FLOW MODULE
113
ENERATOR
G
SCENARIO
Generator scenario
The demand is quantified by an ordered set of origin-destination matrices.
The row in an origin-destination matrix associated with a network origin (i.e. entry) is identified by the name
of the corresponding origin (Origins, page 69). The matrixs column is labeled symmetrically in accordance with the name of its associated destination (Destinations, page 74). Thus, the value of a cell in the
matrix defines the average number of vehicles generated by the origin corresponding to the cells row, and
whose destination is the destination corresponding to the cells column.
Origin-destination matrices are defined in accordance with all OD type vehicle categories (see Category
parameters, page 43).
The values of the cells in the matrix express a demand by time unit. A flow scenarios matrices all have the
same time unit, whose value is set by the time sample. In order to modify the quantification of the demand
during the period simulated, you define several matrices for the same vehicle category. The simulation
engine applies the quantification of the first matrix for the duration of the time sample, then, during this same
period of time, applies that of the second matrix, and so on. If the time to simulate established by the schedule is greater than the duration resulting from the product of the number of matrices and the time sample, the
simulation engine continues by re-applying the quantification established by the first matrix, then the second
matrix, etc. For example, if you have a 30-minute time sample, two origin-destination matrices, and a simulated time of 1 hour 15 minutes: the simulation engine applies the first matrix, then the second matrix, and
lastly for 15 minutes the first matrix again.
The quantification data of a flow scenarios demand is compiled in a folder. A folder must contain at least
one sheet. Each sheet in this folder corresponds to one of the flow scenarios origin-destination matrices. A
sheet consists of a tab and a table in which the values of the origins-destinations matrix are stored.
The name of the tab is determined by the type of flow accounted for by its table of numbers, CAR for cars,
TRUCK for heavy vehicles. By moving your mouses cursor over a tab for two seconds, you display the first
time at which this data will be collected in the simulation. The time displayed corresponds to the last values
validated, i.e., either at the addition or the deletion of the scenario, not that being edited. Click with either the
left or right mouse button on a sheets tab to make it the current sheet and subsequently be able to edit its
table.
The origin-destination matrix directly corresponds to the table without its first and last rows/columns, which
you do not directly edit. The first row in the table lists the names of theDestinations, page 74 in the project, thus facilitating the correspondence between the column and its associated exit. The first column in the
table lists the identifiers of the Origins, page 69 ordered according to their correspondence with the
tables rows. The last row and column respectively contain the number of vehicles generated by destination
and by origin (see "Flow module entry window", fig.66 p.110).
You will usually have to prepare the tables to facilitate the importing of data from other applications dedicated to evaluating the quantification of the demand. This consists in reorganizing the rows and columns and/
or in merging the tables rows.
By default, all the Origins, page 69, and all the Destinations, page 74, are listed in the table in alphabetical order. If necessary, you can rearrange the order of the rows and columns in the tables (see Rearranging the rows and columns in a table, page 118).
For an origin (i.e. entry) on a multilane in one of the Trajectories, page 81, there is one Origins,
page 69 per lane and, therefore, as many rows in the raw table. When defining the origin-destination matrix,
you have one row per origin in the network, whether or not this origin contains one or more lanes. In order to
obtain the correspondence between the cells in the origin-destination matrix and those in the tables of a flow
scenario according to their position, you must merge the rows in the table corresponding to the same origin
(i.e. entry) (see Merging the rows in a table, page 118). In this case, the quantity of the generated flow is
equally allocated between the merged origins.
114
GENERATOR
SCENARIO
The operations affecting the order of the rows and columns apply exclusively to all the tables of the current
flow scenario being edited.
To adopt the same distribution of rows and columns for the tables in another flow scenario without
having to repeat the same operations, select the flow scenario already defined, assign the parameters
their new values and add this new flow scenario by clicking the Add button in the Flow module entry
window, page 110.
This section describes the operations that can be carried out on the current flow scenarios sheets:
Any modification to the contents of a flow scenario must be validated by clicking the Apply or Add
buttons in the Flow module entry window, page 110.
Defines the time unit for all the matrices in the current scenario
Assignment algorithm
Category/sample
matrix tree
Origin-destination
matrix
115
DESCRIPTION
FLOW MODULE
ENERATOR
G
SCENARIO
Scenario properties
Sample of matrices
Path coast function
OD matrix for the
CAR category for the
selected schedule (17:45)
Column name (destination)
Row name (origin)
Schedules per category
List of categories
A Generator scenario assigns the ODs on a single path defined according to the algorithm chosen in
its definition.
Adding a matrix
1.
2.
Working on a matrix
Right-click on the tab of the matrix that you want to edit.
2. This will display the "Menu for managing sheets" (see fig. 68, page 117).
1.
116
GENERATOR
SCENARIO
Selected matrix
MATRIX OPERATIONS
LABEL
Export matrix
Load a matrix file
Multiplies the current matrix by the factor specified in the corresponding dialog
box
Exports the current matrix in text format (see Importing/Exporting a table,
page 118)
Imports the selected matrix from a text file (see Importing/Exporting a table,
page 118)
Multiplies all the flow scenarios matrices by the factor specified in the corresponding dialog box
Imports all the text files in a directory for the selected matrix category (see
Deleting a sheet
Right-click the tab of the sheet to be deleted to display the "Menu for managing sheets" (see
fig. 68, page 117).
2. Drag the mouse to the Delete menu command, then release to delete the sheet.
1.
The deletion of a sheet is irreversible. CubeDynasim does not prompt you to confirm the deletion.
Editing a cell in a sheets table
If the table to edit does not belong to the current sheet, click the tab of its sheet.
Display the cell to edit using the tables scroll bars.
3. Click in the cell to go into edit mode (the cell is displayed with a white background, and a cursor
appears at the end of the value).
4. Edit the value and press Enter to validate.
1.
2.
117
FLOW MODULE
DESCRIPTION
ENERATOR
G
SCENARIO
Importing/Exporting a table
The exchange files handled by the CubeDynasim flow module are text files in ASCII format, containing
integer values separated by the space character in lines ending with a carriage return. You must make sure
that the correspondence between the network entries and the flow scenario table rows, and the network exits
and the flow scenario table columns, are respectively equivalent to those in the exchange files. If the number
of lines in the exchange file is greater than the N rows in the table: CubeDynasim assigns the table values
with the first N lines in the file. For all other cases in which the number of rows or columns differs between
the exchange file and the table: CubeDynasim displays an error message and the import fails. Consequently,
it may be necessary to proceed by Rearranging the rows and columns in a table, page 118, and Merging
the rows in a table, page 118 before carrying out imports.
To import the data in an exchange file in order to initialize the values of one of the flow scenarios table of
numbers being edited:
Click and hold on the tab of the sheet whose table values you wish to assign. This displays the
"Menu for managing sheets" (see fig. 68, page 117).
2. Drag the mouse to select the Import file menu command.
3. Use the file selection window displayed to select the exchange file to import.
1.
To export the table of a sheet in the flow scenario being edited to an exchange file:
Select the Export matrix command in the "Menu for managing sheets" (see fig. 68, page 117) in
the tab of the sheet whose values you wish to save.
2. In the file selection window displayed, specify the files name and location.
1.
118
GENERATOR
SCENARIO
4.
Enter a real value in the Multiply by field, or use the arrows to increase/decrease the value.
Click OK to confirm. The tables values are subsequently modified.
You can apply this operation to all the tables in the flow scenario edited by selecting ...all the matrices in the
"Menu for managing sheets" (see fig. 68, page 117).
CubeDynasim resets invalid values in the Multiply by field to zero. To make sure the value entered is
valid, press ENTER with the cursor in the edit box; the value applied is now displayed.
119
FLOW MODULE
3.
S U B N E T W O R K
SCENARIO
Subnetwork scenario
The subnetwork flow scenario allows to simulate a subnetwork applying the demand computed on the network. The subnetwork flow scenario must be applied in combination with a Generator flow scenario.The
subnetwork flow scenario assigns his demand accumulating the paths and flows going through the subnetwork.
This feature should be used when we want to edit and develop a large network. We must extract homogeneous subnetworks from the large network. We first calibrate each of the subnetwork before simulating the
entire network. The simulation time for each of the subnetworks is not important, as compared to the simulation time for the entire network. Time saving during the development might be significant. This method does
not consider the interactions with the global network's elements, which are outside the Subnetwork. For
example, a Subnetwork can be an isolated intersection, while a global network can be the entire length of an
avenue (see tutorial Subnetwork scenario).
Adding a subnetwork flow scenario:
1.
2.
3.
4.
5.
6.
7.
8.
9.
Flow scenario
Network scenario
DESCRIPTION
Name of the Origin flow scenario to assign
Name of the network scenario on which to assign the flow scenario matrix
120
SUBNETWORK
SCENARIO
In the case of a type other than generator flow scenario, it is not necessary to create a specific flow
scenario to simulate a subnetwork. In this case, we define directly a simulation scenario combining
the flow and a scenario of geometry which is a subset of the geometry parameter of the global flow
scenario.
FLOW MODULE
121
T H E
LINKS/NODES NETWORK
*_AntilabelMP: id of the MP prohibitor, page 173 layer, applying the pattern of the prohibitors.
If the model does not include any prohibitor, the layers *_Antilabel are not generated.
The same rule applies for the MP prohibitor.
The link layer includes, at least, six fields:
1.
2.
3.
4.
5.
6.
122
THE
LINKS/NODES NETWORK
FLOW MODULE
Trajectory network
Shape layers
Network entry PcInD nodes
Network exit PcOutD nodes
Node
Link
Links-nodes network
Figure 70. A trajectory network and his representation as a network links-nodes
123
E X P O R T - I M P O R T
SCENARIO
Export-Import scenario
The export-import flow scenario allows to exchange data between CubeDynasim and a traffic assignment
software. The purpose is to directly micro-simulate with CubeDynasim the paths and flows results of the
assignment. You should take into account that the assignment network is much larger and includes the microsimulated network.
The CubeDynasim links/nodes network is automatically generated from the geometric network. It is made
up exclusively of nodes and links. Each node has an unique id and 2D coordinates. The node id is an integer.
The node id is not necessarily the same in CubeDynasim and in the traffic assignment software. We switch
from one to another using a translation (choose a value for the translation that insures the uniqueness of the
imported nodes regarding the nodes of the traffic assignment network). Links are one-way. Fields A and B
define origin node and destination node, respectively. The other fields quantify physical variables (length,
free speed, etc.).
The contacts points are specific nodes. They define the crossing points between the network edited in the
traffic assignment software and the CubeDynasim model's links/nodes network. The links connected at a
contact point to a network node have no physical effect (null travel time).
The links connecting the traffic assignment network to contact points are edited with the traffic assignment
software at the first importation of the CubeDynasim network. The links connecting the CubeDynasim network at the points of contact are automatically generated.
Permanently fixing the contact points (i.e. do not change input output of the CubeDynasim network), the
user can edit the trajectory network without having to redo the connections between the two networks during
the subsequent export-import operation.
2.
3.
4.
5.
6.
7.
8.
9.
Network scenario
Node no.
Contact node no.
124
DESCRIPTION
Name of the network scenario that generates the links/nodes network.
Translation value between CubeDynasim and traffic assignment software.
First contact nodes number.
EXPORT-IMPORT
SCENARIO
Export format
Demand duration
DESCRIPTION
Export format of the links/nodes network.
Sampling of the imported demand.
Scenario properties
Node numbers are expressed in the space of the nodes of the assignment network. Each line of the file is one
link of a path defined for an iteration. The sequence of the lines describes the nodes traversed for each of the
paths.
125
FLOW MODULE
Time sample
T R A F F I C
COUNTS
Traffic counts
The CubeDynasim traffic count object quantifies section or/and directional movements by peak time and
type of vehicles. Directional traffic counts can be expressed as absolute values (where the flow values are
specified for each movement) or as relative values (by allocating a section count to several directions via percentages). They are to be used with estimation an assignment flow scenario.
There are three types of object counts depending on their parameters:
However, editing operations apply in the same way on all three types of counts.
COUNT PARAMETERS
LABEL
Layer
Tolerance +
Tolerance -
Generate box
Tabs
DESCRIPTION
Traffic count layer.
Greater tolerance of a traffic count is defined by a percentage. After convergence, the maximum number of vehicles associated with a movement is defined as:
VU* <= (1 + Tole+) x VU
where
VU is the number of units of vehicles measured for this movement;
VU* is the number of units of vehicles calculated after convergence.
The lower tolerance of a traffic count is defined by a percentage. After convergence, the
minimum number of vehicles associated with a movement is defined as:
VU* >= (1 + Tole-) x VU
where
VU is the number of units of vehicles measured for this movement;
VU* is the number of units of vehicles calculated after convergence.
Boolean, if Yes, then the traffic count should be taken into consideration while compiling
the Flow box, page 152.
Each tab corresponds to a peak time:
A tab includes, for each type of vehicle, the hourly flow in number of vehicles
1.
2.
Section
for each directional movement numbered from 1 to n.
Import Optional field. Identifier (preferably unique) of the traffic count needed to Import the
Identifier values of traffic counts from a text file, page 134
126
TRAFFIC
COUNTS
COUNT PARAMETERS
LABEL
Width
Color
DESCRIPTION
Display width of the traffic count in the edit zone.
Display color of the handles attachment points (see Color field, page 31).
The tolerances are defined uniquely for all movements, type of vehicles and counting schedules.
Splitting a traffic count, page 133 to assign a specific tolerance for each type of vehicle, if
necessary.
Delete a schedule
Add a schedule
Tolerance fields
Schedule tab
Movement 1 edited
Movement 2
127
FLOW MODULE
T R A F F I C
COUNTS
Layer
Tolerance +
Tolerance -
Generate box
Tabs
Width
Color
DESCRIPTION
Traffic count layer, to be selected among the set of layers of the current network scenario.
Greater tolerance of a traffic count is defined by a percentage. After convergence, the maximum number of vehicles associated with a movement is defined as:
VU* <= (1 + Tole+) x M% x VUS
where
VUS is the number of units of vehicles measured in section;
M% flow is the percentage of the flow section assigned to the direction;
VU* is the number of units of vehicles calculated after convergence.
The lower tolerance of a traffic count is defined by a percentage. After convergence, the
minimum number of vehicles associated with a movement is defined as:
UV* >= (1 - Tole-) x M% x UVS
where
VUS is the number of units of vehicles measured in section;
M% flow is the percentage of the flow section assigned to the direction;
VU* is the number of units of vehicles calculated after convergence.
Boolean, if Yes, then the traffic count should be taken into consideration while compiling
the Flow box, page 152.
Each tab corresponds to a peak time.
For every type of vehicle, the field named Section defines the hourly flow measured in section expressed in units of vehicles.
A tabulation includes, for each direction (numbered 1 to N), an input column for the percentage of the traffic in sections assigned to this direction.
Display width of the traffic count.
Display color of the handles attachment points (see Color field, page 31).
1
2
128
Truck
Car
276 PC 10 PC
927 PC 10 PC
TRAFFIC
COUNTS
129
FLOW MODULE
T R A F F I C
COUNTS
Layer
Tolerance +
Tolerance -
Generate box
Movement
130
DESCRIPTION
Traffic count layer, to be selected among the set of layers of the current network scenario.
Greater tolerance of a traffic count is defined by a percentage. After convergence, the maximum number of vehicles associated with a movement is defined as:
VU* <= (1 + Tole+) x VU
where
VU is the number of units of vehicles measured for this movement;
VU* is the number of units of vehicles calculated after convergence.
The lower tolerance of a traffic count is defined by a percentage. After convergence, the
minimum number of vehicles associated with a movement is defined as:
VU* >= (1 + Tole-) x VU
where
VU is the number of units of vehicles measured for this movement;
VU* is the number of units of vehicles calculated after convergence.
Boolean, if Yes, then the traffic count should be taken into consideration while compiling
the Flow box, page 152.
Set the values of the fields CAMERA and LETTER for each of the pairs {movement, type
of vehicle} defined for the traffic count.
TRAFFIC
COUNTS
Tabs
Width
Color
DESCRIPTION
Each tab corresponds to a peak time.
For each (numbered from 1 to n) directional movement, a tab contains a column of the value
of traffic by type of vehicles entry
For each type of vehicle, the field named Section defines the traffic section.
The values are initialized from the database (gray font color).
The user can, if desired, edit the default value (black font color).
Display width of the traffic count.
Display color of the handles attachment points (see Color field, page 31).
When a value for a movement has been edited by the user, this value is taken into account for all flow
scenarios.
2.
Click the
button on the Simulation object bar, page 17 to activate create traffic count
131
FLOW MODULE
Movement of the
traffic count
T R A F F I C
COUNTS
2.
Click the
icon on the Simulation object bar, page 17 to activate create traffic count mode.
All these editing operations occur in the input box of the traffic count. To display this input box:
1.
2.
3.
Position the cursor on the count, and then press M to display the input box of the traffic count.
Click OK to validate the editing and close the input box.
4.
Adding a schedule
Click the Add a schedule button to display the list of available schedules, and select the appropriate schedule
in the list.
This operation adds the schedule to all the traffic counts on the model.
132
TRAFFIC
COUNTS
Deleting a schedule
Click on the cross tabulation of the schedule to delete.
This operation removes the schedule and the values of all traffic counts on the model.
Adding a type of vehicle
Click the Add a type of vehicle button to display the list of available types of vehicle, and select the appropriate one from the list.
FLOW MODULE
This operation adds the type of vehicle to all the traffic counts on the model.
Deleting a type of vehicle
Click on the cross next to the name of the type of vehicle to delete.
This operation removes the type of vehicle of all traffic counts on the model.
133
T R A F F I C
COUNTS
It is possible to split/duplicate a traffic count following a category while preserving the already edited values.
1.
2.
Position the cursor on the traffic count. Hold down the right mouse button, to display the menu.
drag the mouse to select the entry Split Vehicle type.
4. Release the mouse to open the box entry.
3.
Select the layer of the new traffic count among the set of layers of the current network scenario.
6. Click OK to close the box entry and add the new traffic counts.
5.
134
TRAFFIC
COUNTS
Import Identifier of the traffic count: the value must be entered via the traffic count edition box.
For example C1_South for the traffic count below.
Peak hour: corresponds to one of the labels on the tabs of the edit box of the traffic count. For
example, in the case below AM Peak.
Type of vehicle: id of the type of vehicle.
Movement: Section for the traffic count section, otherwise the movement number.
Flow: integer value for the number of vehicles or a percentage setting a distribution of movements
(traffic count percentage)
2) Peak hour
3) Type of vehicle
4) Movement
1) Import Identifier
1.
2.
3.
4.
135
FLOW MODULE
To directly import the text file storing the values of the traffic counts:
E S T I M A T I O N
SCENARIO
Estimation scenario
A flow scenario of type Estimation calculates the demand following the constraints defined by:
136
ESTIMATION
SCENARIO
Principle
Reference state
Micro simulation
2.
Fill in the various fields (see Flow scenario parameters, page 111).
Select Estimation out of the drop-down list named Type.
Click Configure to display the "Estimation entry window" (see fig. 80, page 138).
Fill in the Estimation scenario parameters, page 138.
Click Back.
Click Add to validate the new parameters of the flow scenario.
Click Quit to close the entry window.
3.
4.
5.
6.
7.
8.
137
FLOW MODULE
E S T I M A T I O N
SCENARIO
Network scenario
DESCRIPTION
Network on which the algorithm calculates the estimation to be selected among
all the network scenarios. The network scenario defines the traffic counts, the
links-nodes (via the network of trajectories), the capacity of the links, etc.
Theta
The multi-path dispersion coefficient models the sensitivity of users to the various
costs of paths sharing the same origin and destination.
Maximum iterations
Maximum paths
Spread %
138
ESTIMATION
SCENARIO
It is necessary to ensure the convergence of the estimation by visualizing Error messages due to the Estimation, page 415 from the simulation module input box, or by directly opening the file text flow_ saved in the
import directory.
The paths for each type of vehicle are saved in a file identified text CHEM_ [C]. TXT following the same
format as the Format of the path-flow files to be imported, page 125 ([C] name of the type of vehicle).
The OD matrices for each of the type of vehicle are stored in files OD_ [C] _ [PCU], where [C] is the name
of the type of vehicle and [PCU] is an integer defining the number of personal car units for this type of vehicle. For example, OD_CAR_1.TXT. Each line of the file corresponds to the number of vehicles, the origin
and the destination. Origin is an id of a contact node entering the network. Likewise, destination is an id of a
contact node exiting the network.
Input or output data of the estimation algorithm are saved in shapefile format, to be easily displayed in map
form. We define [C] as the id of a type of vehicle.
[C] _CS: the layer storing the traffic counts in the section for the type of vehicle [C] connects a link of the
links-nodes network and a flow, constraints for the estimation algorithm. The layer includes of three fields:
A: id of the node entering the link,
2. B: id of the node exiting the link,
3. NB: flow per hour counted on the link.
1.
[C] _CSxFLOW: mapping on the links of the links-nodes network, the flows calculated for vehicle type [C]:
A: id of the node entering the link,
2. B: id of the node exiting the link,
3. NB: flow per hour crossing the link.
1.
[C] _CDxFLOW: mapping flow of vehicle type [C] calculated for each movement of the directional counts
that have been filled in and taken into account by the estimation algorithm.
A: id of the node entering the first link,
B: id of the node exiting the second link,
3. NB: flow per hour crossing the two links.
1.
2.
[C] _PATH: for each type of vehicle [C], the paths is associated with a polyline resulting of the connection
of the links used by these paths. To load and select the layer, click on one of the links to see all the paths
using this link (see paths on trajectory). If the number of paths exceeds the shapefile storage capacity, the
layer will not be generated.
139
FLOW MODULE
[C] _CD: the layer of directional counts involves two links of the links-nodes network and the flow of vehicles of type [C] passing through those two links. These flows are a constraint for the estimation algorithm.
The layer includes three fields:
E S T I M A T I O N
SCENARIO
Visualization and labeling of the field NB of layers [C] _CD % xFLOW and [C] _CS % xFLOW to display the convergence of counts.
Traffic in sections
Section traffic count
Convergence of the section counts
140
ASSIGNMENT
SCENARIO
Assignment scenario
An Assignment flow scenario assigns on network-2 a matrix origins-destinations results of an Estimation
flow scenario calculated on network-1. In this case, the set of input-output (i.e. entrance and exit contact
nodes) is the same for both networks. The assignment flow scenario is used to assess and take into account
the reports of traffic due to changes to the network.
An important use for this method is evaluating traffic transfers resulting from changes on the road network.
The Assignment scenario transforms all the paths from an Estimation scenario, page 136 into an Origin/
Destination matrix, which it assigns to the new network while taking into account the following:
At the end of the estimation process, it is possible to alter, with an executable program (generally a script in
shell/awk/sed, perl or python), the flow matrices to be assigned.
141
FLOW MODULE
Based on these various elements, the algorithm computes a set of path-flow seeking to minimize a cost function that is defined as the sum of all the travel times.
SSIGNMENT
A
SCENARIO
Principle
Reference state
Micro simulation
142
ASSIGNMENT
SCENARIO
Fill in the various fields (see Flow scenario parameters, page 111).
3. Select Assignment out of the drop-down list named Type.
4. Click Add before you change the type setting flow scenario-specific settings.
5. Click Configure to display the Assignment entry window.
2.
7.
Flow estimation
Assignment network
Name of the network on which to assign the flows in the flow estimation flow scenario.
Theta
The multi-path dispersion coefficient models the sensitivity of users to the various
costs of paths sharing the same origin and destination.
Maximum iterations
Maximum paths
143
DESCRIPTION
Spread %
Maximum cost difference between two paths sharing the same origin and destination. This difference is expressed as a percentage.
Before Assignment
FLOW MODULE
SSIGNMENT
A
SCENARIO
You must add the Assignment scenario before configuring it, so that the network list on which to
assign an Assignment scenario is updated.
144
SUBNETWORK ASSIGNMENT
SCENARIO
145
FLOW MODULE
1. The input/output supports of the subnetwork belong to the global network (it is recommended to set
them in a frozen layer).
2. The area to be simulated must be continuous and closed (a path on the global network can not enter
and exit more than once the subnetwork).
3. You should be aware that the path flow defined on the global network can be different from the one
defined on the subnetwork (only if the subnetwork includes multi-paths).
S U B N E T W O R K A S S I G N M E N T
SCENARIO
Principle
Reference state
Micro simulation
Figure 84. Schematic diagram of a simulation with an Assignment on a subnetwork flow scenario
A Subnetwork Assignment flow scenario requires the existence of a reference Estimation flow scenario
and an Assignment scenario.
146
SUBNETWORK ASSIGNMENT
SCENARIO
CubeDynasim will update only the data that was changed. During the iterative process of edition of the subarea, the calculation starts with the assignment on the subnetwork.
Create a Subnetwork Assignment flow scenario
1.
Fill in the various fields (see Flow scenario parameters, page 111).
3. Select Subnetwork Assignment out of the drop-down list named Type.
4. Click Add before you change the type setting flow scenario-specific settings.
5. Click Configure to display the Subnetwork Assignment entry window.
2.
FLOW MODULE
You must add the Subnetwork Assignment scenario before configuring it so that the network list on
which to assign an Estimation scenario is updated.
147
DESCRIPTION
Assignment Flow
The name of the Assignment flow scenario applied to network 2. Network 2 is the
field Assignment network, page 143 of the Assignment flow scenario.
Matrix Sub
Network
Subnetwork of the second network from which the OD matrix is extracted (named
subnetwork 2). The supports marking the entrance/exit of this subnetwork define
the set of origin-destination of the subarea to be simulated.
Sub Network
Assignment
Assign the OD matrices extracted from the subnetwork 2 to the subarea to be simulated. The subnetwork 2 and the area to be simulated share the same set of input
and output supports. Inside the contents of the subnetwork 2 and the subarea to
be simulated will be different.
Theta
The multi-path dispersion coefficient models the sensitivity of users to the various
costs of paths sharing the same origin and destination.
S U B N E T W O R K A S S I G N M E N T
SCENARIO
Maximum iterations
Maximum paths
Spread %
Before Assignment
DESCRIPTION
Maximum number of iterations for the calculation of the algorithms convergence.
This setting is used to reduce the calculation time.
Maximum number of paths sharing the same origin and destination.
Maximum cost difference between two paths sharing the same origin and destination. This difference is expressed as a percentage.
This field is optional.
If set, it executes the file before the assignment of the OD matrices (extracted on
the sub-network 2) on the subarea to be simulated. It is generally an executable
file that alters the OD matrices to be assigned.
148
AGGREGATE
Aggregate
The Aggregate flow scenario defines a demand following a suite ordered of time samples sharing the same
duration. Each of these samples is set by one of the flow scenarios and a weighting factor. The demand for a
time sample is calculated according to the flow of its flow scenario. The flow is reduced according to the
length of the sample, and then adjusted by the weighting coefficient.
With the Aggregate flow scenario, it is possible to reproduce the flow variations during the simulation:
either by calculating flow path estimation per time sample (which last at least 30 minutes taking
into account the size of the network), and then aggregating those flow scenarios corresponding to
each counting period.
2. or either by applying different weighting factors on the same flow scenario.
1.
It is worth noting that these approaches do not properly solve the spill back astride traffic counts and extending beyond the duration of the time samples.
FLOW MODULE
149
GGREGATE
A
Create an Aggregate flow scenario:
1.
2.
3.
Fill in the various fields (see Flow scenario parameters, page 111).
Select Aggregate out of the drop-down list named Type.
4.
Flow scenario
header
List of
aggregates
Edit zone
Command
zone
5.
6.
7.
8.
9.
Edit the settings displayed in the Edit zone (see "Aggregate flow scenario parameters", fig.
p.150).
Click Add to push back the new edited aggregate to the end of the list.
To add a new aggregate return to step 5.) otherwise, click Back.
Click Add to add the new aggregate flow scenario.
Click Quit to close the entry window.
Time sample
Flow scenario
Proportion
150
DESCRIPTION
Duration of the aggregate in minutes. The duration is the same for all aggregates.
This setting is applied to all aggregates.
Flow scenario on which the calculation of the aggregate is based. The flow scenario cannot be of type Generator or Subnetwork.
Percentage of the Flow scenario actually taken into account by the aggregate.
AGGREGATE
It is advisable to create a scenario simulation for each aggregate flow scenario in order to check
any error messages using the GUI. Otherwise, the user must check the errors displaying the files
saved on the hard drive. A flow scenario of type aggregate calculates in parallel each of the flow
scenarios it depends on. If the number of different flow scenarios is important, the system may
spend more time swapping tasks than calculating the different demands. In this case, it is
recommendable to limit the number of flow scenarios calculated in parallel (depending on your
hardware configuration).
FLOW MODULE
151
P A T H S :
Flow box
CubeDynasim can be used to generate, from the traffic calculation, images defined by the user in which the
various directional movements are represented based on Traffic counts, page 126 objects, for which the
Generate box option is selected. The number of images generated by the simulation scenario is unlimited.
Create an image frame:
1.
2.
3.
4.
5.
6.
Open the Traffic box entry window from the Menu bar, page 14: Report > Flow box.
Adjust the size of the main window so that it matches the size of the snapshot image.
Position the edit area to view the part of the network in which to display the traffic (e.g. a crossroads).
Enter the name of the frame in the entry box.
Click Add to save the frame.
To add a new frame go back to step 2.) otherwise, click Quit.
Flow box files are generated during the reports update of the simulation scenario.The generated files are
image files (eps format) for each frame, type of vehicle, and total flow in PCUs.
These files are saved in the subdirectory of the study: Report / simulation scenario / flow/ boxes. The
names of these files comply with the following convention: [TYPE] _ [title].eps.
152
PATHS:
Image frame
Flow box
entry window
Figure 86. Representation of the directional movements resulting from the flow calculation
Visualizing a flow box
From the Menu bar, page 14, open the Traffic box entry window: Report > Flow box.
2. Select the appropriate name.
3. Click Visualize to display the image area in CubeDynasim without resizing the main window.
1.
153
FLOW MODULE
P A T H S :
Paths on trajectory
The Paths on trajectory is used to generate layers in ShapeFile format quantifying traffic traveling through
one or more points of the network for all type of vehicles and for all vehicles (expressed in PCUs),
For each type of vehicle and for all vehicles expressed in PCUs,CubeDynasim generates two layers:
2.
Click the
icon on the Simulation object bar, page 17 to activate create path on trajectory
Left-click on the origin trajectory to position the crossing point on the path.
4. Fill in the path on trajectory entry window.
3.
5.
6.
Click OK to confirm.
Right-click to finalize the path on trajectory, or left-click on one or more trajectories to add one
or more conditions on the path.
154
PATHS:
Intermediate points
Initial point
Path on trajectory with
a single crossing point
Figure 87. Representation of a path on trajectory in CubeDynasim
The layers generated (in the subfolder named by the layer parameter in the Path on trajectory entry window)
are:
[TYPE]_IN_[layer] which contains all the links covered by users who proceed via the crossing point
[TYPE]_OUT_[layer] which contains all the links covered by users who proceed via the crossing point
on the path on trajectory (and any intermediate points) up to their various destinations, along with the
flows quantification for the TYPE on these links.
Path on trajectory IN
Path on trajectory
crossing point
Scenario comparison
CubeDynasim lets you compare the traffic (the demand) between two simulation scenarios.
155
FLOW MODULE
(and any intermediate points) of the path on trajectory from their various origins, along with the flows
quantification for the TYPE on these links.
P A T H S :
Open the Compare entry window from the Menu bar, page 14: Report > Compare Flows.
Compared
scenario
Reference
scenario
The traffic comparison is recalculated as soon as the Report is generated for one of the two simulation scenarios compared.
For two different networks, CubeDynasim calculates the difference between two links that satisfy the Minimal length, that are both within a 3-meter wide range, and that the two links are oriented in the same direction. The comparison is done according to a geometric criterion.
156
Paths
PATHS
A vehicle is created by a generator which assigns it a destination corresponding to a network exit. The vehicle travels from the origin to its destination along a series of simulation objects connected in pairs. This
series of objects corresponds to the path taken.
The vehicle calculates its path at the entry to a simulation object. If the result of this calculation offers different possibilities, one is chosen according to the following criteria in order of priority:
a
Whatever the criterion for calculating the path, CubeDynasim prohibits a vehicle from crossing a link on the
link/node network that has already been taken. In other words, CubeDynasim prohibits looping.
The definition of the paths serves to limit the possible series of objects covered by the vehicles to reach
their destination. This definition involves the following two steps:
Editing of possible sequences of simulation objects, whatever the vehicles destination or category. This sequence is usually directly deduced from the geometric configuration of the objects.
2. Restricting possible series of objects when traveling across the network, according to the vehicles
destination and/or category.
1.
the Links, page 158 that define the sequences of simulation objects,
the Prohibitors, page 168 used to edit restrictions according to the vehicle destination and/or category,
the Lane change distributions, page 185 which control lane changes.
157
L I N K S
Links
A link establishes a connection between two simulation objects. For example, a vehicle present in the first
object can continue on its way by taking the second object. In other words, if there is no link between two
objects, the vehicle is not allowed to pass from one object to the other. The different types of simulation
objects that can be connected by a link are as follows :
Origins, page 69: origin only.
2. Stages, page 71: origin and destination.
3. Lanes in Trajectories, page 81.
1.
Links are represented/edited in logical mode in Network edit area, page 19 of the main CubeDynasim
window (see "Main CubeDynasim window in logical mode", fig.2 p.14). A link not pointed to by the mouse
is always represented by an association of segments, where the last segment ends with a green or blue arrow,
depending on the type of link, pointing to the destination object (see "Representation of links in logical
mode", fig.90 p.158). The link generally comprises a single segment. The direction of the arrow is not always
visible depending on the scale factor used to display the logical representation of the simulation objects in
Network edit area, page 19. However, the logical representations of connected objects make it possible to
easily distinguish the origin of the link and its destination. A link has no representation in geometric mode
because there is no physical size associated with a link.
With curve objects, the link is automatically generated in the handle if the link option in the "Handle entry
window" (see fig. 48, page 86) is enabled.
158
LINKS
This chapter is split into three parts which describe the three types of links available in CubeDynasim:
Speed link
The speed link connects a single origin to a single destination. The links speed percentage is used to impose
a speed limit on vehicles using it. The speed limit is equal to the vehicles absolute maximum speed,
weighted by the speed percentage associated with the link. The vehicle modifies its speed to pass the link
while respecting this speed limit, or failing this, by getting as close to it as possible according to its motional
capacities. While a number of motional conditions apply to a vehicle taking a speed link, the most constraining condition is the one applied to the passing of the link. The motional constraint imposed by the destination
simulation object is not taken into account by the vehicle when it passes the link. The drop in speed between
two single lane simulation objects is generally determined by the angle formed by the connected segments of
the two lanes.
Except for exceptional configurations, modeling by handles/trajectories no longer requires you to use speed
links for the concatenation of trajectories. Moreover, the speed at the trajectorys origin/destination is defined
as one of the trajectorys parameters (see Vehicle network, page 80).
1.
If necessary, switch to logical mode (see "Main CubeDynasim window in logical mode", fig.2
p.14).
2.
Click the
button on the Simulation object bar, page 17 to activate create speed link mode.
In the Network edit area, page 19, click the object at the origin of the link.
To create a link comprising a number of segments, position the cursor and left-click to validate the
segments position.
5. Repeat step 4) until you reach the last segment to create.
6. Right-click on the links destination simulation object.
3.
4.
You cannot move a link in the same way as you would move a simulation object (see move a simulation
object on the background map, page 21).
You cannot edit or delete a speed link if it links two objects placed in frozen layers.
159
PATHS
L I N K S
Handle
Selected link
Origin single lane
Destination single lane
Figure 91. 2-segment speed link in the selected state
To modify the speed links parameters, you must display the links entry window (see "Speed link entry
window", fig.92 p.160), following the procedure Edit modes, page 13. The value of the Speed percentage field is between 0.001 and 1.0. The Prohibitor OR and Prohibitor AND fields are used to modify the
value of the Prohibitor OR and the Prohibitor AND respectively, in accordance with the operation of a Prohibitor field, page 171.
Split link
Edited in the CubeDynasim Network edit area, page 19, the split link actually groups together two links
called the split link and the forward link. You can only distinguish these two links in link edit mode when
defining their Prohibitors, page 168.
The forward link is a Speed link, page 159.
The split link is a speed link that establishes a connection between an origin and a set of N possible destinations, where N is greater than or equal to 2. A condition is associated with each possible destination. The
value of this condition varies during the simulation. The selected destination corresponds to the value of the
most reliable condition, evaluated the moment the vehicle enters the origin object. A condition applies to an
nonempty set of simulation objects, called condition objects. The conditions value at instant t is equal to the
sum of the weighted number of vehicles present in the condition objects. The weighting is specific to each
condition object.
This section describes the split link as follows:
160
LINKS
Representation of a split link in logical mode
The split links representation in logical mode consists of a blue arrow pointing from the logical representations of the origin simulation objects to the links first possible destination. When your cursor is positioned
on this arrow, the link between the origin and the first destination is represented by a yellow arrow, and the
links pointing to the other destinations by blue arrows (see "Representation of a split link in logical mode",
fig.93 p.161).
Click the
4.
In the Network edit area, page 19, click the links origin object.
Add a destination:
5.
. icon on the Simulation object bar, page 17 to activate create split link mode.
Left-click the logical representation of the destination object; if it is a lane in a multilane or a single
lane, click the triangle at the end of its representation.
b. Add a condition to this destination, by pointing to the condition objects logical representation and
left-clicking: if it is a lane in a multilane or a single lane, click indifferently on either of the triangles
at the start or end of it.
a
c. To add a condition, repeat step b.), otherwise finish the entry of your conditions by right-clicking.
6.
7.
By default, the all conditions have the same weighting value on creation of the link. To modify this value,
you must edit the split link.
Editing a split link
To edit a split links parameters, in logical mode, follow the procedure described in section Edit Object
mode, page 20, to display its entry window (see "Split link entry window", fig.94 p.162).
161
PATHS
3.
L I N K S
To model the junction in figure 95, page 163: you draw the trajectories of the various possible movements
at the junction. Here we will focus on the left turn movement towards the top of figure 96, page 164. This
162
LINKS
In this example presenting a crossroads with signals, the trajectories modeling antagonistic movements can
overlap. For example, the red single lanes corresponding to the left-turn movement overlap on the green trajectories going from the bottom towards the top of the figure. However, you are generally advised against
overlapping the different trajectories.
163
PATHS
movement is modeled by a series of single lanes in red. It ends with a fork where each branch corresponds to
a waiting zone for vehicles yielding straight ahead. The choice of one or other of the forks branches is made
depending on a condition that translates the number of vehicles present in each branch. The single lane corresponding to the decision on the best destination is short, since the decision must be made as closely as possible to the two branches of the fork. Furthermore, in geometric mode you must edit the Yield, page 206
rules to deal with trajectory conflicts between the priority forward movement and the left turn movement.
L I N K S
Forward movement
Priority movements
Priority rule for
conflicting trajectories
Destination 2
Destination 1
Origin object of the split
link (decision making object)
Left turn movement
Figure 96. Example 1: Geometric view of the modeling of a permissive left turn movement
Forward movement
Destination 1
Destination 2
Split link
Origin object of the split
link (decision making
object)
Figure 97. Example 1: Logical view of the modeling of a permissive left turn movement
164
LINKS
Editing the model in logical mode consists in describing the sequences of trajectories (see "Example 1: Logical view of the modeling of a permissive left turn movement", fig.97 p.164):
Creating a split link, page 161 whose origin is the decision-making object, and with two destinations corresponding to the two branches of the fork. Destination no. 1 and destination no. 2 have
a single condition object corresponding to destination no. 1 and destination no. 2 respectively.
2. Continue by Editing a split link, page 161, and, using the Prohibitor OR forward field, define a
prohibitor on the forward link for all the vehicles.
1.
PATHS
165
L I N K S
Priority movements
Destination 2
Destination 1
Split link
Origin object of the split link
(decision-making object)
Figure 100. Example 2: Logical view of the modeling of an "Indonesian" left turn
There is no distinction between the logical mode representations of a split link and a split link by PCE. You
can only distinguish them by the header of the message displayed in the information area when your cursor
is positioned on the links logical representation. For a split link, the message starts with Split link, and for a
split link by PCE, the message starts with Split link by PCE.
To create a split link by PCE, follow the same procedure as for Creating a split link, page 161 by selecting the following in step 2.):
a
either in Menu bar, page 14, select Objects > Links > Split link by PCE,
b. or in Button
bars, page 15, in the links category, click the Split link by PCE
that the icon is the same as that of the split link; only their labels differ).
button (note
You edit a split link by PCE in the same way as for a split link (see Editing a split link, page 161).
166
LINKS
In the case of a network entry defined by the sequence of Origins, page 69, Stages, page 71,
then by a trajectorys path, you must edit two links. A first link from the origin to the stage, then a
second link from the stage to the simulation object (see "Two links required to define a network entry
with a stage", fig.101 p.167). By moving the stage, you ensure that it is connected to the other network
elements if the end of the logical representation of its links follow it.
Poor modeling
A single link
Figure 101. Two links required to define a network entry with a stage
167
PATHS
P R O H I B I T O R S
Prohibitors
A prohibitor is used to forbid a vehicle from traveling in the network, entry or exit of a simulation object
according to its category and/or destination. The prohibitor is used to force certain paths and, in some
cases, to give preference to - or restrict - a type of trajectory.
A prohibitors parameters are a subset of categories corresponding to the categories selected, and a subset
of Destinations, page 74, corresponding to the selected Destinations, page 74 or Zones, page 75.
These two subsets can be empty.
Prohibitors are applied to the following simulation objects: Links, page 158, and lanes in Trajectories, page 81.
A vehicle satisfies a prohibitor according to two criteria concerning its category and its destination (see
Destinations, page 74).
If a vehicle does not satisfy the prohibitor applied to a trajectory with a single lane, to all the lanes in a multilane or to a link, it cannot take them on its journey through the network to reach its destination. If a vehicle
does not satisfy a prohibitor applied to a lane in a multilane, it can enter or partially travel along this lane, but
it must quit the multilane by another of its lanes for which it satisfies the prohibitor.
This section describes :
Invalid paths
The AND and OR prohibitors on an invalid path are applied to all the simulation objects likely to be prohibited and which cross the graphic representation of the invalid path.
The invalid path is a simulation object edited in geometric mode. Its graphic representation is only displayed
icon, and a marker
in the Network edit area, page 19 in geometric mode. It is represented by the
defined as a series of joined straight line segments (see "Representation of invalid paths in geometric mode",
fig.102 p.169). Prohibitors are defined on the simulation objects that cross the invalid path marker.
168
PROHIBITORS
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
169
PATHS
Invalid paths belonging to a layer can be associated with network scenarios to simulate the effect of
different variants of the path.
P R O H I B I T O R S
Handle
Segment
Icon
Figure 104. Invalid path in the selected state
Use a single invalid path to prohibit a set of trajectories: to do so, you edit a single simulation object
when updating the associated prohibitors, for example, when modifying the number of
Destinations, page 74.
170
PROHIBITORS
Prohibitor field
You can define prohibitors on a certain number of simulation object categories (see Paths, page 157). The
prohibitor field is represented by a button identified by Prohibitor AND or Prohibitor OR, corresponding to
the type of prohibitor entered. Proceed as follows to define the prohibitors associated with an object from its
entry window :
Left-click the appropriate prohibitor button to display the prohibitor entry window (see "Prohibitor field as it appears in a simulation object entry window", fig.105 p.171),
2. The prohibitor entry window contains two multi-choice list fields corresponding to the Destinations, page 74 (Destinations), and to the vehicle categories (Category). Depending on the number of exits defined for the project, the destinations field is displayed directly in the prohibitor
entry window or in a window with a scroll bar (see "Prohibitor entry window", fig.106 p.172). The
multi-choice list contains the labels and their corresponding checkboxes. A checkboxs status is
either selected or unselected. You change statuses by left-clicking in the box. Three buttons are
associated with a multi-choice list to modify the status of all the lists checkboxes. By left-clicking
on the button in a multi-choice list:
1.
b.
c.
If a Destinations, page 74 object is created, it is added to the list of destinations of all the prohibitor
fields whose status is unselected. Similarly, if a public transport line is created, its corresponding
destination is added to the list of possible destinations with the unselected status (see Public transport
module, page 271).
171
PATHS
Select the exits and categories to take into account in the definition of your prohibitors by selecting their corresponding checkboxes.
4. Click OK to validate the selection and go back to the simulation object entry window.
3.
P R O H I B I T O R S
List of zones
List of destinations
List of categories
172
MP
PROHIBITOR
MP prohibitor
A MP prohibitor is defined by an entry marker and a non-empty set of exit markers. A marker of a MP prohibitor applies to all the trajectories of a multilane from the moment it crosses one of its lanes. Paths are forbidden if they cross the entry marker and one of the outputs marker of a MP prohibitor.
Creating a MP prohibitor
1.
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
Click the
icon on the Simulation object bar, page 17 to activate Create MP prohibitors
mode.
3. In theNetwork edit area, page 19, click on the trajectory where you want to position the entry
to the MP prohibitor to display the "Invalid path entry window" (see fig. 103, page 170).
4. Fill in the fields :
a Layer which is a Single-choice list field, page 32 used to assign the invalid path layer.
b. Prohibitor OR and Prohibitor AND both represent a Prohibitor field, page 171 used
2.
Editing a MP prohibitor
An MP prohibitor can only be edited in geometric mode.
To display the MP prohibitor entry window, follow the steps as described in the section for delete or modify
a simulation object, or place it in the background or foreground, page 21.
To modify the MP prohibitors geometry:
Select the object by following the procedure for select a simulation object, page 21.
2. Position the mouses pointer on a handle.
3. Left-click and drag it to the appropriate position (see "Invalid path in the selected state", fig.104
p.170).
1.
173
PATHS
respectively to define the Prohibitor OR and the Prohibitor AND applied to the objects that cross the
MP prohibitor.
c. Width to define the width, in geometric mode, of the invalid paths straight segments;
0.5 meters represents a good compromise.
L A N E
CHANGES
Lane changes
There are two types of situations that lead to a lane change :
A lane change imposed by the path the vehicle takes to reach its destination, conditioned by
Insertion gaps, page 175.
2. A lane change due to the vehicles behavior, usually conditioned by Behavior associated with
lane satisfaction, page 176 and Insertion gaps, page 175.
1.
At the entry to the network, a vehicle must respect a minimum distance of 20 meters or a travel time of
3 seconds before changing lanes.
CubeDynasim lets you configure the lane change possibilities available to each vehicle depending on its
destination and on present traffic conditions via the following:
Insertion gaps, page 175, which determine whether the vehicle will be able to change lanes depending on the traffic in its target lane
Target lane satisfaction, page 180, which determines whether a vehicle wants to change lanes
depending on the traffic in an adjacent lane.
You use the Behavior definition window, page 177 to create or edit the lane change parameters used to
define the behaviors.
To access the Lane Changing Parameters entry window, page 175, click the Multilane menu on the
Menu bar, page 14, select Behaviors then Lane change configuration.
In the Lane Changing Parameters entry window, page 175, you can define :
a custom name
a configuration type
the configuration types parameters:
parameters for Insertion gaps, page 175,
parameters for Current lane satisfaction, page 178,
parameters for Target lane satisfaction, page 180.
174
LANE
CHANGES
PATHS
Insertion gaps
A vehicles that wants or needs to change lanes must make sure, in terms of safety, that the vehicles in front
and behind in its target lane are at a sufficient distance from its front and rear bumpers. This is done using lag
and lead insertion gaps to be edited in the "Multilane trajectory entry window" (see fig. 51, page 89), and
which apply to the target lane for vehicles wanting to change lanes.
Target lane
Current lane
175
L A N E
CHANGES
where:
C1 : Constant
C2 : positive speed differences parameter (dV +), i.e. the difference between the instant speed of the vehicle in the current lane V (t) and the speed of the vehicle in the target lane Vc (t),
C3 : negative speed differences parameter (dV -), i.e. the difference between the instant speed of the vehicle in the current lane V (t) and the speed of the vehicle in the target lane Vc (t),
C4 : aggressiveness parameter associated with a random selection n which serves to reflect different
types of driving,
a list of behaviors,
an edit area to access the name of the behavior.
176
LANE
CHANGES
List of
behaviors
Name of the
behavior
To define a behavior, open the Behavior definition window, page 177 from the Menu bar, page 14 by
selecting Multilane > Behaviors > Define Behaviors, then :
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
You are strongly advised against modifying the default behaviors. Instead, create new behaviors and
modify their parameters.
177
PATHS
L A N E
CHANGES
List of sets
Target lane
Satisfaction
conditions
pair
1
P t = ---------------------------------------------------------------------------------- C 1 + C 2 V t V l t + C 3 PL + C 4 PA
1+e
where:
C1 : a Constant.
C2 : a dV maximum parameter relative to the difference between the instant speed of the vehicle V (t)
and the desired maximum speed of the vehicle Vl (t).
C3 : an HV penalty parameter, used for vehicles whose length in m exceeds the threshold specified in the
Heavy thr field.
C4 : a tailgate parameter (TG) relative to the distance between the vehicle and the vehicle directly behind
it, used for vehicles whose speed is greater than the tailgate speed threshold specified in the Speed thr
tail field.
A lane change speed threshold (Speed thr) below which vehicles will not want to change lanes.
178
LANE
and:
PL = 1
PA = 1
less than 10 m, else
CHANGES
if the length of the vehicle considered is greater than the value specified in the
PL = 0
if the distance between the vehicle considered and the vehicle directly behind it is
PA = 0
Moreover, by default, if a vehicle is not hindered in its lane (lead vehicle more than 150 m in front), it will
not attempt to change lanes. The Prob of FF change and Prob of HV change (0 by default) parameters serve
to define a probability (between 0 and 1) that a vehicle whose length is less than or greater than the value
specified in the Heavy Thr field will attempt to change lanes.
You can edit these parameters in the Lane Changing Parameters entry window for current lane satisfaction, page 179.
PATHS
Associated parameters
Figure 111. Lane Changing Parameters entry window for current lane satisfaction
179
L A N E
CHANGES
Target lane satisfaction
The target lane satisfaction property defines whether the vehicle wants to change to an adjacent lane. This is
represented by a probability based on:
1
P t = ------------------------------------------------------------------------------------------------------------------------------ C 1 + C 2 V p t V l t + C 3 V cp t V l t + C 4 V cs t V t
1+e
where :
C1 : a Constant,
C2 : a Dvfront parameter relative to the difference between the speed the vehicle wants to reach Vl (t)
and that of the vehicle in front Vp (t),
C3 : a Dv lead parameter relative to the difference between the speed the vehicle wants to reach Vl (t) and
that of the vehicle in front in the adjacent lane Vcp (t),
C4 : a Dvlag parameter relative to the difference between the speed vehicle V (t) and that of the vehicle
behind in the adjacent lane Vcs (t).
You can edit these parameters in the Lane Changing Parameters entry window for target lane satisfaction,
page 181.
180
LANE
CHANGES
Associated parameters
PATHS
Figure 112. Lane Changing Parameters entry window for target lane satisfaction
181
L A N E
CHANGE DISTANCE
You are strongly advised against modifying the default distribution. Instead, create a new distribution
and modify its parameters.
182
LANE
CHANGE DISTANCE
Name
HV critical length
LV parameters
PATHS
HV parameters
183
C A R - F O L L O W I N G
RULES
Car-following rules
CubeDynasim comes with two predefined car-following rules. You can access their parameters and create
new rules.
184
LANE
CHANGE DISTRIBUTIONS
A geometric lane change is detected in those places where a vehicle has to change lanes to comply with the
networks geometry, marking or the conditions in relation to Invalid paths, page 168.
A vehicles number of lane changes is equivalent to the number of geometric break points that remain for
it to encounter before reaching the next logical breakpoint.
185
PATHS
A logical break point is detected when a vehicle is no longer able to change lanes, or no longer needs to
change lanes in the direction of its initial lane change to reach its destination.
L A N E
CHANGE DISTRIBUTIONS
Origin
Destination
1 lane change
Origin
Destination
2x1 lane change
Origin
Destination
2 lane changes
Origin
Destination
3 lane changes
Origin
Destination
2 lane changes
Origin
Destination
186
LANE
CHANGE DISTRIBUTIONS
Decision zones
Decision zones are defined by two distances (see "EC, MLC and RC distances", fig.115 p.187) going back in
the network from the next geometric break point that the vehicle must encounter on its path. Thus, you must
define the following triplet of numbers:
The Extreme Change (EC) position defines the position of the last point at which the vehicle can
change lanes in relation to the next geometric break point.
2. The Mandatory Lane Change (MLC) distance defines the length of the zone in which the vehicle must change to its target lane before reaching its Extreme Change position.
3. The Restricted Change (RC) distance defines, in relation to the start of the Mandatory Lane
Change zone, the length of the zone in which the vehicle will no longer move away from its target
lane.
1.
There are as many target lanes as there are lane changes to perform to join the target lane. The target
lane is the lane adjacent to the current lane in the direction of the lane change.
EC distances
187
PATHS
destination lane
L A N E
CHANGE DISTRIBUTIONS
Example where 2 lane changes are necessary:
ECi position
MLCi distance
RCi distance
Figure 116. Assigning triplets to a profile with 3 triplets for 2 lane changes
Example where 3 lane changes are necessary:
ECi position
MLCi distance
RCi distance
Figure 117. Assigning triplets to a profile with 3 triplets for 3 lane changes
Example where 4 lane changes are necessary:
188
ECi position
MLCi distance
RCi distance
LANE
CHANGE DISTRIBUTIONS
In the previous example, there is only one logical break point, the Extreme Change positions required are
thus expressed in relation to the end of a single object. In some cases, for a logical break point, the path can
contain geometric break points on different objects. The following example (in which 3 lane changes are
needed to reach the logical break point, and for which a profile with 3 triplets is applied) shows 3 geometric
break points on 2 different objects:
object 2
destination lane
object 1
Logical break point
To better understand this, it can be a good idea to break the paths continuity in order to have unique markers.
By placing single-lane trajectories at the first geometric extreme change, the paths continuity is broken, giving 2 logical break points. Thus, the same profile is applied as follows:
189
PATHS
In this example, the Extreme Change positions required for the third (EC1) and second (EC2) lane changes
are calculated in relation to the end of object 1, and the Extreme Change position required for the first lane
change (EC3) is calculated in relation to the end of object 2.
L A N E
CHANGE DISTRIBUTIONS
Creating a lane change distribution:
Proceed as follows to create a lane change distribution:
1.
2.
3.
4.
5.
List of defined
lane change
distributions
Name of the
lane change
distribution
To define an additional lane change, repeat steps 1 and 2, then click + Lane to add this lane
change.
5. Repeat steps 1 to 4 as appropriate, then click Back.
6. Click Apply or Add in the Lane Change Distributions window, page 190.
4.
190
LANE
CHANGE DISTRIBUTIONS
Add/Remove lane
changes
Add a profile
Figure 122. Lane Change Distributions entry window
The lane change markers lane change parameters are applied until :
1.
2.
The marker is a simulation object that you edit in geometric mode. Consequently, it is only displayed in geometric mode in the Network edit area, page 19. It is represented by the
icon and a series of line segments.
Creating a lane change marker
Proceed as follows to create a lane change marker:
1.
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
b. Conditions, displays the list of zones, destinations and categories to associate with the weaving
parameters.
c. Choose a Lane Change Distribution from the list (see
page 189).
d. Width, defines the thickness of the invalid paths line segments in geometric mode.
e. Color field, page 31.
Click OK to confirm the parameters and position the segments.
6. Position the pointer at the end of the segment created, then:
5.
f.
191
PATHS
The lane change marker affects vehicles depending on their destination or category.
L A N E
CHANGE DISTRIBUTIONS
The MP Lane Change Marker is a simulation object that you edit in geometric mode. Its graphic representation is displayed in the Network edit area, page 19 in geometric mode only. It is represented by the
icon and a marker defined as a series of line segments.
192
LANE
CHANGE DISTRIBUTIONS
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
PATHS
VMS
The route of the vehicles can be altered during a simulation according to certain conditions and for a certain
time.
At a given point on the network, the users are warned of a change of path. Only vehicles that usually take the
object marked "prohibited" and that can reach their destination via a path that takes the object marked "recommended" will change paths for the time during which the VMS is activated. You can also reduce this set
of vehicles by only taking a percentage of them.
193
L A N E
CHANGE DISTRIBUTIONS
Proceed as follows to create a VMS object :
1.
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
2.
Click the
icon on the Simulation object bar, page 17 to activate create VMS mode.
In the Network edit area, page 19 click on the trajectory on which you want to assign the
change of route in the "VMS entry window" (see fig. 125, page 194),
4. Fill in the fields:
a Layer, a Single-choice list field, page 32 used to assign the layer.
3.
Percent of vehicles affected: percentage of the vehicles that will change routes.
g. Conditions.
h. Width, defines the thickness of the line segments in geometric mode.
f.
194
LANE
CHANGE DISTRIBUTIONS
PATHS
195
L A N E
196
CHANGE DISTRIBUTIONS
10
Two trajectories conflict if they cross one another, or if they share the same target trajectory. In the real
world, the road user will avoid another vehicle and, consequently, an accident, by respecting the highway
code which lays down the rules to follow regarding a given road sign or the approach to an intersection, for
example. In CubeDynasim, managing conflicting trajectories amounts to modeling the behavior of the road
user applying these rules in the modeled developments environment. This aspect of the modeling is all the
more important given that it will necessarily constrain the way the development works according to the likelihood of vehicles slowing down or stopping to avoid a conflicting situation. This likelihood is also determined by the quantification of the movements, i.e. the hypotheses formulated when establishing the flows
(see Flow module, page 109).
To model conflicting trajectories, CubeDynasim includes priority rules that define a position on a single
lane, or a lane in a multilane, where the vehicles must stop according to the conditions established on other
objects in the network. If the condition is not satisfied, the nearest vehicle stops at this position if its state and
motional capacities allow it to do so, otherwise it continues on its way while issuing a Simulation warnings, page 419, in which case it is the vehicle following it that must try to stop.
Priority rules are simulation objects that are edited in the Network edit area, page 19 in geometric mode.
197
MANAGING
CONFLICTING
TRAJECTORIES
When you come to edit your trajectories, as described in the chapter entitled Road network, page 79, you
will usually need to deal with conflicting movements. This is confirmed when viewing the animation of the
first simulation results: an animation where the vehicles drive on top of one another will discredit your simulation and minimize its communicative impact.
This chapter describes the following topic:
Gap time distributions, page 199, which are parameters associated with certain priorities
and six priority rules:
198
GAP
TIME DISTRIBUTIONS
From the Menu bar, page 14, select Gap Time Distribution to display Gap Time Distribution
entry window, page 199 .
MANAGING
CONFLICTING
TRAJECTORIES
Distribution
display area
Name
to define
Edit area
Command
area
Figure 127. Gap Time Distribution entry window
199
AP
G
TIME DISTRIBUTIONS
From the Menu bar, page 14, select Gap Time Distribution to display Gap Time Distribution
entry window, page 199 .
2.
3.
4.
5.
6.
7.
8.
Display area
Parameters
by category
Edit area
Command
Figure 128. Gap Time Distribution parameters entry window
TABLE 1. Traffic
Categories
200
Minimum
Mean
Maximum
Standard
deviation
VL
1.50
1.90
2.50
0.40
2.00
2.50
3.00
0.40
GAP
TIME DISTRIBUTIONS
TABLE 2. Left
turn parameters
Categories
Minimum
Mean
Maximum
Standard
deviation
VL
2.50
3.00
3.50
0.40
3.00
3.50
4.00
0.40
Stop
By default, the insertion times for vehicles at a stop are the same as the values of a left turn across a flow
with priority (see Left turn parameters, page 201). However, it is worthwhile creating distributions with longer times depending on the movement after the stop (right turn, left turn, number of lanes to cross, etc.).
MANAGING
CONFLICTING
TRAJECTORIES
201
S T O P
LINE
Stop line
A stop line is always associated with one or more Signals, page 290. The intersection of the stop line with
the lanes of trajectory objects, or with the waiting zones on a Pedestrian crossings, page 95, determines
the movements regulated by the traffic signal associated with this stop line.
If the signal status is blocking, vehicles in a lane that crosses the stop line will stop at this line; it represents
the stop line as implemented on the roadway.
For a stop line applied to lanes in a trajectory, the stop line does not impose a lane change. Thus, in the case
of the "Stop line and lane change on a multilane" (see fig. 129, page 202), there is a risk that the vehicle will
not respect the traffic signal because a trajectory exists that does not cross any of the intersections between
the lanes and the stop line. However, this lane change is not authorized if the signal is red, and if the length of
the vehicle is greater than L.
Stop line
Vehicles trajectory
L
Multilane
Stop line
Regulates in indicated direct
Regulates in both directions
Figure 130. Pedestrian crossings regulated by stop lines
202
STOP
LINE
The layer of the stop line corresponds to the layer of the traffic signal with which it is associated (see Using
layers and network scenarios, page 62). When a traffic signal is deleted, all the stop lines associated with it
are also deleted.
This section is split into three parts:
203
MANAGING
CONFLICTING
TRAJECTORIES
S T O P
LINE
b. The Simulation
icon.
In the Network edit area, page 19, click the location where you want to start the stop line. The
"Stop line entry window" (see fig. 132, page 204) opens for the stop line object. The Signal name
field (non editable) identifies the signal associated with the stop line.
4. Fill in the fields:
3.
a
a
Other signals is a list of signals that can be associated with the line; an OR condition connects all the
signals and pedestrian crossings associated with the stop line.
Width corresponds to the thickness of the line displayed in the edit area; a width of 0.5 meters
improve model readability.
Before creating a stop line, move your mouses cursor over the traffic signal you wish to associate it
with. When the entry window is opened, the Signal name field is pre-entered.
204
STOP
LINE
205
MANAGING
CONFLICTING
TRAJECTORIES
IELD
Y
Yield
The yield is a priority rule-type simulation object, edited in the Network edit area, page 19 in geometric
mode. The yield consists of insertion parameters, an approach zone and at least one visualization zone.
This section looks at the following:
Yield icon
End of visualization zone 1 marker
End of visualization zone 2 marker
End of approach zone cursor
Figure 133. Representation of a yield with two visualization zones
206
YIELD
Approach zone
Selected Yield
Conflict zone
MANAGING
CONFLICTING
TRAJECTORIES
Visualization zone
207
IELD
Y
next insertion gap that satisfies this condition. Depending on the values of its insertion time and insertion
gap, a vehicle can exit the zone of approach without stopping.
Yield rules are used to model traffic circle entries, lane changes when exiting a traffic circle, vehicles turning
left to enter an insertion gap, or, in the case of a crossroads regulated by traffic signals, entering the clearance
red, etc.
When editing the yield, CubeDynasim can generate, if appropriate, a counter priority. The counter priority
must signal to the impeding flow (corresponding to the vehicles present in the visualization zone) that a vehicle without priority has moved into the conflict zone. For a vehicle that forces its way into the zone (behavior
represented by a short insertion time in the modeling), the flow with priority reduces its speed, taking into
account the counter priority, thus yielding to this vehicle. The counter priority is actually a set of Strict
stop, page 219 generated by CubeDynasim according to the geometric configuration. There is one strict
stop per visualization zone. The position of the yield for the counter priority is located a fixed distance preceding the point where the trajectories conflict. The priority zone for the counter priority begins after the end
of the approach zone, and ends at the conflict point. If the two trajectories do not cross one another or converge in the 50 meters following the end of the visualization zone, the counter priority is not generated. The
figure "Yield according to different geometric configurations" (see fig. 136, page 209) illustrates the position
of the elements in a yield according to different geometric configurations. However, if the two trajectories
cross a second time within the 50 meters following the visualization zone, a counter priority is generated if
this new conflict zone does not come after a multilane object. This is illustrated in the figure.
If the vehicles at the start of the visualization zone are stopped, the vehicle without priority moves out whatever the values of its insertion time and insertion gap. This behavior in relation to the yield rule is used to
model :
left-turn movements cleared in the clearance times for an intersection with traffic signals,
left-turn movements in gaps left by the flow with priority saturating the downstream conflict zone
managed by the yield (see Stop-if-stop, page 224).
208
YIELD
yield
approach zone
visualization zone
strict priority: priority zone
strict priority: yield
> 50 m
Legend
Left-turn movements made in red clearance zones can also be modeled using the Yield-on-green,
page 214 object, if the signal has a cross.
Creating a yield
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14),
2. Activate create yield mode from either :
a The Menu bar, page 14, select Objects > Priorities > Yield,
1.
icon.
Move the pointer to the single lane or the lane in the multilane at the end of the approach zone
position, then left-click to insert the approach zone marker.
4. Position at least one visualization zone:
3.
move the cursor to the trajectory at the end of the visualization zone position, then left-click to insert
the visualization zone marker,
b. position a new visualization zone 4.), or proceed to step 5.)
a
5.
Editing a yield
You edit the parameter values of a yield, or delete a yield in geometric mode following the procedure
described in section Edit Object mode, page 20.
The yield entry window is used to modify the layer associated with the object and the corresponding time
distribution, and to limit the number of vehicles considered in the visualization and approach zones.
209
MANAGING
CONFLICTING
TRAJECTORIES
b. The Simulation
IELD
Y
The layer, which is a Single-choice list field, page 32 is used to assign the prioritys layer. In order for it to
belong to a network, the layers of the lanes to which the priority is attached and the layer of the priority must
both belong to all the layers in the network scenario; both must be selected when defining the network scenario (see Network scenarios, page 65).
The Condition for Visualization and Condition for Stop fields each represent a Prohibitors, page 168,
used to define the subset taken into account in the zone of visualization and zone of approach respectively.
The Prohibitor field, page 171 is of the type Condition AND. When modeling an entry in a traffic circle
at a sufficient distance from the previous exit, you will select, via the Condition for Visualization field, the
destinations that do not use this exit (see "Yield entry window", fig.137 p.210). If none of the fields entries
are selected, all the vehicles in the zone are taken into account.
The counter priority may or may not be generated.
The Max distance to conflict is the length in meters up to which a conflict is searched for between the
approach zone and the visualization zone when generating a counter priority.
Select the time distribution in the Gap Time Distribution list (see Gap time distributions, page 199)
210
YIELD
If, to reduce the length of a trajectory object, one of its end points is moved beyond the position of an
end of zone marker assigned to it, this marker becomes coincident with the end point moved. If a
trajectory object is elongated, the absolute coordinates of the end of zone markers assigned to it are
not modified; thus, their coordinates relative to the object are increased by the size of the elongation.
If you modify a trajectorys orientation or position: CubeDynasim moves its markers in order to follow
this trajectory while minimizing their changes of position in relation to the background map.
You must check the position of the markers assigned to a single lane or to a lane in a multilane whose
geometry you have just modified.
The markers may be attached to single-lane or multi-lane trajectories. If a prioritys approach marker is
attached to a trajectory that is removed, the priority is removed. The priority is also removed if all of the
visualization markers are removed.
A priority cannot be edited, moved or deleted if all the single-lane or multilane objects on which
markers are positioned belong to frozen layers.
211
MANAGING
CONFLICTING
TRAJECTORIES
This section describes how to use the yield to model three standard conflicting configurations, the first two
of which concern a traffic circle :
IELD
Y
212
YIELD
Priority movements
213
MANAGING
CONFLICTING
TRAJECTORIES
The standard values of the insertion parameters are summarized for each vehicle category in Table 2, "Left
turn parameters", page 201 and must be defined in a Time Gap distribution. The length of the approach zone
is set to 30 meters for a turning movement, whereas the length of the visualization zone is set to 80 meters for
a forward movement (i.e. straight on) in an urban environment. The zone lengths can be adjusted according
to the geometric configuration and especially the vehicle speeds.
IELD-ON-GREEN
Y
Yield-on-green
The yield-on-green (YOG) is a priority rule-type simulation object, similar to a Yield, page 206. Its additional feature is to consider the state of the associated signal which activates the priority rule if, and only if,
the signal (see Signals, page 290) is not red. It comprises an approach zone, a visualization zone and a reference to a signal.
This section looks at the following:
In pointed mode (i.e., with the mouse pointing), the icon remains unchanged; however, the stop marker and
the end of visualization zone markers are highlighted (see "Representation of Yield On Green priorities",
fig.141 p.214).
214
Creating a YOG
1.
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14),
2.
Click the
icon on the Simulation object bar, page 17 to activate create YOG mode.
Right-click to finish.
A YOG cannot be created in a single lane or in a lane of a multilane which is part of a frozen layer.
However, all or part of its approach zones can be positioned on a single lane or on a lane in a
multilane which is part of a frozen layer.
To validate the signal associated with the YOG priority created, edit the YOG and Apply the selected
signal so that it is simulated.
You can edit or delete a YOG in geometric mode by following the procedure described in section Edit
Object mode, page 20.
Use the "Yield On Green priority entry window" (see fig. 142, page 215) to modify the layer associated with
the object and the parameters of the distributions specific to each vehicle category, to limit the number of
vehicles considered in the visualization zones, and to modify the signal associated with the rule.
The parameters are similar to those of the Yield object (see Editing a yield, page 209).
Distribution of the
insertion parameters
Signal associated with
the YOG priority
215
MANAGING
CONFLICTING
TRAJECTORIES
Editing a YOG
IELD-ON-GREEN
Y
The Signal name field can only be edited the first time this window is opened.
As with the Yield, you can move the markers of the stop or signal priority (see Editing a yield, page 209).
216
STOP
Stop
The stop is a priority rule-type simulation object. The two main differences - whereby one actually results
from the other - that distinguish the stop from the Yield, page 206 are:
the obligation imposed on the vehicle to stop, whatever the values of the insertion times and insertion
gaps, at the position of the stop line,
the absence of an approach zone, replaced by a stop marker representing the position on the trajectory where vehicles yielding the priority will stop.
The stop must be sufficiently distant from the network entry to allow all vehicle types to come to a halt
at this stop given their speed on entry in the network, defined by the Origins, page 69.
This section looks at the following:
Only icons attached to the graphic representations displayed in the Network edit area, page 19 in geometric mode distinguish the two types of priority rules, namely the stop
, and the Yield, page 206 (see
"Representation of a stop in pointed mode with three visualization zones", fig.143 p.217).
Stop marker
Figure 143. Representation of a stop in pointed mode with three visualization zones
217
MANAGING
CONFLICTING
TRAJECTORIES
S T O P
Creating a stop
1.
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14),
2.
Click the
button on the Simulation object bar, page 17 to activate create stop mode.
Click a trajectory (single lane or lane in a multilane) at the position where vehicles stop to observe
the stop.
4. Insert one or more visualization zones:
3.
Click on the end of the visualization zone, which is necessarily on the trajectory,
b. Repeat step 4.) to insert a new visualization zone, or proceed to step 5.)
a
5.
Right-click to finish.
Like the Yield, a stop cannot be created in a single lane or in a lane of a multilane which is part of a
frozen layer (see Creating a yield, page 209).
Editing a stop
You can edit or delete a stop in geometric mode by following the procedure described in section :Edit
Object mode, page 20.
The parameters edited in the Stop entry window, page 218 define a subset of parameters themselves
edited in the "Yield entry window" (see fig. 137, page 210). Their meaning is the same.
Distribution of
insertion
parameters
218
STRICT
STOP
Strict stop
The Strict stop is a priority rule-type simulation object, edited in the Network edit area, page 19 in geometric mode. It consists of a stop marker (like the stop), and visualization zone.
Motional capacities permitting, the vehicle comes to a stop on the marker of a strict stop if at least all or part
of a vehicle is present in the visualization zone. It remains stopped until the visualization zone contains no
vehicles once more.
The strict stop is used, for example, to model intersections where the crossroads must be emptied before
authorizing the passage of a movement regulated by the next phase (see "Use of priority rules to empty an
intersection", fig.148 p.223).
This section looks at the following:
In pointed mode, the icon remains unchanged, however the stop marker and the end of visualization zone
markers are highlighted (see "Representation of strict stops", fig.145 p.219).
219
MANAGING
CONFLICTING
TRAJECTORIES
S T R I C T
STOP
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14),
2.
Click the
button on the Simulation object bar, page 17 to activate create strict stop mode.
Click a trajectory (single lane or lane in a multilane) at the position where vehicles stop to observe
the strict stop.
4. Insert one or more visualization zones:
3.
Click on the end of the visualization zone, which is necessarily on the trajectory,
b. Repeat step 4.) to insert a new visualization zone, or proceed to step 5.)
a
5.
Right-click to finish.
Unlike the Yield or Stop priority rules, the end of visualization zone marker is positioned on, or even
after, the point of conflict corresponding to the intersection of the two trajectories.
A strict stop cannot be created in a single lane or in a lane of a multilane which is part of a frozen
layer (see Creating a yield, page 209).
Layer which is a Single-choice list field, page 32 that determines the layer of the priority; in order
for it to belong to a network, the layers of the lanes to which the priority is attached and the layer of
the priority must both be selected in the definition of the network considered (see Network scenarios,
page 65).
Length of zone of visualization which determines the minimum distance between vehicles for which
a mobile waiting on the strict stop moves out.
Condition for visualization is aProhibitor field, page 171 used to limit the vehicles taken into
account in the visualization zone according to their category or destination.
Counter priority whose value is either Yes or No, according to whether you want to generate a
counter priority as defined for a Yield.
These three fields share the same characteristics as those for Yield and Stop rules.
220
STRICT
STOP
This section describes the use of a strict stop when modeling an intersection with traffic signals.
Limited by the capacities of an intersection upstream, the flow does not have time to clear the intersection
before the arrival of the antagonistic phase. An operation extract is illustrated in the figure "Use of priority
rules to empty an intersection" (see fig. 148, page 223). At the end of the phase, two trucks are stuck in the
middle of the crossroads (stage 1). The vehicles in the opposing phase start (stage 2), and stop to wait for the
two trucks blocking the intersection. The trucks start off again, leaving the way clear for the other vehicles,
which in turn start off again.
The trucks take the multilane that starts at the top left of the illustration, and travel towards the bottom (see
"Modeling with strict stops", fig.147 p.222). You can see two conflict zones.
The first conflict occurs with the movement from the right. You position two stop points via strict stops on
each lane in the multilane. The descending movement now yields the priority to the movement from the
right. The end of visualization zone cursors of these strict stops are positioned beyond the points of conflict.
These rules also apply in the other direction thanks to the counter priority. The trucks have started out, and
have passed the stop point of the strict stop. Their progress is now protected by the counter priority of the
strict stop. The other vehicles wait for the trucks to go past. With this modeling, and in the event of a general
blocking situation, the movement from the right will be favored to the detriment of the descending movement.
The second conflict occurs between the movement coming from the left and the descending movement. Two
strict stop cursors have been positioned on the two lanes farthest to the left in the multilane coming from the
left. The end of visualization zone cursors are located on the conflict zone. In this configuration, the priority
is given to vehicles already present on the intersection. When implementing a strict stop, you are advised to
favor movements that have already moved out onto the intersection.
In an intersection with traffic signals, the length of the visualization zone must be less than the
distance between the end of visualization zone marker and the stop line; otherwise, the vehicles in the
intersection will stop at the stop marker when they "see" users stopped at the red light.
221
MANAGING
CONFLICTING
TRAJECTORIES
As with the Yield, you can move the markers of the strict stop (see Editing a yield, page 209).
S T R I C T
STOP
222
STRICT
STOP
Step 1
At the end of the phase with
vehicles present in the
middle of the intersection
223
Step 3
MANAGING
CONFLICTING
TRAJECTORIES
Step 2
The vehicles in the priority
phase move out and wait
for the last of the remaining
vehicles in the previous
phase
S T O P - I F - S T O P
Stop-if-stop
The stop-if-stop is a priority rule-type simulation object, edited in the Network edit area, page 19 in geometric mode. It consists of a stop marker (like the stop), and markers at the start and end of the storage area.
In order for a vehicle to stop at the stop marker, the sum of the vehicle lengths +1 m included between the
marker and the end of the storage area must be greater than the length of the storage area, and the speed of a
vehicle situated in the storage area must be less than its associated threshold speed.
Car engages
Car stops
Car stops
Stop marker
The stop-if-stop priority is used to avoid a vehicle making a left-turn movement - without priority - from
staying blocked in a queue. In this case, a vehicle caught in the queue stops and yields the way for the leftturning movement. The movement that yields in a fluid situation alternately takes priority in a saturated situation.
This section discusses the following stop-if-stop priority topics:
224
STOP-IF-STOP
Representation of a
Stop-if-stop priority
Icne
Representation of a
Stop-if-stop priority in
pointed mode
Stop marker
Start of storage area
marker
End of storage area
marker
Creating a stop-if-stop
1.
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
2.
Click the
icon on the Simulation object bar, page 17 to activate stop-if-stop priority
mode.
Click the trajectory (single lane or the lane in the multilane) at the position of the stop marker.
Click the trajectory at the position of the start of the storage area.
Click the trajectory at the position of the end of the storage area.
Click to add as many storage areas as necessary.
Right-click to finish the creation of the stop-if-stop priority.
3.
4.
5.
6.
7.
A stop-if-stop priority cannot be created in a single lane or a lane in a multilane, which is part of a
frozen layer (see Creating a yield, page 209).
When creating a stop-if-stop priority object, you can refer to the message area to know which actions
are possible and their effect (see Status areas, page 24).
Editing a stop-if-stop
You edit or remove a stop-if-stop priority object by following the general procedure described in the section
Edit Object mode, page 20.
225
MANAGING
CONFLICTING
TRAJECTORIES
S T O P - I F - S T O P
You use the "Stop-if-stop entry window" (see fig. 150, page 226) to edit the following parameters:
Layer, a Single-choice list field, page 32 used to determine the prioritys layer. For the priority to
be active both the layer to which the priority is assigned as well as the layer to which the associated
trajectory is assigned must both be selected in the definition of the network (see Network scenarios,
page 65),
Condition for Visualization, a Prohibitor field, page 171 used to limit the number of vehicles
taken into account when evaluating the condition that determines whether to apply the stop-if-stop
priority. This restriction concerns the vehicle destination and/or category considered between the two
markers that define the storage area.
Condition for Stop, a Prohibitor field, page 171 used to limit the number of vehicles taken into
account when evaluating the condition that determines whether to apply the speed
priority. This restriction concerns the vehicle destination and/or category that can stop at the stop
marker.
Length of Zone of Approach, defines the length of the approach zone for vehicles that observe the
condition for stop, i.e. the distance over which the simulation will find out whether a vehicle must
stop at the stop marker, and thus modify its movement.
Speed threshold to enter stop condition : specifies the speed in the storage area that causes
approaching vehicles to wait at the stop line.
Speed threshold to exit stop condition, specifies the speed in the storage area that causes vehicles
stopped at the stop line to continue. Stopped vehicles move forward when storage-area speeds reach
this value or higher.
226
STOP-IF-STOP
The crossroads modeled is an intersection regulated by traffic signals. The left-turn movements enter gaps in
the conflicting movement and/or in the clearance time (see "Use of the stop-if-stop rule to prevent gridlock
situations", fig.151 p.227).
The two left-turn movements coming from the right are modeled with purple objects. These movements are
connected with a Split link, page 160 (see the shorter single lane), and regulated by Yields. To limit gridlock situations, you edit a stop-if-stop on each of the two left-turn movements (see "Modeling with stop-ifstop objects", fig.152 p.227).
227
MANAGING
CONFLICTING
TRAJECTORIES
S T O P - O N - R E D
Stop-on-red
The Stop-On-Red (SOR) is a priority rule-type simulation object, edited in Network edit area, page 19 in
geometric mode. It comprises a stop marker, at least one visualization zone and a reference to one of the
Signals, page 290.
The SOR is similar to the Stop, page 217 priority, whose behavior depends on the state of the associated
signal. If the signal is red, the SOR is active, and approaching vehicles stop at the stop marker. However, if
the signal is green, the SOR priority is disabled.
This section discusses the following topics:
the corresponding stop marker(s) and the marker(s) at the end of the visualization zone(s) are highlighted (see Representation of a Stop-On-Red with two visualization zones, page 228), and the "SOR :
SOR_ " string message followed by a numeric identifier generated by CubeDynasim is displayed in
the information area.
SOR icon
Representation of an
SOR in geometric
mode
Stop marker
228
STOP-ON-RED
SOR icon
Signal associated
with the SOR
Representation of an
SOR in pointed mode
Stop marker
Marker at the end of
the visualization zone
Figure 153. Representation of a Stop-On-Red with two visualization zones
Creating an SOR
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14),
2. Activate create SOR mode via either of the following:
a the Menu bar, page 14, select Objects > Priorities > SOR,
1.
icon.
An SOR cannot be created on a trajectory which is part of a frozen layer (see Creating a yield,
page 209).
Before creating the SOR, pass the mouse pointer over the signal with which it will be associated; when
you open the entry window, the Signal name field is pre-entered.
To validate the signal associated with the SOR, you must edit the condition for stop and apply the
selected signal in order for it to be simulated.
Editing an SOR
You edit the parameters of an SOR, or remove this priority in geometric mode by following the general procedure described in the sectionEdit Object mode, page 20.
The "SOR entry window" (see fig. 154, page 230) differs from the "Yield entry window" (see fig. 137,
page 210) by the presence of the Signal name parameter used to identify the signal associated with the SOR.
229
MANAGING
CONFLICTING
TRAJECTORIES
b. the Simulation
On the trajectory (i.e. the lane or a lane in a multilane), click where you want the vehicles to stop
at the SOR.
4. Insert one or more visualization zones:
3.
S T O P - O N - R E D
Signal
associated
with the SOR
The Signal name field can only be modified the first time the entry box is opened.
As with the Yield, you can move the markers of the Stop-On-Red (see Editing a yield, page 209).
230
STOP-ON-RED
The entry road, regulated by the F1 signal, is modeled by a two-lane multilane. The left-turn movement is
performed on both lanes, while the right-turn movement is limited to the right-hand lane (see "Modeling with
an SOR priority", fig.156 p.231). When editing the model, you must distinguish right-turning vehicles regulated by the SOR priority from left-turning vehicles regulated by the stop line associated with F1. For this
purpose, you must assign:
All the destinations that can be reached by taking the left turn, in the Condition for Visualization
field in the "SOR entry window" (see fig. 154, page 230),
All the destinations that can be reached by taking the right turn, in the Condition for Stop field in the
"SOR entry window" (see fig. 154, page 230).
You are advised to use zones for defining the destination conditions in the Condition for Visualization
and Condition for Stop fields.
231
MANAGING
CONFLICTING
TRAJECTORIES
Signal F1
S T O P - O N - R E D
232
11
Data collectors
After defining these various elements, we will be able to describe how data collectors are implemented with
CubeDynasim.
This chapter discusses the following:
233
DATA COLLECTORS
Simulating the operation of an urban development implementing microscopic and stochastic models must
not only make it possible to view this operation, but also to quantify it. Measuring an urban developments
operation gives better insight into its complexity by taking into account diverse situations and configurations
that are difficult to identify other than by a quantitative approach. Moreover, the amounts measured make it
easier to objectively compare and evaluate different variants of the same project.
HAT
W
Actual: last value measured at the end of the time sample. Here, the number of values stored corresponds to the number of time samples taken at the end of the measurement period (see Flow scenario
parameters, page 111).
Cumulative: sum of the values measured at the end of each time sample, increased by the criterions
current value at the end of the simulation. This value is not considered if the end of the simulation is
coincident with the end of the last time sample.
Confidence: confidence interval, the value of the parameter is between 0.6 and 0.999.
Wanted, Simulated and Percentage: processes applied exclusively to the Deficit, page 236 criterion.
CubeDynasim can also store all the values noted during the simulation.
The case may well arise where no values are measured during a time sample. For example, with the Travel
time, page 239, if no vehicles finish their journey during the time sample, no value is noted. To deal with
these cases, you can either:
Not store the value at the end of the time sample.
2. Or store a threshold value (a value that has no meaning in the case of the criterion measured).
1.
CubeDynasim gives preference to the second solution. Thus, when extracting data, the number of values
extracted is always the same in accordance with the measurement time durations (see Flow scenario parameters, page 111) and the sampling time durations, regardless of the values measured. For certain criteria, a
threshold value has had to be defined to identify the absence of a new value during a time sample.
The criterion measured defines both the possible statistical processes, and the type of subnetwork on which
the measurement is applied. This makes it possible to identify four families of criteria:
independent of the network: e.g. the Green signal duration, page 242,
ad hoc: the measurement applies at a single point on a single lane in the traffic, e.g. the Occupancy
rate, page 241,
exits: the measurement applies equally at several points on the network, e.g. the Signal line crossing
duration, page 243,
entry-exit: the measurement requires two non-empty sets of network points (all the subnetworks
entry points and exit points). The information is collected when a vehicle crosses one of the entry
points, the measurement takes effect when this same vehicle crosses one of the exit points. If, along
the way, a vehicle fails to satisfy these two conditions, it is not considered. In this case, the open subnetwork, which does not generate any simulation errors, will be distinguished from the closed subnetwork, which generates a simulation error (see "Trajectories that generate an error for a closed
subnetwork", fig.157 p.235). For a closed subnetwork, these two errors imply messages that can be
viewed via the Simulation module entry window in Results mode, page 413 (see "Trajectories that
generate an error for a closed subnetwork", fig.157 p.235). The open subnetwork does not signal
234
WHAT
these errors; it is only used to avoid interfering with the list of errors. Generally speaking, it is best
to position closed data collectors first, then to analyze any errors produced in order to correct them. In
some cases, the errors are inherent in the configuration of the data collector. Therefore, it is best to use
open data collectors.
Entry points
Exit points
Trajectory that does
not generate an error
235
DATA COLLECTORS
Some criteria require a reference value, calculated from the reference state. The reference state is obtained
by generating a standard vehicle (i.e. with average capacities for its category) for all combinations (category,
origin, destination) defined by the Flow scenarios, page 110, and by the simulation models possible
Public transport scenarios, page 277. During the calculation of the reference state, only one vehicle at a
time travels through the network. All the signals are in the Green state to ensure an optimum travel time.
Public transport vehicles make their stops according to the average stop time.
HAT
W
Flow
The flow criterion serves to count the number of vehicles that cross one of the subnetworks exit points
during a time sample. Only vehicles that previously crossed one of the subnetworks entry points are
recorded.
Network type : entry-exit
Statistics :
Actual: number of vehicles that left the subnetwork during the measurement period.
2. Cumulative: number of vehicles that left the subnetwork at the end of the measurement period.
1.
Threshold value: 0
Unit of measure: number of vehicles.
Reference state: the criterion does not depend on the reference state.
Label: Flow
Deficit
The deficit represents the variances between the demand and the offer at a given location on the network.
The demand is defined as the number of vehicles wanting to pass during the simulation. It is determined by
the Flow scenarios, page 110 and the Paths, page 157 taken by the vehicles. The offer corresponds to
the flow measured during the measurement period.
Network type: entry-exit
Statistics:
Wanted: demand expressed as a number of vehicles per hour.
Simulated: offer expressed as a number of vehicles per hour.
3. Percentage: percentage of the demand not satisfied.
1.
2.
236
WHAT
Actual: number of vehicles present in the subnetwork at the end of the time sample.
Min: minimum number of vehicles present in the subnetwork during the time sample.
Max: maximum number of vehicles present in the subnetwork during the time sample.
Mean: average of all the values noted during the time sample. A new value for the number of
vehicles present is noted only when a vehicle enters or exits the subnetwork.
Standard Deviation: calculated on the same set of values as for the mean.
Percentile: calculated on the same set of values as for the mean.
Confidence: calculated on the same set of values as for the mean.
Threshold value : 0
Unit of measure : number of vehicles.
Label : Number
Delay
The delay is defined as the variance between the travel time measured, and a reference travel time noted in
ideal traffic conditions. The reference time specific to each Origin - Destination - Category triplet is calculated during the reference state.
Network type: entry-exit
Statistics:
1.
2.
3.
4.
5.
6.
7.
8.
237
DATA COLLECTORS
Reference state : the criterion does not depend on the reference state.
HAT
W
Stop
This criterion accounts for the number of vehicles in the stop state. It depends on two threshold speeds, the
lower threshold speed (LTS) and the upper threshold speed (UTS) respectively. A vehicle is in the stop state:
If, upon its entry in the subnetwork, its speed was less than the LTS, and it has not since reached a
speed greater than the UTS.
2. Or if, since decelerating to the LTS, it has not reached or exceeded the UTS.
1.
Threshold value : 0
Unit of measure : number of vehicles.
Reference state : the criterion does not depend on the reference state.
Label : Stop
Min: minimum number of stop states counted out of all the vehicles that left the subnetwork
during the time sample.
Max: maximum number of stop states counted out of all the vehicles that left the subnetwork
during the time sample.
Mean: average number of stop states counted for all each vehicle that left the subnetwork during
the time sample.
Standard Deviation: calculated on the same set of values as for the mean.
Percentile: calculated on the same set of values as for the mean.
Confidence: calculated on the same set of values as for the mean.
All: the number of stops for each vehicle that left the subnetwork during the measurement period
is stored. Consequently, there are as many values recorded as there are vehicles that left the subnetwork during the measurement period.
238
WHAT
Min : minimum duration of the stop state out of all vehicles that left the subnetwork during the
time sample.
Max: maximum duration of the stop state out of all vehicles that left the subnetwork during the
time sample.
Mean: mean calculated for all the stop durations recorded for each vehicle that left the subnetwork during the time sample.
Standard Deviation: calculated on the same set of values as for the mean.
Percentile: calculated on the same set of values as for the mean.
Confidence : calculated on the same set of values as for the mean.
All: the time each vehicle that left the subnetwork spends in the stop state on its way through the
subnetwork is stored.
Travel time
This criterion represents - for each vehicle that leaves the subnetwork - the time elapsed since it first crossed
the subnetworks entry point.
Network type: entry-exit
Statistics:
1.
2.
3.
4.
5.
6.
7.
Min: minimum time out of all the travel times recorded for vehicles that left the subnetwork
during the time sample.
Max: maximum time out of all the travel times recorded for vehicles that left the subnetwork
during the time sample.
Mean: mean travel time recorded for all vehicles that left the subnetwork during the time sample.
Standard Deviation: calculated on the same set of values as for the mean.
Percentile: calculated on the same set of values as for the mean.
Confidence: calculated on the same set of values as for the mean.
All: all the travel times of vehicles that leave the subnetwork are stored.
239
DATA COLLECTORS
HAT
W
Travel speed
This criterion represents the average travel speed through the subnetwork. It is obtained for each vehicle by
the quotient of the distance traveled over the Travel time, page 239.
Network type: entry-exit
Statistics:
1.
2.
3.
4.
5.
6.
7.
Min: minimal value out of all the travel speeds recorded for vehicles that left the subnetwork
during the time sample.
Max: maximum value out of all the travel speeds recorded for vehicles that left the subnetwork
during the time sample.
Mean: mean travel speed recorded for all the vehicles that left the subnetwork during the time
sample.
Standard Deviation: calculated on the same set of values as for the mean.
Percentile: calculated on the same set of values as for the mean.
Confidence: calculated on the same set of values as for the mean.
All: all the travel times of vehicles that leave the subnetwork are stored.
Flow by lane
This criterion represents the flow on a single lane.
Network type: ad hoc
Statistics:
Actual: flow recorded at the end of the time sample.
2. Cumulative: recorded at the end of the measurement period.
1.
Threshold value : a threshold value does not need to be defined for the Flow by lane criterion.
Unit of measure : number of vehicles.
Reference state : the criterion does not depend on the reference state.
Label : Flow
Queue
This criterion evaluates the queue, i.e. the distance from a point on the network where the vehicles are in a
stopped state and at an inter-vehicle distance less than a predefined threshold distance. The stop state is
determined by two threshold speeds, as with the Stop, page 238 criterion. The queue is always re-evaluated from its last known position. Thus, when traffic moves in fits and starts, a possible increase in the
queues length can be recorded.
Network type: ad hoc
240
WHAT
Statistics:
1.
2.
3.
4.
5.
Threshold value : 0
Unit of measure : meters.
Reference state : the criterion does not depend on the reference state.
Label : Back.
Inter-vehicle times
Occupancy rate
Measures the occupancy rate at a given point on the network, i.e. the proportion of time during which a vehicle is present at this point.
Network type: ad hoc
241
DATA COLLECTORS
This criterion measures the time between the passing of the rear end of the lead vehicle in a queue, and that
of the front end of the following vehicle, at a given point on the network.
HAT
W
Instant speed
This involves measuring the speed at which vehicles pass a given point on the network.
Network type: ad hoc
Statistics:
1.
2.
3.
4.
5.
6.
7.
242
WHAT
Threshold value : 0.
Unit of measure : seconds.
Reference state : the criterion does not depend on the reference state.
Label : Duration of green.
This involves collecting data on the times during which a signal's state is red (red and yellow). If the first and
second periods measured are incomplete, the value collected for these two periods is taken from their sum. A
period is considered complete if the measurement starts and ends with a change of signal state.
Network type: independent of the network
Statistics:
1.
2.
3.
4.
5.
6.
7.
8.
Threshold value: 0.
Unit of measure: seconds.
Reference state: the criterion does not depend on the reference state.
Label: Duration of red.
243
DATA COLLECTORS
HAT
W
Cumulative: sum of all the crossing durations measured during the measurement period.
Min: minimum duration collected during the measurement period.
Max: maximum duration collected during the measurement period.
Mean: mean green duration collected during the measurement period.
Standard Deviation: calculated on the same set of values as for the mean.
Percentile: calculated on the same set of values as for the mean.
Confidence: calculated on the same set of values as for the mean.
All: all the crossing durations collected during the measurement period are stored.
Vehicle scheduling
Vehicle scheduling serves to track a vehicle's progress in time along a trajectory. The criterion involves 3
fields in the CubeDynasim database:
Vehicle ID (table GroupCollector, value Idf1)
Time t (table Value, value Time)
3. Position X on the trajectory (table Value, value Value)
1.
2.
244
STORAGE
This section gives a general description of how the data specific to a CubeDynasim simulation project is
organized.
In an SQL relational database, all the data is stored in tables, which can be interlinked. The tables have a certain number of columns, or fields, that describe unique n-tuplets (rows or records). The relations between the
tables are defined according to significant fields called keys. There are two types of keys:
Primary keys: used to identify a single n-tuplet in a table.
2. External keys: an attribute of an n-tuplet which is a primary key in another table. External keys
are thus used to link tables to one another.
1.
In a relational database, the goal is to separate information as much as possible to avoid duplicates and
redundancy, and to prevent the loss of information quality. The data model defines how the measurements
collected are broken down into tables and fields (see "Data model schema", fig.158 p.246)
.
The data specific to a simulation project is broken down into seven tables. The primary key identifiers
always start with "Nid". The external keys have the same identifier as the primary keys they reference in the
original table.
245
DATA COLLECTORS
Data model
S T O R A G E
246
CriterLabel
NidCriter
primary key
Label
StatLabel
NidStat
primary key
Label
Para
Criteria
NidCriterStat
primary key
NidCriter
NidStat
STORAGE
ScSimul
NidSimul
primary key
IdGeom
IdFlow
IdTL
IdPT
identifier of the public transport scenario (Public transport scenarios, page 277)
GroupCollector
NidGroup
primary key
IdGroup
IdCollector
IdF1
Pk
247
Replication
NidRep
primary key
NRep
NidSimul
NoBlock
Boolean, if true, the replication does not self-lock (i.e. no gridlock). If the replication is
being calculated, the value is TRUE.
Seed
value of the random seed used for this replication. This value is not initialized for the first
value
NextSeed
value of the random seed used for the next replication. If this field is not initialized, the
replication did not finish
Error
Anim
Value
NidValue
primary key
NidGroup
NidCriterStat
NidRep
external key (table Replication), replication during which the measurement was taken.
Used to find the corresponding simulation scenario
Time
number of seconds since the start of the simulation at moment when the measurement is
taken
Value
measurement value
DATA COLLECTORS
In the GroupCollector table, for the measurements applied on an entry-exit subnetwork, fields IdF1
and Pk are initialized by an empty string.
S T O R A G E
EXAMPLE:
EXAMPLE:
EXAMPLE:
ScSimul.IdPT =
When extracting flow values, you must distinguish the Flow, page 236 from the Flow by lane,
page 240. The condition is established on the definition of the GroupCollector field. IdF1.
To extract the flows from a subnetwork, the condition is expressed as follows:
EXAMPLE:
EXAMPLE:
EXAMPLE:
Replication.Error = 0
AND Replication.NoBlock =TRUE
AND Replication.NextSeed > 0
Calculate the average travel speed from all the travel times for all the data collectors in the "CR" group in
simulation scenarios with the "Geom" geometry and the "F" flow scenario:
EXAMPLE:
248
STORAGE
WHERE Replication.Error = 0
AND Replication.NoBlock =TRUE AND Replication.NextSeed > 0
AND Value.Value >-10000
AND ScSimul.IdPT =
AND ScSimul.IdTL =
AND ScSimul.IdGeom =Geom
AND ScSimul.IdFlow =F
AND CriterLabel.Label =Travel speed
AND StatLabel.Label =All
AND GroupCollector.IdGroup =CR
GROUP BY GroupCollector.IdCollector
249
DATA COLLECTORS
The ODBC driver enables communication between an SQL database management system and an application. Applications access the driver via a dynamic library. This library is specific to each database system,
and must be installed on the client machine. You must therefore install the ODBC for SQLite driver (download from: http://www.ch-werner.de/sqliteodbc.exe). This operation must be performed in one go.
S T O R A G E
250
3.
4.
Choose the data source name (DSN) that will be used by other applications to identify the database.
STORAGE
DATA COLLECTORS
251
S T O R A G E
Run OOBase.
Select the Connect to an existing database option, select ODBC, then click Next.
3.
4.
1.
252
STORAGE
8.
253
DATA COLLECTORS
S T O R A G E
254
1.
Select the Data tab, then From Other Sources, then From Microsoft Query.
2.
Choose the data source (see Defining a data source, page 250).
3.
4.
Click Cancel.
STORAGE
5.
Click Yes.
6.
Microsoft Query starts. In the Add Tables dialog box, click Options....
7.
In the Table Options dialog box, select Tables, Refresh and click OK.
8.
In the Add Tables dialog box, add the following tables: Criteria, CriterLabel, GroupCollector,
Replication, ScSimul, StatLabel and Value by selecting the corresponding table then clicking
Add.
DATA COLLECTORS
255
S T O R A G E
9.
10.
Table
Table
primary key
external key
Key identifier
Criteria
Value
NidCriterStat
GroupCollector
Value
NidGroup
Replication
Value
NidRep
ScSimul
Replication
NidSimul
You are advised to save the *. sqly file to avoid having to redo these operations. At this stage, use
the SQL Query application to extract the data you are interested in. Click the
button to export
TM
in CSV format, using the semicolon " ;" as the column separator.
whose name adheres to the format <group name> <type of table>.csv. For example: CRTravelTime.csv, corresponds to the TravelTime table for all the data collectors contained in the CR group.
saved in directory <project>/<simulation scenario directory>/results (see "Tree structure of CubeDynasim projects", fig.22 p.39).
The rows and columns in the tables generated correspond respectively to the data collectors and criteria
extracted from the replications for the scenario concerned. Only data for which the simulation end time was
reached is accepted (Replication. NextSeed < >), and that did not cause any blocks (Replication. Noblock =
TRUE). However, data from replications that generated errors (no condition expressed on replication, error
when extracting data) is integrated in the tables. You must make sure that any errors have no impact on the
results. You can import these tables dynamically to a document or spreadsheet to apply the appropriate page
layout and format. For each table type, there is a header file in csv format that defines the column headers.
These files are saved in directory <project>/<simulation scenario directory>/<results >/<table name>.csv.
256
STORAGE
This section describes the data for each table type generated:
Statistic
criterion in simulation
Statistic
process
Unit
Demand
Offer
Mean
Deficit
Mean
Average delay
Mean
seconds
Maximum delay
Percentile 90
seconds
Average queue
Mean
meters
Maximum queue
Percentile 90
meters
number of vehicles
number of vehicles
DATA COLLECTORS
257
Statistic
criterion in simulation
Statistic
process
Unit
Mean
seconds
Standard
Deviation
seconds
Percentile
10
seconds
Percentile
50
seconds
Percentile
90
seconds
S T O R A G E
Statistic
criterion in simulation
Statistic process
Unit
Percentile
10
seconds
Mean
seconds
Percentile
90
seconds
Mean delay
Mean
seconds
Standard
Deviation
seconds
Mean speed
Mean
km/h
Standard
Deviation
km/h
Statistic
criterion in simulation
Statistic process
Unit
Mean
seconds
Min
seconds
Max
seconds
Standard
Deviation
seconds
Percentile
10
seconds
Percentile
90
seconds
258
STORAGE
This section describes the steps for importing the tables in ExcelTM.
Select the Data tab, then From text.
2.
Select the table sheet from the Import Text File dialog box.
3.
4.
DATA COLLECTORS
259
1.
S T O R A G E
260
5.
Click Properties....
6.
Define the external data range parameters: Refresh data on file open, Preserve cell formatting.
STORAGE
261
DATA COLLECTORS
7.
R E P R E S E N T A T I O N
blue for
262
REPRESENTATION
Data collector
Multilane
Exit marker icon
Exit markers
Stage
Single lane
263
DATA COLLECTORS
Entry markers
R E P R E S E N T A T I O N
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
To add a marker, click the location in the Network edit area, page 19 where you want to position the marker icon.
b. Either:
- left-click to add a new segment
- right-click to finish editing the marker.
a
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
Either:
- Add a new entry marker 3.) a.),
- Right-click in the Network edit area, page 19 to switch to create exit marker mode.
Create an exit marker by following the procedure described in step 3.) a.).
Either:
- Add a new exit marker 3.) a.),
- Right-click in the Network edit area, page 19 to display the "Data collector entry window
in Group mode" (see fig. 160, page 267).
If necessary, add a group: Creating/Editing/Deleting a group, page 265,
otherwise, in the group list area, select the group with which you want to associate the data collector being created.
Click Data collector to display the "Data collector entry window in Data Collector mode" (see
fig. 161, page 268).
Fill in the fields for the data collector in the edit area (see Data collector parameters,
page 267)., page 268.
Click Add to add the data collector to the list of collectors in the group.
Click Group to display the "Data collector entry window in Group mode" (see fig. 160,
page 267).
Click Apply to apply your changes.
Click Quit to close the window.
To calculate the travel time matrix, position an open data collector for each cell in the origindestination table such that:
1. its entry markers cross the stages connected to the origins corresponding to the row of the cell.
2. its exit markers bisect all the trajectory lanes linked to the exit corresponding to the column of the cell.
Modifying the position of all the markers associated with a data collector, page 265
Modifying the position of a single marker associated with a data collector, page 265
Modifying the geometry of a marker associated with a data collector, page 265
264
REPRESENTATION
Modifying the position of all the markers associated with a data collector
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
2. ActivateEdit Object mode, page 20.
3. Position the pointer on the exit marker displayed in the Network edit area, page 19.
4. Drag to the new position, then release.
1.
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
ActivateEdit Object mode, page 20.
Select the data collector by clicking its exit marker in the Network edit area, page 19.
Position the pointer on the marker to move (it is displayed in yellow).
Drag to the new position, then release.
The data collector entry window is a Module entry window, page 27 comprising three statuses used
respectively for:
Creating/Editing/Deleting a group
The list area in the "Data collector entry window in Group mode" (see fig. 160, page 267) shows all the
groups defined for the current Network scenarios, page 65.
265
DATA COLLECTORS
3.
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
ActivateEdit Object mode, page 20.
Select the data collectors exit marker in the Network edit area, page 19,
Position the pointer on one of the selection squares of the marker to modify.
Drag as appropriate, then release.
R E P R E S E N T A T I O N
GROUP PARAMETERS
LABEL
Name
Sample
DESCRIPTION
Unique name of the group among all groups associated with the current network.
It is saved in the database for the "IdGroup" field in the GroupCollector table.
Measurement sampling duration in seconds.
Layer
The layer associated with the groups data collectors, chosen from all the layers in the current
Network scenarios, page 65 (see Single-choice list field, page 32).
Tables
Defines the type of the Tables generated at the end of the simulation, page 256 for this
group. The criteria and statistics required to establish the selected tables are automatically chosen.
Click the Data collectors button and switch to edit group mode.
Duplicating a group
Click the
button on the Module bar, page 18 to display the "Data collector entry window in
Group mode" (see fig. 160, page 267).
2. Click the name of the group displayed in the group list area.
3. Enter the groups name. Edit the other fields as appropriate.
4. Click Add to add the group. All its data collectors are duplicated.
1.
Deleting a group
To edit the parameters of an existing group, or to delete it, following the procedure described to modify an
element, page 28, or to delete an element, page 28.
To duplicate a group and all its data collectors in two different geometry scenarios:
1. Create a temporary network scenario with the original layer and the target layer for the duplicated group.
2. Select this new network scenario as the current scenario.
3. Select the group to duplicate in the "Data collector entry window in Group mode" (see fig. 160,
page 267).
4. Select the target layer.
5. Click Add to duplicate the group.
The duplicated group and the original group must have different names if they are intended for the
same network scenario.
266
REPRESENTATION
Group
list area
Group
edit area
DESCRIPTION
Name
Unique name of the data collector among the groups data collectors.
It is saved in the database for the "IdCollector" field in the "GroupCollector" table.
Open
Self-locking
test
Determines whether or not this data collector is integrated in the self-blocking test ("autoblock"), defined as follows:
if the flow is null whereas the number of vehicles present is non-null, and for a duration
greater than the self-blocking duration, the replication is marked as being selfblocked for this road.
The criteria (Number of vehicles present, Flow) that define an autoblock are automatically
selected for all the data collectors in the group, even if they are not all selected for the selfblocking test.
Order
Zones
267
Defines the order in which data collectors are displayed in the Tables generated at the end
DATA COLLECTORS
Command
area
R E P R E S E N T A T I O N
DESCRIPTION
Destinations
Defines a subset of destinations. If the subset is non-empty, only vehicles with a destination
that belongs to this subset are considered by the data collector (see Multiple-choice list field,
page 33).
Categories
Subset of categories considered by the data collector. If the subset is empty, all the vehicle categories are considered by the data collector a priori (see Multiple-choice list field,
page 33).
If the destinations, zones and categories subsets are not empty, only vehicles that satisfy the
conditions on the destination and the vehicle category will be considered.
Data collector
list area
Data collector
edit area
Command
area
Figure 161. Data collector entry window in Data Collector mode
To edit a data collector in the "Data collector entry window in Group mode" (see fig. 160, page 267) (see the
procedures for Creating a data collector, page 264, or Creating/Editing/Deleting a group, page 265).
1.
2.
3.
4.
5.
6.
In the list area of the "Data collector entry window in Group mode" (see fig. 160, page 267),
select the group associated with the data collector to edit.
Click Data Collectors in the command area to switch the entry window to Data Collector mode.
Fill in the fields for the data collector in the edit area (see Data collector parameters, page 267).
Confirm your entry by clicking:
Add, to add a new data collector
or Apply, to modify the selected data collector,
or Delete, to delete the selected data collector.
Click Data Collectors.
Click Apply to confirm the changes to the data collector for the selected group.
If the identifier of a group or of a data collector is modified, the results calculated up until then for
this data collector are no longer accessible for viewing. You must restart the replications for all the
network scenarios that include the layer associated with this group.
268
REPRESENTATION
Criteria
list area
Command
area
Figure 162. Data collector entry window in Criteria mode
For example, to add the percentile 0.95 of the travel speed to all the values noted for a group:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
269
Click the
button on the Module bar, page 18 to open the "Data collector entry window in
Group mode" (see fig. 160, page 267).
In the list area, select the name of the group to modify.
Click Criteria in the command area to switch the entry window to Criteria mode.
In the criteria list area, click the row corresponding to the Travel speed criterion.
To add or remove statistic processes, click
or
respectively.
To add a percentile : click the Next button opposite the Percentile label to open the "Percentile
entry window" (see fig. 163, page 270).
Enter 0.95 in the Value field, then click Add.
Click Criteria to display the "Data collector entry window in Criteria mode" (see fig. 162,
page 269).
Click Apply to confirm your changes.
Click Back to display the "Data collector entry window in Group mode" (see fig. 160, page 267).
Click Apply to confirm.
Click Quit to close the "Data collector entry window in Group mode" (see fig. 160, page 267).
DATA COLLECTORS
Selected
criterion
edit
area
R E P R E S E N T A T I O N
270
12
271
PUBLIC TRANSPORT
MODULE
Public transport (PT) structures most urban projects in terms of both their geometry and their operation
mode. Between a current situation and a projected infrastructure, planners and engineers are called on to test
the redeployment of public transport lines, or the insertion of specific bus or tramway sites. CubeDynasim
takes account of these different possibilities through public transport scenarios, which define a set of PT
lines and which are the fourth - optional - component of the simulation scenarios (see Simulation module,
page 403).
S T O P
Stop
A stop is defined by:
The location of its stop line, identified by a stop line marker on a trajectory lane.
2. Its stop time, determined by a parameter distribution law (standard threshold log):
1.
minimum threshold
b. average
c. maximum threshold
d. standard deviation
a
Transit stops, page 272, which are only active for PT vehicles,
Tolls, page 274, which are active for all types of vehicle.
Transit stops
The transit stop is a simulation object edited in geometric mode. Its graphic representation is displayed in the
Network edit area, page 19 in geometric mode only. It is represented by a stop line marker see Geometric
representation of a transit stop, page 272.
272
1.
Switch to geometric mode (see "Main CubeDynasim window in geometric mode", fig.1 p.14).
2.
Click the
3.
In the Network edit area, page 19, position the pointer at the location on the trajectory where
the stop line is to be placed (the trajectory concerned switches to pointed mode). Left-click to create the transit stop with the parameters from the last transit stop you edited, and to assign all the
PT lines, page 278 to stop at this stop.
button on the Simulation object bar, page 17 to activate create transit stop mode.
STOP
Editing a transit stop
To edit a transit stop, see Edit Object mode, page 20:
Display the "Transit stop entry window" (see fig. 165, page 273).
2. Place the stop in a layer.
3. Fill in the fields representing an Integer numeric value field, page 31 corresponding to the
parameters of the transit stop distribution rule:
1.
The Stop zone length (m) defines the distance before the stop line where the bus stop begins.
b. The Length of Zone of Approach (m) defines the distance before the stop line during which PT
Assign the stop for the PT lines defined previously (see Creating/Editing/Deleting a PT line,
page 280): all the lines are selected by default.
5. Assign (optionally) a Timetable, page 284. If the PT is ahead of schedule on the timetable, it
will stop for the period defined previously and will wait according to the timetable before setting
off again. If the PT is behind schedule, it will only stop for the period defined by the distribution,
itself defined by the stop parameters.
6. Specify (optionally) a stop probability percentage.
7. Click OK to confirm.
4.
Stop times
(distribution rule
parameters)
PT lines assigned
to the stop
Schedule
273
Stop parameters
PUBLIC TRANSPORT
MODULE
Layer
S T O P
stop at the stop line. Applicable to all the PT vehicles assigned to the stop which enter the stop zone, this feature enables you to correctly simulate the stops of multiple correspondences.
Tolls
The Toll simulation object is used to model a stop at a toll, at a parking lot barrier, on the actual parking lot or
for a delivery. It is edited in geometric mode. Its graphic representation is displayed in the edit area in geometric mode only. It is represented by an icon with a vehicle aside a toll, and by a stop line marker. The toll
object can stop all types of vehicles (see Geometric representation of a toll, page 274).
Toll
Toll stop on the lane
Switch to geometric mode (see "Main CubeDynasim window in geometric mode", fig.1 p.14).
Activate edit stop mode from either of the following:
a The Menu bar, page 14, select Objects > Stop > Toll.
b. The Simulation
3.
icon.
In the edit area, position your pointer on the spot on the trajectory where you want to position the
stop line (the trajectory concerned switches to the pointed state), then left-click to create the toll
with the parameters saved beforehand.
Editing a toll
Proceed as follows to edit a toll, see Edit Object mode, page 20:
1.
2.
Display the "Toll entry window" (see fig. 167, page 275).
Fill in the fields that represent an Integer numeric value field, page 31 corresponding to the
parameters of the transit stop distribution rule:
Minimum Time (s)
b. Mean Time (s)
c. Maximum Time (s)
d. Standard Deviation of Time
a
e. Conditions is a Prohibitor
field, page 171, used to define the subset taken into account to
assign the toll to specific destinations or vehicle categories (all by default).
274
STOP
Layer
Stop parameters
Stop times
(distribution rule
parameters)
Destinations or categories
that stop at the toll
As opposed to transit stops, if two vehicles concerned by the toll arrive one behind the other at the toll, they
will successively carry out their transaction at the toll line according to the toll time distribution law.
Incidents
The Incident simulation object is used to model the stopping of a vehicle on the road for a set period of time.
Vehicles that arrive at the location of the incident are automatically diverted to the adjacent roads. The first
vehicle to arrive at this location and that satisfies the incident object's stop conditions stops until the end time
specified in the object. For vehicles that arrive at the location thereafter, the simulation proceeds as if there
were one lane less on the multilane where the incident has occurred. Thus, vehicles must change lanes to
continue on their way.
Trajectory
taken during
the incident
period
Incident
Lane removed
during the
incident period
Figure 168. Graphic representation of an Incident
275
PUBLIC TRANSPORT
MODULE
S T O P
Creating an incident
1.
Switch to geometric mode (see "Main CubeDynasim window in geometric mode", fig.1 p.14).
2.
Click the
button on the Simulation object bar, page 17 to activate create incident mode.
In the edit area, position your pointer on the spot on the trajectory where the stop line is to be
placed (the trajectory concerned switches to pointed mode).
4. Left-click to create the incident with the parameters saved beforehand.
3.
Editing an incident
Proceed as follows to edit an incident, see Edit Object mode, page 20:
1.
2.
Display the "Incident entry window" (see fig. 169, page 276).
Fill in the Time fields :
a Incident starting hour: the first vehicle to arrive at the incident that satisfies the stop conditions
stops accordingly.
b.
Conditions is a Prohibitor field, page 171, used to define the subset taken into account to assign the incident to the first vehicle (by destination or vehicle category). By default, the incident is assigned to the first
vehicle that arrives there.
Layer
Incident duration
Conditions for applying the stop
Terminus
The terminus enables a PT line to turn around. It involves a stop time, and is characterized by the following:
A trajectory.
2. Its stop time, determined by a parameter distribution law (standard threshold log):
1.
minimum threshold
b. mean
c. maximum threshold
d. standard deviation
3.
A new PT line.
276
STOP
You must link each Terminus with the Destinations, page 74 object of the PT line that arrives at the terminus via the Speed link, page 159.
The terminus can be associated with a Timetable assignment, page 286 to update the departure times.
Terminus 1
Terminus 2
Geometric mode
East exit
West exit
Terminus 3
Terminus 4
Logical mode
Switch to geometric mode (see "Main CubeDynasim window in geometric mode", fig.1 p.14).
2.
Click the
3.
Click at the junction point of the 2 lanes on the PT line to open theTerminus entry window,
page 277 and fill in the Name, Layer and Destination fields
button on the Simulation object bar, page 17 to activate create terminus mode.
The length of the Terminus must be greater than that of the vehicle category using it.
277
PUBLIC TRANSPORT
MODULE
Terminus name
Layer
S T O P
This section describes:
Name
stock categories
Category
Length
(m)
Standard bus
TC_STD
12
Articulated bus
TC_ART
18
2-car tramway
TRAM
30
3-car tramway
TRAMTR
45
Header
A PT scenario header contains the parameters used to transfer the scenario to the models other components,
in particular to the simulation scenarios.
The headers parameters are as follows:
The scenario name, unique to all the PT scenarios in the study. It is used when defining the "Simulation module entry window in Edit scenario mode" (see fig. 209, page 406),
2. A comment describing the specificities of the scenario.
1.
PT lines
A PT scenario comprises a set of PT lines.
The following parameters define a PT line:
1.
2.
3.
4.
5.
The lines name. It can be reused by other lines with a different destination. For example, for the
lines opposite direction or a line with several destinations.
The lines departure point, which is an Origins, page 69.
The lines arrival point, which is an Destinations, page 74.The name+arrival combination
which specifies the line is unique among all the lines in the PT scenario. It is used when defining
Transit stops, page 272.
The type of rolling stock assigned to the line, which can be single or combined.
The PT generation frequency, which can either be fixed or variable with a random variance (early
or late) in relation to this schedule.
The PT line creates its own origin, and links it with the first object linked to the origin specified at the
lines departure point. Prohibitors, page 168 are ineffective for PT on the link between the
departure point and the object associated with it.
The lines first PT is generated randomly during its first period, even in the case of a fixed frequency:
the replications will not reproduce the same sequence (see Simulation module, page 403).
278
PUBLIC
icon.
The PT data entry window is a Module entry window, page 27. It consists of two windows, one listing the
PT scenarios and the other listing the PT lines associated with the selected scenario and the data associated
with each line.
The PT Line button switches from the Scenario window to the PT Lines window. Once in the PT Lines window, the Back button switches the window back to the Scenario window.
The parameters of the Header, page 278, and the PT lines, page 278, are respectively displayed in the
PT scenario and PT line list areas.
Creating/Editing/Deleting a PT scenario
To create a PT scenario, proceed as follows in the PT module management window:
1.
in the edit area, fill in the fields corresponding to theHeader, page 278:
a Scenario name: use an alphanumeric name with no special characters or spaces; the first character
must be alphabetic,
PT scenario
list area
PT scenario
edit area
Command
area
Figure 172. PT management window in PT scenario edit mode
279
PUBLIC TRANSPORT
MODULE
This section describes the procedure to follow to edit PT scenarios and PT lines using the PT module management window :
P U B L I C
Creating/Editing/Deleting a PT line
To create a PT line from the PT module entry window, proceed as follows
Select the PT scenario which refers to the PT line, then click PT Lines to go to the PT lines edit
page.
2. Fill in the fields in the edit area corresponding to the PT lines, page 278:
1.
Line name, use an alphanumeric name with no special characters or spaces; the first character must
be alphabetic,
b. Origin: Single-choice
c. Destination: Single-choice
page 74,
d. Type: multi-choice list containing the four rolling stock categories; check the boxes according to the
rolling stock assigned to the line and the relative weight between 0.00 and 100.00,
e. Distribution: a Single-choice list field,
3.
4.
c. Timetable, the "PT Management window in PT line edit mode when defining the Timetable"
(see fig. 175, page 283) is displayed; choose the timetable to apply.
Click Add to add the PT line.
6. Repeat operations 2 to 5 for all the PT lines associated with the PT scenario.
7. Click on the Back button to return to the PT scenarios edit page, then click Apply to validate the
assignment of the PT lines to the scenario.
5.
Remember to apply the PT lines to the PT scenario before quitting the entry window, otherwise the
definition of the PT lines will not be accepted.
To edit the parameters of an existing PT line, or to delete it, follow the procedure described to respectively
modify an element, page 28, and delete an element, page 28.
280
PUBLIC
PT line
list area
PT line
input area
Command
area
Figure 173. PT Management window in PT line edit mode when defining the Frequency
281
PUBLIC TRANSPORT
MODULE
PT line
frequency
P U B L I C
PT line
list area
PT line
input area
PT line
frequency
Command
area
Figure 174. PT Management window in PT line edit mode when defining the Delayed Frequency
282
PUBLIC
PT line
list area
PT line
input area
Command
area
Figure 175. PT Management window in PT line edit mode when defining the Timetable
283
PUBLIC TRANSPORT
MODULE
PT line
timetable
T I M E T A B L E
Timetable
You use the Timetable tool to define a schedule of departures for a public transport line, i.e. for vehicles in
the PT vehicle category (see Vehicle categories, page 41). In CubeDynasim, the Timetable represents a list
of times for a PT line. You can define a timetable schedule for a day or for part of a day.
Creating a timetable
1.
Access the Timetable entry window, page 284 via the Distribution menu in the Menu bar,
page 14.
2.
3.
4.
5.
6.
7.
8.
A timetable can define departures for a whole day, or only for useful simulated periods during the day.
Thus, in the "Timetable entry window" (see fig. 177, page 285), the Timetable defines the departures
between 8 am and 9 am, and between 5 pm and 6 pm.
List of
timetables
Timetable
name
Figure 176. Timetable entry window
284
TIMETABLE
List of
times
Schedule
3.
4.
285
PUBLIC TRANSPORT
MODULE
Display the "Timetable entry window" (see fig. 177, page 285) to edit the schedule of the current timetable.
Edition will end clicking on Return, Apply and Quit.
T I M E T A B L E
Update the contents of an imported file of schedules
It is possible to update the schedules imported from a file (for example if the contents of this file has been
changed). The list of times is cleared, and updated with the new schedules stored in the file.
1.
Timetable assignment
The Timetable assignment object is used on one or more Terminus, page 276 objects to reset the departure time for a line.
If the Timetable assignment object intercepts several Terminus, page 276 objects, the first PT that
arrives in one of the termini is the one that will start off again at the time specified in the corresponding timetable.
If the PT arrives at the terminus object after the time specified in the corresponding timetable, it will comply
with the stop line defined in the Terminus, page 276 object and will start off again as soon as possible.
Terminus 1
Terminus 2
Timetable
assignment
286
TIMETABLE
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
Click the
button on the Simulation object bar, page 17 to activate create timetable assignment mode.
3. In the Network edit area, page 19, position the mouses pointer at the spot where you want to
place the icon, then left-click to display the "Timetable assignment entry window" (see fig. 179,
page 287).
4. Fill in the fields :
a Layer which is a Single-choice list field, page 32 used to assign the layer of the invalid path.
2.
PUBLIC TRANSPORT
MODULE
287
T I M E T A B L E
288
13
Signals module
Establishing this strategy consists in selecting and positioning signals, determining which streams of vehicles they regulate, programing the signal plans, and implementing actuated signal control when the traffic
demand varies highly and randomly during the simulated time. Editing a simulation model with CubeDynasim involves the following five stages :
Positioning the Signals, page 290 on the background map.
Editing a Stop line, page 202 for each signal, indicating the regulated trajectories.
3. Grouping objects used to define the programing of a group (i.e. crossroads) in Controllers,
page 305.
4. Entering the signal programs.
5. Defining the actuated signal operations after positioning the Detectors, page 295 on the background map.
1.
2.
The microscopic simulation approach makes it easier to measure the effect of the different regulation strategies envisaged on the operation of the modeled development. CubeDynasim favors the comparison of these
different strategies by dissociating the Network scenarios, page 65 which contain the simulation objects
positioned in the Network edit area, page 19 (e.g. Signals, page 290, the Stop line, page 202, and
Detectors, page 295,) from the actual programing, which is defined in the traffic signal scenario.
This chapter describes how to edit:
289
SIGNALS MODULE
An urban developments fluidity is determined, among other things, by the control strategy established and
implemented on the ground.
S I G N A L S
Signals
You can use CubeDynasim to edit two types of signal, distinguished by their representations and the number
of states in the simulation.
ICON
FUNCTION
PASSING
BLOCKING
STATE
STATE
R12
Pedestrian signal
green
red
R16
Anticipation signal
yellow
off
(gray)
R24
Stop signal
generally used to protect against a level crossing, a tramway crossing, etc.
off (gray)
red
R25
off (gray)
red
SAC
yellow
off
SPC
blue
off
To model an anticipation signal, i.e. one that authorizes the passage either in a directional movement
(R16) or for a vehicle category (R15 modal anticipation signal), you must define the R11v signal and
an R16 signal. The Stop line, page 202 is assigned to the R11 signal with the R16 as an additional
signal.
290
SIGNALS
ICON
FUNCTION
PASSING
INTERMEDIATE
BLOCKING
STATE
STATE
STATE
Three-color signal
green
yellow
red
R17
Tramway signal
vertical
white line
white circle
horizontal
white line
R13b
green
yellow
red
R13c
green
yellow
red
R18
white triangle
white circle
horizontal
white line
3-color US
green
yellow
red
Pedestrian
US
green
white hand
white hand
291
SIGNALS MODULE
R11
S I G N A L S
C360
F1
F2
F3
C360
F1
FL1
F2
F3
Figure 180. F1 anticipation signal modeled by signals F1 and FL1
SIGNAL PARAMETERS
LABEL
292
DESCRIPTION
Name
Unique name that identifies the signal (Name field, page 29).
Layer
Layer that stores the signal (see Single-choice list field, page 32).
SIGNALS
SIGNAL PARAMETERS
LABEL
DESCRIPTION
Verification
Boolean value:
Yes: generate error reports for the signal each time a change of status does not comply with constraints in terms of the logical concatenation of green/orange/red states
and in terms of the minimum durations.
No : do not generate error reports for the signal.
(see Single-choice list field, page 32).
Green duration
Boolean value :
Yes: measurement of the Green signal duration, page 242 criterion.
No: no measurement of the Green signal duration, page 242 criterion for this
signal.
Remember to select statistic processes for the Green signal duration criteria when
editing the simulation scenario, otherwise no values will be recorded (see Add a
Crossing duration
Creating a signal
1.
Switch to geometric mode if necessary (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
4.
5.
Go on to create all the signals associated with the same layer so that you only have the end of the
Name field, page 29 to fill in.
293
SIGNALS MODULE
Boolean value:
Yes: measurement of the Signal line crossing duration, page 243 criterion.
No: no measurement of the Signal line crossing duration, page 243 criterion
for this signal.
Remember to select statistic processes for Stop line crossing duration criteria when
editing the simulation scenario, otherwise no values will be recorded (see Add a
S I G N A L S
Editing a signal
Signals are defined by their parameters, by their location, and by their orientation used in 3D viewing.
You edit the parameter values of a signal, or delete a signal, exclusively in geometric mode following the
procedure described in section Edit Object mode, page 20.
The effects of deleting a signal are as follows:
1. all the Stop line, page 202 associated with it are destroyed,
2. the signal is removed from the signal plans of the various signal scenarios it belongs to,
3. the actuated signals, for which it is the base signal, are deleted.
You move a signal following the procedure to move a simulation object on the background map, page 21.
You only define the orientation of the signal if you wish to present the simulation results as a 3D animation
(see 3D view, page 459), because only this representation takes into account a signals orientation. To orient
a signal already created, proceed as follows :
1.
2.
3.
4.
5.
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
select the signal by following the procedure to select a simulation object, page 21 to display
the two modification handles respectively corresponding to the position handle, situated in the
middle of the icon representing the signal in geometric mode, and the orientation handle. The
signals orientation is given by the vector whose origin is the position handle, and whose destination is the orientation handle (see "Representation of a selected signal", fig.182 p.294),
Click and hold the orientation handle.
Drag the mouse to move the orientation handle as appropriate.
Release the button to finish.
To associate an VS and an PS on the same post in 3D, position the two signals so that their position
handles coincide, orient the VS to the roadway, and the PS to the pedestrian crossing.
294
DETECTORS
Detectors
With actuated signal control, you can adapt the operation of the signals to traffic conditions. This requires the
implementation of detectors to measure traffic conditions. They are usually detectors positioned on the roadway, radars, pedestrian push buttons, or an onboard emitter on priority vehicles. When modeling, you must
strive to reproduce the way in which a development operates. For this purpose, CubeDynasim offers a number of simulation objects, called detectors, which reproduce the operation of different types of existing detectors.
In CubeDynasim, you create and edit detectors in the Network edit area, page 19 in geometric mode only.
These detectors are distinguished by their graphic representation, and by the Boolean expression that translates their status. They are used when editing actuated signal control parameters.
Deleting a detector effectively removes the Boolean expressions conditioning the application of the
actuated signal operations. If the detector is the only element in an expression, the actuated signal
operation is nevertheless retained, but is no longer accepted during the simulation. No simulation
errors inform you of this.
For presentation reasons, detectors are split into two groups: multimarker detectors and single-marker detectors. Subsequently, there are six types of detectors:
Multimarker detectors
The multimarker detector combines a set of entry markers and exit markers, and a variable indicating the
number of vehicles which, having crossed an entry marker, have not yet crossed an exit marker.
Depending on the networks configuration and the detectors geometry, these different cases generate simulation errors (see Errors for the current replication, page 416):
A vehicle that has crossed one of its entry markers quits the network without having crossed one
of its exit markers: its variable is subsequently decremented.
2. A vehicle crosses one of its entry markers twice without crossing any exit markers: the variable is
incremented once only.
3. A vehicle crosses one of its exit markers without having previously activated an entry marker: the
value of the variable is not modified.
1.
The markers of a multimarker detector are displayed in the Network edit area, page 19 as an association
combining:
1.
2.
295
SIGNALS MODULE
ETECTORS
D
As with the representation of simulation objects comprising different geometric elements such as the
Yield, page 206, and to avoid overloading the Network edit area, page 19, only the first entry marker
of a multimarker detector is displayed. By positioning the mouses cursor on the entry marker of the check
in/check out detector, corresponding to pointed mode, all its entry and exit markers are displayed (see "Representations of check-in/check-out with delay", fig.184 p.298). Moreover, a message specifying the type of
the detector and its name is displayed in the information area.
To create a multimarker detector in geometric mode after activating create detector mode :
In the Network edit area, page 19, click the location where the first entry marker starts. This
displays the detector entry window.
2. Fill in the fields:
1.
Name field, page 29, which is a name unique to all the detectors in the study, used when editing
the actuated signal control.
b. Layer which is a Single-choice list field, page 32 used to assign the detectors layer.
a
Select deactivate detector mode, then Front or Rear, corresponding to the front and rear of the
vehicle on the detector.
4. Click OK to continue the entry of the detectors geometry. You can no longer interrupt the creation
process; you must go on to the end.
5. Position the mouse, and:
3.
Proceed as follows to create a new entry marker, otherwise, proceed directly to step 7.) :
left-click the location where you want to see the entry marker icon in the Network edit area,
page 19,
b. Repeat step 4.),
a
Finish the input of entry markers by right-clicking in the Network edit area, page 19.
8. Create at least one exit marker by following the same procedure as for the entry markers, as in step
5.),
9. Finish the entry of the new check-in/check-out by right-clicking in the Network edit area,
page 19.
7.
Just like the data collectors, it is possible to modify each marker of a detector (see Editing a data collectors
geometry, page 264). It is possible to modify the location as well as the coordinates of any one segment
(refer to the procedure to move a simulation object on the background map, page 21).
Follow the procedure described in section Edit Object mode, page 20 to edit the parameter values of a
multimarker detector, or delete a multimarker detector, from the representation of its first entry marker (in
geometric mode).
To edit the parameters of a multimarker detector, you open the entry window in edit mode by following the
procedure to Edit Object mode, page 20. The multimarker detector entry window in create mode differs
from that in edit mode through the additional Condition field, which is a Prohibitor field, page 171 (see
"Check-in/check-out with delay entry window in create and edit modes", fig.183 p.298). It is used to limit the
vehicles taken into account by the detector, according to criteria concerning the category or destination.
The set of multimarker detectors contains two types of detector:
296
DETECTORS
DESCRIPTION
Name
Unique name among the set of detectors (see Name field, page 29).
Layer
Layer that stores the detector (see Single-choice list field, page 32).
Prohibitor field, page 171, accessible only in the detector editing mode. It allows
to define a subset of vehicles which can activate the detector.
Deactivate
Specifies the type of output for loop detection. Front: corresponding to the passage
of the front of the vehicle on the loop, Back: corresponding to the portion of the rear
of the vehicle on the loop.
Delay probability
Probability that the check-in is validated and sent to the controller with a delay (see
below Delay duration). For a probability of 0, the information is transmitted without
delay.
Delay duration
Number of seconds if the information is transmitted with delay to the controller (see
Delay probability parameter).
Threshold
Integer greater than 0. The loop is activated when the number of vehicles recorded
present is greater than or equal to the value of the threshold. Default value is set to 1.
To simulate a check-in/check-out detector, as proposed in the previous versions of the software, you
should set a Threshold of 1, and a Delay probability of 0.
The
or
icons are respectively associated with the entry and exit markers of the delay check-in/
check-out displayed in the Network edit area, page 19 (see "Representations of check-in/check-out with
delay", fig.184 p.298).
To create a check-in/check-out with delay detector:
1.
If needed, switch to geometric mode (see "Main CubeDynasim window in geometric mode", fig.1
p.14).
Click
on the Simulation object bar, page 17 to activate create check-in/check-out with
delay mode.
3. Follow the procedure to create a Multimarker detectors, page 295.
4. Fill in the Check-in/check-out with delay parameters, page 297.
2.
297
SIGNALS MODULE
Condition
ETECTORS
D
Edit mode
Create mode
Figure 183. Check-in/check-out with delay entry window in create and edit modes
Entry
detector
Exit
detector
Check-in/check-out with delay
and
icons are respectively associated with the entry and exit markers of the Not check-in/
Switch to geometric mode (see "Main CubeDynasim window in geometric mode", fig.1 p.14).
Click the
icon on the Simulation object bar, page 17 to activate create check-in/check-out
mode.
3. Then follow the procedure for creating a multimarker detector.
2.
298
DETECTORS
Single-marker detectors
This section describes the characteristics of single-marker detectors via their graphic representation, and
explains how to add, edit and delete these objects.
Single-marker detectors are simulation objects displayed exclusively in geometric mode in the Network edit
area, page 19. They are represented by the association of a color marker with a definable width grouping a
set of straight segments, and an icon representing the type of detector (see "Representation of a queuing
detector", fig.186 p.301). The graphic representation in pointed mode amounts to inverting the color of its
marker, and displaying the detectors type and identifier in the information area.
Single-marker detectors dedicated to vehicles define a detection zone either side of its marker, limited by
its detection length. Any vehicle present in this zone activates the detector.
To create a single-marker detector in geometric mode, proceed as follows after activating create detector
type mode:
In the Network edit area, page 19 click at the spot marking the start of the detectors marker to
display its entry window in edit mode.
2. Fill in the fields concerning the single-marker detectors:
1.
Name field, page 29, unique identifier of the detector, used when editing the actuated signal control,
b. Layer, which is a Single-choice list field, page 32 used to assign the detectors layer.
a
edit area,
page 19, a width of 0.5 meters provides good model readability. This parameters value is not con-
edit area,
page 19.
3. Click OK to continue defining the markers geometry.
4. After positioning your mouse, left-click to add a new segment, or right-click to finish the segment
being created, thereby ending the entry of the detector.
The detector is a simulation object whose parameters can be edited in the Edit Object mode, page 20, by
displaying an entry window that differs from the one displayed in create mode by the additional Condition
Prohibitor field, page 171, only for detectors dedicated to detecting vehicles. This Condition field is used
to limit the number of vehicles capable of activating the detector according to criteria concerning the vehicle
destination or category.
You can modify the geometry of a single-marker detector by moving its marker on the background map. To
do so, follow the procedure to move a simulation object on the background map, page 21. You can also
move the ends of segments that define its marker.
To delete a single-marker detector, you apply the procedure described in section see Edit Object mode,
page 20.
The following single-marker detectors are available :
Queuing detector
The queuing detector is used when implementing an actuated signal control strategy to reduce or eliminate
the risk of queues subsequent to lines of vehicles caused by poor clearance of left-turn movements, congestion on a junction downstream, or illegal parking.
299
SIGNALS MODULE
ETECTORS
D
The queuing detector belongs to the category of single-marker detectors dedicated to vehicles. This detector
has a detection length of between 0 and 10 meters, edited in the +/- Detection Area (m) field in the Queuing detector entry window, page 300.
at the end of the vehicle cluster area for a cluster length that is insufficient for a left-turn movement,
taking into account the cluster of vehicles that will cross the junction before the green light stops, to
bypass a queue formed by a line of vehicles.
The
icon associated with a marker represents a queuing detector displayed in the Network edit area,
page 19 (see "Representation of a queuing detector", fig.186 p.301).
To create a queuing detector:
1.
Switch to geometric mode (see "Main CubeDynasim window in geometric mode", fig.1 p.14).
Click the
icon on the Simulation object bar, page 17 to activate create queuing detector
mode.
3. Follow the procedure for creating a single-marker detector.
2.
300
DETECTORS
Detector marker
a retraction to modify the sequential flow of a signal program by deleting a phase if no vehicles are
detected on the corresponding entry,
a relaxing point which consists in freezing the sequential flow of a signal program while waiting for a
variable to change status.
The presence detector belongs to the category of single-marker detectors dedicated to vehicles. This detector
has a detection length of between 0 and 10 meters, edited in the +/- Detection Area (m) field in the Presence detector entry window, page 301.
301
SIGNALS MODULE
Presence detector
ETECTORS
D
The presence detector is usually set 2 or 3 meters upstream from the Stop line, page 202 associated with
the Signals, page 290 to retract.
The
icon associated with a marker represents a presence detector displayed in the Network edit
Switch to geometric mode (see "Main CubeDynasim window in geometric mode", fig.1 p.14),
Click the
icon on the Simulation object bar, page 17 to activate create presence detector
mode.
3. Follow the procedure for aSingle-marker detectors, page 299.
2.
Passage detector
The passage detector is used to vary the duration of the green phase on one or more lines between the predefined minimum and maximum durations. It involves comparing the vehicle interval, defined as the time
between two vehicles activating the detector, with a predefined time called the critical interval. If the critical
interval is greater than the vehicle interval, the signal prolongs the green phase by the duration of the critical
interval within the limit of its maximum duration.
The passage detector belongs to the group of single-marker detectors dedicated to vehicles. Its detection
length is set to 0 meters.
The condition of the passage detector corresponds to the following expression: the critical interval is less
than the vehicles interval.
You define the value of the detectors critical interval in the Critical interval field in the Passage detector
entry window, page 303.
The position of the passage detector relative to the stop line it regulates is determined by the value of the
reduced critical interval (reduced by 1 second in general), multiplied by a speed of 10 m/s. For a critical
interval of 3 seconds, you position the detector 30 meters upstream from the signals stop line. The detectors
position also determines the duration of the minimum green phase, corresponding to the time required to
clear vehicles at a standstill between the stop line and the position of the detector. In this case, you choose an
average vehicle length of 5 meters, and a passage time per vehicle of 2 seconds.
The
icon and its marker are displayed in the Network edit area, page 19 to represent a passage
detector.
To create a passage detector:
1.
Switch to geometric mode (see "Main CubeDynasim window in geometric mode", fig.1 p.14).
Click the
icon on the Simulation object bar, page 17 to activate create passage detector
mode.
3. Follow the procedure for Single-marker detectors, page 299
2.
302
DETECTORS
The pedestrian push-button (also referred to as the push-button call marker) is used to insert a pedestrian
phase based on pedestrian calls. It amounts to retracting the pedestrian phase when there is no pedestrian
call.
The push button belongs to the category of single marker detectors dedicated to pedestrians.
The push button is activated when a pedestrian enters one of the waiting areas on a Pedestrian crossings,
page 95, which crosses its marker. The push button is deactivated when its status is queried.
The markers
ton.
icon, displayed in the Network edit area, page 19, represents the pedestrian push-but-
Switch to geometric mode (see "Main CubeDynasim window in geometric mode", fig.1 p.14).
2.
Click the
3.
icon on the Simulation object bar, page 17 to activate create push-button mode.
303
SIGNALS MODULE
Pedestrian push-button
ETECTORS
D
As with the vehicle signal stop line, the pedestrian signal stop line must cross one of the two waiting areas on
a Pedestrian crossings, page 95, to associate it with both crossing directions (see "Pedestrian crossings
regulated by stop lines", fig.130 p.202).
Detector marker
304
CONTROLLERS
Controllers
A controller is used to group - according to a geometric criterion - the physical elements (Signals,
page 290, Detectors, page 295) needed to program signalized intersections.
This section discusses the following:
A signal can belong to different controllers. However, only one controller can program that signal in a
particular signal scenario.
A detector can belong to different controllers, and any of these controllers can use the detector
indiscriminately.
305
SIGNALS MODULE
Representation of a
controller defining its
area of regulation
C O N T R O L L E R S
CONTROLLER PARAMETERS
LABEL
DESCRIPTION
Name
Unique name identifying the controller in the project. Used when editing Signal scenarios,
page 308. When using DynasimServer, make sure you follow the naming conventions defined in
chapter Editing and naming objects in CubeDynasim, page 342 (see Name field, page 29).
Layer
The layer associated with the trajectory, chosen from the subset of layers in the current Network scenarios, page 65 (see Single-choice list field, page 32).
Color
Color of the controller in the Network edit area, page 19 (see Color field, page 31). Select a pastel
color to easily read other simulation objects.
Creating a controller
1.
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
2.
Click
In the Network edit area, page 19, click the location where you want to position one corner of
the controllers rectangle.
4. The controller entry window is displayed.
3.
Editing a controller
You edit a controllers parameters in the controller entry window according to the area it regulates.
You edit the parameter values of a controller, or delete a controller, exclusively in geometric mode following the procedure described in section Edit Object mode, page 20.
You edit a controllers geometry to modify the area it regulates either by moving the corresponding rectangle (see move a simulation object on the background map, page 21) or by moving the opposite corners of this
rectangle.
306
CONTROLLERS
To move the rectangles opposite corners:
1.
2.
3.
4.
5.
6.
If necessary, switch to geometric mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
Select the controller to modify.
Click and hold the handle of one corner of the rectangle to move.
Drag the mouse to resize the area as appropriate, then release.
Repeat for the opposite corner.
Click the network edit area outside the controller to deactivate the corner handles.
Moving a controller leads to deprogram all the signals not appearing anymore in the geographic area
of the controller. This will happen for all signal scenarios, including this controller.
Therefore, we strongly recommend to place the controllers in a specific layer, that the user must
freeze.
SIGNALS MODULE
307
S I G N A L
SCENARIOS
Signal scenarios
Signal scenarios define all the controllers, signals and detectors considered in the simulation. They also serve
to define the type of programing associated with each controller. This section describes the data model
behind the concept of the signal scenario, as well as identifying and describing the various elements that
make up a signal scenario.
Topics in this section include:
Header
The header of a signal scenario contains the parameters used to associate it with the other elements of the
study.
Name
Layers
Comment
DESCRIPTION
Unique name identifying the scenario, used for the definition of simulation scenarios.
Set of layers associated with the signal scenario (see Multiple-choice list field, page 33). Covers all the controllers to program for this scenario.
Used to describe scenario specificities as free text (optional).
Only signals that belong to a controller in the signal scenario can be programed. If a signal does not
belong to a controller, but figures in the network scenario, the simulator generates an error. In this
case, stop lines that depend on the non-programed signal are not considered by the simulation.
Programing controllers
Programing controllers boils down to defining the times for each associated signal. CubeDynasim provides
you with three possible programing techniques.
In what is referred to as classic programing, you directly edit the signal diagram (cycle duration, duration
and concatenation of phases) and define actuated signal control operations. You can coordinate the diagrams
of different controllers in the same signal scenario either using the offset (i.e. delay) parameter for a constant
cycle duration, or by editing the coordination points.
Nema programing is used mainly in North America and in certain parts of Asia. Please refer to the corresponding documentation.
The Socket controller establishes a connection between the simulator and an external program. This external
program defines the status of the simulated signals in real time. The simulation model transfers the status of
the detectors to the external program and communication between the two is established on a time base and
via addressing defined in CubeDynasim.
The Utopia controller establishes a connection between the simulator and Urban Traffic Control System
UTOPIA.
308
SIGNAL
SCENARIOS
DIAGRAM PARAMETERS
LABEL
Name
Type
DESCRIPTION
Name that identifies the controller (see Creating a controller, page 306).
Type of diagram to choose out of three possibilities:
1.
2.
3.
Classic, definition of the diagram and actuated signal control directly via the interface.
Nema, definition of Nema programing (North America/Asia).
Socket, an external program transfers the status of the signals to the simulation based on the
status of the detectors.
4.
Offset
The simulation duration, in seconds, needed to obtain - the first time - all the controllers
signals in the state expressed at instant
t = 0 on the diagram.
Diagram
Defines, for each controller in the scenario, the signal programing, represented as a time
chart.
Actuated signal
control
Defines the list of operations used to modify - during the simulation - the concatenation
and/or duration of the states defined by the diagram (see Operations that modify the
diagram during a simulation, page 318).
Offset
Coordination
Type of coordination.
Operation
Diagram
309
SIGNALS MODULE
Cycle
S I G N A L
SCENARIOS
Click the
button on the Module bar, page 18 to display the signal module entry window. This win-
The user can change the set of layers of a signal scenario only if it does not cause incompatibility for
one of the simulation scenarios (for any simulation scenario, the set of layers of its signal scenario
must be included in the set of layers of its network scenario).
Display area
Edit area
Command area
Figure 192. Signals module entry window in edit signal scenario mode
310
SIGNAL
SCENARIOS
Click Back to switch to the "Signals module entry window in edit signal scenario mode" (see fig. 192,
page 310). To exit the signal module entry window, you must switch to edit signal scenario mode.
To edit a controllers parameters:
1.
Click the
2.
In the display area, click signal scenario whose controller parameters you want to edit.
Click Configure to switch the "Signals module entry window in edit controller scenario mode"
(see fig. 193, page 312).
Switch to edit controller characteristics mode by clicking the controller name in the display area.
The current controller is framed by a blue border.
Update the current controllers parameters (see Controller parameters, page 306).
Click Add to validate the new parameters.
Click Back to switch the "Signals module entry window in edit controller scenario mode" (see
fig. 193, page 312).
Click Apply to apply your changes to the current signal scenario.
Click Quit to close the signal module entry window.
3.
4.
5.
6.
7.
8.
9.
311
button on the Module bar, page 18 to display the signal module entry window.
SIGNALS MODULE
You modify the current controllers parameters in the edit area. The parameters shown vary depending on
the type of controller.
S I G N A L
SCENARIOS
Display area
Edit area
Command area
Figure 193. Signals module entry window in edit controller scenario mode
312
CLASSIC PROGRAMING
Classic Programing
This section describes the programing of Classic controllers, edited directly using CubeDynasim.
In the case of a Classic controller:
The display area of the "Signals module entry window in edit controller scenario mode" (see fig. 193,
page 312) displays int the form of a time-line the states duration and sequences of the signals managed by the controller, actuations, and the list of signals which are not yet programed or assigned to a
controller.
The edit area displays the parameters of the current item selected in the display area.
The command area defines the exchange operations for the edit area to the display area.
Non-programed signal
programed signal
Controller name
Signal name
Figure 194. Programing display area
To finish any edition operation, click Back of the command area of the "Signals module entry window
in edit controller scenario mode" (see fig. 193, page 312).
Then to validate changes at the signal scenario level, click either Add or Apply of the command area
of the "Signals module entry window in edit signal scenario mode" (see fig. 192, page 310).
It includes the following topics:
313
SIGNALS MODULE
Current controller
(classic type)
C L A S S I C P R O G R A M I N G
DESCRIPTION
State
Minimum
Green
The minimum duration of the signals green state, in seconds. If an actuated signal operation
reduces the green duration below this minimum value, and if the signals Verification
parameter is enabled, the simulation engine issues an error message (see Consult the messages, page 414).
Yellow
Duration
The duration of the yellow state in seconds, exclusively for vehicle signals (two possible values: 3 or 5 seconds). The yellow duration must be constant. It must not be assigned by an
actuated signal operation. If the signals Verification parameter is enabled, and if the yellow
duration is modified during the simulation, the simulation engine issues an error message
(see Consult the messages, page 414).
Start of Green
Number of seconds between the start of the cycle and the signals change to the green (passing) state.
Green
Duration
314
CLASSIC PROGRAMING
Program a signal
1.
Click the
2.
In the display area, click signal scenario whose controller parameters you want to edit.
Click Configure to switch the "Signals module entry window in edit controller scenario mode"
(see fig. 193, page 312).
Switch to edit controller characteristics mode by clicking the controller name in the display area.
The current controller is framed by a blue border. Value of the field Type should be Classic.
If necessary, click on the + located after the name of the controller to switch to extended mode.
If necessary, adjust the display, shift + left click to zoom in or shift + right-click to zoom out.
Click the signal shown in the display area, in our example C4_2_R17_1.
3.
4.
5.
6.
7.
button on the Module bar, page 18 to display the signal module entry window.
Information area
Edit area
Command area
In the Edit area, set the field State to Programing value. Set the values of the other parameters.
Click Apply in the Command area to validate the parameters of the signal, and update the status of
the signal shown in the Display area.
10. Go to 7.) to edit another signal, otherwise click Back in the Command area to switch to "Signals
module entry window in edit controller scenario mode" (see fig. 193, page 312).
11. Click Apply in the Command area to validate the changes in the current signal scenario.
12. Click Quit in the Command area to close the module entry window.
8.
9.
Click the signal shown in the Display area, the line corresponding to the current signal is framed
in blue, and the Edit area switches to edit signal mode.
Click Delete in the Command area to delete the current signal programing.
Click Apply in the Command area to validate the parameters of the signal, and update the status of
the signal shown in the Display area.
Click Back in the Command area to switch to "Signals module entry window in edit controller
scenario mode" (see fig. 193, page 312).
Click Apply in the Command area to validate the changes in the current signal scenario.
Click Quit in the Command area to close the module entry window.
It is not possible to delete the signal programing if this signal is a base signal. You must first
delete the Operations that modify the diagram during a simulation, page 318 that depend on it.
315
SIGNALS MODULE
Display area
C L A S S I C P R O G R A M I N G
Import signal programing
It is possible to import from a text file the signal programing for a controller of type Classic. Each line of the
file defines the program of one signal. The line is defined as a sequence of nine fields separated by spaces.
1.
2.
3.
4.
5.
6.
7.
8.
9.
Signal Id (string)
Cycle duration in seconds (unsigned integer)
Start of green in seconds (unsigned integer)
Green duration in seconds (unsigned integer)
Yellow duration in seconds (unsigned integer)
0, unused in the current version
0, unused in the current version
0, unused in the current version
Minimum green duration in seconds (unsigned integer)
316
CLASSIC PROGRAMING
To import the signal programing:
1.
Click the
button on the Module bar, page 18 to display the signal module entry window.
In the display area, click signal scenario whose controller parameters you want to edit.
Click Configure to switch the "Signals module entry window in edit controller scenario mode"
(see fig. 193, page 312).
4. Switch to edit controller characteristics mode by clicking the controller name in the display area.
The current controller is framed by a blue border. Value of the field Type should be Classic.
5. Click Import in the Edit area to display the file selection window.
2.
3.
6.
SIGNALS MODULE
The new values are updated and showed in the Display area.
Click Back in the Command area to switch to "Signals module entry window in edit controller
scenario mode" (see fig. 193, page 312).
9. Click Apply in the Command area to validate the changes in the current signal scenario.
10. Click Quit in the Command area to close the module entry window.
7.
8.
317
C L A S S I C P R O G R A M I N G
318
CLASSIC PROGRAMING
Retraction
The retraction is an actuated signal operation used to reduce the duration of the cycle by removing variable
time ranges depending on the state of the detectors.
RETRACTION PARAMETERS
LABEL
Base signal
Start
Duration
Interval
time
Minimum time in seconds between the retraction and the next actuated signal operation for this
controller.
Offset
Time in seconds between the satisfaction of the condition established on the detectors, and the
application of the retraction.
Detectors
Subset of Detectors, page 295 associated with the Controllers, page 305. If none of the
detectors are active, the retraction is applied.
If a Shift, page 320 inserts green time in the base signal before the start of the corresponding retraction,
the retraction is always triggered at the same relative position at the beginning of the base signals green
phase. Furthermore, the number of retracted seconds is not increased by the number of seconds inserted. If a
shift inserts green time inside a retracted time range, the maximum retracted time remains constant. If a
Shift, page 320 inserts green time in the base signal after the end of the retracted time range, there is no
effect on the retraction.
You cannot define a retraction whereby the time range to retract overlaps two cycles. In this case, you
must translate the signal diagram to reposition the retracted time range as appropriate. This error is
not signaled, either when editing, or during the simulating of the model.
Phase retraction
The phase retraction is an actuated signal operation used to reduce the duration of the cycle by removing
fixed variable time ranges. The state of the detectors is tested once only in this case.
Base signal
Start
319
DESCRIPTION
One of the controllers signals, used as the base.
Expressed in relation to the start of the base signals green phase, in seconds. Defines the moment
when the controller starts to test the detectors. If the Offset value is null, it also represents the
start of the retracted time range.
SIGNALS MODULE
Minimum
DESCRIPTION
C L A S S I C P R O G R A M I N G
PHASE RETRACTION PARAMETERS
LABEL
DESCRIPTION
Duration
Expressed in seconds, defines the maximum duration of the retracted time range. Start and Start
+ Interval time determine the time range during which the detectors are tested
Minimum
Minimum time in seconds between the phase retraction and the next actuated signal operation for
this controller.
Offset
Time in seconds between the satisfaction of the condition established on the detectors, and the
application of the phase retraction.
Detectors
Subset of Detectors, page 295 associated with the Controllers, page 305. If none of the
detectors are active, the retraction is triggered at Start.
Shift
A shift is an actuated signal operation used to remove a time range and insert it elsewhere in the signal program. In this case, the cycles duration remains constant. It is applied to all or some of the controllers signals. It is used to model the line retraction and the adaptivity by line.
SHIFT PARAMETERS
LABEL
Base signal
Start
Duration
DESCRIPTION
One of the controllers signals, used as the base.
Expressed in relation to the start of the base signals green phase, in seconds. Defines the
moment when the controller starts to test the state of the detectors. If the Offset value is null
and the condition on the detectors is satisfied, it also represents the start of the retracted time
range.
Expressed in seconds, defines the maximum duration of the retracted time range. Start and
Start + Interval time determine the time range during which the detectors are tested
Add position
Expressed in seconds in relation to the beginning of the base signals red phase, position in the
cycle where the controller adds the removed time range.
Interval time
Minimum
Minimum time in seconds between the shift and the next actuated signal operation for this controller.
Offset
Time in seconds between the satisfaction of the condition established on the detectors, and the
application of the shift.
Signals
Detectors
Subset of signals at the crossroads which, in addition to the base signal, are affected by the
shift operation.
Subset of Detectors, page 295 associated with the Controllers, page 305. The shift is
triggered if none of the detectors are active.
For a shift, the retracted time range cannot overlap two cycles.
Relaxing point
The relaxing point is an actuated signal operation that consists in stopping the flow of the signal program
on a detector, usually a Presence detector, page 301 placed near the Stop line, page 202, or the
Pedestrian push-button, page 303. The relaxing point is applied to all the signals at the crossroads.
320
CLASSIC PROGRAMING
Base signal
Start
DESCRIPTION
One of the controllers signals, used as the base.
Expressed in relation to the start of the base signals green phase, in seconds. Defines the position of the relaxing point. Signals stay in this state as long as one of the detectors is not activated.
Interval time
Time in seconds between two detector status checks (corresponds to the systems reactivity).
Detectors
Subset of Detectors, page 295 associated with the Controllers, page 305. The relaxing
point is activated (i.e. the signal program is frozen) if none of the detectors are active.
Coordination points
Coordination points are used to synchronize the signals at different controllers in a signals scenario. You
position rendezvous points on the different controller diagrams. The execution of the signals program is
interrupted at the coordination point until all the controllers reach the same coordination point in their cycles.
LABEL
CP
Start
DESCRIPTION
Unique name of the coordination point.
Position of the coordination point, expressed in seconds since the start of the controllers
cycle.
A coordination point cannot be positioned in a time range removed by a Retraction, page 319, or by
a Shift, page 320. However, it can figure indiscriminately before or after a retracted time range, or
it can be inserted by a Shift, page 320.
321
SIGNALS MODULE
C L A S S I C P R O G R A M I N G
Click the
2.
In the display area, click signal scenario whose controller parameters you want to edit.
Click Configure to switch the "Signals module entry window in edit controller scenario mode"
(see fig. 193, page 312).
Switch to edit controller characteristics mode by clicking the controller name in the display area.
The current controller is framed by a blue border. Value of the field Type should be Classic.
If necessary, click on the + located after the name of the controller to switch to extended mode.
If necessary, adjust the display, shift + left click to zoom in or shift + right-click to zoom out.
In the "Programing display area" (see fig. 194, page 313), right-click the signal program you
want to link to an actuated signal operation, preferably the base signal.
Hold to display the actuated signal operations contextual menu.
Drag the mouse to the menu command corresponding to the actuated signal operation you want to
link to your program, then release.
3.
4.
5.
6.
7.
8.
9.
10.
button on the Module bar, page 18 to display the signal module entry window.
Adjust the actuated signal operations parameters displayed in the edit parameters area.
a
12.
322
Select the appropriate operation in the "Programing display area" (see fig. 194, page 313).
Click Delete.
You need to confirm your changes to the signal scenario. Click Back in the command area to go
back to the "Signals module entry window in edit signal scenario mode" (see fig. 192, page 310).
Click Apply in the command area.
Click Quit to close the window.
CLASSIC PROGRAMING
To edit an actuated signal operation:
1.
2.
3.
4.
5.
6.
Select the appropriate operation in the Programing display area, page 313.
Modify the parameter values in the edit parameters area.
Click Apply to apply these modifications.
You need to confirm your changes to the signal scenario. Click Back in the command area to go
back to the "Signals module entry window in edit signal scenario mode" (see fig. 192, page 310).
Click Apply in the command area.
Click Quit to close the window.
Information
area
Zone
dinformation
Graphic
representation
SIGNALS MODULE
Display area
Edit area
323
C L A S S I C P R O G R A M I N G
Information area
Graphic
representation
Display area
Edit area
Figure 197. Actuated signal operation edit window for a phase retraction
324
CLASSIC PROGRAMING
Information area
Display area
Edit area
Information area
Display area
Graphic
representation
Figure 199. Actuated signal operation edit window for a relaxing point
325
Edit area
SIGNALS MODULE
Graphic
representation
C L A S S I C P R O G R A M I N G
Information area
Display area
Edit area
Graphic
representation
Figure 200. Actuated signal operation edit window for a retraction for a coordination point
326
CLASSIC PROGRAMING
Example 1: Retraction and Phase retraction
The diagram comprises three retractions (marked var), and one phase retraction (marked esc). These operations depend on the state of the detectors specified on the diagram.
This diagrams operation is modeled using 3 Retraction, page 319, and 1 Phase retraction, page 319.
The table lists the parameter values of each programing. The Interval time of the phase retractions is set to 2
seconds; the green signal durations vary in 2-second increments ;
Retraction,
page 319
Phase retraction,
page 319
var
b1 OR b2
var
b3 OR b4
va
b5 OR b6
Base Signal
F1
F3
F5
Start
10
Start
Duration
12
Duration
14
Interval time
Minimum
Minimum
Offset
Offset
Detectors
b1, b2
b3, b4
b5, b6
F3
0
SIGNALS MODULE
Detectors
Base Signal
esc
b3 OR b4
b3, b4
esc b3 OR b4
C360
var b1 OR b2
var b3 OR b4
var b5 OR b6
F1
F2
F3
F4
F5
F6
P1a
P1b
P2a
P2b
P5
P6
10
0
327
12
10
7
22
5
29
6
34
3
40
5
43
6
48
4
54
7
58
5
65
70
C L A S S I C P R O G R A M I N G
Example 2 : Shifts
The table describes the possible parameter values for modeling the two shifts represented on the diagram.
Note the Add position parameter, set to 5 seconds for the first adaptivity (instead of 4 seconds). If the position where you add time coincides with a signals change of state, the time is added before the change of
state. Here, we want to add green time to signals F4 and P1b, hence the value of Add position.
LINE ADAPTIVITY
shift
b1 OR b2
shift
b3 OR b4
Base Signal
F2
F3
Start
10
Duration
12
Add position
Interval time
Minimum
Offset
F4, P1b, P6
b1, b2
b3, b4
Signals
Detectors
C362
shift b1 OR b2
shift b3 OR b4
F1
F2
F3
F4
F5
F6
P1a
P1b
P2a
P2b
P5
P6
10
0
328
12
10
7
22
5
29
6
34
3
40
5
43
6
48
4
54
7
58
5
65
70
CLASSIC PROGRAMING
Example 3 : Relaxing point
This table defines the parameters of a relaxing point as defined by the diagram.
RELAXING POINT
PR
bp
Base Signal
F1
Start
24
Interval time
Detectors
1
bp
bp
PR
C361
F1
P1
P2
6
329
18
6
24
12
30
18
42
60
SIGNALS MODULE
F2
C L A S S I C P R O G R A M I N G
Example 4 : Coordination points
This diagram defines the coordination point parameters used to model the coordination points and adaptivities see Coordination points and adaptivities no. 4, page 330). The signals are grouped inside two Controllers, page 305 named C1 and C2. In addition, the diagrams modeling requires you to define 3 retractions
(these will not be configured here).
C1
CP
Start
C2
CP
Start
0
CP0
63
CP0
36
0
var b1
c1
F1
var b2
var b3 OR
F2
F3
F4
p4
6
0
28
6
6
5
34 39
18
0
c2
F1
F2
25
0
330
5
6 4 5
25 30 36 40 45
5 6
63 68
9
83
CLASSIC PROGRAMING
Example 5 : Coordination points and retractions
This section describes how to model Coordination points and retractions no. 5, page 331. This involves a
signal program with 4 Controllers, page 305 - C0, C1, C2, C3. The controllers are coordinated by 4
Coordination points, page 321 - CP0, CP1, CP2, CP3. For each controller, you model the retractions (var
on the diagram) using Retraction, page 319.
CP
Start
CP0
CP3
45
Base Signal
Start
Duration
C0
Start
CP0
CP1
CP3
32
59
100
C1
Minimum
Offset
CP
Start
C2
CP1
CP2
CP3
41
51
var b3
Base Signal
F2
F3
Start
32
13
Duration
27
16
Interval time
Minimum
Offset
b2
b3
var b4 or b5
Base Signal
F4
Start
29
Duration
10
Interval time
Minimum
Offset
Detectors
331
b1
var b2
Detectors
1
19
b4 or b5
SIGNALS MODULE
CP
Interval time
Detectors
0
F1
C L A S S I C P R O G R A M I N G
COORDINATION POINTS AND RETRACTIONS NO. 5
Coordination points, page 321
CP
Start
CP0
CP2
CP3
48
54
C3
var b6
var b7
Base Signal
F6
F7
Start
10
Duration
14
16
Interval time
Minimum
Offset
b6
b7
Detectors
C363
var b1
F1
P1
2
19
12
1
var b2
var b3
F2
P3
F3
P2
32
27
16
13
2
var b4 OR b5
F4
F5
2
25
10
2
var b7
var b6
F6
F7
2
332
16
10
14
CLASSIC PROGRAMING
Example 6 : Retractions and adaptivities
This section defines how CubeDynasim is used to model "Diagram 6: Retractions, adaptivity, and priority
vehicles" (see fig. 201, page 333). This diagram is split into two phases for non-priority vehicles, and two
phases dedicated to priority vehicles, regulated by signals T11 and T12
PR
PR
Var Appel
TC 1 OR 2
Var Appel
TC 1 OR 2
Var Appel
TC 1 AND 2
Var Appel
TC 1 AND 2
F00, F03
F01, F04
F02, F05
F06, F08
F07
F09
F10
6
22
14
3 2 2
10
Phase 2
Phase 1
F00, F03
F01, F04
F02, F05
F06, F08
F07
F09
F10
T11, T12
20
333
SIGNALS MODULE
T11, T12
C L A S S I C P R O G R A M I N G
The actuated signal operations are determined by two Check-in/check-out with delay, page 296 (Acq_N
and Acq_S) and two Not check-in/check-out with delay, page 298 (AcqNo_N, AcqNo_S) corresponding
to each direction of the traffic. The detector entry markers are positioned upstream of the signal, while their
exit markers are located just after the stop lines. Signals T11 and T12 regulating the passage of priority vehicles have two green light time ranges corresponding to the priority granted at the end of the first and second
phases of non-priority vehicles. In accordance with the technique presented earlier (see Signals, page 290),
these signals are modeled by two signals, T11 and T11b, and T12 and T12b (see "Diagram 6: signals for
CubeDynasim", fig.203 p.334).
F00, F03
F01, F04
F02, F05
F06, F08
F07
F09
F10
T11, T12
T11B, T12B
3
28
3 2 2
20
10
parameters in diagram 6
Start
Durat
ion
T11 ou T12
11
11
Acq_N or Acq_S
T11b ou T12b
13
13
Acq_N or Acq_S
Base signal
Interval
time
Minimum
Offset
Condition
The two adaptivities applied to the phases dedicated to non-priority vehicles are modeled in CubeDynasim
using Retraction, page 319 based on the parameters in Table 5, "Adaptivity parameters in diagram 6",
page 334.
TABLE 5. Adaptivity
Base
signal
334
parameters in diagram 6
Start
Durat
ion
Interval
time
F00
22
FO6
14
Minimum
Offset
Condition
CLASSIC PROGRAMING
The parameters of the two Relaxing point, page 320 acknowledged when the priority vehicle crosses the
stop line are defined according to Table 6, "Relaxing point parameters in diagram 6", page 335.
TABLE 6. Relaxing
Base signal
Position
Interval time
Condition
T11 ou T11
Acq_N or Acq_S
T11b ou T12b
Acq_N or Acq_S
The simulation issues error messages associated with the changing of the T11, T12, T11b or T12b signals
from the green state to the red state on retraction of the phases dedicated to priority vehicles.
Files generated
Generate report, page 410 includes for each controller programed in classic mode the generation of:
a
b. a text file bringing together the actuated signal operations in the form of LaTex tables.
Dure
de ver
esc2
var3
C1
48"
8"
13"
10"
4
var3
53"
5
var3
48"
6
var3
48"
7
var3
48"
10"
9
1
0
4 1 5
9 13
19
12
36
31
4 1
67 71
Figure 204. Example of image file programing traffic line generated by CubeDynasim
335
4
81
5
85
90
SIGNALS MODULE
esc1
C L A S S I C P R O G R A M I N G
336
14
Socket programming
DynasimServer, page 338: defines the communication protocol between the simulation and the external user program.
The Socket library, page 345 is a C++ library that facilitates the quick implementation of programing the traffic lights.
You can directly connect a simulation to Utopia, page 399 which is a centralized traffic lights control
system developed by the company SWARCO Mizar. For more information, please refer to the manufacturer's documentation
337
SOCKET
PROGRAMMING
This chapter describes the three methods to switch states of the traffic lights during simulation from an external user program. The simulation passes the states of the detectors to the user program. In return, the external
user program sends back the updated status of the traffic lights applied by the simulator. Communication is
defined according to a same time stamp and a TCP/IP connection.
YNASIMSERVER
D
DynasimServer
CubeDynasim lets you establish two-way communication between a simulation and an external program.
The simulation sends the status of the detectors to the external program; this program determines the new
signal state of the signals and sends it to the simulation. Exchanges only concern detectors and signals associated with socket controllers (see Controller parameters, page 306). The frequency at which this data is
exchanged is defined by the controllers Inter-com duration.
In a client-server architecture, the external program works as a server, provided the simulation works like a
client. Thus, a single signal control program can drive different replications of a same simulation scenario. In
other words, it is not necessary to launch several times the same program while replicating a simulation scenario.
This section describes the communication between the simulation engine and an external program which calculates the state of the signals.
Launch server
void createDynasimServer (long nPort, void (*program) (Server_C))
338
DYNASIMSERVER
Generally speaking, the program function is like a never-ending loop that runs the operations:
request the simulation for the status of the detectors,
2. calculate the new state of the signals,
3. send this new state to the simulation.
1.
For Windows, the server program should only use automatic variables defined on the stack. In other
words, the code of the server must be reentrant.
void createDynasimServerAndExecuteOnce (long nPort, void (*programmation) (Server_C))
Same as createDynasimServer, after a first connection the server program will exit.
Receive information from the simulator
void DynasimServer_receive (Server_C server)
339
SOCKET
PROGRAMMING
YNASIMSERVER
D
Sample programming
Suppose you want to simulate a model with one signal C1_1_R11_1, and one detector C1_1_ADA_1. The
signal has a 30-second cycle. Beginning at time 0, the signal C1_1_R11_1 is green for 10 seconds, then yellow for 3 seconds. If a vehicle activates the detector on the 9th second, the signals stay in the same state.
After the vehicle deactivates the detector, the signal cycle continues, executing the remaining 21 seconds. It
mimics a relaxing point 9 seconds after the beginning of the cycle. The states are updated every second.
340
DYNASIMSERVER
Compiling the server program
The following files are required to compile the program:
SOCKET
PROGRAMMING
341
YNASIMSERVER
D
{controller index}: index of the controller programming the signal (unsigned integer).
{signal index}: index of the signal of the controller defined by the controller index (unsigned integer).
{type}: type of signal (R+2 characters), to be chosen among :
R11 : three-state signal green, yellow (constant duration 3), red (vehicles),
R12 : two-state signal green, red (pedestrians),
R13: dedicated to bus and two wheels,
R17 : three-state signal (tramway),
R25: to be edited in CubeDynasim with an R12,
RF3: four-state signal green, 3 seconds of flashing green (animated as fixed green), yellow and red.
{physical index}: is a numeric counter that designates the number of linked signals. It authorizes the creation of a set of signals that all have the same concatenation of states. In other words, it is used to position the same signal with different physical positions.
For example: C18_3_R11_1
Detectors
The name used by detectors adheres to the same naming convention principle as that used for signals, with
the following format:
342
DYNASIMSERVER
C{controller index}_{detector index}_{detector type}_{physical index}
where,
{controller index}: index of the controller which is connected to the detector (unsigned integer).
{detector index}: index of the detector (unsigned integer).
{type} detector type (3 characters), to be chosen among
ADA : detects the presence of a vehicle from the moment its front end "enters" the detector to the
moment its rear end "exits" the detector,
BLQ : accumulates the time a vehicle is present (same principle as the ADA). When the cumulated
time reaches 1 second, the detector is activated for 1 second and the cumulated time is reset to 0,
MAC : counts the number of passing vehicles. The count is incremented upon the detection of a passing vehicle. Querying the count resets it to is initial status (0),
MAD : counts the number of passing vehicles, like MAC, but does not reset the count upon querying.
Set to 0 at the start of the simulation,
BAV: detects the front of a passing vehicle. Equivalent to the amount detected by the front of an ADA
detector,
BAR : detects the rear of a passing vehicle. Equivalent to the amount detected by the rear of an ADA
detector,
343
SOCKET
PROGRAMMING
YNASIMSERVER
D
Click
6.
7.
8.
9.
10.
To define the parameters of the client of a traffic signal controller, you must select the type Socket and define
the parameters:
IP address of the computer hosting the server,
the associated communication port (start at 10000 to avoid conflicts with other hardware or software),
3. (simulated) time frequency in seconds between each data exchange.
1.
2.
Start the sever program on the computer whose IP address is defined in the signals scenario.
Simulate a replication, page 414.
344
THE SOCKET
LIBRARY
The Socket Library greatly facilitates the establishment and programming of traffic signals.
Before simulating, for each controller of type Classic, CubeDynasim will generate three sets of files in the
folder named Simul/<simulation scenario>/socket:
<id_controller>_enchainement.h: defines the duration and the sequence of the phases for the controller
named id_controller.
The simulation of a signal scenario of type Classic creates in the directory of the simulation scenario a folder
named socket including C++ files defining the programming of the signals and detectors in the Socket
library format:
file C{i}_enchainement.h defines the sequences of the partitions (phases and interphases).
Prerequisites
It is necessary to install the Code::Blocks that includes the C++ 32 bits compiler mingw32-g++ for Windows
(see http://www.codeblocks.org/downloads). You can change IDE, but you still need to use the compiler
mingw32-g++.
345
troller. A time range greater than 6 seconds during which none of the traffic lights changes state will be
considered as a phase. The other time ranges are interphases. The traffic light program must start with a
phase.
SOCKET
PROGRAMMING
capteur.h: contains the definition of all the detectors (in the socket format).
<id_controller>.h: contains the definition of phases and interphases for each controller named id_con-
T H E S O C K E T
LIBRARY
As a first step, we will create a C++ project and set the paths (include files, library simsocket) and the list of
libraries to be used by the project.
Launch CodeBlocks.
2. Create a new project of type Console application.
a File > New > Project
1.
Name of
the project
Folder of
the study
d. Click Next.
e. Select GNU GCC, then click Finish.
346
THE SOCKET
3.
LIBRARY
347
SOCKET
PROGRAMMING
b. Select tab Search directories, Compiler, then Add to add the path of the .h files of the libsocket.
T H E S O C K E T
LIBRARY
<installation folder of CubeDynasim>\socket\include\Architecture\Logistique\GertrudeReims\QSim\DynasimClient_Socket.
e.
4.
348
To avoid compilation warnings noticing signed and unsigned integer comparisons: click Compiler
settings, Other options. Add compiler option -Wno-sign-compare.
THE SOCKET
5.
6.
LIBRARY
Click OK.
Save project Maj+Ctrl+S.
Save the project as a CodeBlock template so that you can directly use those settings when starting a
new simsocket project.
File main.cc includes function main that initialize the server, and the function programming that defines the
traffic signal programming. The function named programming is called each time there is a connection to
the server.
Pattern of main.cc
// minimum list of files to include
#include "Server_DynasimClientSocket.h"
#include "Controler.h"
// avoid prefix name class
using namespace DynasimClientSocket;
void programming(Server_DynasimClientSocket *serveur){
// include files that defines the programming of 2 controllers, identified by C1 and C2
#include "C1.h"
#include "C2.h"
CI_ControlS::go(serveur);
}
int main(int argc, char* argv[]) {
Server_DynasimClientSocket serveur(10000, programming);
return 0;
}
349
SOCKET
PROGRAMMING
T H E S O C K E T
LIBRARY
The structure of the file defining the controller programming breaks down into:
1.
2.
3.
4.
5.
6.
Definition of the controller and the list of signals driven by the controller.
Definition of the phases defining the states of the signals driven by the controller.
Definition of the detectors that must match the detectors edited in the simulation model.
Definition of the detector conditions.
Definition of the regulation.
Definition of the phases duration and concatenation.
350
THE SOCKET
LIBRARY
as
Ph
1
te
In
e
as
h
rp
2
e
as
h
P
3
t
In
e
as
h
p
er
// Phase 1
Phase C1ph1("C1ph1", 1,
// signal
1 2 3
0., 1, 0, 0);
// Interphase Phase 2
Phase C1ph2("C1ph2", 2,
// signal
1 2 3
0., 0, 0, 0,
4., 0, 0, 1);
// Phase 3
Phase C1ph3("C1ph3", 1,
// signal
1 2 3
0., 0, 1, 1);
// Interphase Phase 4
Phase C1ph4("C1ph4", 2,
// signal
1 2 3
0., 0, 0, 1,
2., 0, 0, 0);
// ** Definition of the phases concatenations
C1ph1.push_backRegul( * new NextPhase( 70, C1ph2 ) ); // phase 1
-> interphase 2
C1ph2.push_backRegul( * new NextPhase( 5, C1ph3 ) ); // interphase 2 -> phase 3
C1ph3.push_backRegul( * new NextPhase( 38, C1ph4 ) ); // phase 3
-> interphase 4
C1ph4.push_backRegul( * new NextPhase( 7, C1ph1 ) ); // interphase 4 -> phase 1
351
// ** Definition phases **
SOCKET
PROGRAMMING
T H E S O C K E T
LIBRARY
Before simulating, for each controller of type Classic, CubeDynasim will generate three sets of files in
the folder named Simul/<simulation scenario>/socket:
1. capteur.h: contains the definition of all the detectors (in the socket format).
2. <id_contorller>.h: contains the definition of phases and the interphases for each controller named id_controller. A time range greater than 6 seconds during which none of the traffic lights changes state will be considered
as a phase. The other time ranges are interphases. The traffic light program must start with a phase.
3. <id_controller>_enchainement: defines the duration and the sequence of the phases for the controller named
id_controller.
352
THE SOCKET
LIBRARY
It is recommended that you create one file for each controller. In our example, the programming of controller
number 1 is stored in file named C1.h. To add a new file to the project, defining the programing of the controller:
From CodeBlocks menu bar, click File > New File...
2. Click C/C++ header, then Go
1.
4.
SOCKET
PROGRAMMING
3.
353
T H E S O C K E T
5.
354
LIBRARY
The file is created and added to the project. You now must define the programming of the controller 2, and dont forget to include it (#include C2.h) in the programming(...) function defined in
the file main.cc.
THE SOCKET
LIBRARY
2.
If necessary, fix the compilation errors displayed in red in the window Build messages, and go
back to step 1.
SOCKET
PROGRAMMING
In our example, Phase is not defined, we have to include its definition file. Also, we have to
include the definition file of NextPhase.
3. When the compilation is error free, the server will start automatically. If the Windows Firewall
blocks the execution of the program, allow access to the network.
4. Start the simulation, i.e. the client (see Simulation in client mode, page 344).
5. The traffic signals, the detectors, and the possible errors are listed in the console window.
In our case, signal C1_5_R11_1 is defined in the simulation model, but it is unknown to the server
side. We must add it to the list of traffic lights handled by the controller, and define its state for
each phase (in file C1.h).
6. We can check the signals states during simulation, displayed in the animation view named C1.
Traffic light C1_5_R11_1 is not programmed, it remains red during the entire simulation.
355
T H E S O C K E T
LIBRARY
You can run the server directly without using CodeBlock if programming has not been modified (in
this case the server program does not need to be compiled/built). The title of the console gives the
location and the name of the server to be executed.
Managing scenarios
It is often necessary to test the signal timing plan on different geometrical configurations (network scenario)
and with different demand hypothesis (flow scenario). In these cases, the best practice is to design a project
per scenario. Each project must have its communication port number exclusively assigned.
In cases where the geometry of the junction remains the same while the demand varies (e.g. simulating peak
hours in the morning and in the evening), only the phase durations vary from one scenario to another (i.e. the
definition of the detectors, of the controllers and the signal timing plan remain the same). You should use
constant variables defining the durations of the phases. Files C1_control.h (defining the signals managed by
the controller 1), C1_detector.h (definition of the detectors), C1_prog.h (program depending on the phase
durations) are shared by different scenarios while file C1.h is specific to each scenario.
356
THE SOCKET
LIBRARY
357
SOCKET
PROGRAMMING
T H E S O C K E T
LIBRARY
Number of
seconds
since the
beginning
of the
simulation
Current
Phase
Phase
duration
in
seconds
New
phase
358
THE SOCKET
LIBRARY
The log file is saved in the folder where the program server is executed (see the title of the console window).
It is named following the pattern LOGPROGFEU_<PID>, where PID is the process id of the program calculating the states of the traffic lights. Thus, each simulation has its own log file.
To generate a log file, you must define an environment variable named LOGPROGFEU. With CodeBlocks,
you should create a new environment defining the variable LOGPROGFEU. You can then simply switch
environments indicating whether a log file will be generated or not.
SOCKET
PROGRAMMING
359
T H E S O C K E T
LIBRARY
360
1.
2.
3.
Click Create to define a new environment name. For example, trace_socket then click OK.
4.
5.
THE SOCKET
6.
LIBRARY
SOCKET
PROGRAMMING
361
T H E S O C K E T
LIBRARY
It is possible to add LOGPROGFEU (and its value) to the system environment or to the user environment,
which is recommended. In this case, the log file is generated for any executed server program. For example
on Windows 10:
362
1.
2.
3.
4.
THE SOCKET
6.
7.
SOCKET
PROGRAMMING
5.
LIBRARY
The log files are never deleted by CubeDynasim. The user must delete the log files using Windows
Explorer.
363
T H E S O C K E T
LIBRARY
364
THE SOCKET
LIBRARY
Some basics in the C++ language which are sufficient to program the socket library:
a
number and this in order to distinguish it from an integer (example 0. is necessarily a real)
e. a comment starts with //, and extend to the end of the physical line. A comment is not taken into
account by the compiler. The comment is there to help the reader understand the code.
Controler
To define an ordered set of traffic signal. The last created controller is the current controller. All the phase
definition and programming operations apply to this current controller.
Include file: Architecture/Feux/Programmateur_DynasimClientSocket/Controler.h
Constructor
Parameters:
The number of parameters of the constructor must be equal to the parameter number of signals
managed by the controller +2.
If the number of signals (second parameter) is less than the number of signals listed (third
parameter), for example:
Controler C1("C1", 1, "C1_1_R11_1", "C1_2_R11_1");
Only the first signal will be managed by the controller. The second signal in the list, C1_2_R11_1 is
not programmed. There will be no error message.
If the number of signals (second parameter) is greater than the number of signals listed (third
parameter), for example:
Controler C1("C1", 3, "C1_1_R11_1", "C1_2_R11_1");
All the listed signals are managed by the controller. However, a message should be displayed in the
console. You must fix the error, it can cause erratic behavior of the server.
Set an offset
oprateur +=(unsigned dms).
Parameter:
365
SOCKET
PROGRAMMING
T H E S O C K E T
LIBRARY
The offset is necessarily less than or equal to the duration of the first phase of the controller.
Set the cycle duration of the controller
It is necessary to define the duration of the cycle if you want to maintain a constant cycle duration despite the
actuation. For example, it is necessary to keep a constant cycle time when defining a coordination among
multiple controllers. This method is to be used in conjunction with the method seTcycleRegulSouple of
class NextPhase.
Method: seTcycleReguleSouple(unsigned dcs).
Parameter:
Phase
A phase is defined such as an interval of time during which all the managed signals remain in the same
states. Contrarily, an interphase is the range of time between two phases where some of the signals change
state depending on the security and offset of the crossroads. The phase and interphase are modeled with
objects of type Phase. A new Phase is automatically added to the current controller (last controller created).
A Phase object includes a list of regulation objects (type CIV_Regul) that determine the sequence of the
phases.
Include file: Architecture/Feux/Programmateur_DynasimClientSocket/Phase.h
Phase implements interface CIV_PhForRegul.
366
THE SOCKET
LIBRARY
Constructor
Parameter:
ID phase, used by the log file (name of the phase defined by C{i}ph{j}, with i the controller number and j
phase number of the signal diagram): string
the number of instances which at least one signal changes its state: strictly positive integer (>0)
list of instances which at least one signal changes its state:
number of seconds from the beginning of the phase to apply the new State: positive real number
states of signals following the order of the list of signals of the controller. The number of signals
driven by the controller determines the number of states to define at each change of state: 0 blocking,
1 passing
Code example: declare an interphase including 2 changes of States
A phase contains an ordered list of regulation objects (implementing interface named CIV_Regul). For
example, it can be used to define a sequence of phases after a fixed time period. In this case, at each iteration
it traverses the list of the active phase up to one of the regulation triggers. Therefore, the order of the regulations is often important. You can add regulations in head and tail of the phase list.
Method: push_backRegul(CIV_Regul ®ulation).
Add a regulation at the end of the regulation list of the phase
Parameter:
regulation object to be added at the end of the list: reference on a regulation object (CIV_Regul)
Method: push_frontRegul(CIV_Regul ®ulation).
Add a regulation at the begin of the regulation list of the phase
Parameter:
regulation object to be added at the beginning of the list: reference on a regulation object (CIV_Regul)
Code example: add a regulation (link to another phase)
C1ph1.push_backRegul( * new NextPhase( 70, C1ph2 ) ); // phase 1
-> interphase 2
Capteur
The state of a detector sent by the simulator is retrieved on the server side using objects of type Capteur. The
Socket Library has several types of objects to combine Detectors, page 342 in order to easily express
complex conditions.
367
SOCKET
PROGRAMMING
....
// include Phase definition file
#include "Phase.h"
...
Phase C1ph4("C1ph4",// phase ID same as the object
2,
// two instances of signal state change
0., 0, 0, // start of phase, both signals are blocking
2., 0, 1 // after 2 seconds, signal 2 changes state to passing
);
// end of the list of parameters of the constructor
....
T H E S O C K E T
LIBRARY
QsOu_RegExpCapteur
Defines a logical operator OR between a set of objects of type CIV_QsRegExpCapteur.
QsOu_RegExpCapteur implements interface CIV_QsRegExpCapteur.
Include file: Architecture/Feux/RegExpCapteur/QSim/QsOu_RegExpCapteur.h
Constructor
You can use two different constructors differentiated by their parameters.
Parameter Constructor 1: to be used with the method add (see below)
368
THE SOCKET
LIBRARY
QsEt_RegExpCapteur
Defines a logical operator AND between a set of objects of type CIV_QsRegExpCapteur.
Constructor
You can use two different constructors differentiated by their parameters.
Parameter Constructor 1: to be used with the method add (see below)
369
SOCKET
PROGRAMMING
T H E S O C K E T
LIBRARY
QsXor_RegExpCapteur
Defines a logical operator EXCLUSIVE OR between a set of objects of type CIV_QsRegExpCapteur.
QsXor_RegExpCapteur implements interface CIV_QsRegExpCapteur.
Include file: Architecture/Feux/RegExpCapteur/QSim/QsXor_RegExpCapteur.h
Constructor
Parameters:
QsNo_RegExpCapteur
Defines a logical operator NOT, applied on an object of type CIV_QsRegExpCapteur.
QsNo_RegExpCapteur implements interface CIV_QsRegExpCapteur.
Include file: Architecture/Feux/RegExpCapteur/QSim/QsNo_RegExpCapteur.h
370
THE SOCKET
LIBRARY
Constructor
Parameters:
It mimics a check-in/check-out detector depending on the states of two detectors of type MAD edited with
CubeDynasim. Return true if there is at least one vehicle between the two MAD detectors.
QsNo_RegExpCapteur implements interface CIV_QsRegExpCapteur.
Include file: Architecture/Feux/RegExpCapteur/QSim/QsAcquitte_RegExpCapteur.h
Constructor
Parameters:
QsDAGeLt_RegExpCapteur
The detector returns 0 if the approach time doesnt belong to the time interval [min; max), otherwise 1. The
values min and max are parameters of the detector (Ge for greater or equal min, and Lt for less than max).
371
SOCKET
PROGRAMMING
QsAcquitte_RegExpCapteur
T H E S O C K E T
LIBRARY
APPROACH TIME: the time required for a priority vehicle to reach a crossroads (more specifically the
stop line). It is calculated by positioning a detector of type MAT upstream the intersection at a
distance that depends on the desired journey time.
If a MAT detector positioned at 30 seconds of the stop line, the approach time is defined by 30 - status
of the MAT detector. Its value is effective when it greater than a threshold (such as -6 seconds). For a
less value we will consider that the priority vehicle already left the junction, or is blocked upstream the
stop line. You should add a check-in/check-out detector to ensure the presence of the vehicle.
QsDAGeLt_RegExpCapteur implements interface CIV_QsRegExpCapteur.
Include file: Architecture/Feux/RegExpCapteur/QSim/QsDAGeLt_RegExpCapteur.h
Constructor
Parameters:
QsDALt_RegExpCapteur
Compares two approach time, returns 1 if the first approach time is less than the second approach time (Lt
for less than).
QsDALt_RegExpCapteur implements interface CIV_QsRegExpCapteur.
Include file: Architecture/Feux/RegExpCapteur/QSim/QsDALt_RegExpCapteur.h
Constructor
Parameters:
372
THE SOCKET
LIBRARY
QsDALe_RegExpCapteur
Compares two approach time, returns 1 if the first approach time is less than or equal to the second approach
time (Le for less than or equal).
QsDALe_RegExpCapteur implements interface CIV_QsRegExpCapteur.
Parameters:
QsAttGEattMax_RegExpCapteur
Returns 0 if the duration of the blocking state of a signal is greater than or equal to a threshold time.
QsAttGEattMax_RegExpCapteur implements interface CIV_QsRegExpCapteur.
Include file: Architecture/Feux/RegExpCapteur/QSim/QsAttGEattMax_RegExpCapteur.h
373
Constructor
SOCKET
PROGRAMMING
T H E S O C K E T
LIBRARY
Constructor
Parameters:
QsDaMax
Returns the maximum duration between a constant time (in seconds) and two approach times. The QsDaMax
can only be used as a parameter of a QsAttGEattMax_RegExpCapteur, page 373. The user can enhance
the socket library to define a new class that implements the interface CIV_QsRegExpCapteur and returns the
value of the QsDaMax test.
Include file: Architecture/Feux/RegExpCapteur/QSim/QsDaMax.h
Constructor
Parameters:
374
THE SOCKET
LIBRARY
Code example: compare the duration of a blocking state of signal and the maximum of two approach
times
#include "Controler.h"
#include "QssAttGEattMax_RegExpCapteur.h"
#include "Capteur.h"
...
Controler C1("C1", 2, "C1_1_R11_1", "C1_2_R11_1");
...
Capteur C1_1("C1_1_MAT_1");
Capteur C1_2("C1_2_MAT_1");
...
// 0 if signal C1_1_R11_1 is blocking (yellow + red) since at least 10 sec increased from
// the maximum of 15 sec: approach time of C1_1_MAT-20s: approach time C1_2_MAT-50s
QsDaMax daMax ( "daMax", C1_1, 20, C1_2, 50, 15);
QsAttGEattMax_RegExpCapteur C1_1rGE36 ("C1_1rGE36", C1, 1, 70, & daMax);
...
To set the duration of a phase and the phase sequence, you must use object of type NextPhase. It is added at
the regulation list of the Phase using one of the two methods push_backRegul or push_frontRegul of the
phase object.
Two constructors can be used to create an object of type NextPhase depending on wether you want to set
constant duration, or define a sequence with an extension of phase duration conditionned by the status of a
detector (object implementing the interface CIV_QsRegExpCapteur). In addition, the NextPhase class
includes a method to simulate a junction coordination.
NextPhase implements interface CIV_Regul.
Include file: Architecture/Feux/Programmateur_DynasimClientSocket/NextPhase.h
Constructor
Constructor with constant phase duration
375
SOCKET
PROGRAMMING
NextPhase
T H E S O C K E T
LIBRARY
376
THE SOCKET
LIBRARY
Junction coordination
You can define a condition to offset a phase in relation to a local time base by calling the method reguleSouple of a NextPhase object. This feature requires a prior definition of the cycle duration of the controller (see
Set the cycle duration of the controller, page 366) because the local time base is calculated as the remainder
after division of the time since the beginning of the simulation and the cycle duration
Method: reguleSouple(double mini, double topCoordination).
Parameter:
NextPhaseAtTime
Define a sequence of phase depending on the simulation time using objects of type NextPhaseAtTime. The
object must be added to the list of the regulation of the Phase (actually of the inter-phase).
The constructor defines the phase duration ans the next phase at the beginning of the simulation. The method
add allows to add sequences of phase depending on the time elapsed since the beginning of the simulation.
The phase duration remains constant during the simulation.
NextPhaseAtTime implements interface CIV_Regul.
Include file: Architecture/Feux/Programmateur_DynasimClientSocket/NextPhaseAtTime.h
377
// readjust the end of the phase at marker 113 sec, with a minimum phase duration of 6 sec
C1_50ph4.reguleSouple(6,113);
...
// phase 3 switches to phase 4 if:
//
duration of phase 3 is 50 sec
// or the instant from the start of the simulation modulo 120s (cycle duration) equals 113sec
//
and phase 3 duration exceeds 6 sec
C1ph3.push_backRegul( C1_50ph4 );
...
SOCKET
PROGRAMMING
T H E S O C K E T
LIBRARY
Constructor
Constructor with constant phase duration
378
THE SOCKET
LIBRARY
Code example: phase sequence depending on the time elapsed since the beginning of the simulation
#include "Controler.h"
#include "Phase.h"
#include "NextPhase.h"
#include "NextPhaseAtTime.h"
...
Controler C1("C1", 2, "C1_1_R11_1", "C1_4_R12_1");
// Phases from 8:00 until ...
Phase C1_0800_ph1("C1_0800_ph1", 1, 0.,1,0);
Phase C1_0800_ph2("C1_0800_ph2", 1, 0., 0,1);
// Phases from 8:30 until ...
Phase C1_0830_ph1("C1_0830_ph1", 1, 0.,1,0);
Phase C1_0830_ph2("C1_0830_ph2", 1, 0., 0,1);
PointRepos
Object of type PointRepos allows to simulate a relaxing point applied to a phase (see Relaxing point,
page 320). Relaxing point will freeze the sequence of the controller while its detector returns non zero values. In other words, the relaxing point is released when its detector returns a 0.
PointRepos implements interface CIV_Regul.
Include file: Architecture/Feux/Programmateur_DynasimClientSocket/PointRepos.h
379
SOCKET
PROGRAMMING
// Interphases
Phase C1_i12("C1_i12", 1, 0., 0,0);
Phase C1_i21("C1_i21", 1, 0., 0,0);
...
// phase sequence definition
NextPhase C1_next__0800_ph1( 10, C1_i12);
NextPhase C1_next__0800_ph2( 41, C1_i21);
T H E S O C K E T
LIBRARY
Constructor
Parameters:
Adaptativ
Object of type Adaptativ allows to simulate a Retraction, page 319 applied to a phase. It defines a
variable time range applied as long as its detector returns 1. In other words, let [t1;t2) define the time range.
If the current time t is in this time range and the detector returns 0, t will be reassigned to t2.
Adaptativ implements interface CIV_Regul.
Include file: Architecture/Feux/Programmateur_DynasimClientSocket/Adaptativ.h
380
THE SOCKET
LIBRARY
Constructor
Parameters:
EscamotLigne
Object of type EscamotLigne allows to simulate a Shift, page 320 to a phase. The purpose is to remove
time from a signal group and assign it to another signal group. In this case the cycle duration is not modified.
The actuation depends on the state of a detector (object of a type implementing CIV_QsRegExpCapteur). If
381
SOCKET
PROGRAMMING
...
#include "Capteur.h"
#include "QsAcquitte_RegExpCapteur.h"
...
#include "Controler.h"
#include "Phase.h"
#include "Adaptativ.h"
...
// 0 if no vehicle in between C1_1_ADA_1 and CA_2_ADA_1
Capteur C1_1("C1_1_ADA_1");
Capteur C1_2("C1_2_ADA_1");
QsAcquitte_RegExpCapteur C1_1ac2 ("C1_1ac2", C1_1, C1_2);
...
Controler C1("C1", 3, "C1_1_R11_1", "C1_2_R11_1", "C1_3_R11_1");
...
Phase C1_ph1("C1_ph1", 1, 0., 1,0,0);
Phase C1_ph2("C1_ph2", 2, 0., 0,0,0, 4., 0,0,1);
Phase C1_ph3("C1_ph3", 1, 0., 0,1,1);
Phase C1_ph4("C1_ph4", 2, 0., 0,0,1, 2., 0,0,0);
...
// retraction if there is no vehicle and 6<= t <20
Adaptativ C1_esc6_20_1ac2("C1_esc6_20_1ac2",6, 20, C1_1ac2 );
T H E S O C K E T
LIBRARY
the moment in the cycle within the time interval and the status of the detector is 0, then the shift is applied to
the subset of signals. For this type of actuation, we need to define two subsets of signals: the subset of signal
for which we will retrieve green duration time, and a subset of signal to which we will add this same time
duration. We will use operators -= ans += of the class EscamotLigne respectively.
EscamotLigne implements interface CIV_Regul.
Include file: Architecture/Feux/Programmateur_DynasimClientSocket/EscamotLigne.h
Constructor
Parameters:
382
THE SOCKET
LIBRARY
383
// shift: C1_1 (signal n1 in the controller list) belongs to the subset which time is shifted
C1_gli06_20_1ac2 +=1;
// shift: C1_3 (signal n3 in the controller list) belongs to the subset of retracted signals
C1_gli06_20_1ac2 -=3;
SOCKET
PROGRAMMING
...
#include "Capteur.h"
#include "QsAcquitte_RegExpCapteur.h"
...
#include "Controler.h"
#include "Phase.h"
#include "EscamotLigne.h"
...
// 0 if there is no vehicle in between C1_1_ADA_1 and CA_2_ADA_1
Capteur C1_1("C1_1_ADA_1");
Capteur C1_2("C1_2_ADA_1");
QsAcquitte_RegExpCapteur C1_1ac2 ("C1_1ac2", C1_1, C1_2);
...
Controler C1("C1", 3, "C1_1_R11_1", "C1_2_R11_1", "C1_3_R11_1");
...
Phase C1_ph1("C1_ph1", 1, 0., 1,0,0);
Phase C1_ph2("C1_ph2", 2, 0., 0,0,0, 4., 0,0,1);
Phase C1_ph3("C1_ph3", 1, 0., 0,1,1);
Phase C1_ph4("C1_ph4", 2, 0., 0,0,1, 2., 0,0,0);
...
// shift if there is no vehicle AND 6<= t <20
EscamotLigne C1_gli06_20_1ac2("C1 glis 3 -> 1",6, 20, C1_1ac2 );
T H E S O C K E T
LIBRARY
Switch
The Aiguillage class is used to come out of the current phase and enter another phase that differs from the
normal phase sequence (see NextPhase, page 375). The switch is defined on a time interval [t1;t2) of the
phase by a list of pair:
detector (CIV_QsRegExpCapteur)
b. phase (CIV_PhForRegul).
a
The current phase is active between t1 and t2 as long as the status of all the detectors of the list is 1. Once the
detector(s) in the list changes its status to 0, the current phase will switch to the new phase paired with the
first detector with the altered status.
Aiguillage implements interface CIV_Regul.
Include file: Architecture/Feux/Programmateur_DynasimClientSocket/Aiguillage.h
Constructor
Parameters:
the number of switch (of elements in the list of pair): unsigned integer
List of pair {detector, phase} ordered by priority, defined as:
detector object (precede the name with character &): pointer to CIV_QsRegExpCapteur
phase object, write static_cast<CIV_PhForRegul*>(&name): pointer to CIV_PhForRegul
384
THE SOCKET
LIBRARY
C1_ph1.push_backRegul( C1_switchPh1 );
C1_ph1.push_backRegul( *new NextPhase(70, C1_ph2) );
...
ChgeEtat
In a given phase, the ChgeEtat class is used to modify according to a detector condition - the state of signals depending. The states to be modified only apply on a time range of the phase. The modification of the
signals status applies when the detector status returns 0.
ChgeEtat implements interface CIV_Regul.
Include file: Architecture/Feux/Programmateur_DynasimClientSocket/ChgeEtat.h
Constructor
Parameters:
385
SOCKET
PROGRAMMING
T H E S O C K E T
LIBRARY
Thus, the same signal may appear several times in the list of state changes.
Method: add(int nSignal, char state, double delay).
Parameters:
signal position from the list of signals managed by the controller: integer positive
new signal status: 0 blocking, or 1 passing
time delay in second after the detectors activation: real positive
Code example: using ChgeEtat
/*
A phase C1_phTram1 is specific for trams to pass through the intersection
Phase is defined with signals SAC and R17 on red. This phase is activated by the actuation
switch triggered by detector C1_callTi placed at 8s of the stop line. We must open the signals controlling the trams in direction 1 and/or direction 2 depending on the detectors
C1_callT1 and/or C1_callT2.
*/
....
// Include definition file of change status
#include "ChgeEtat.h"
...
ChgeEtat C1_openT1("C1open Tram direction 1", 0, 30, C1_callT1);
C1_openT1
.add(6,1, 4) ->add(6,0, 7)
// SAC_6 open between 4 to 7 after triggered by C1_callT1
->add(3,1, 7) ->add(3,0,19) // R17_3 open between 7 19 after triggered by C1_callT1
->add(6,1,16) ->add(6,0,19); // SAC_6 opens again 3 before shutting down R17_3
C1_phTram1.push_backRegul( C1_openT1 );
....
PC
The PC class defines Coordination points, page 321 among several controllers (Controler). We have to
add the coordination point to all the concerned controllers.
Include file: Architecture/Feux/Programmateur_DynasimClientSocket/PC.h
Constructor
Parameters:
386
THE SOCKET
LIBRARY
...
// --- file main.cc preview
#include "PC.h"
...
// --- file C1.h preview
...
PC _Pc("PC", 2); // includes 2 controllers
...
_Pc.push_front(C1_ph1, 12); // coordination point defined on phase 1 of controller 1
...
// --- file C2.h preview
...
_Pc.push_back(C2_ph3, 23); // coordination point defined on phase 3 of controller 2
...
387
SOCKET
PROGRAMMING
T H E S O C K E T
LIBRARY
There are three detectors by tram direction edited in CubeDynasim (the first in West -> East direction, the
second in the opposite direction), namely:
388
THE SOCKET
2
11
12
LIBRARY
Signal R11
Signal R17
Signal R12
Signal R25
89
13
7
15
14
4
56
Figure 206. Geometry of the junction, position and names of the signals
i.e. 30 seconds.
Phase 1 will therefore be retracted if the PT approach time is 30 seconds between seconds 9 and 42 (duration
of phase 1).
389
SOCKET
PROGRAMMING
Programming
T H E S O C K E T
LIBRARY
Dynamically opens
signals managing PT
phase 1
inter 1-2
phase 2
inter 2-1
390
THE SOCKET
LIBRARY
Main program
File main.cc
#include "Server_DynasimClientSocket.h"
#include "Controler.h"
#include "Phase.h"
#include "NextPhase.h"
#include "Adaptativ.h"
#include "ChgeEtat.h"
#include "Capteur.h"
#include "QsDAGeLt_RegExpCapteur.h"
#include "QsOu_RegExpCapteur.h"
#include "QsEt_RegExpCapteur.h"
#include "QsNo_RegExpCapteur.h"
using namespace DynasimClientSocket;
void programming(Server_DynasimClientSocket *server){
391
CI_ControlS::go(server);
}
SOCKET
PROGRAMMING
T H E S O C K E T
LIBRARY
File C1_control.h
Controler C1("C1",16
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
/*
1*/ ,"C1_1_R11_1"
2*/ ,"C1_2_R11_1"
3*/ ,"C1_3_R11_1"
4*/ ,"C1_4_R17_1"
5*/ ,"C1_5_SAC_1"
6*/ ,"C1_6_SAC_1"
7*/ ,"C1_7_R17_1"
8*/ ,"C1_8_SAC_1"
9*/ ,"C1_9_SAC_1"
10*/ ,"C1_11_R12_1"
11*/ ,"C1_12_R12_1"
12*/ ,"C1_13_R12_1"
13*/ ,"C1_14_R25_1"
14*/ ,"C1_15_R25_1"
15*/ ,"C1_16_R12_1"
16*/ ,"C1_17_R12_1");
Phase C1ph1("C1ph1", 1,
//
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0.00, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0);
Phase C1ph2("C1ph2", 5,
//
1 2 3 4 5 6
0.00, 1, 1, 0, 0, 0, 0,
2.00, 0, 0, 0, 0, 0, 0,
5.00, 0, 0, 0, 0, 0, 0,
6.00, 0, 0, 0, 0, 0, 0,
7.00, 0, 0, 1, 0, 0, 0,
7
0,
0,
0,
0,
0,
8
0,
0,
0,
0,
0,
9 10 11 12 13 14 15 16
0, 0, 0, 1, 1, 1, 0, 0,
0, 0, 0, 0, 1, 1, 0, 0,
0, 0, 0, 0, 1, 1, 0, 0,
0, 1, 1, 0, 1, 1, 0, 0,
0, 1, 1, 0, 1, 1, 0, 0);
Phase C1ph3("C1ph3", 1,
//
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
0.00, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 1, 1);
Phase C1ph4("C1ph4", 5,
//
1 2 3 4 5 6
0.00, 0, 0, 1, 0, 0, 0,
1.00, 0, 0, 0, 0, 0, 0,
2.00, 0, 0, 0, 0, 0, 0,
4.00, 0, 0, 0, 0, 0, 0,
5.00, 0, 0, 0, 0, 0, 0,
392
7
0,
0,
0,
0,
0,
8
0,
0,
0,
0,
0,
9 10 11 12 13 14 15
0, 0, 0, 0, 1, 1, 1,
0, 0, 0, 0, 1, 1, 1,
0, 0, 0, 0, 1, 1, 0,
0, 0, 0, 0, 1, 1, 0,
0, 0, 0, 1, 1, 1, 0,
16
1,
1,
0,
0,
0);
THE SOCKET
LIBRARY
File C1_capteur.h
Capteur C1_B10("C1_10_MAT_1");
Capteur C1_B13("C1_13_ADA_1");
Capteur C1_B14("C1_14_BAV_1");
Capteur C1_B15("C1_15_MAT_1");
Capteur C1_B20("C1_20_MAT_1");
Capteur C1_B21("C1_21_MAT_1");
Capteur C1_B11("C1_11_MAT_1");
Capteur C1_B23("C1_23_ADA_1");
Capteur C1_B24("C124_BAV_1");
Capteur C1_B25("C1_25_MAT_1");
Capteur C1_B12("C1_12_MAT_1");
Capteur C1_B22("C1_22_MAT_1");
393
#include "C1_control.h"
#include "C1_capteur.h"
SOCKET
PROGRAMMING
T H E S O C K E T
LIBRARY
C1.h (continued)
/*
Highest reactivity constant: 1-2 + min(S2) + 2-1 + S1->T
=9 +
6 + 7+
8 =30s
Insert phase PT in phase P1 compatible at second 8
Detection
Detectors at further distance:
35s (10_MAT) at west
36s (20_MAT) at east
At is for approach time
The detector C1o_ApL returns 0 if At <= 30s -> class QsDAGeLt... B10
The detector C1e_ApL returns 0 if At <= 30s -> class QsDAGeLt... B20
Detectors C1o_pec1 and C1e_pec1 return 1 if At initialized -> class QsNo...
Retiming detectors for the At
17s (11_MAT) west
18s (21_MAT) east
Retiming detectors for the At
9s (12_MAT) west
10s (22_MAT) east
*/
QsDAGeLt_RegExpCapteur C1o_ApL("C1o_ApL", C1_B10, C1_dtB10, 0, C1_dtB10+1);
QsDAGeLt_RegExpCapteur C1e_ApL("C1e_ApL", C1_B20, C1_dtB20, 0, C1_dtB20+1);
QsNo_RegExpCapteur C1o_pec1("C1o_pec1", C1o_ApL);
QsNo_RegExpCapteur C1e_pec1("C1e_pec1", C1e_ApL);
QsDAGeLt_RegExpCapteur C1o_Rec1("C1o_Rec", C1_B11, C1_dtB11, 0, C1_dtB11+1);
QsDAGeLt_RegExpCapteur C1e_Rec1("C1e_Rec", C1_B21, C1_dtB21, 0, C1_dtB21+1);
QsNo_RegExpCapteur C1o_pec2("C1o_pec2", C1o_Rec1);
QsNo_RegExpCapteur C1e_pec2("C1e_pec2", C1e_Rec1);
QsDAGeLt_RegExpCapteur C1o_Rec2( "C1o_Rec", C1_B12, C1_dtB12, 0, C1_dtB12+1);
QsDAGeLt_RegExpCapteur C1e_Rec2( "C1e_Rec", C1_B22, C1_dtB22, 0, C1_dtB22+1);
QsNo_RegExpCapteur C1o_pec3("C1o_pec2", C1o_Rec2);
QsNo_RegExpCapteur C1e_pec3("C1e_pec2", C1e_Rec2);
// PT is taken into account and retimed (per direction)
QsOu_RegExpCapteur C1o_pec("C1o_pec");
C1o_pec.add(C1o_pec1) ->add(C1o_pec2) ->add(C1o_pec3);
QsOu_RegExpCapteur C1e_pec("C1e_pec");
C1e_pec.add(C1e_pec1) ->add(C1e_pec2) ->add(C1e_pec3);
394
THE SOCKET
LIBRARY
C1.h (continued)
/*
Ultimate position for the insertion of the PT: end of phase 1
At initialized 42s - 33s (min At) = 9s
retraction of phase1 between 9s and 42s if At=30 -> 9s - 42s in phase C1ph1
retraction of phase2 between 57s and 73s if At=15 -> 6s - 22s in phase C1ph3
t : 9 -retract- 42 -interphase- 51 -min green- 57 -retract- 73 -interphase- 80/0 -min green- 8
At: 30
30
21
15
15
8
0
Definition of At 30s and At 15s
those detectors return 0 if At has the expected value
The positions of the detectors are defined as PT journey times.
*/
// Waiting for PT to check-out at the end of longitudinal phase if At<=29
QsDAGeLt_RegExpCapteur C1o_dA29a( "C1o_dA29a", C1_B10, C1_dtB10, 0, 29);
QsDAGeLt_RegExpCapteur C1e_dA29a( "C1e_dA29a", C1_B20, C1_dtB20, 0, 29);
QsDAGeLt_RegExpCapteur C1o_dA29b("C1o_dA29b", C1_B11, C1_dtB11, -6, C1_dtB11+1);
QsDAGeLt_RegExpCapteur C1e_dA29b("C1e_dA29b", C1_B21, C1_dtB21,-6, C1_dtB21+1);
395
QsEt_RegExpCapteur C1_dA29("C1_dA29");
C1_dA29.add(C1o_dA29a)
->add(C1e_dA29a)
->add(C1o_dA29b)
->add(C1e_dA29b)
->add(C1o_dA29c)
->add(C1e_dA29c);
SOCKET
PROGRAMMING
T H E S O C K E T
LIBRARY
C1.h (continued)
/*
Detectors for the sequence of signal PT in both directions East and West
dA8=8s -> close first R25 in the travel direction
dA8 +2s -> close second R25 in the travel direction
dA8 +5s -> open SAC
dA8 +8s -> open R17, close SAC and SPC
Calculate detector dA8 (returns 0 if PT approach time is less than 8s)
Define detector NOT dA8 to initialize the sequence close-open per stop lines
*/
QsDAGeLt_RegExpCapteur C1o_dA8("C1o_dA8", C1_B12, C1_dtB12, 0, 9);
QsDAGeLt_RegExpCapteur C1e_dA8("C1e_dA8", C1_B22, C1_dtB22, 0, 9);
QsNo_RegExpCapteur C1o_NodA8("C1o_NodA8", C1o_dA8);
QsNo_RegExpCapteur C1e_NodA8("C1e_NodA8", C1e_dA8);
// Define detector OR between NodA8 and the signal base detector
QsOu_RegExpCapteur C1o_OuvrT("C1o_OuvrT", C1o_NodA8, C1_B13);
QsOu_RegExpCapteur C1e_OuvrT("C1e_OuvrT", C1e_NodA8, C1_B23);
396
THE SOCKET
LIBRARY
397
SOCKET
PROGRAMMING
T H E S O C K E T
LIBRARY
398
UTOPIA
Utopia
CubeDynasim lets you establish two-way communication between the simulation and the Urban Traffic
Control System UTOPIA. The simulation sends the status of the detectors to the Traffic Control System
UTOPIA; this system defines the state of the signals and sends it to the simulation. Exchanges only concern
detectors and signals associated with UTOPIA controllers (see Controller parameters, page 306). The information is exchanged at all simulated time steps, asynchronously with the traffic control system.
SOCKET
PROGRAMMING
399
TOPIA
U
{controller index} is a numeric value that designates the number of the crossroads controller with which
the detector is associated,
{detector index} is a numeric value that designates the number of the detectors for the controller managing the crossroad.
This format is similar to the one described in Detectors, page 342 with a detector type set to UTO.
400
UTOPIA
To define the properties of a UTOPIA controller client, select the Type Utopia, then fill in the following
fields:
1.
2.
3.
4.
5.
6.
Spot IP Address: the IP address of the machine that hosts the Spot server of this controller.
Spot Port: the Spot server associated with communication port.
Spot Id: the Spot Controller identifier.
Proxy Port: the Proxy Spot server associated with communication port.
Proxy Id: the Proxy Spot Controller identifier (usually its value is the sum of 128 and the Spot
Controller ID).
Factor: the speed factor of the Spot server.
401
SOCKET
PROGRAMMING
Figure 208. Entry window for the CubeDynasim client dedicated to the Utopia controller
TOPIA
U
Because there is no synchronization between the simulation and the Urban Traffic Control System UTOPIA,
make sure that you check the simulation errors to identify any synchronization problems with error
messages such as Simulation too slow for spot simulation time step: followed by the time dura-
402
15
Simulation module
In order to update a simulation scenario, three steps must be followed in a sequential order:
Demand: path flow calculation. The type of algorithm implemented depends on the type of Flow
scenarios, page 110. The same path flow can be shared by different simulation scenarios. In this
case, there is a single calculation. At the end of the calculation of the demand, depending on the
type of flow scenario, shapefiles might be generated.
2. Simulation: This is, in fact, the calculation of the replications (see below). At the end of the calculation, the criteria measured during the replications are stored in the database Dynasim.db, and the
files read by the Animator, page 451 become available and up to date.
3. Report: formatted result files to insert/link in your report. After each run, the results will be
updated automatically in your linked project report.
1.
The models simulated are microscopic and stochastic, which means that certain parameter values are randomly selected during the simulation.
For example, the arrival of a vehicle in the network is determined by:
1.
2.
One uniform distribution that establishes the type of vehicle and the path.
One uniform distribution that determines the time the vehicle arrives in the network.
The random variable is programmed with a series of numbers that, mathematically, best encompass the possibility space. The results of the simulation are determined by these series of random numbers. What results
would you obtain with a different series of numbers? In this case, are the results of the two simulations sufficiently similar? A negative answer to these questions explains possible model instability, usually associated
with the developments operation being close to saturation.
403
SIMULATION MODULE
A simulation model is the result of a unique combination of six types of scenarios . Two types of scenarios
are mandatory (Network scenarios, page 65 and Flow scenarios, page 110) while the other four types
of scenarios are optional (Signal scenarios, page 308, Public transport scenarios, page 277, rail scenarios and fluvial scenarios).
For example, when studying the impact of the insertion of an exclusive lane with absolute right of way, only
the multiple simulation approach enables you to reconstitute and measure the effect of all the possible cases
of the arrival of priority vehicles by considering their frequencies.
Replicating, or carrying out replications, consists in running the same model several times using different
series of random numbers. To obtain pertinent, reliable measurements from a stochastic model, you must calculate several replications, whatever the type of system simulated. The legitimate query that arises concerns
the possible number of replications needed to obtain pertinent results. The current version of CubeDynasim
does not integrate methods for automatically detecting the minimum number of replications needed. The
methodology adopted amounts to selecting several adequate criteria in the context of the project, and stopping the replications once the confidence intervals calculated for each criteria are deemed sufficiently
reduced.
The results of the replications for each criterion measured are saved in the Dynasim.db database (see Storage
of the values measured, page 245).
You must not take account of the results of replications in an autoblocking situation. An autoblocking situation generally ties in with the priority rules. Vehicles directly or indirectly block vehicles waiting for these
same vehicles. The autoblock is usually due to a modeling error. However, if the number of autoblocks is low
in relation to the number of replications, there is no need to improve the modeling to deal with these few
exceptional situations. A model that has been properly designed, but that creates a large number of autoblocks, usually reveals the developments poor functioning.
Using this model, the simulation engine calculates the movements of each user traveling within the development during the simulated time period. These trajectories are directly used by theAnimator, page 451
which displays user movements on a screen. Furthermore, the simulation engine quantifies criteria limited to
the network areas defined by each Data collectors, page 233. During the course of this calculation, the
simulation engine may well issue certain messages, which you must consult to ensure the consistency and
pertinence of the model.
The simulation module entry window is used to edit, simulate and view the results of simulation scenarios.
To display the simulation module entry window, click the
icon on the Module bar, page 18. This section describes the various functions available in the entry windows four modes:
For the four modes mentioned above, the user can close the simulation module entry window by pressing
ESC. The entry window always opens in the state it was closed, providing the user a functional continuity
between the sequences of close-open. In other words, if you close the entry window in Results mode, when
you open again the entry window it will be in Results mode.
404
SIMULATION
MODULE IN
EDIT
SCENARIO MODE
Network
Signals
Flow
Name of the Network scenarios, page 65 (see Single-choice list field, page 32).
Name of the Signal scenarios, page 308 (see Single-choice list field, page 32). If the simulation scenario edited does not contain any signal program, select the None character string.
Name of the Flow scenarios, page 110 (see Single-choice list field, page 32).
am Peak ; pm Peak or off Peak, defined with the selected flow scenario.
PT
Name of the Public transport scenarios, page 277. If the simulation scenario edited does
not contain a public transport scenario, select the None character string.
Rail
Name of the rail scenario defining the rail program. If the simulation scenario edited does not
contain a rail scenario, select the None character string.
Fluvial
Name of the fluvial scenario. If the simulation scenario edited does not contain a fluvial scenario, select the None character string.
Multi-run
The different steps in the calculation of a simulation scenario are necessarily in one of five
states:
1.
2.
3.
4.
5.
The steps in
the calculation
Comment
Complete state, the results are available and in line with the edited model.
The entry window in Edit mode, as in Compute mode, allows you to know the state of the
steps following the labels of the columns:
F: Flow.
S: Simulations (more exact replications).
R: Report.
Comment entered by the user (optional).
Green Calculate the stats applied to the Green signal duration, page 242 and Red state
duration duration for a signal, page 243 criterion for signals whose Green duration field is
active (see Creating a signal, page 293).
Crossing
duration
405
Calculate the stats applied to the Signal line crossing duration, page 243 criterion for
signals whose Crossing duration field is entered (see Creating a signal, page 293).
SIMULATION MODULE
Schedule
DESCRIPTION
S I M U L A T I O N
MODULE IN
EDIT
SCENARIO MODE
Current
scenario
State of the
calculation
Edit
area
Command
area
Figure 209. Simulation module entry window in Edit scenario mode
The simulation module entry window in Edit mode allows to add, remove, or change the settings of a simulation scenario.
Click the
2.
If the module entry window is in mode (check the title of the window)
a
icon on the Module bar, page 18 to open the simulation module entry window.
The "Simulation module entry window in Edit scenario mode" (see fig. 209, page 406) is displayed, fill in the values of the Simulation scenario parameters, page 405 in the edit area.
4. Click Add to confirm.
5. Press ESC to close the entry window.
3.
406
SIMULATION
MODULE IN
EDIT
SCENARIO MODE
Click the
icon on the Module bar, page 18 to open the simulation module entry window.
2.
If the module entry window is in mode (check the title of the window)
Edit: jump directly to 3.
b. Compute: click on Edit of the command area and then proceed to 3.
c. Results: click on the buttons Calculate, Edit and then proceed to 3.
d. Draw: click on the buttons Outputs, Calculate, Edit and then proceed to 3.
a
Click on the simulation scenario in the display area of the "Simulation module entry window in
Edit scenario mode" (see fig. 209, page 406).
4. Click on Delete of the command area to display the confirmation window.
3.
Confirm the deletion of the current scenario after verifying that it is indeed the one to be deleted.
By deleting a simulation scenario, all measures collected during simulation, for this scenario, are
removed from the database. The output files of the simulation scenario (for example the animation
files) are also deleted from the disk. However, the demand specific files are deleted, if and only if,
they are not shared by another simulation scenario.
6. Press ESC to close the entry window.
5.
When changing the set of scenarios that defines a simulation scenario, CubeDynasim first creates a new simulation scenario including this new set of scenarios, then it deletes the previous simulation scenario. Editing
the field Comment of a simulation scenario will not change the data of the simulation scenario, or on the calculation state of the simulation scenario.
1.
Click the
2.
If the module entry window is in mode (check the title of the window)
a
icon on the Module bar, page 18 to open the simulation module entry window.
Click on the simulation scenario in the display area of the "Simulation module entry window in
Edit scenario mode" (see fig. 209, page 406).
4. Edit the parameters of the simulation scenario displayed in the edit area.
5. Click Apply. If the set of scenario has been modified, confirm the deletion of the data of the previous simulation scenario by clicking Yes of the confirmation window
3.
6.
407
SIMULATION MODULE
S I M U L A T I O N
MODULE IN
COMPUTE
SCENARIO MODE
To select:
a
one scenario: click on the simulation scenario displayed in the list area.
b. a simulation scenario in order to add it to the set of the already selected simulation scenarios:
States of the
report
States of the
replications
States of the
flow
Figure 210. Simulation module entry window in Compute scenario mode
Click the
icon on the Module bar, page 18 to open the simulation module entry window.
2.
If the module entry window is in mode (check the title of the window)
Edit: click on Calculate and the proceed to 3.
b. Compute: proceed directly to 3.
c. Results: click on the buttons Calculate and then proceed to 3.
d. Draw: click on the buttons Outputs, Calculate and then proceed to 3.
a
Click on the simulation scenario in the display area of the "Simulation module entry window in
Compute scenario mode" (see fig. 210, page 408).
4. Select the set of simulation scenarios of which you want to calculate the demand.
5. Click Flow of the command area.
6. Press ESC to close the entry window.
3.
408
SIMULATION
MODULE IN
COMPUTE
SCENARIO MODE
Click the
icon on the Module bar, page 18 to open the simulation module entry window.
2.
If the module entry window is in mode (check the title of the window)
Edit: click on Calculate and the proceed to 3.
b. Compute: proceed directly to 3.
c. Results: click on the buttons Calculate and then proceed to 3.
d. Draw: click on the buttons Outputs, Calculate and then proceed to 3.
a
3.
4.
5.
6.
7.
8.
Click on the simulation scenario in the display area of the "Simulation module entry window in
Compute scenario mode" (see fig. 210, page 408).
Select the set of simulation scenarios of which you want to calculate the simulation.
Click Simulation in the command area.
Following the status indicator of the simulation in the column entitled S, the "Replication launch
window" (see fig. 211, page 410) opens in mode New or Continue replications.
Fill in the Replication execution parameters, page 409.
Click Multi-Run. The simulation starts when the window is closed (in fact, update the demand if
needed, then simulate).
LABEL
Number
Max number
Autoblock
duration
Ref time
DESCRIPTION
The number of replications you want to simulate
If a replication does not finish, or if an autoblock is detected, a new replication is simulated. In this context, to avoid making infinite calculations, you limit the maximum
number of replications to the sum of the Number and the Max number.
Defines the minimum time, in seconds, during which the autoblock condition must be
satisfied to establish an autoblocked simulation.
Defines the maximum time, in seconds, taken to travel across the network when calculating the reference status. You must define a maximum time to avoid having an infinite
calculation time, for example with a vehicle whose path runs in a loop. An error message indicates the category-origin-destination triplets that have exceeded this maximum
travel time.
At the end of the replications, you must Consult the messages, page 414 to correct any modeling
errors.
When running your replications, if the scenarios status is:
1.
OR
and Continue
,
all the data in the scenario (measurements stored in the database, animation data, replication comments, etc.)
will be deleted.
2.
409
SIMULATION MODULE
S I M U L A T I O N
MODULE IN
COMPUTE
SCENARIO MODE
When you run the replications, the data needed by the animation is automatically generated for the first repand Continue ), no animation
lication. If you choose to not increase the number of replications (status
data will be generated.
Choose the Autoblock duration carefully. For an autoblock duration set to 60 seconds, for example,
vehicles waiting for more than 60 seconds at the signalized intersection with programmed red phase
for 70 seconds, will be detected as an autoblock situation.
Generate report
1.
Click the
2.
If the module entry window is in mode (check the title of the window)
a
icon on the Module bar, page 18 to open the simulation module entry window.
410
Click on the simulation scenario in the display area of the "Simulation module entry window in
Compute scenario mode" (see fig. 210, page 408).
Select the set of simulation scenarios of which you want to calculate the report.
Click Report in the command area.
Following the status indicator of the simulation in the column entitled S, the "Replication launch
window" (see fig. 211, page 410) opens in mode New or Continue replications.
Fill in the Replication execution parameters, page 409. If the demand and the replication is up
to date, set the Number of replication to 0.
Click Multi-Run. The simulation starts when the window is closed (in fact, update the demand if
needed, then calculate the replication, finish computing the report files).
SIMULATION
MODULE IN
COMPUTE
SCENARIO MODE
Click the
icon on the Module bar, page 18 to open the simulation module entry window.
2.
If the module entry window is in mode (check the title of the window)
Edit: click on Calculate and the proceed to 3.
b. Compute: proceed directly to 3.
c. Results: click on the buttons Calculate and then proceed to 3.
d. Draw: click on the buttons Outputs, Calculate and then proceed to 3.
a
Click on the simulation scenario in the display area of the "Simulation module entry window in
Compute scenario mode" (see fig. 210, page 408).
4. Select the set of simulation scenarios of which you want to stop during the simulation (indicated
in the column Simulation of the list area).
by the icon
3.
7.
After the calculation of the replications, you may notice that the autoblock conditions turn out to be overly
restrictive. In this case, compute the reports by only running the autoblock test:
1.
Click the
2.
If the module entry window is in mode (check the title of the window)
a
icon on the Module bar, page 18 to open the simulation module entry window.
Click on the simulation scenario in the display area of the "Simulation module entry window in
Compute scenario mode" (see fig. 210, page 408).
4. Select the set of simulation scenarios of which you want to calculate the report. They must have
.
the status
3.
Click Report in the command area to display the Replication execution parameters, page 409.
Set the Number of replication to 0. Adjust the Autoblock duration as appropriate.
7. Click Multi-Run. to generate the report.
5.
6.
411
SIMULATION MODULE
S I M U L A T I O N
MODULE IN
COMPUTE
SCENARIO MODE
Before performing an export, you are advised to fill in the following fields:
1. Comment for the simulation scenario.
2. Comment for the simulations, especially if there are a number of animations.
Your comments will make it easier for users who are not familiar with the scenario names to use the
export.
Proceed as follows to export simulation scenarios:
1.
Click the
2.
If the module entry window is in mode (check the title of the window)
a
icon on the Module bar, page 18 to open the simulation module entry window.
Click on the simulation scenario in the display area of the "Simulation module entry window in
Compute scenario mode" (see fig. 210, page 408).
To view the results of the export: run the DynasimViews program in the folder to which the results have been
exported.
To change the logo generated by the export operation and displayed at the bottom left of the main
DynasimViews window, replace the logo.bmp file in the export folder. This logo.bmp file is an image
file with a maximum size of 124x64 pixels, and which must be in bmp format.
412
SIMULATION
MODULE IN
RESULTS
MODE
SIMULATION PARAMETERS
LABEL
DESCRIPTION
Number
Replication number as defined for the NRep field in the Replication table (see Data model,
page 245)
Errors
Number of errors observed during the simulation. If one of the replications has a non-null
number of errors, you must :
1.
2.
Anim
Three statuses:
the replication cannot be animated
the replication is being calculated, you can start to see the partial animation
the replication can be animated fully
Complete
Block
Seed
Comment
Current
replication
List area
Edit area
Command
area
413
SIMULATION MODULE
3.
4.
Simulate this replication to view its animation (see Animate a simulation, page 414).
Identify the errors (see Errors for the current replication, page 416), then correct
them by editing the model.
Check that the error is corrected by replicating again and making sure the error has gone.
Calculate the replications again from this modified model. If there are still simulation errors,
repeat the procedure from step 1.).
S I M U L A T I O N
MODULE IN
RESULTS
MODE
At the end of the replication operations, you can switch back to Compute mode by clicking Calculate in the
command area, or press ESC to close the entry window.
In Results mode, the following operations are possible in the simulation module entry window:
Comment a replication
When exporting a simulation scenarios various animations, you are advised to add a comment to each in
order to distinguish them.
Select the replication to comment in the list area.
Fill in the Comment free text field.
3. Click Apply to confirm.
1.
2.
Simulate a replication
It may be necessary to simulation another replication to view and better understand the reasons for an error
message, an autoblock, etc. Proceed as follows:
1.
2.
Delete an animation
After viewing an animation to better understand an autoblock or any other modeling problem revealed by the
values of the criteria collected, and if this problem ties in with an exceptional event, you must delete the animation data so that it is not considered in an export operation.
1.
In the "Simulation module entry window in Results mode" (see fig. 212, page 413), select the ani).
mation to delete in the list area (Anim parameter on
2.
Click Delete
Animate a simulation
Select the simulation to animate in the list area.
2. Click Animate to open the Controller, page 453.
1.
414
SIMULATION
MODULE IN
RESULTS
MODE
Tabs
Display
area
At the end of a simulation scenarios replication calculations, you should open the Messages window to
check the following:
A message refers to the second lane in the trajectory identified as RN120_OE_10, by naming it
RN120_OE_10!b. Use the format: multilane name indexed by a lowercase alphabetical character,
where a corresponds to the first lane on the right in the direction of travel, b to the second lane,
etc.
Error messages due to the construction of the paths
To access the error messages generated during the estimation, click on the Paths tab.
All or part of a traffic count may not traverse along an existing or authorized path. In this case, it is not considered in the Estimation or Assignment process, and is listed in the flow_.err file with its position on the
links/nodes network and its name in CubeDynasim.
Error messages due to the Estimation
Start by checking the Error messages due to the construction of the paths, page 415 before viewing the
estimation process messages.
To access the error messages generated during the estimation, click on the Estimation tab. This tab specifies
whether or not the Estimation converges.
415
SIMULATION MODULE
S I M U L A T I O N
MODULE IN
RESULTS
MODE
If the Estimation does not converge, the traffic counts that diverge from the calculated flow are reported.
The conditions for divergence are as follows:
Upper limit exceeded (CS+)
2. Lower limit exceeded (CS-)
1.
The upper and lower limits are defined in relation to the tolerance percentages specified in the Traffic
counts, page 126. For example, if a traffic count is on 100 vehicles with a tolerance + (%) of 5% and a tolerance - (%) of 0%, the upper limit (CS+) will be 105 vehicles and the lower limit (CS-) will be 100 vehicles.
Any flow outside this range, at this traffic count point, will be reported along with the following information:
1.
2.
3.
4.
5.
6.
7.
The first node of the link where the traffic count is positioned
The second node of the link where the traffic count is positioned
The upper limit (CS+) or lower limit (CS-)
The calculated flow
The flow rate in relation to the value
The vehicle category
The traffic count name in CubeDynasim
If the flow values are not too far from the upper and/or lower tolerance limits, you are advised:
1.
2.
In any case, THE MODEL MUST CONVERGE before carrying out any dynamic simulations.
If the calculated flow exceeds the theoretical capacity of one or more links, a message is shown.
Error messages due to the Assignment
To access the error messages generated during the Assignment, click on the Assignment tab. This tab specifies whether or not the Assignment converges.
An Assignment may well not converge if:
The Assignment network contact points are different from those of the reference Estimation network.
2. The Assignment network is subject to constraints (Invalidate paths, traffic counts to favor certain
paths, etc.) that are incompatible with the flows to be assigned.
3. The Assignment network does not provide any possible paths between certain contact points on
the reference Estimation network.
1.
416
SIMULATION
MODULE IN
RESULTS
MODE
Simulation errors are saved in a text file named simul_<random seed>.err located in the directory of the
simulated scenario. The message Loading marks the start of the models construction. If the construction
fails, the Error while loading message is displayed, otherwise the Loading done message is obtained.
The message Start of simulation marks the start of the simulation. All model construction errors are displayed before this message. Errors during the simulation are displayed between the Start of simulation and
Complete simulation messages. The error file ends with the number of errors.
Table 7, "Error messages when building the model", page 417, and Table 8, "Error messages during simulation", page 418, suggest possible solutions for each error detected by the simulation engine either when
building the model or during simulation.
TABLE 7. Error
No.
Solutions
13
20
417
Stop Stop_451
was not created
its stop marker is at less than 50cm
from the beginning of object OBJ1
SIMULATION MODULE
12
1.
2.
S I M U L A T I O N
TABLE 8. Error
102
MODULE IN
RESULTS
117
118
119
MODE
Solutions
121
122
125
418
A vehicle crosses the entry markers of a data collector twice without having first crossed one of this
same data collectors exit markers.
Apply the same solutions as for error no. 119,
page 418.
A vehicle crosses an exit marker of a Data collector representation and associated elements,
page 262 identified as JOJ without having first
crossed one of its entry markers.
You must:
1.
1.
3.
SIMULATION
TABLE 8. Error
MODULE IN
RESULTS
MODE
Solutions
128
129
301
1.
2.
1.
Simulation warnings
There is only one warning message possible. It is sent when a vehicles motional capacities and position do
not allow it to stop on an interrupt (Table 9, page 419). Warnings are stored in the file named simul_<random seed>.warn in the simulated scenario directory. To view the file of simulation warnings for the current
replication, click the Warnings tab in the Messages window
TABLE 9. Sample
warning message
122
The simulation engine sends an interrupt to stop vehicles able to stop at a point in the network. For example,
a Stop line, page 202 sends an interrupt when its associated signal changes to red. When the simulation
results are displayed in an animation and a vehicle appears to not respect a priority: you must consult the file
of warnings and make sure that a message does not concern the vehicle at the moment the problem was identified. If such a message is found, proceed as follows, depending on the type of priority: prolong the
approach zone, reduce the speed of non-priority vehicles at the conflict approach zone, check the priority
rule conditions (see Managing conflicting trajectories, page 197).
Autoblock messages
To see an overview of all the autoblock messages, click the Autoblocks tab in the Messages window. If there
are no autoblocks, nothing is displayed.
419
SIMULATION MODULE
2.
S I M U L A T I O N
MODULE IN
RESULTS
MODE
There are two types of message concerning autoblock situations depending on whether the condition for
detecting an autoblock situation applies:
To at least the autoblock duration: if there is an autoblock, the message specifies the data collector
and the time at which the autoblock is detected.
2. At the end of the simulation, the message indicates the risk of an autoblock by specifying the percentage of the autoblock duration during which the condition is satisfied. A low percentage means
there should be no blocked situation.
1.
The messages specify: the replication number to be able to animate the corresponding replication; the name
of the Data collectors, page 233 and of the crossroads that satisfies the autoblock condition, and the time
at which the autoblock is detected. To correct autoblocks, you must view the animation to understand the
cause (Simulate a replication, page 414 and Animate a simulation, page 414).
Paths
CubeDynasim includes, for Generator scenario, page 114, a tool for viewing all the paths taken by the
vehicles during the simulation according to the category-origin-destination triplet. You must check the paths
to make sure that they correspond to those wanted when editing the model.
To view the paths, click the Paths tab in the Messages window. All the simulated combinations (category,
origin, destination) are displayed in rows in the list area. Select a row to view the path taken by a vehicle category between an origin and a destination in the Network edit area, page 19.
Before checking paths, zoom in on an area and disable the maps background. This provides a better
view of the network you are editing.
Also, the current geometry scenario must correspond to that of the simulation scenario.
Paths tab
Selected path
List of destinations
List of origins
List of categories
Selected path
highlighted
420
SIMULATION
MODULE IN
DRAW
MODE
Group
Criteria
DESCRIPTION
A Single-choice list field, page 32 used to select a group from all those in the current
simulation scenario. A curve is drawn for each data collector at the selected group.
Contains two Single-choice list field, page 32 to define:
1.
Statistic
A Single-choice list field, page 32 used to select the statistic process applied to each
subset of measurements recorded at the same time for different replications.
List area
Edit area
Command area
421
SIMULATION MODULE
2.
the criterion to choose from a subset of criteria referenced in the database (the selection is
limited to Flow, Number of vehicles present, Travel time and Travel speed)
the statistic process applied in the simulation at the end of the sample period.
S I M U L A T I O N
422
MODULE IN
DRAW
MODE
16
Parking
PARKING
The CubeDynasim parking module enables you to model parking facilities including multi-level parking
facilities. This tool is particularly well adapted for the study of traffic flow at parking facilities in shopping
centers, sport stadiums, office buildings, and so forth. The functionalities of a parking facility are affected by
its geometry layout, the supply and demand of the parking facility, and parking duration. Each of these elements is taken into account by CubeDynasim.
Two tutorials are provided:
Modeling parking.
Modeling parallel parking.
This chapter covers:
"Model development and the simulation of parking" (see fig. , page 424)
Parking Distribution, page 427,
Attractor, page 429,
Aisle, page 431,
Parking Lots, page 438,
"Count display" (see fig. , page 447),
The simulation of parking is only compatible with flow scenario type Generator scenario, page 114.
423
ODEL
M
if a vehicle cannot find a vacant parking stall in the assigned Parking Lot, we have to decide if the
vehicle continues to search for a stall in the same Parking Lot, tries it luck in another Parking Lot, or
if it gives up and goes back home. In that last case, we need to count the number of vehicles that
left the parking facility that could not park.
if a better parking stall becomes available during the travel toward a preselected stall, the vehicle may
change its parking decision to park in the new stall depending on the distance of that stall from its current location.
To assign a Parking Lot for vehicle, the user adds an Assign Lot, page 440 at the entrance of the parking
facility. To specify the behavior of a vehicle that fails to find a parking stall, it is necessary to add an Update
Lot object at the exits of the Parking Lot, page 438.
424
MODEL
Define an initial section (named for example Road) that represents the roads to and from the
entrances/exits of the parking lot.
Parking stalls
2.
Switch to logic mode to add the Origins, page 69 and Destinations, page 74 at the entrance
and exit of the parking facility. Do not forget to link the origin and the destination to the trajectories using Speed Link.
3.
425
Create a Network scenario (named for example Parking) that includes the layers of the Road scenario. Edit the parking (see further down) by adding new objects in the layers of the Parking scenario. Add an Assign Lot, page 440 at the trajectory of the exit of the Road network, which is
also the trajectory of the entrance of the parking facility in the Parking scenario.
PARKING
ODEL
M
4.
Create a flow scenario using type Generator scenario, page 114 to simulate the traffic flow of
the parking facility. The row of the matrix origin-destination corresponding to the generator
OutParkingis at 0. The column of the matrix origin-destination corresponding to the exit
InParking adds up to an average number of vehicles that arrives at the parking lot via that
entrance during the simulation period.
It is necessary to assure that the flow of the exit of the parking facility matches the expected flow. To achieve
this, users need to fine tune the parking distribution of duration.
426
PARKING DISTRIBUTION
Parking Distribution
The parking distribution defines the parking durations for vehicles during the pre-loading period (vehicles
already parked at the beginning of the simulation) and vehicles (entering parking facilities) during the simulation period.
Layer
DESCRIPTION
The network layer associated with the distribution. Only one distribution can
be specified for each network layer.
Defines the average time, in seconds, between two vehicles exiting the
parking facility. These times follow an exponential rule. The time and the simulation length define the volume at the exit
Mini Preload
Defines four parameters of the log-normal distribution for the minimal duration of the vehicles parked at the beginning of the simulation (pre-load period).
The distribution is specified by its mean (Avg field) and its standard deviation
(stddev field). The random values will be drawn from the interval defined by
fields of Min and Max.
All four parameters are expressed in seconds.
Max Preload
Defines four parameters of the log-normal distribution for the maximum duration of the vehicles parked at the beginning of the simulation (pre-load period).
The distribution is specified by its mean (Avg field) and its standard deviation
(stddev field). The random values will be drawn from the interval defined by
its fields of Min and Max.
All four parameters are expressed in seconds.
Mini Ingoing
Max Ingoing
427
PARKING
Mean Outgoing
Duration
P A R K I N G D I S T R I B U T I O N
List of
parking
distributions
Parameters
of parking
distribution
Command
area
Figure 216. Parking distribution editor window
428
ATTRACTOR
Attractor
Not all parking stalls have the same attractiveness to vehicles. For example, the parking stalls near the
entrance of the store are generally taken the most. Parking stalls are modeled hierarchically depending on the
provoked interest using the Attractor objects.
An attractor is characterized by its location and weight factor. Users can group multiple attractors by specifying the same attractor name. A specific parking lot can have only one group of attractors. Each parking stall's
attractiveness in this parking lot will be evaluated by all attractors among this group. The evaluation process
is based on the weight factors and distances from each of the attractors in this attractor group.
For example, a supermarket is represented by one attractor positioned at the entrance of the supermarket with
a weight factor and another attractor is added in the middle of the parking lot with a lower weight factor representing where the shopping carts are located. The two attractors have the same name say 'market1' meaning
that they belong to the same group. This group will be assigned to certain parking lot(s). Parking stalls near
the entrance of the supermarket are more attractive since vehicles (people) prefer to park as close to the
entrance as possible. If those are not available, parking stalls around the shopping carts are the second best
option.
The attractor assumes two functions:
Attractor
Weight
Mean generated
Std dev generated
Layer
429
DESCRIPTION
Group name which the attractor belongs to.
Relative weight of the attractor compared to all of the attractors in the same
group.
Average number of vehicles parked at the beginning of the simulation.
Variation of the number of vehicles generated at the beginning of the simulation.
The number of vehicles generated is drawn from the rang of [Mean - stddev;
mean + stddev]
Defines the network layer which the attractor belongs to.The layer of the
attractor is not necessarily the same for all the attractors in the group. This feature allows users to test different configurations/positions of attractors by
changing the network scenarios.
PARKING
The attractor specifies the number of vehicles that parked at the beginning of the simulation (which
means, the occupation of the parking facility at the beginning of the simulation). The number of vehicles generated at the initial state (before the beginning of the simulation) is defined by the parameters
(Mean generated and Std dev generated) edited from the last attractor among the attractor group.
TTRACTOR
A
If necessary, switch to geometry mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
2.
mode. The cursor of the mouse appears in the edition zone of the network as
3.
In the Network edit area, page 19, left click at the location where the attractor needs to be
added. This opens the input window of the Attractor object.
430
1.
2.
Type *bao* in the Name Filter to show all of the attractors whose name contain bao.
3.
4.
5.
AISLE
Aisle
CubeDynasim has different objects representing aisles of parking lots allowing to model for all possible
geometry configurations of parking facilities.
This part covers:
LABEL
431
ICON
DESCRIPTION
Angle 2 lane
Angle 2 way
Parking 2 way
left
Two way aisle between parking stalls on both sides with traffic driving on the
left. For example, like the United Kingdom and Japan.
Parking space
Parking space 2
PARKING
ISLE
A
Parking stall
Name
Layer
Prohibit circulation
432
DESCRIPTION
Determines if the aisle can be used to pass through, or if it can only be used by
vehicles entering or exiting parking stalls. If the prohibit circulation is active,
the aisle will be shown in black. In the case of a two-way aisle, you will see
two settings. Prohibit circulation is for the major lane and Prohibit Circulation 2 is for the minor lane.
AISLE
THE SETTINGS OF AN AISLE OBJECT
LABEL
Consider parking
DESCRIPTION
At the start of the aisle, the vehicle will re-evaluate all the stalls visible to it
and every 20 meter the re-evaluation will be triggered again.
Position of the
parking stall search
when Consider parking
is set
If the parameter Consider parking is set to yes, a parking stall search is added
two trajectories upstream access to the aisle. In case of a two-way aisle, use
Consider Parking 2 to determine if a parking stall search is activated for the
access of the minor lane.
Attractor
Lane spacing
Distance to first spot
Distance to first spot 2
Space separation
Both sides
If necessary, switch to geometry mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
2.
of Simulation object bar, page 17 to activate the create angle one lane
mode. The cursor of the mouse is shown in the edition zone of the network as
In the Network edit area, page 19, left click at the location at the beginning of the Angle one
lane object. This opens the input window of the Angle one lane object.
4. Enter the parameters for this object and click OK to confirm.
5. Position and drag the aisle object to the right size and location.
6. Right click to confirm the creation of the aisle object.
3.
433
PARKING
ISLE
A
To edit a parking lot object:
1.
If necessary, switch to geometry mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
2.
If necessary, switch to geometry mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
2.
434
AISLE
To link the exit of the aisle to a support of trajectory on the road network:
1.
If necessary, switch to geometry mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
2.
mode. The cursor of the mouse appears in the edition zone of the network as
3.
4.
In the Network edit area, page 19, left click on the aisle, and then on the support to be linked.
If it is necessary to adjust the beginning of the new trajectory at the end of the aisle, right click on
the trajectory just created and select Link trajectory at the end of the parking.
Figures below illustrate that the trajectory is linked in the middle of the aisle (left) and the trajectory is linked at the end of the aisle (right).
If necessary, switch to geometry mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
2.
mode. The cursor of the mouse appears in the edition zone of the network as
In the Network edit area, page 19, left click on the aisle, then on the support to be linked, and
then on the aisle to be linked.
4. If it is necessary to adjust the beginning of the new trajectory at the end of the aisle, right click on
the trajectory just created and select Link trajectory at the beginning of the parking.
3.
The best practice of creating a parking facility in CubeDynasim is to maintain the connectivity of the parking
aisles and trajectories on the road network. In order to avoid cutting through the parking aisles, users can link
parking aisles with road trajectories from the middle of the aisle. To do that, just directly click on the location
of the parking aisle where the trajectory is to be linked and then select the support as the other point of the
trajectory.
435
PARKING
5.
ISLE
A
Figure 218. Examples of the establishment of a model with the trajectories connected in the middle of parking lot objects
It is necessary to avoid adding objects with priority rules such as stops and stop lines on the parking stall
or aisles.
Clone an aisle
The parking aisles are generally identical or very similar. Therefore, to reduce the modeling efforts, it is useful to have the clone feature in CubeDynasim.
Original Objects
436
AISLE
To clone parking objects:
1.
2.
3.
4.
5.
If necessary, switch to geometry mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
Make perform a multiselection, page 21 of the objects to be cloned.
Follow the proceduremove a set of objects, page 23.
Move the cursor onto one of the objects of the multi-selection. Keep the left button pressed while
dragging the objects to the right location in the Network edit area, page 19.
Click at any location of the empty space Network edit area, page 19 to validate the position
of the cloned objects.
It is preferable to first model an aisle, say a perpendicular bay, the turning movements, and the priorities
by keeping the same prefix (for example P3_A0). Then, to clone all its components.
PARKING
437
P A R K I N G L O T S
Parking Lots
CubeDynasim allows to group parking stalls into different parking lots. This feature allows users to model
parking stalls differently due to physical separations, parking duration restrictions, vehicle category restrictions, and so forth.
A parking lot is used to distribute the vehicles at the entrance of the parking facility and to determine the destination of the vehicles leaving the parking lot.
The Assign Lot object is used to manage the vehicle distribution among different parking lots.
This part describes:
Parking Lot
The Parking Lot objects group aisles by defining a quadrilateral geographical region.(see "The parking
lots", fig.220 p.439).
After parking, vehicles exit the parking facility and head to a specific destination which is assigned by the
parking lot based on its parameters of destination distribution.
438
PARKING LOTS
Name
Layer
Distribution
A list of the Destinations, page 74 with parameters to define the destination distribution for the vehicles that leave the parking lot.
Width
Defines the width of the boundary lines of the parking lot displayed on the network.
Color
439
DESCRIPTIONS
Defines the color of the boundary lines of the parking lost displayed on the
network.
PARKING
Parking lot
P A R K I N G L O T S
To create a parking lot
1.
If necessary, switch to geometry mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
2.
from Simulation object bar, page 17 to activate the create a parking lot
mode. The cursor of the mouse appears in the edition zone of the network as
In theNetwork edit area, page 19, left click at the location of the first corner of the quadrilateral. This opens the input window of the Parking Lot object.
4. Enter the parameters for this object.
3.
Click OK to finish.
Left click at the location of the second corner of quadrilateral on the network.
7. Left click at the locations of the third and fourth corner of quadrilateral on the network to complete the creation of the parking lot.
5.
6.
Assign Lot
When modeling a parking facility, the traffic flow is managed by a Generator type of flow scenario Generator scenario, page 114. The traffic flow has one or several destinations pairing with different entrances to
the parking facility.
Once entering the parking facility, a vehicles goes to a parking lot depending on its behavioral parameters
(which store does the person(s) want to visit? What habits does the person(s) have?, etc).
The Assign Lot object, usually positioned on the trajectory right before the entrance of the parking facility,
determines how vehicles are distributed among all parking lots in the parking facility Parking Lot,
page 438 (see "Assign Lot", fig.221 p.441).
When a vehicle passes the Assign Lot maker, a parking lot will be assigned to it. For each of the parking lots,
we define a weight and an occupancy rate. During the simulation if occupancy rate is greater than the defined
value, that parking lot will not be assigned to any vehicles entering the parking lot until the occupancy rate
drops below the defined value. The occupancy rate is 0 when all of the parking stalls are vacant. If all of the
parking stalls are occupied, that means that the occupancy rate is equal to 1. It is possible to define an occupancy rate to be greater than 1. In that case, even if the parking lot is fully occupied, it will still be assigned
to vehicles entering the parking facility.
For example, there are two parking lots in the parking facility. The first parking lot has a weight of 1, and the
second parking lot has a weight of 2. The second parking lot will be chosen on average 2/3.
440
PARKING LOTS
If none of the parking lots is available, the vehicle exits the network by choosing a destination among a
group of possibleDestinations, page 74. In that case, we list automatically in the database the number of
vehicles that left following the criteria (table criterlabel): No more space <name of the object Affect>.
DESCRIPTION
Name
Layer
the Assign Lot object. The conditions are specified based on vehicle types and/
or Destinations, page 74. If none of the conditions are specified, all of
the vehicles passing through the Assign Lot marker will be affected.
Distribution
List of triplet:
1.
2.
3.
Lot
Weight
Rate
Speed limit of the vehicles that look for a parking stall. If the field is set to 0,
the speed limit has no effect on the parking facility. The speed of a vehicle that
is looking for a parking stall is generally slower compared to a vehicle that
exits the parking lot.
Destinations
Defines a group of the Destinations, page 74, where the vehicles will go
if they fail to find a parking stall.
Width
Color
Defines the line width of the Assign Lot marker displayed on the network.
Defines the color of the Assign Lot marker displayed on the network.
Logic Mode
Geometric Mode
Object exited
associated to the
destination of the
parking facility
Object affect selection
Entrance positioned
ahead of the exit
Objects marker
441
PARKING
P A R K I N G L O T S
To create an Assign Lot object
1.
If necessary, switch to geometry mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
2.
mode. The cursor of the mouse appears in the edition zone of the network as
In theNetwork edit area, page 19, left click at the location where the Assign Lot object needs
to be created.
4. Drag the pointer to create the Assign Lot marker to make it across the road trajectory.
5. Right click to complete the creation of the Assign Lot object. This opens the input window of the
Assign Lot object.
3.
6.
Click on the Distribution button to open the Parking Lot Assignment Distribution window. The
list area shows the list of the triplets {Lot, Weight, Rate} for this parking facility. The edit area is
used to set the values of the triplet and the command area is used to add new triplets or modify/
delete any existing triplets.
List area
Edit area
Command area
Enter values for the parking lot distribution. Click Add to create a new triplet.
Click Quit to close this window.
9. Complete The settings of assign lot, page 441, then click on the OK button to validate the
input.
7.
8.
442
PARKING LOTS
Update Lot
If the user could not find a vacant stall in the assigned parking lot, it is necessary to reconsider the three
options listed below:
try a new search for a vacant stall in the same parking lot,
2. try another parking lot (level etc.)
3. leave without being able to park.
1.
The behavior of the user affected by one of these options is modeled through the Update Lot object. The
decision of choosing one of these options depends on the number of unsuccessful attempts. For example, it is
more likely for a vehicle that has been cycling 10 times in the parking lot to either try another parking lot, or
leave.
The choice of a parking lot is done in two steps:
Choose a parking lot (from the type Distribution of Update Lot, page 443) according to the
parking lot where the vehicle is currently presented and the number of crossings already done in
the current parking lot. If current parking lot is not presented on the list of the possible parking
lots, the vehicle exists the network with a different destination (see the Destination). Also if the
number of crossings completed is strictly greater than all of the Crossing number associated to the
Update Lot defined for current parking lot, the vehicle exits the network. If one and only parking
lot is defined with different 'crossing number', the distribution associated to the smallest one
among all of the crossing numbers greater or equal to the number of crossing already completed
will be chosen.
2. Choose the parking lot according to the distribution of selected sections at 1). If none of the parking lot have been able to be selected due the occupancy rate (defined by Rate), the vehicle has to
exit the network according to the alternative destination draw from the list of Destinations of the
Update Lot object.
1.
LABEL
DESCRIPTION
Name
Layer
the Update Lot object. The conditions are specified based on vehicle types
and/or the Destinations, page 74. If none of the conditions are specified,
all of the vehicles passing through the Update Lot marker will be affected.
Distribution
Destinations
Width
Color
443
1.
2.
Defines the line width of the Update Lot marker displayed on the network.
Defines the color of the Update Lot marker displayed on the network.
PARKING
P A R K I N G L O T S
SETTINGS OF THE DISTRIBUTION OF THE UPDATE LOT 1
LABEL
Lot
Crossing
DESCRIPTION
Parking lot which is affected by the Update Lot object.
Defines number of attempts that vehilces will try before they go to another
parking lot to find a vacant parking stallSettings of the distribution of the
Lot
Weight
Rate
444
DESCRIPTION
Name of the new parking lot where the vehicles that failed to find parking
stalls will go.
Relative weight of the vehilces that will go to the new parking lot.
Maximum occupancy rate of the new parking lot.
PARKING LOTS
To create an Update Lot object
1.
If necessary, switch to a geometry mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
2.
mode. The cursor of the mouse appears in the edition zone of the network as
In theNetwork edit area, page 19, left click at the location where the Update Lot object needs
to be created.
4. Drag the mouse to create the Update Lot marker to make it across the road trajectory.
5. Right click to complete the creation of the Update Lot object. This opens the input window of the
Update Lot object.
3.
PARKING
6.
Click on the button Distribution to open the input box of the distribution of the Update Lot
object.
List area
Edit area
Command area
In the edit area, select a parking lot, then define the maximum number of attempts a vehicle will
try in this parking lot.
8. Click Add, then Next to define the distribution of this parking lot.
7.
445
P A R K I N G L O T S
List area
Edit area
Command area
9.
10.
11.
12.
13.
446
Define the triplets {Lot, Weight, Rate} for the new parking lot that vehicles will go if it fails to
find parking stall after the maximal number of attemptsSettings of the distribution of the update
lot 2, page 444.
Click Apply to confirm the settings, and click Back.
Click Apply.
If you want to add another new parking lot for the vehicles to go, repeat from step 8 again to
update the other parking lots.
Click Quit to complete the edition of the distribution.
COUNT
DISPLAY
Count display
The Count Display object allows vehicles to know the number of vacant stalls of an area defined by a visualization zone. This functionality can be modeled with CubeDynasim..
PARKING
If necessary, switch to geometry mode (see "Main CubeDynasim window in geometric mode",
fig.1 p.14).
2.
from Simulation object bar, page 17 to activate the create a count dis-
play mode. The cursor of the mouse appears in the edition zone of the network as
In theNetwork edit area, page 19, left click at the location where the Count Display object
needs to be added. This opens the input window of the Count Display object.
4. Select the layer associated to the object in the input window and click OK to validate.
5. Define the visualization zone, i.e. a quadrilateral defined by three corners (3 left clicking). If necessary, define a new zone by creating a new quadrilateral.
6. When completed, right click to confirm the creation of the visualization zones of the Count Display object.
3.
7.
447
ISTRIBUTION
D
448
DISTRIBUTION
VALUES
Name
dist2ChangePark
HV Threshold
29.53 ft (8,90m)
1,80
1,00
1,30
LV standard deviation
0,50
LV minimal distance
3.28 ft (1,00 m)
2,50
1,50
5,00
HV standard deviation
1,00
HV minimum distance
22.97 ft (7,00 m)
Click Add to create this new lane change distribution and click Quit to close the Lane Change
Parameters Management window.
5. Add this distribution to all two-lane trajectories in the parking facility.
4.
449
PARKING
ODIFY
M
Follow the procedure Editing 2D representations, page 44 to change the icon of the vehicle (use, for
example, the file with CubeDynasim VLb04.xpm).
450
17
Animator
ANIMATOR
The animator is an interactive tool used to visually reconstruct the movements of vehicles and pedestrians
calculated by the CubeDynasim simulation engine. It enables you to qualitatively assess a simulation scenarios operation, making it an essential tool for understanding complex phenomena resulting from the operation of road infrastructures. With its demonstrative and instructive qualities, the animator makes it easier to
explain certain operations, and becomes a decision aid system for managers who are not necessarily specialists in traffic-related matters.
This chapter describes the animators three main components, all contained in the same window (see "The
animator", fig.223 p.452), namely:
the Controller, page 453 used to control the reading of simulation results and to access the animators
various functions,
the different View, page 455 which are animator tabs in which vehicle movements are displayed in 2D
or 3D, the signal states for each Controllers, page 305, and the state of rail blocks.
The features allow to:
Saving the animator configuration, page 464 allows to directly skip to instants and locations that best
reveal the operation of the development studied,
451
Controller
Views
452
CONTROLLER
Controller
The "Controller" (see fig. 224, page 453) is displayed when you run the animation. It gives access to all the
animators commands.
The controller comprises :
The menu bars four menus are displayed at the top of the "Controller" (see fig. 224, page 453) window.
You access a menu command in the same way as that described in the Menu bar, page 14 in CubeDynasim.Use the menu bar to:
Controller Toolbar
The controller toolbar contains all the functions used to play back an animation.
To activate the button, click its icon.
The animator is either in pause mode or play mode. In play mode, the animation browses the trajectories
file; the clock is incremented according to the animation speed, and the vehicle positions displayed in any
views open are updated. In pause mode, the files playback is interrupted. The label and icon of the fourth
button from the left on the button bar are determined by the animator mode. Thus, Play corresponds to pause
mode, and Pause to play mode.
453
ANIMATOR
C O N T R O L L E R
The functions in the toolbar are used to:
Restart the animation from the beginning of the simulation. The animator switches to pause
mode.
switch to step-by-step mode. Each time you click this button, the animation moves forward by
1 / 4 of the animation speed value, then pauses.
Animation cursor
You use the animation cursor to modulate the animation speed.
It comprises:
the animation speed which is a value representing the ratio between the simulated time and the real
time required to animate this simulated time. For a value of 2, two simulation seconds are animated
for one second. The minimum animation speed is obtained with a value of 0.1. A speed of 1.0 corresponds to a real time reproduction of the simulations,
Or proceed as follows:
1.
2.
When you increase the animation speed, you reduce the animations visual quality, especially in terms of fluidity.
You can also control the animation speed using the keyboards arrow keys. Press the left or right
arrow key to increase or reduce the animation speed by increments of 0.1. To change the speed by an
increment of 1.0, press and hold the Ctrl key while pressing the arrow keys.
454
VIEW
View
A view corresponds to a window in which the animator displays the moving vehicles and pedestrians within
a time scale. The icons represent the vehicles and pedestrians moving.You can simultaneously display more
than one view on-screen, thus enabling you to view different areas of the same development at the same
time.
When you open the animator, the 2D view is displayed, since this is the tab selected by default. The animator
also opens the 3D view and all the junction controller views.
You can go from one tab to another, or you can display a new view in another window.
ANIMATOR
2D view
The mobile displayed in a 2D view are represented by icons exhibited on the Background map, page 53.
The user must assign an icon file to a type of vehicle, using Editing 2D representations, page 44.
The displayed icon depends on following the order of priority:
the destination of the vehicle, if the ID of this destination is also the identifier of one of the type of
vehicles that has been defined,
455
IEW
V
The 2D view mode:
can be changed using the "2D view toolbar" (see fig. , page 456),
assign the 2D browsing, page 458.
2D view toolbar
The toolbar includes all functions affecting the 2D view.
Extended zoom
1.
Click
Click
2.
3.
Click
. Optional scenarios that are not defined for the simulation scenario are identified by '? '.
2.
Adjust the view of the area and the moment you want to capture using the 2D browsing,
page 458.
Click
to select the destination file.
3. Confirm the selection to copy the display area to two graphic files, one in PNG format and the
other one in PostScript (better quality).
2.
Click
2.
456
VIEW
DESCRIPTION
Name
Number associated with the vehicle. The number of a vehicle that has left the network is
assigned to the new arrival. This number is used in the simulation error messages and the
Simulation warnings, page 419.
Type
Destination
Speed
Acceleration
Object
Marker
If necessary, click
to switch to pointed mode. The pointed mode is characterized by the mouse
displayed in the view.
cursor
2.
Click the vehicle in the 2D windows display area to open this vehicles inspector window. The
information is refreshed.
3.
Click Close in the Inspector window to close the window. Otherwise, the window remains open
even if the vehicle has left the simulated network.
457
1.
Click
2.
ANIMATOR
Position
IEW
V
Recording a video
The animator can be used to export video clips in AVI format. While recording, the animator will adjust the
animation speed to maintain a constant stream of 25 images per second.
1.
Set the area and the moment you want to capture using the 2D browsing, page 458.
2.
Click
3.
4.
Click
5.
Click again
to play the animation in the View (everything shown will be recorded in the video clip)
to stop the recording.
2D browsing
When browsing, the user defines the location and scale of the items displayed in the view.
The animation of the simulated vehicles on a background map is displayed in the 2D view display area. To
modify the portion of the background map displayed, you can resize the window, or use the scroll bars on
either side of the window.
The display area of a 2D view may be in one of the three modes: advanced zoom mode, pan mode or
pointed mode. The mode defines the shape of the mouse cursor positioned in the displayed area respectively:
,
and
.
In advanced zoom mode, you can change the scale of the elements shown in the display area. The zoom in
the display area works in the same way as the zoom in the Network edit area, page 19 (see Continuous
Zoom mode, page 20).
In pan mode, you move the background map in the window without altering the scale of the elements shown
in the display area. Pan mode in the 2D view display area works in the same way as in the Network edit
area, page 19 (see Pan mode, page 24).
To move the displayed area:
1.
Click
458
VIEW
To change the scale:
1.
If needed click
Position the cursor in the center of the area that you wish to rescale.
Click left button or right button to zoom in or zoom out.
4. The viewing area is centered at the location of the mouse pointer and display scale is changed.
2.
3.
In advanced zoom mode, you can use Pan mode, page 24, with the middle mouse button or
Ctrl+left button pressed.
3D view
To obtain a reasonable level of animations fluidity when displaying a 3D view, your hardware configuration
must include a 3D graphics accelerator card.
In the display area of a 3D view, mobiles are displayed in three dimensions. As opposed to the 2D view, here
the representation of a vehicle category is not unique, it is chosen from a set of possible representations for
this category.
In a 3D view, there are two types of animation, depending on the background used. You can use a background map in 2 dimensions, or a 3D virtual model in 3DS format.
This section describes the following:
459
ANIMATOR
The animation of the simulation results displayed in a 3D view corresponds to a real time animation. Thus,
you can modify your viewpoint interactively during the animation according to the three geometric dimensions. There are three navigation modes.
IEW
V
Menu bar
Controller
View tab
Tool bar
Display
area
460
VIEW
Animation in a 2D view
ANIMATOR
Animation in a 3D view
on a 2D drawing
Animation in a 3D view
on a 3D virtual model
Figure 226. Animations of the same simulation in a 2D and 3D view using the various depiction backgrounds
461
IEW
V
3D navigation
The animator has two navigation mode:
free mode,
on board mode.
Free mode
Position the anchor point: double-click the 3D environment display at the desired position.
Move towards the anchor point: left-click and drag up.
Move away from the anchor point: left-click and drag down.
Turn around the anchor point: left-click and drag to the left or to the right.
Lower the viewpoint: right-click and drag up.
Raise the viewpoint: right-click and drag down.
Move the anchor point on a circle, the center of which is defined by the observers position: rightclick and drag to the left or to the right.
On board mode
The viewpoint is set relative to an anchor point that is attached to a mobile. In this case, the viewpoint
moves with the mobile. The mobile drags the viewpoint. The user can change the altitude and the distance of
the viewpoint relative to the linked mobile.
Click
to switch to pause mode.
Double-right click on the target mobile displayed in the display area.
Left-click and drag up to be positioned at the base of the target mobile.
Right-click and drag up in order to get off in the target mobile.
Click
to switch to play mode.
To optimize the 3D rendering we have to threshold the viewing distances. These display settings are
defined in a file in xml format, for each simulation scenario, to be saved in folder edyna/ name of the
study/Simul/simulation scenario/anim.cfg.
The three distances (expressed in meters) to be defined:
1. <FINVEH>500</FINVEH>: beyond 500 m mobile are no longer displayed
2. <DEBLOD>200</DEBLOD>: beyond 200 simplified models of the mobile are displayed.
3. <DEBNODYNTRANS>100</DEBNODYNTRANS>: beyond 100 meters parts of the mobile are not anymore animated (wheels do not turn).
View of a controller
CubeDynasim lets you track the status of the signals of one or more controllers.
From the animators View menu, choose a controller associated with the simulation scenario.
462
VIEW
Menu bar
Controller
Views
Display zone
463
ANIMATOR
S A V I N G
either a Context, page 464 which saves only the data pertaining to the views opened,
or a Markers, page 464 which stores the views and the simulated instant.
The context applies to all the simulation scenarios in a project, whereas the Marker only applies to
one simulation scenario.
Context
The context file saves the position and type of the various views currently open. Context files are identified
by their ctx extension.
To save a context:
From the animation menu bar (see "Controller", fig.224 p.453), select File > Save context to display a file selection window.
2. Enter the path and name of the file ending with the ctx extension.
3. Click OK to save the context.
1.
Markers
The views displayed and the progress of the animation are saved in Marker files (also referred to as top
files) identified by the .top extension. Given that these files depend on the simulation scenario being animated, they are stored directly in the directory of this scenario (see Adding a simulation scenario, page 40).
Before re-simulating a simulation scenario, all the Marker files in the directory assigned to this
scenario are deleted.
During the animation, Marker files are automatically saved for every 5 minutes of simulated time, with a
filename in the following format: hh_mm_ss.top.
You manage marker files via the "Marker file entry window" (see fig. 228, page 465), displayed by choosing
the Marker menu in the Controller (see "Controller", fig.224 p.453)
464
SAVING
List area
Edit
area
Command
area
The "Marker file entry window" (see fig. 228, page 465) comprises the following three parts:
465
ANIMATOR
P L A Y I N G
466
18
DynasimViews
467
DYNASIMVIEWS
DynasimViews is an explorer application used to view the simulation results calculated for each configuration of the same development modeled in CubeDynasim. You can use it both to animate the results, i.e., view
the movement of vehicles on a background map, and present the criteria measured during the simulation via
curves. The DynasimViews executable provided is exclusively dedicated to the data you can view. It is copyright free.
IEW
V
SCENARIOS WINDOW
Sorted column
Current scenario
a network scenario that groups all the parameters describing the road network,
a flow scenario that quantifies the demand.
and possibly by:
Command area
The command area contains three buttons each with its own icon and description. To run the command associated with a button, left-click on either the buttons description or icon.
468
VIEW
SCENARIOS WINDOW
Animation, to start the Animator, page 451 to view the movement of the vehicles in the current scenario,
Outputs, to display the View results window, page 470 for the current scenario,
Quit, to close DynasimViews.
DYNASIMVIEWS
469
IEW
V
RESULTS WINDOW
Group
list
area
Edit area
Command
area
Figure 230. View results window
470
VIEW
RESULTS WINDOW
Edit area
The edit area is used to define the criterion and the type of statistical processing to apply to the values measured during replications.
The edit area is split into two parts respectively containing:
non-editable fields that display the names of the different scenarios that make up the current scenario,
single-choice list fields used to select the criterion and the statistical processing operation to apply to
the replication results data.
In this case, the criterion represents both what you measure and the statistical processing applied to the value
measured during a time sample. Table 10, "Statistics on the sampled measurement according to the criterion
measured", page 471 gives the different possible combinations and their meanings.
Criteria
Total number of vehicles that have passed at the end of the time sample
Mean
Maximum
Travel time
Mean
Mean
Maximum
Travel speed
Command area
The command area contains two buttons :
Click Draw, to start the Graph, page 472 which plots the curves of all the current groups data collectors, applying the statistical process to the criterion measured; the statistical process and the criterion measured are both defined in the Edit area, page 471,
471
DYNASIMVIEWS
Flow
RAPH
G
Graph
The Graph window comprises a command area, a plotting area and a Quit button (see "Graph window",
fig.231 p.472). You can have more than one Graph window open at once, for example, concerning the same
zone measured and the same criteria, but for different simulation scenarios.
Command
area
Graph title
Legend
Plotting area
X-axis
Y-axis
Figure 231. Graph window
Click Quit to close the graph window.
The plotting area contains:
the legend defining the curve color code and the identifiers of the data collectors,
the title of the graph repeating the name of the group and the criterion measured,
3. the x-axis representing the simulation time,
4. the y-axis corresponding to the scale of the criterion measured,
5. the actual plotting area.
1.
2.
By positioning the mouses pointer on one of the curves, the curve and its key are highlighted, thus making it
easier to match a curve and the name of its data collector.
To focus on a part of the plot, you must define an area on which you want to focus using a rectangle:
In the plotting area, click and hold one corner of the rectangle that defines the area on which you
want to focus.
2. Drag the cursor to the opposite corner of the rectangle.
3. Release the button; the zone selected is adjusted in the plotting area.
1.
472
GRAPH
The command area is used:
DYNASIMVIEWS
1. Enhanced MetaFile is an exchange format used by software running on Windows 98TM, Windows 2000TM and Windows XPTM
473
RAPH
G
474
19
1.
2.
3.
4.
5.
Demo mode: the software displays the demo model which is a unique model. The user cannot
save its changes. The user cannot create a new study, or load an existing study. The software goes
into demo mode when it was not possible to find license or valid key.
Temporary key: the dongle can be used for a limited time. After that, it is necessary to associate
it with a license code (see below).
Dongle with license: CubeDynasim requires a dongle (USB key), and its unique license code
(associated with the dongle). The dongle must be detected, and the license code must match the
dongle.
Instructional license: It is a license code that is associated with a College or a University. The
license code can be used for a limited time. The backup models can only be loaded by holders of
this license code. Exports are not available with an education license. The education license does
not require a dongle.
ELA license: Please contact Citilabs at generalsupport@citilabs.com for more information.
The release of a new major version of the software requires a new license code.
Moreover, a second property, the export code, determines the number of export operations available depending on the dongle.
This chapter describes how to edit these two parameters in the "License and export code entry window" (see
fig. 232, page 476). This window is accessible in the Menu bar, page 14 by selecting About > License.
475
LICENSE AND
TRANSFER CODES
Software version
ID dongle
License code, page 477 which must be defined when the software is installed,
Export code, page 478 which must be updated when the export token credit is empty.
476
LICENSE
CODE
License code
The license code comprises a series of hexadecimal characters given to the user by the software provider.
The first time you run CubeDynasim, you must specify the license code of the dongle connected to the USB
port on the computer, depending on the type of dongle.
To do so, run CubeDynasim to access the "Main CubeDynasim window in geometric mode" (see fig. 1,
page 14); if necessary, create a new project, page 37:
1.
2.
3.
4.
5.
6.
When exporting the directory containing the projects (see Installing CubeDynasim, page 38) to a
different computer with its own specific dongle, you must enter the license code again on the target
computer.
When updating CubeDynasim, you do not need to enter the license code again if it is not a major
release.
If you change dongles, you must enter the license code again.
477
Each time you install the software on a new computer, you will need to edit the license code.
LICENSE AND
TRANSFER CODES
Select inMenu bar, page 14: About > License to display the "License and export code entry
window" (see fig. 232, page 476).
The ID of the dongle should be displayed, if not, the dongle was not detected. In this case, check
that the dongle driver is installed.
In the License field, enter the license code.
Click Apply to confirm the new license code.
Click Quit to close the "License and export code entry window" (see fig. 232, page 476).
To ensure that the softwares parameters are correctly defined, save the model via the Menu
bar, page 14, by selecting File > Save. If a dialog box is displayed with the message temporary
key expired, the parameter definition has failed. Make sure that the dongle is connected to the
computer and that the code entered is valid, then restart the process. Should the error persist, contact your software provider.
E X P O R T
CODE
Export code
The success of the export depends on the number of remaining export tokens. The dongle determines this
value via an export code, which is a series of hexadecimal characters, and by the number of export operations already performed. This number is displayed in the Remaining exports field (non-editable) in the
"License and export code entry window" (see fig. 232, page 476). When you have no exports remaining,
contact your software provider to obtain a new export code. You must give your software provider your
license name specified in the Name field in the "License and export code entry window" (see fig. 232,
page 476)
To enter the new export code:
Select inMenu bar, page 14: About > License to display the "License and export code entry
window" (see fig. 232, page 476).
2. Enter the new export code in the Export code field.
3. Click Apply. The Remaining exports field is updated.
4. Click Quit to close the "License and export code entry window" (see fig. 232, page 476).
1.
478