Professional Documents
Culture Documents
(AAiT)
Traffic Engineering Project
School of civil and Environmental Engineering
Section 2
1. Dagmawi Getachew …………………………UGR/0057/13
2. Haileamlak Birhan…………………………….UGR/1827/13
3. Tedy Yideg………………………………………..UGR/6180/13
4. Yonas Dawit……………………………………..UGR/4635/13
Network file
Route file
SUMO configuration file.
In SUMO a street network consists of nodes (junctions) and edges (streets connecting
the junctions).we will use netedit to create our basic net.
3. Convert the map in to sumo network by using code “netconvert --osm-files map.osm -o
EBC.net.xml” on CMD and continue your process until we get success. Otherwise , return back and
check procedures.
4. After converting the map. We have to open sumo network file in netedit application.
5. After we open sumo network on net edit can change the number of lanes easily if you
are in the Inspect Mode and click on the relevant edge and change it directly.
8. Then you have to arrange the traffic signals and phase to avoids accident. Click
‘traffic signal mode’ to arrange the phase. And also to avoid congestion we have to
design the 3 lights and duration properly.
Demand Generation in netedit
Now, select the Demand supermode in netedit.
Creating a route is as simple as clicking on the Edges that will compose it. When
selecting an Edge, its color will change.
After selecting all the edges that will compose the desired route, click on Create
route.
Adding a Vehicle
Finally, enter Vehicle Mode by selecting Edit->Vehicle mode, using the shortcut V or
by clicking on the button. To insert a Vehicle, just click on the beginning of the
route.
Now save the Demand (route + vehicle) file . Use File -> Demand elements -> Save
demand elements (Ctrl + Shift + D).
Do not close netedit yet.
Visualizing in sumo
We will open sumo-gui from netedit. To do so, go to Edit -> Open in sumo-gui (Ctrl
+ T). This will open sumo-gui and load our recently created network and demand
files.
As soon as sumo-gui opens, let's save the SUMO configuration file (that relates the
network and demand files) . File -> Save Configuration (Ctrl + Shift + S).
) is set to at
least 80 ms, otherwise, the simulation would happen very fast and we would not be
able to see our only vehicle in our tiny network.