You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: software.qmd
+13-6
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,15 @@ author: "R Félix"
5
5
6
6
There are several software options for modeling transportation systems.
7
7
8
-
To choose a traffic simulation software to work with can depend on different things to consider. You may use more than one software, depending on the scale you are working with, and on other characteristics.
8
+
To choose a traffic simulation software to work with can depend on different things to consider.
9
+
You may use more than one software, depending on the scale you are working with, and on other characteristics.
9
10
10
11
## Macro vs. Micro
11
12
12
13
### Macro simulators
13
14
14
-
Some softwares can be more appropriated if using a large scale, such as regional or city-wide area. For instance, the traffic impacts on the development of a new centrality (hospital, airport), or in the introduction of a new bridge or freeway can be simulated with macro simulator software.
15
+
Some softwares can be more appropriated if using a large scale, such as regional or city-wide area.
16
+
For instance, the traffic impacts on the development of a new centrality (hospital, airport), or in the introduction of a new bridge or freeway can be simulated with macro simulator software.
15
17
16
18
[PTV Visum](visum.qmd), Aimsun, and [MatSim](matsim.qmq) are examples of software to deal with a large scale simulation.
17
19
@@ -21,15 +23,18 @@ Usually this type of simulators can smoothly integrate Public Transport informat
21
23
22
24
### Micro simulators
23
25
24
-
Want to simulate changes at a street or neighbourhood level? Then micro simulator software should be used.
26
+
Want to simulate changes at a street or neighbourhood level?
27
+
Then micro simulator software should be used.
25
28
26
29
[PTV Visim](vissim.qmd), [SUMO](sumo.qmd), and [A/B Street](https://a-b-street.github.io/docs/software/abstreet.html) are examples of software to deal with a micro scale simulation.
27
30
28
31
## Paid (Licence) vs. Free
29
32
30
33
### Paid
31
34
32
-
Available commercial software is largely used at many companies and consultants. Universities also usually offer licence access to students and researchers. **At IST we provide access to PTV Visum licence** for registered students[^1].
35
+
Available commercial software is largely used at many companies and consultants.
36
+
Universities also usually offer licence access to students and researchers.
37
+
**At IST we provide access to PTV Visum licence** for registered students[^1].
33
38
34
39
[^1]: Contact Filipe Moura or Rosa Félix to access Visum.
35
40
@@ -49,7 +54,8 @@ To choose a software to work with, you should also consider the operation system
49
54
50
55
You may always use virtual machines to have another OS in your PC, but that comes with memory and performance cost.
51
56
52
-
- For **MacOS** users, [UTM](https://getutm.app/) is a good free option. Keep in mind that the University of Lisbon provides Windows stutent's licences.
57
+
- For **MacOS** users, [UTM](https://getutm.app/) is a good free option.
58
+
Keep in mind that the University of Lisbon provides Windows stutent's licences.
53
59
54
60
- For **Linux** (Ubuntu or Debian) users, [Gnome Boxes](https://apps.gnome.org/Boxes/) are an interesting option to run Windows.
55
61
@@ -61,6 +67,7 @@ PTV Visum and Visim are only available for Windows.
61
67
62
68
We only offer guidance to setup some of the available software[^2].
63
69
64
-
[^2]: If you use other traffic simulation software, you may contribute to this website and create another tutorial 🙂. Fork and Pull Request in this [Github](https://github.com/U-Shift/Traffic-Simulation-Models) repo.
70
+
[^2]: If you use other traffic simulation software, you may contribute to this website and create another tutorial 🙂.
71
+
Fork and Pull Request in this [Github](https://github.com/U-Shift/Traffic-Simulation-Models) repo.
Copy file name to clipboardexpand all lines: sumo.qmd
+30-14
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,9 @@ bibliography: references.bib
6
6
7
7
In this tutorial we will guide you to install and start using SUMO.
8
8
9
-
[SUMO](https://eclipse.dev/sumo/about/) is a free and open source traffic simulation suite. It is available since 2001 and allows modelling of intermodal traffic systems - including road vehicles, public transport and pedestrians. Included with SUMO is a wealth of supporting tools which automate core tasks for the creation, the execution and evaluation of traffic simulations, such as network import, route calculations, visualization and emission calculation [@SUMO2018].
9
+
[SUMO](https://eclipse.dev/sumo/about/) is a free and open source traffic simulation suite.
10
+
It is available since 2001 and allows modelling of intermodal traffic systems - including road vehicles, public transport and pedestrians.
11
+
Included with SUMO is a wealth of supporting tools which automate core tasks for the creation, the execution and evaluation of traffic simulations, such as network import, route calculations, visualization and emission calculation [@SUMO2018].
10
12
11
13
SUMO is available for any operating system.
12
14
@@ -20,25 +22,30 @@ Visit <https://eclipse.dev/sumo/> and download the installation file (137 MB).
20
22
21
23

22
24
23
-
Open the downloaded file and execute in your computer. Accept the defaults and install.
25
+
Open the downloaded file and execute in your computer.
26
+
Accept the defaults and install.
24
27
25
28
### Mac OS
26
29
27
-
> soon. 🐼
30
+
> soon.
31
+
> 🐼
28
32
29
33
### Linux
30
34
31
35
In debian based (ubuntu, kubuntu, popOS, debian) follow this instructions.
32
36
33
-
> soon. 🐧
37
+
> soon.
38
+
> 🐧
34
39
35
40
## Getting started
36
41
37
-
Open SUMO-gui (Graphic User Interface). You should have a window like this:
42
+
Open SUMO-gui (Graphic User Interface).
43
+
You should have a window like this:
38
44
39
45
{width="615"}
40
46
41
-
Several tutorials are available. Try these ones:
47
+
Several tutorials are available.
48
+
Try these ones:
42
49
43
50
-[Hello World](https://sumo.dlr.de/docs/Tutorials/Hello_World.html) - Creating a simple network and demand scenario with [netedit](https://sumo.dlr.de/docs/Netedit/index.html) and visualizing it using [sumo-gui](https://sumo.dlr.de/docs/sumo-gui.html)
44
51
@@ -75,9 +82,11 @@ And a window will open in your browser.
75
82
76
83

77
84
78
-
You may zoom and pan to the area of your interest[^1]. Click on "Select Area" and draw a rectangle with your mouse for which you wish to generate the simulation scenario.
85
+
You may zoom and pan to the area of your interest[^1].
86
+
Click on "Select Area" and draw a rectangle with your mouse for which you wish to generate the simulation scenario.
79
87
80
-
[^1]: Caution: if the map excerpt covers a very large area, the simulation might become slow or even unresponsive. We suggest choosing a similar zoom level as in the initial view.
88
+
[^1]: Caution: if the map excerpt covers a very large area, the simulation might become slow or even unresponsive.
89
+
We suggest choosing a similar zoom level as in the initial view.
81
90
82
91
#### Network Generation
83
92
@@ -92,11 +101,14 @@ The infrastructure import from OSM into the SUMO simulation are affected by diff
92
101
93
102
#### Demand Generation
94
103
95
-
The demand is defined by the demand generation panel. You activate this panel by clicking on the car pictogram.
104
+
The demand is defined by the demand generation panel.
105
+
You activate this panel by clicking on the car pictogram.
96
106
97
107
{width="284"}
98
108
99
-
SUMO supports various modes of transport. At the demand generation panel, you can activate/deactivate the individual modes of transport by clicking the corresponding checkboxes. For each mode of transport, the OSM Web Wizard generates random demand based on a certain probability distribution, which is influenced by two parameters:
109
+
SUMO supports various modes of transport.
110
+
At the demand generation panel, you can activate/deactivate the individual modes of transport by clicking the corresponding checkboxes.
111
+
For each mode of transport, the OSM Web Wizard generates random demand based on a certain probability distribution, which is influenced by two parameters:
100
112
101
113
- Every time a new vehicle is generated, the OSM Web Wizard randomly chooses a departure and arrival edge for the vehicle. The *Through Traffic Factor* defines how many times it is more likely for an edge at the boundary of the simulation area being chosen, compared to an edge entirely located inside the simulation area. A big value for the *Through Traffic Factor* implies that many vehicles depart and arrive at the boundary of the simulation area, which corresponds to a scenario with a lot of through traffic.
102
114
- The *Count* parameter defines how many vehicles are generated per hour and lane-kilometer. Assuming
@@ -118,23 +130,27 @@ In the Road-Type tab of the OSM Web Wizard one can define which road types to be
118
130
119
131
{width="225"}
120
132
121
-
For example, one can only choose motorways, primary, secondary and tertiary to simulate major traffic. This impacts the file size of the OSM map data.
133
+
For example, one can only choose motorways, primary, secondary and tertiary to simulate major traffic.
134
+
This impacts the file size of the OSM map data.
122
135
123
136
By default, all road types are checked which implies downloading and rendering all roads.
124
137
125
138
Unchecking the "Add Polygon" checkbox in the Demand Generation section disables downloading and rendering non-road objects like buildings, waterways, etc. resulting in a smaller file size.
126
139
127
140
#### Generating and Running the scenario
128
141
129
-
The complete scenario will be generated automatically once *Generate Scenario* in the control panel has been clicked. The scenario generation takes a couple of seconds or minutes (depending, among other factors, on the size of the scenario).
142
+
The complete scenario will be generated automatically once *Generate Scenario* in the control panel has been clicked.
143
+
The scenario generation takes a couple of seconds or minutes (depending, among other factors, on the size of the scenario).
130
144
131
145
Once the scenario generation process has finished, the sumo-gui starts and the simulation can be started by pressing the *Play* button.
132
146
133
-
 You will see agents making their trips. Adjust the *Delay* to make it faster or slower.
147
+
 You will see agents making their trips.
148
+
Adjust the *Delay* to make it faster or slower.
134
149
135
150
{width="603"}
136
151
137
-
A new directory under your user folder *`~/SUMO/yyyy-mm-dd-hh-mm-ss`* will be created to host the data and results. You may now edit those files and re-run the simulation (open `run` file).
152
+
A new directory under your user folder *`~/SUMO/yyyy-mm-dd-hh-mm-ss`* will be created to host the data and results.
153
+
You may now edit those files and re-run the simulation (open `run` file).
Copy file name to clipboardexpand all lines: visum.qmd
+16-7
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,9 @@ title: "Visum"
3
3
author: "R Felix"
4
4
---
5
5
6
-
> ❗ This tutorial is only for Windows. If you do not use Windows, you need to have a [Virtual Machine](software.qmd#operating-system). If you have an Arm processor this [won't work](https://us-resources.ptvgroup.com/en-us/ptv-support/system-requirements), even with a VM.
6
+
> ❗ This tutorial is only for Windows.
7
+
> If you do not use Windows, you need to have a [Virtual Machine](software.qmd#operating-system).
8
+
> If you have an Arm processor this [won't work](https://us-resources.ptvgroup.com/en-us/ptv-support/system-requirements), even with a VM.
7
9
8
10
In this tutorial we will guide you to install and start using Visum.
9
11
@@ -13,21 +15,24 @@ In this tutorial we will guide you to install and start using Visum.
13
15
14
16
PTV Visum is available to download at: <https://cgi.ptvgroup.com/visionSetups/en/filter;product=PTV%20Visum>
15
17
16
-
Choose the most recent version (recommended). The file may be more than 1.3 GB.
18
+
Choose the most recent version (recommended).
19
+
The file may be more than 1.3 GB.
17
20
18
21
If you don't have Python installed already in your PC, don't worry, you can opt to install it along the Visum setup.
19
22
20
23
The [available instructions](https://us-resources.ptvgroup.com/en-us/ptv-support/ptv-visum-installation) are very straight forward.
21
24
22
25
### Licence activation
23
26
24
-
> You should have received a server address of where the CERIS licence lives. If not, contact the course teacher.
27
+
> You should have received a server address of where the CERIS licence lives.
28
+
> If not, contact the course teacher.
25
29
26
30
To use Visum with the CERIS licence, you need to download [PTV Licence Manager (Standard)](https://cgi.ptvgroup.com/visionSetups/Setups/LICENSEMANAGER/LicenseManager.exe).
27
31
28
32
{width="610"}
29
33
30
-
It will ask you to download also another tiny software [CodeMeter Runtime](https://us-resources.ptvgroup.com/en-us/ptv-support/ptv-visum-installation). Say yes!
34
+
It will ask you to download also another tiny software [CodeMeter Runtime](https://us-resources.ptvgroup.com/en-us/ptv-support/ptv-visum-installation).
35
+
Say yes!
31
36
32
37
After install it, open PTV Licence Manager, and click on ⚙️ Edit CodeMeter settings:
33
38
@@ -41,15 +46,19 @@ Press close (go back) and now 🔍 **Find Licences**.
41
46
42
47
{width="376"}
43
48
44
-
An available licence row should now appear on the list 🎉. Close it.
49
+
An available licence row should now appear on the list 🎉.
50
+
Close it.
45
51
46
52
## Getting started
47
53
48
-
When launching Visum for the first time, you should have something like this. This is a good signal, it means that the connection to the licence server is running smoothly and that you are ready to start working on your projects! 🚀
54
+
When launching Visum for the first time, you should have something like this.
55
+
This is a good signal, it means that the connection to the licence server is running smoothly and that you are ready to start working on your projects!
56
+
🚀
49
57
50
58

51
59
52
-
The "Tutorial First Steps" may be wise to follow if you are not familiar with the software. It covers the following topics:
60
+
The "Tutorial First Steps" may be wise to follow if you are not familiar with the software.
0 commit comments