SlideShare a Scribd company logo
1 of 13
To Add Python Installation to Path Environment Variable in Windows 11 OS
Simulation 1
Procedure to build a network and simulate a random traffic in SUMO:
1) Open street maps > select region > export as map.osm
2) Copy osmNetconvert.typ.xml from C:Program Files (x86)EclipseSumodatatypemap
into the working folder
3) Go to cmd then type the following code- netconvert --osm-files map.osm -o test.net.xml
-t osmNetconvert.typ.xml --xml-validation never
4) https://sumo.dlr.de/wiki/Networks/Import/OpenStreetMap > Importing additional
polygons > copy code> save in typemap.xml
or copy the code below-
<polygonTypes>
<polygonType id="waterway" name="water" color=".71,.82,.82" layer="-
4"/>
<polygonType id="natural" name="natural" color=".55,.77,.42" layer="-
4"/>
<polygonType id="natural.water" name="water" color=".71,.82,.82" layer="-
4"/>
<polygonType id="natural.wetland" name="water" color=".71,.82,.82" layer="-
4"/>
<polygonType id="natural.wood" name="forest" color=".55,.77,.42" layer="-
4"/>
<polygonType id="natural.land" name="land" color=".98,.87,.46" layer="-
4"/>
<polygonType id="landuse" name="landuse" color=".76,.76,.51" layer="-
3"/>
<polygonType id="landuse.forest" name="forest" color=".55,.77,.42" layer="-
3"/>
<polygonType id="landuse.park" name="park" color=".81,.96,.79" layer="-
3"/>
<polygonType id="landuse.residential" name="residential" color=".92,.92,.89" layer="-
3"/>
<polygonType id="landuse.commercial" name="commercial" color=".82,.82,.80" layer="-
3"/>
<polygonType id="landuse.industrial" name="industrial" color=".82,.82,.80" layer="-
3"/>
<polygonType id="landuse.military" name="military" color=".60,.60,.36" layer="-
3"/>
<polygonType id="landuse.farm" name="farm" color=".95,.95,.80" layer="-
3"/>
<polygonType id="landuse.greenfield" name="farm" color=".95,.95,.80" layer="-
3"/>
<polygonType id="landuse.village_green" name="farm" color=".95,.95,.80" layer="-
3"/>
<polygonType id="tourism" name="tourism" color=".81,.96,.79" layer="-
2"/>
<polygonType id="military" name="military" color=".60,.60,.36" layer="-
2"/>
<polygonType id="sport" name="sport" color=".31,.90,.49" layer="-
2"/>
<polygonType id="leisure" name="leisure" color=".81,.96,.79" layer="-
2"/>
<polygonType id="leisure.park" name="tourism" color=".81,.96,.79" layer="-
2"/>
<polygonType id="aeroway" name="aeroway" color=".50,.50,.50" layer="-
2"/>
<polygonType id="aerialway" name="aerialway" color=".20,.20,.20" layer="-
2"/>
<polygonType id="shop" name="shop" color=".93,.78,1.0" layer="-
1"/>
<polygonType id="historic" name="historic" color=".50,1.0,.50" layer="-
1"/>
<polygonType id="man_made" name="building" color="1.0,.90,.90" layer="-
1"/>
<polygonType id="building" name="building" color="1.0,.90,.90" layer="-
1"/>
<polygonType id="amenity" name="amenity" color=".93,.78,.78" layer="-
1"/>
<polygonType id="amenity.parking" name="parking" color=".72,.72,.70" layer="-
1"/>
<polygonType id="power" name="power" color=".10,.10,.30" layer="-
1" discard="true"/>
<polygonType id="highway" name="highway" color=".10,.10,.10" layer="-
1" discard="true"/>
<polygonType id="railway" name="railway" color=".10,.10,.10" layer="-
1" discard="true"/>
<polygonType id="boundary" name="boundary" color="1.0,.33,.33" layer="0" fill="false"
discard="true"/>
<polygonType id="admin_level" name="admin_level" color="1.0,.33,.33" layer="0"
fill="false" discard="true"/>
</polygonTypes>
5) cmd> polyconvert --net-file test.net.xml --osm-files map.osm --type-file typemap.xml -o
map.poly.xml --xml-validation never
6) Copy randomTripy.py from C:Program Files (x86)EclipseSumotools into the working
folder
7) cmd > python randomTrips.py -n test.net.xml -r map.rou.xml -e 100 -l
8) Create map.sumo.cfg > contains
a. <net-file value="test.net.xml"/>
b. <route-files value="trips.trips.xml"/>
c. <additional-files value="map.poly.xml"/>
map.sumo.cfg file-
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
<input>
<net-file value="test.net.xml"/>
<route-files value="trips.trips.xml"/>
<additional-files value="map.poly.xml"/>
</input>
<time>
<begin value="0"/>
<end value="1000"/>
</time>
</configuration>
9) Open SUMO GUI > Open Simulation > Run map.sumo.cfg
10) If you are getting error while running the simulation then just see which vehicle is not
having proper route from the code and del. it
FOR OUT PUT-
First make configuration file-
Use this code in notepad ++ and save it as .sumocfg file
<configuration>
<input>
<net-file value="test.net.xml"/>
<route-files value="map.rou.xml"/>
</input>
<time>
<begin value="0"/>
<end value="2000"/>
</time>
</configuration>
Open and run the simulation in sumo gui
For floating car data-
Use this code in cmd-
sumo -c final.sumocfg --fcd-output sumoTrace.xml
sumo trace file will open which shows the floating car data.
1. RAW VEHICLE POSITION DUMP
sumo -c myconfig.sumocfg --netstate-dump my_dump_file.xml
ADD THIS LINE <output> <netstate-dump value="test_dump.xml" /> </output>
TO THE SUMOCFG FILE-
<configuration>
<input>
<net-file value="test.net.xml"/>
<route-files value="map.rou.xml"/>
</input>
<output>
<netstate-dump value="test_dump2.xml" />
</output>
<time>
<begin value="0"/>
<end value="2000"/>
</time>
</configuration>
Now simulate in sumo gui to get output
2. EMISSION OUTPUT
USE CODE –
sumo –c mynew.sumocfg --emission-output my_emission_file.xml
3. For getting full output use code-
sumo -c myconfig.sumocfg --full-output my_full_output.xml
open file (warning above gb)
Simulation 2-
Make a <sumo.net> file from netedit.
Create a four leg junction as shown below-
Save the file to a working folder then copy the randomtrips python file to the same folder
Use code in cmd- python randomTrips.py -n test.net.xml -r map.rou.xml -e 100 –l to
generate random traffic.
<trip id="0" depart="0.00" from="-E3" to="-E0"/>
<trip id="1" depart="1.00" from="-E1" to="E2"/>
<trip id="2" depart="2.00" from="-E3" to="E2"/>
<trip id="4" depart="4.00" from="-E2" to="-E0"/>
<trip id="5" depart="5.00" from="-E1" to="E2"/>
<trip id="6" depart="6.00" from="-E1" to="-E0"/>
<trip id="7" depart="7.00" from="-E3" to="E2"/>
<trip id="8" depart="8.00" from="-E1" to="E2"/>
<trip id="10" depart="10.00" from="-E3" to="E2"/>
<trip id="11" depart="11.00" from="-E2" to="-E0"/>
<trip id="12" depart="12.00" from="E0" to="E1"/>
<trip id="13" depart="13.00" from="-E1" to="-E0"/>
<trip id="14" depart="14.00" from="E0" to="E2"/>
<trip id="15" depart="15.00" from="-E3" to="-E0"/>
<trip id="16" depart="16.00" from="-E1" to="E3"/>
<trip id="17" depart="17.00" from="-E2" to="E1"/>
<trip id="18" depart="18.00" from="E0" to="E2"/>
<trip id="19" depart="19.00" from="E0" to="E2"/>
E0 -E0
E2 -E2
-E1
E1
E3
-E3
<trip id="20" depart="20.00" from="-E3" to="-E0"/>
<trip id="21" depart="21.00" from="-E1" to="-E0"/>
<trip id="22" depart="22.00" from="-E1" to="E3"/>
<trip id="23" depart="23.00" from="-E2" to="E1"/>
<trip id="24" depart="24.00" from="-E3" to="E1"/>
<trip id="25" depart="25.00" from="-E2" to="E1"/>
<trip id="26" depart="26.00" from="-E1" to="E3"/>
<trip id="27" depart="27.00" from="-E3" to="E2"/>
<trip id="28" depart="28.00" from="-E1" to="E3"/>
<trip id="29" depart="29.00" from="-E1" to="E3"/>
<trip id="30" depart="30.00" from="E0" to="E2"/>
<trip id="31" depart="31.00" from="-E3" to="E2"/>
<trip id="32" depart="32.00" from="E0" to="E3"/>
<trip id="33" depart="33.00" from="-E1" to="-E0"/>
<trip id="34" depart="34.00" from="-E1" to="-E0"/>
<trip id="35" depart="35.00" from="-E1" to="E3"/>
<trip id="36" depart="36.00" from="E0" to="E1"/>
<trip id="37" depart="37.00" from="-E3" to="E1"/>
<trip id="38" depart="38.00" from="E0" to="E1"/>
<trip id="39" depart="39.00" from="-E1" to="E2"/>
<trip id="40" depart="40.00" from="-E3" to="E1"/>
<trip id="41" depart="41.00" from="-E3" to="E1"/>
<trip id="42" depart="42.00" from="-E2" to="E1"/>
<trip id="43" depart="43.00" from="E0" to="E1"/>
<trip id="44" depart="44.00" from="-E1" to="-E0"/>
<trip id="45" depart="45.00" from="-E1" to="E2"/>
<trip id="46" depart="46.00" from="-E3" to="E1"/>
<trip id="47" depart="47.00" from="-E1" to="E2"/>
<trip id="48" depart="48.00" from="E0" to="E1"/>
<trip id="49" depart="49.00" from="E0" to="E3"/>
<trip id="50" depart="50.00" from="-E1" to="E3"/>
<trip id="51" depart="51.00" from="-E3" to="E2"/>
<trip id="52" depart="52.00" from="-E1" to="E2"/>
<trip id="53" depart="53.00" from="-E1" to="E3"/>
<trip id="54" depart="54.00" from="-E2" to="E3"/>
<trip id="55" depart="55.00" from="E0" to="E1"/>
<trip id="56" depart="56.00" from="-E2" to="-E0"/>
<trip id="57" depart="57.00" from="E0" to="E3"/>
<trip id="58" depart="58.00" from="-E1" to="E2"/>
<trip id="59" depart="59.00" from="-E3" to="-E0"/>
<trip id="60" depart="60.00" from="-E3" to="E2"/>
<trip id="61" depart="61.00" from="-E3" to="E1"/>
<trip id="62" depart="62.00" from="-E1" to="E2"/>
<trip id="63" depart="63.00" from="-E1" to="E3"/>
<trip id="64" depart="64.00" from="E0" to="E3"/>
<trip id="65" depart="65.00" from="-E1" to="-E0"/>
<trip id="66" depart="66.00" from="E0" to="E3"/>
<trip id="67" depart="67.00" from="-E1" to="E2"/>
<trip id="68" depart="68.00" from="-E1" to="E3"/>
<trip id="69" depart="69.00" from="-E3" to="-E0"/>
<trip id="70" depart="70.00" from="-E2" to="E1"/>
<trip id="71" depart="71.00" from="-E1" to="E3"/>
<trip id="72" depart="72.00" from="-E2" to="E1"/>
<trip id="73" depart="73.00" from="-E3" to="E2"/>
<trip id="74" depart="74.00" from="-E1" to="E2"/>
<trip id="75" depart="75.00" from="E0" to="E2"/>
<trip id="76" depart="76.00" from="-E2" to="E1"/>
<trip id="77" depart="77.00" from="-E1" to="E3"/>
<trip id="78" depart="78.00" from="-E1" to="E2"/>
<trip id="79" depart="79.00" from="-E1" to="E3"/>
<trip id="80" depart="80.00" from="-E1" to="E2"/>
<trip id="81" depart="81.00" from="-E1" to="E3"/>
<trip id="82" depart="82.00" from="E0" to="E2"/>
<trip id="83" depart="83.00" from="-E1" to="E2"/>
<trip id="84" depart="84.00" from="-E1" to="-E0"/>
<trip id="85" depart="85.00" from="E0" to="E2"/>
<trip id="86" depart="86.00" from="-E2" to="E3"/>
<trip id="87" depart="87.00" from="-E3" to="-E0"/>
<trip id="88" depart="88.00" from="E0" to="E2"/>
<trip id="89" depart="89.00" from="-E2" to="E1"/>
<trip id="90" depart="90.00" from="-E3" to="E2"/>
<trip id="91" depart="91.00" from="E0" to="E3"/>
<trip id="92" depart="92.00" from="-E2" to="E1"/>
<trip id="93" depart="93.00" from="E0" to="E1"/>
<trip id="94" depart="94.00" from="-E3" to="E1"/>
<trip id="95" depart="95.00" from="-E2" to="E1"/>
<trip id="96" depart="96.00" from="-E1" to="E3"/>
<trip id="97" depart="97.00" from="-E2" to="E3"/>
<trip id="98" depart="98.00" from="-E3" to="-E0"/>
<trip id="99" depart="99.00" from="E0" to="E3"/>
</routes>
map.sumo.cfg file-
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
<input>
<net-file value="test.net.xml"/>
<route-files value="trips.trips.xml"/>
</input>
<time>
<begin value="0"/>
<end value="10000"/>
</time>
CLICK ON INSPECT MODE> CLICK ON JUNCTION > SELECT TYPE TO TRAFFIC LIGHT > SELECT
TRAFFIC LIGHT MODE > CLICK ON THE JUNCTION AND SAVE THE TLS PROGRAMME FILE AS
TLS.
EDIT> EDIT VISUALIZATION > JUNCTIONS > CLICK ON SHOW LINK TLS INDEX
For static traffic light – (File name – TLS)
<tlLogic id="J1" type="static" programID="0" offset="0">
<!-- <phase duration="42" state="0123456789101112"/> -->
<!-- Green Light-->
<phase duration="42" state="GGgrrrrrrrrr"/>
<!-- Yellow Light-->
<phase duration="3" state="yyyrrrrrrrrr"/>
<!-- all red-->
<phase duration="3" state="rrrrrrrrrrrr"/>
<!--phase 2-->
<phase duration="42" state="rrrGGgrrrrrr"/>
<phase duration="3" state="rrryyyrrrrrr"/>
<phase duration="3" state="rrrrrrrrrrrr"/>
<!--phase 3-->
<phase duration="42" state="rrrrrrGGgrrr"/>
<phase duration="3" state="rrrrrryyyrrr"/>
<phase duration="3" state="rrrrrrrrrrrr"/>
<!--phase 4-->
<phase duration="42" state="rrrrrrrrrGGg"/>
<phase duration="3" state="rrrrrrrrryyy"/>
<phase duration="3" state="rrrrrrrrrrrr"/>
</tlLogic>
</additional>
Run the simulation

More Related Content

What's hot

Lec 13A Signalized Intersections (Transportation Engineering Dr.Lina Shbeeb)
Lec 13A Signalized Intersections (Transportation Engineering Dr.Lina Shbeeb)Lec 13A Signalized Intersections (Transportation Engineering Dr.Lina Shbeeb)
Lec 13A Signalized Intersections (Transportation Engineering Dr.Lina Shbeeb)Hossam Shafiq I
 
Digital systems
Digital systemsDigital systems
Digital systemsraj aditay
 
Intelligent transport system himanshi
Intelligent transport system   himanshiIntelligent transport system   himanshi
Intelligent transport system himanshiPreeti Rashmi
 
Intelligent transport system
Intelligent transport systemIntelligent transport system
Intelligent transport systemCivil Engineers
 
Microscopic traffic stream model
Microscopic traffic stream modelMicroscopic traffic stream model
Microscopic traffic stream modelSAURABHKUMAR1763
 
Highway planning for HIghways and Grand transport roads
Highway planning for HIghways and Grand transport roadsHighway planning for HIghways and Grand transport roads
Highway planning for HIghways and Grand transport roadsRana Ibrahim
 
Traffic simulation
Traffic simulationTraffic simulation
Traffic simulationPraful -
 
multiplexer 4 input
multiplexer 4 inputmultiplexer 4 input
multiplexer 4 inputAnkit Mistry
 
Class 8 mathematical modeling of interacting and non-interacting level systems
Class 8   mathematical modeling of interacting and non-interacting level systemsClass 8   mathematical modeling of interacting and non-interacting level systems
Class 8 mathematical modeling of interacting and non-interacting level systemsManipal Institute of Technology
 
Programmable Logic Devices
Programmable Logic DevicesProgrammable Logic Devices
Programmable Logic Devicesanand hd
 
Multiplexer & de multiplexer
Multiplexer & de multiplexerMultiplexer & de multiplexer
Multiplexer & de multiplexervishalgohel12195
 
Lecture 10 11-signal_flow_graphs
Lecture 10 11-signal_flow_graphsLecture 10 11-signal_flow_graphs
Lecture 10 11-signal_flow_graphsSaifullah Memon
 
time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...
time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...
time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...Waqas Afzal
 
Signal classification of signal
Signal classification of signalSignal classification of signal
Signal classification of signal001Abhishek1
 
Lecture 19 mathematical modeling of pneumatic and hydraulic systems
Lecture 19   mathematical modeling of pneumatic and hydraulic systemsLecture 19   mathematical modeling of pneumatic and hydraulic systems
Lecture 19 mathematical modeling of pneumatic and hydraulic systemsManipal Institute of Technology
 
Digital Electronics( half adders and full adders)
Digital Electronics( half adders and full adders)Digital Electronics( half adders and full adders)
Digital Electronics( half adders and full adders)Bosa Theophilus Ntshole
 
Digital electronics logic families
Digital electronics logic familiesDigital electronics logic families
Digital electronics logic familiesBLESSINAR0
 

What's hot (20)

Latches
LatchesLatches
Latches
 
Lec 13A Signalized Intersections (Transportation Engineering Dr.Lina Shbeeb)
Lec 13A Signalized Intersections (Transportation Engineering Dr.Lina Shbeeb)Lec 13A Signalized Intersections (Transportation Engineering Dr.Lina Shbeeb)
Lec 13A Signalized Intersections (Transportation Engineering Dr.Lina Shbeeb)
 
Digital systems
Digital systemsDigital systems
Digital systems
 
Intelligent transport system himanshi
Intelligent transport system   himanshiIntelligent transport system   himanshi
Intelligent transport system himanshi
 
Intelligent transport system
Intelligent transport systemIntelligent transport system
Intelligent transport system
 
Microscopic traffic stream model
Microscopic traffic stream modelMicroscopic traffic stream model
Microscopic traffic stream model
 
Highway planning for HIghways and Grand transport roads
Highway planning for HIghways and Grand transport roadsHighway planning for HIghways and Grand transport roads
Highway planning for HIghways and Grand transport roads
 
Traffic simulation
Traffic simulationTraffic simulation
Traffic simulation
 
multiplexer 4 input
multiplexer 4 inputmultiplexer 4 input
multiplexer 4 input
 
Class 8 mathematical modeling of interacting and non-interacting level systems
Class 8   mathematical modeling of interacting and non-interacting level systemsClass 8   mathematical modeling of interacting and non-interacting level systems
Class 8 mathematical modeling of interacting and non-interacting level systems
 
Programmable Logic Devices
Programmable Logic DevicesProgrammable Logic Devices
Programmable Logic Devices
 
Counters
CountersCounters
Counters
 
Multiplexer & de multiplexer
Multiplexer & de multiplexerMultiplexer & de multiplexer
Multiplexer & de multiplexer
 
Lecture 10 11-signal_flow_graphs
Lecture 10 11-signal_flow_graphsLecture 10 11-signal_flow_graphs
Lecture 10 11-signal_flow_graphs
 
time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...
time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...
time domain analysis, Rise Time, Delay time, Damping Ratio, Overshoot, Settli...
 
Signal classification of signal
Signal classification of signalSignal classification of signal
Signal classification of signal
 
Vlsi stick daigram (JCE)
Vlsi stick daigram (JCE)Vlsi stick daigram (JCE)
Vlsi stick daigram (JCE)
 
Lecture 19 mathematical modeling of pneumatic and hydraulic systems
Lecture 19   mathematical modeling of pneumatic and hydraulic systemsLecture 19   mathematical modeling of pneumatic and hydraulic systems
Lecture 19 mathematical modeling of pneumatic and hydraulic systems
 
Digital Electronics( half adders and full adders)
Digital Electronics( half adders and full adders)Digital Electronics( half adders and full adders)
Digital Electronics( half adders and full adders)
 
Digital electronics logic families
Digital electronics logic familiesDigital electronics logic families
Digital electronics logic families
 

Similar to SUMO simulation CODES AND STEPS

Let's play a game with blackfire player
Let's play a game with blackfire playerLet's play a game with blackfire player
Let's play a game with blackfire playerMarcin Czarnecki
 
Node Boot Camp
Node Boot CampNode Boot Camp
Node Boot CampTroy Miles
 
Simulator customizing & testing for Xcode 9
Simulator customizing & testing for Xcode 9Simulator customizing & testing for Xcode 9
Simulator customizing & testing for Xcode 9Bongwon Lee
 
-- Task 2- Debugging a program with stacks- queues- and doubly-linked.docx
-- Task 2- Debugging a program with stacks- queues- and doubly-linked.docx-- Task 2- Debugging a program with stacks- queues- and doubly-linked.docx
-- Task 2- Debugging a program with stacks- queues- and doubly-linked.docxAdamq0DJonese
 
Stupid Awesome Python Tricks
Stupid Awesome Python TricksStupid Awesome Python Tricks
Stupid Awesome Python TricksBryan Helmig
 
agri inventory - nouka data collector / yaoya data convertor
agri inventory - nouka data collector / yaoya data convertoragri inventory - nouka data collector / yaoya data convertor
agri inventory - nouka data collector / yaoya data convertorToshiaki Baba
 
Taking Inspiration From The Functional World
Taking Inspiration From The Functional WorldTaking Inspiration From The Functional World
Taking Inspiration From The Functional WorldPiotr Solnica
 
Itsecteam shell
Itsecteam shellItsecteam shell
Itsecteam shellady36
 
java-introduction.pdf
java-introduction.pdfjava-introduction.pdf
java-introduction.pdfDngTin307322
 
A CTF Hackers Toolbox
A CTF Hackers ToolboxA CTF Hackers Toolbox
A CTF Hackers ToolboxStefan
 
Web+GISという視点から見たGISの方向性
Web+GISという視点から見たGISの方向性Web+GISという視点から見たGISの方向性
Web+GISという視点から見たGISの方向性Hidenori Fujimura
 
Workshop 1: Good practices in JavaScript
Workshop 1: Good practices in JavaScriptWorkshop 1: Good practices in JavaScript
Workshop 1: Good practices in JavaScriptVisual Engineering
 
calc3build# calc3bison -y -d calc3.yflex calc3.lgcc -c .docx
calc3build# calc3bison -y -d calc3.yflex calc3.lgcc -c .docxcalc3build# calc3bison -y -d calc3.yflex calc3.lgcc -c .docx
calc3build# calc3bison -y -d calc3.yflex calc3.lgcc -c .docxRAHUL126667
 
Hot Code is Faster Code - Addressing JVM Warm-up
Hot Code is Faster Code - Addressing JVM Warm-upHot Code is Faster Code - Addressing JVM Warm-up
Hot Code is Faster Code - Addressing JVM Warm-upMark Price
 
How I Built a Power Debugger Out of the Standard Library and Things I Found o...
How I Built a Power Debugger Out of the Standard Library and Things I Found o...How I Built a Power Debugger Out of the Standard Library and Things I Found o...
How I Built a Power Debugger Out of the Standard Library and Things I Found o...doughellmann
 
This is not your father's monitoring.
This is not your father's monitoring.This is not your father's monitoring.
This is not your father's monitoring.Mathias Herberts
 

Similar to SUMO simulation CODES AND STEPS (20)

Let's play a game with blackfire player
Let's play a game with blackfire playerLet's play a game with blackfire player
Let's play a game with blackfire player
 
Node Boot Camp
Node Boot CampNode Boot Camp
Node Boot Camp
 
Simulator customizing & testing for Xcode 9
Simulator customizing & testing for Xcode 9Simulator customizing & testing for Xcode 9
Simulator customizing & testing for Xcode 9
 
-- Task 2- Debugging a program with stacks- queues- and doubly-linked.docx
-- Task 2- Debugging a program with stacks- queues- and doubly-linked.docx-- Task 2- Debugging a program with stacks- queues- and doubly-linked.docx
-- Task 2- Debugging a program with stacks- queues- and doubly-linked.docx
 
Intro to Ember.JS 2016
Intro to Ember.JS 2016Intro to Ember.JS 2016
Intro to Ember.JS 2016
 
Stupid Awesome Python Tricks
Stupid Awesome Python TricksStupid Awesome Python Tricks
Stupid Awesome Python Tricks
 
agri inventory - nouka data collector / yaoya data convertor
agri inventory - nouka data collector / yaoya data convertoragri inventory - nouka data collector / yaoya data convertor
agri inventory - nouka data collector / yaoya data convertor
 
Taking Inspiration From The Functional World
Taking Inspiration From The Functional WorldTaking Inspiration From The Functional World
Taking Inspiration From The Functional World
 
Itsecteam shell
Itsecteam shellItsecteam shell
Itsecteam shell
 
Java
JavaJava
Java
 
java-introduction.pdf
java-introduction.pdfjava-introduction.pdf
java-introduction.pdf
 
A CTF Hackers Toolbox
A CTF Hackers ToolboxA CTF Hackers Toolbox
A CTF Hackers Toolbox
 
Gps c
Gps cGps c
Gps c
 
Web+GISという視点から見たGISの方向性
Web+GISという視点から見たGISの方向性Web+GISという視点から見たGISの方向性
Web+GISという視点から見たGISの方向性
 
Workshop 1: Good practices in JavaScript
Workshop 1: Good practices in JavaScriptWorkshop 1: Good practices in JavaScript
Workshop 1: Good practices in JavaScript
 
calc3build# calc3bison -y -d calc3.yflex calc3.lgcc -c .docx
calc3build# calc3bison -y -d calc3.yflex calc3.lgcc -c .docxcalc3build# calc3bison -y -d calc3.yflex calc3.lgcc -c .docx
calc3build# calc3bison -y -d calc3.yflex calc3.lgcc -c .docx
 
Hot Code is Faster Code - Addressing JVM Warm-up
Hot Code is Faster Code - Addressing JVM Warm-upHot Code is Faster Code - Addressing JVM Warm-up
Hot Code is Faster Code - Addressing JVM Warm-up
 
How I Built a Power Debugger Out of the Standard Library and Things I Found o...
How I Built a Power Debugger Out of the Standard Library and Things I Found o...How I Built a Power Debugger Out of the Standard Library and Things I Found o...
How I Built a Power Debugger Out of the Standard Library and Things I Found o...
 
Embedding perl
Embedding perlEmbedding perl
Embedding perl
 
This is not your father's monitoring.
This is not your father's monitoring.This is not your father's monitoring.
This is not your father's monitoring.
 

More from shrikrishna kesharwani

Redesigning of Pochamma Maidan Junction, Warangal
Redesigning of Pochamma Maidan Junction, WarangalRedesigning of Pochamma Maidan Junction, Warangal
Redesigning of Pochamma Maidan Junction, Warangalshrikrishna kesharwani
 
Urban Design Project Of Redesigning Prem Pura Ghat
Urban Design Project Of Redesigning Prem Pura Ghat Urban Design Project Of Redesigning Prem Pura Ghat
Urban Design Project Of Redesigning Prem Pura Ghat shrikrishna kesharwani
 
TRAFFIC SIMULATION AT TOLL ROAD SECTION USING VISSIM SOFTWARE
TRAFFIC SIMULATION AT TOLL ROAD SECTION USING VISSIM SOFTWARETRAFFIC SIMULATION AT TOLL ROAD SECTION USING VISSIM SOFTWARE
TRAFFIC SIMULATION AT TOLL ROAD SECTION USING VISSIM SOFTWAREshrikrishna kesharwani
 
urban Renewal and Conservation Studio assignment
urban Renewal and Conservation Studio assignment urban Renewal and Conservation Studio assignment
urban Renewal and Conservation Studio assignment shrikrishna kesharwani
 
PLANNING FOR SELF RELIANT AND SUSTAINABLE CITY IN TERMS OF WATER SUPPLY
PLANNING FOR SELF RELIANT AND SUSTAINABLE CITY IN TERMS OF WATER SUPPLYPLANNING FOR SELF RELIANT AND SUSTAINABLE CITY IN TERMS OF WATER SUPPLY
PLANNING FOR SELF RELIANT AND SUSTAINABLE CITY IN TERMS OF WATER SUPPLYshrikrishna kesharwani
 
SUSTAINABLE TRANSPORTATION: VARIOUS PLOICIES FORMULATED IN INDIA IN REALISING...
SUSTAINABLE TRANSPORTATION: VARIOUS PLOICIES FORMULATED IN INDIA IN REALISING...SUSTAINABLE TRANSPORTATION: VARIOUS PLOICIES FORMULATED IN INDIA IN REALISING...
SUSTAINABLE TRANSPORTATION: VARIOUS PLOICIES FORMULATED IN INDIA IN REALISING...shrikrishna kesharwani
 
Evaluation of Pedestrian Safety and Road Crossing Behavior at Midblock Crosswalk
Evaluation of Pedestrian Safety and Road Crossing Behavior at Midblock CrosswalkEvaluation of Pedestrian Safety and Road Crossing Behavior at Midblock Crosswalk
Evaluation of Pedestrian Safety and Road Crossing Behavior at Midblock Crosswalkshrikrishna kesharwani
 
Application of GIS in Transportation Planning
Application of GIS in Transportation Planning Application of GIS in Transportation Planning
Application of GIS in Transportation Planning shrikrishna kesharwani
 
A CRITICAL REVIEW ON SELECTION OF BINDER FOR PAVING PROJECTS IN INDIA
A CRITICAL REVIEW ON SELECTION OF BINDER FOR PAVING PROJECTS IN INDIAA CRITICAL REVIEW ON SELECTION OF BINDER FOR PAVING PROJECTS IN INDIA
A CRITICAL REVIEW ON SELECTION OF BINDER FOR PAVING PROJECTS IN INDIAshrikrishna kesharwani
 
Correation, Linear Regression and Multilinear Regression using R software
Correation, Linear Regression and Multilinear Regression using R softwareCorreation, Linear Regression and Multilinear Regression using R software
Correation, Linear Regression and Multilinear Regression using R softwareshrikrishna kesharwani
 
Impact of transportation system on environent
Impact of transportation system on environentImpact of transportation system on environent
Impact of transportation system on environentshrikrishna kesharwani
 
ZONAL DEVELOPMENT PLAN OF HERITAGE ZONE BHOPAL PPT
ZONAL DEVELOPMENT PLAN OF HERITAGE ZONE BHOPAL PPTZONAL DEVELOPMENT PLAN OF HERITAGE ZONE BHOPAL PPT
ZONAL DEVELOPMENT PLAN OF HERITAGE ZONE BHOPAL PPTshrikrishna kesharwani
 
ZONAL DEVELOPMENT PLAN OF HERITAGE ZONE BHOPAL
ZONAL DEVELOPMENT  PLAN OF  HERITAGE ZONE  BHOPAL ZONAL DEVELOPMENT  PLAN OF  HERITAGE ZONE  BHOPAL
ZONAL DEVELOPMENT PLAN OF HERITAGE ZONE BHOPAL shrikrishna kesharwani
 
UJJAIN DEVELOPMENT PLAN (Transportation Proposals)
UJJAIN DEVELOPMENT PLAN (Transportation Proposals) UJJAIN DEVELOPMENT PLAN (Transportation Proposals)
UJJAIN DEVELOPMENT PLAN (Transportation Proposals) shrikrishna kesharwani
 

More from shrikrishna kesharwani (20)

Redesigning of Pochamma Maidan Junction, Warangal
Redesigning of Pochamma Maidan Junction, WarangalRedesigning of Pochamma Maidan Junction, Warangal
Redesigning of Pochamma Maidan Junction, Warangal
 
Innovations in Public Transportation
Innovations in Public TransportationInnovations in Public Transportation
Innovations in Public Transportation
 
Urban Design Project Of Redesigning Prem Pura Ghat
Urban Design Project Of Redesigning Prem Pura Ghat Urban Design Project Of Redesigning Prem Pura Ghat
Urban Design Project Of Redesigning Prem Pura Ghat
 
TRAFFIC SIMULATION AT TOLL ROAD SECTION USING VISSIM SOFTWARE
TRAFFIC SIMULATION AT TOLL ROAD SECTION USING VISSIM SOFTWARETRAFFIC SIMULATION AT TOLL ROAD SECTION USING VISSIM SOFTWARE
TRAFFIC SIMULATION AT TOLL ROAD SECTION USING VISSIM SOFTWARE
 
SUMO ( SIMULATION OF URBAN MOBILITY)
SUMO ( SIMULATION OF URBAN MOBILITY)SUMO ( SIMULATION OF URBAN MOBILITY)
SUMO ( SIMULATION OF URBAN MOBILITY)
 
urban Renewal and Conservation Studio assignment
urban Renewal and Conservation Studio assignment urban Renewal and Conservation Studio assignment
urban Renewal and Conservation Studio assignment
 
PLANNING FOR SELF RELIANT AND SUSTAINABLE CITY IN TERMS OF WATER SUPPLY
PLANNING FOR SELF RELIANT AND SUSTAINABLE CITY IN TERMS OF WATER SUPPLYPLANNING FOR SELF RELIANT AND SUSTAINABLE CITY IN TERMS OF WATER SUPPLY
PLANNING FOR SELF RELIANT AND SUSTAINABLE CITY IN TERMS OF WATER SUPPLY
 
Noise assessment
Noise assessment Noise assessment
Noise assessment
 
SURAT METRO RAIL PROJECT
SURAT METRO RAIL PROJECTSURAT METRO RAIL PROJECT
SURAT METRO RAIL PROJECT
 
Transit Oriented Development.
Transit Oriented Development.Transit Oriented Development.
Transit Oriented Development.
 
SUSTAINABLE TRANSPORTATION: VARIOUS PLOICIES FORMULATED IN INDIA IN REALISING...
SUSTAINABLE TRANSPORTATION: VARIOUS PLOICIES FORMULATED IN INDIA IN REALISING...SUSTAINABLE TRANSPORTATION: VARIOUS PLOICIES FORMULATED IN INDIA IN REALISING...
SUSTAINABLE TRANSPORTATION: VARIOUS PLOICIES FORMULATED IN INDIA IN REALISING...
 
Evaluation of Pedestrian Safety and Road Crossing Behavior at Midblock Crosswalk
Evaluation of Pedestrian Safety and Road Crossing Behavior at Midblock CrosswalkEvaluation of Pedestrian Safety and Road Crossing Behavior at Midblock Crosswalk
Evaluation of Pedestrian Safety and Road Crossing Behavior at Midblock Crosswalk
 
Application of GIS in Transportation Planning
Application of GIS in Transportation Planning Application of GIS in Transportation Planning
Application of GIS in Transportation Planning
 
A CRITICAL REVIEW ON SELECTION OF BINDER FOR PAVING PROJECTS IN INDIA
A CRITICAL REVIEW ON SELECTION OF BINDER FOR PAVING PROJECTS IN INDIAA CRITICAL REVIEW ON SELECTION OF BINDER FOR PAVING PROJECTS IN INDIA
A CRITICAL REVIEW ON SELECTION OF BINDER FOR PAVING PROJECTS IN INDIA
 
Correation, Linear Regression and Multilinear Regression using R software
Correation, Linear Regression and Multilinear Regression using R softwareCorreation, Linear Regression and Multilinear Regression using R software
Correation, Linear Regression and Multilinear Regression using R software
 
SUSTAINABALE TRANSPORTATION
SUSTAINABALE TRANSPORTATIONSUSTAINABALE TRANSPORTATION
SUSTAINABALE TRANSPORTATION
 
Impact of transportation system on environent
Impact of transportation system on environentImpact of transportation system on environent
Impact of transportation system on environent
 
ZONAL DEVELOPMENT PLAN OF HERITAGE ZONE BHOPAL PPT
ZONAL DEVELOPMENT PLAN OF HERITAGE ZONE BHOPAL PPTZONAL DEVELOPMENT PLAN OF HERITAGE ZONE BHOPAL PPT
ZONAL DEVELOPMENT PLAN OF HERITAGE ZONE BHOPAL PPT
 
ZONAL DEVELOPMENT PLAN OF HERITAGE ZONE BHOPAL
ZONAL DEVELOPMENT  PLAN OF  HERITAGE ZONE  BHOPAL ZONAL DEVELOPMENT  PLAN OF  HERITAGE ZONE  BHOPAL
ZONAL DEVELOPMENT PLAN OF HERITAGE ZONE BHOPAL
 
UJJAIN DEVELOPMENT PLAN (Transportation Proposals)
UJJAIN DEVELOPMENT PLAN (Transportation Proposals) UJJAIN DEVELOPMENT PLAN (Transportation Proposals)
UJJAIN DEVELOPMENT PLAN (Transportation Proposals)
 

Recently uploaded

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 

Recently uploaded (20)

Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 

SUMO simulation CODES AND STEPS

  • 1. To Add Python Installation to Path Environment Variable in Windows 11 OS
  • 2.
  • 3.
  • 4. Simulation 1 Procedure to build a network and simulate a random traffic in SUMO: 1) Open street maps > select region > export as map.osm 2) Copy osmNetconvert.typ.xml from C:Program Files (x86)EclipseSumodatatypemap into the working folder 3) Go to cmd then type the following code- netconvert --osm-files map.osm -o test.net.xml -t osmNetconvert.typ.xml --xml-validation never 4) https://sumo.dlr.de/wiki/Networks/Import/OpenStreetMap > Importing additional polygons > copy code> save in typemap.xml or copy the code below- <polygonTypes> <polygonType id="waterway" name="water" color=".71,.82,.82" layer="- 4"/> <polygonType id="natural" name="natural" color=".55,.77,.42" layer="- 4"/> <polygonType id="natural.water" name="water" color=".71,.82,.82" layer="- 4"/> <polygonType id="natural.wetland" name="water" color=".71,.82,.82" layer="- 4"/> <polygonType id="natural.wood" name="forest" color=".55,.77,.42" layer="- 4"/> <polygonType id="natural.land" name="land" color=".98,.87,.46" layer="- 4"/> <polygonType id="landuse" name="landuse" color=".76,.76,.51" layer="- 3"/> <polygonType id="landuse.forest" name="forest" color=".55,.77,.42" layer="- 3"/> <polygonType id="landuse.park" name="park" color=".81,.96,.79" layer="- 3"/> <polygonType id="landuse.residential" name="residential" color=".92,.92,.89" layer="- 3"/> <polygonType id="landuse.commercial" name="commercial" color=".82,.82,.80" layer="- 3"/> <polygonType id="landuse.industrial" name="industrial" color=".82,.82,.80" layer="- 3"/> <polygonType id="landuse.military" name="military" color=".60,.60,.36" layer="- 3"/> <polygonType id="landuse.farm" name="farm" color=".95,.95,.80" layer="- 3"/> <polygonType id="landuse.greenfield" name="farm" color=".95,.95,.80" layer="- 3"/> <polygonType id="landuse.village_green" name="farm" color=".95,.95,.80" layer="- 3"/> <polygonType id="tourism" name="tourism" color=".81,.96,.79" layer="- 2"/> <polygonType id="military" name="military" color=".60,.60,.36" layer="- 2"/> <polygonType id="sport" name="sport" color=".31,.90,.49" layer="- 2"/> <polygonType id="leisure" name="leisure" color=".81,.96,.79" layer="- 2"/> <polygonType id="leisure.park" name="tourism" color=".81,.96,.79" layer="- 2"/>
  • 5. <polygonType id="aeroway" name="aeroway" color=".50,.50,.50" layer="- 2"/> <polygonType id="aerialway" name="aerialway" color=".20,.20,.20" layer="- 2"/> <polygonType id="shop" name="shop" color=".93,.78,1.0" layer="- 1"/> <polygonType id="historic" name="historic" color=".50,1.0,.50" layer="- 1"/> <polygonType id="man_made" name="building" color="1.0,.90,.90" layer="- 1"/> <polygonType id="building" name="building" color="1.0,.90,.90" layer="- 1"/> <polygonType id="amenity" name="amenity" color=".93,.78,.78" layer="- 1"/> <polygonType id="amenity.parking" name="parking" color=".72,.72,.70" layer="- 1"/> <polygonType id="power" name="power" color=".10,.10,.30" layer="- 1" discard="true"/> <polygonType id="highway" name="highway" color=".10,.10,.10" layer="- 1" discard="true"/> <polygonType id="railway" name="railway" color=".10,.10,.10" layer="- 1" discard="true"/> <polygonType id="boundary" name="boundary" color="1.0,.33,.33" layer="0" fill="false" discard="true"/> <polygonType id="admin_level" name="admin_level" color="1.0,.33,.33" layer="0" fill="false" discard="true"/> </polygonTypes> 5) cmd> polyconvert --net-file test.net.xml --osm-files map.osm --type-file typemap.xml -o map.poly.xml --xml-validation never 6) Copy randomTripy.py from C:Program Files (x86)EclipseSumotools into the working folder 7) cmd > python randomTrips.py -n test.net.xml -r map.rou.xml -e 100 -l 8) Create map.sumo.cfg > contains a. <net-file value="test.net.xml"/> b. <route-files value="trips.trips.xml"/> c. <additional-files value="map.poly.xml"/> map.sumo.cfg file- <?xml version="1.0" encoding="UTF-8"?> <configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd"> <input> <net-file value="test.net.xml"/> <route-files value="trips.trips.xml"/>
  • 6. <additional-files value="map.poly.xml"/> </input> <time> <begin value="0"/> <end value="1000"/> </time> </configuration> 9) Open SUMO GUI > Open Simulation > Run map.sumo.cfg 10) If you are getting error while running the simulation then just see which vehicle is not having proper route from the code and del. it FOR OUT PUT- First make configuration file- Use this code in notepad ++ and save it as .sumocfg file <configuration> <input> <net-file value="test.net.xml"/> <route-files value="map.rou.xml"/> </input> <time> <begin value="0"/> <end value="2000"/> </time> </configuration> Open and run the simulation in sumo gui
  • 7. For floating car data- Use this code in cmd- sumo -c final.sumocfg --fcd-output sumoTrace.xml sumo trace file will open which shows the floating car data. 1. RAW VEHICLE POSITION DUMP sumo -c myconfig.sumocfg --netstate-dump my_dump_file.xml ADD THIS LINE <output> <netstate-dump value="test_dump.xml" /> </output> TO THE SUMOCFG FILE- <configuration> <input> <net-file value="test.net.xml"/> <route-files value="map.rou.xml"/> </input> <output> <netstate-dump value="test_dump2.xml" /> </output> <time>
  • 8. <begin value="0"/> <end value="2000"/> </time> </configuration> Now simulate in sumo gui to get output 2. EMISSION OUTPUT USE CODE – sumo –c mynew.sumocfg --emission-output my_emission_file.xml 3. For getting full output use code- sumo -c myconfig.sumocfg --full-output my_full_output.xml open file (warning above gb)
  • 9. Simulation 2- Make a <sumo.net> file from netedit. Create a four leg junction as shown below- Save the file to a working folder then copy the randomtrips python file to the same folder Use code in cmd- python randomTrips.py -n test.net.xml -r map.rou.xml -e 100 –l to generate random traffic. <trip id="0" depart="0.00" from="-E3" to="-E0"/> <trip id="1" depart="1.00" from="-E1" to="E2"/> <trip id="2" depart="2.00" from="-E3" to="E2"/> <trip id="4" depart="4.00" from="-E2" to="-E0"/> <trip id="5" depart="5.00" from="-E1" to="E2"/> <trip id="6" depart="6.00" from="-E1" to="-E0"/> <trip id="7" depart="7.00" from="-E3" to="E2"/> <trip id="8" depart="8.00" from="-E1" to="E2"/> <trip id="10" depart="10.00" from="-E3" to="E2"/> <trip id="11" depart="11.00" from="-E2" to="-E0"/> <trip id="12" depart="12.00" from="E0" to="E1"/> <trip id="13" depart="13.00" from="-E1" to="-E0"/> <trip id="14" depart="14.00" from="E0" to="E2"/> <trip id="15" depart="15.00" from="-E3" to="-E0"/> <trip id="16" depart="16.00" from="-E1" to="E3"/> <trip id="17" depart="17.00" from="-E2" to="E1"/> <trip id="18" depart="18.00" from="E0" to="E2"/> <trip id="19" depart="19.00" from="E0" to="E2"/> E0 -E0 E2 -E2 -E1 E1 E3 -E3
  • 10. <trip id="20" depart="20.00" from="-E3" to="-E0"/> <trip id="21" depart="21.00" from="-E1" to="-E0"/> <trip id="22" depart="22.00" from="-E1" to="E3"/> <trip id="23" depart="23.00" from="-E2" to="E1"/> <trip id="24" depart="24.00" from="-E3" to="E1"/> <trip id="25" depart="25.00" from="-E2" to="E1"/> <trip id="26" depart="26.00" from="-E1" to="E3"/> <trip id="27" depart="27.00" from="-E3" to="E2"/> <trip id="28" depart="28.00" from="-E1" to="E3"/> <trip id="29" depart="29.00" from="-E1" to="E3"/> <trip id="30" depart="30.00" from="E0" to="E2"/> <trip id="31" depart="31.00" from="-E3" to="E2"/> <trip id="32" depart="32.00" from="E0" to="E3"/> <trip id="33" depart="33.00" from="-E1" to="-E0"/> <trip id="34" depart="34.00" from="-E1" to="-E0"/> <trip id="35" depart="35.00" from="-E1" to="E3"/> <trip id="36" depart="36.00" from="E0" to="E1"/> <trip id="37" depart="37.00" from="-E3" to="E1"/> <trip id="38" depart="38.00" from="E0" to="E1"/> <trip id="39" depart="39.00" from="-E1" to="E2"/> <trip id="40" depart="40.00" from="-E3" to="E1"/> <trip id="41" depart="41.00" from="-E3" to="E1"/> <trip id="42" depart="42.00" from="-E2" to="E1"/> <trip id="43" depart="43.00" from="E0" to="E1"/> <trip id="44" depart="44.00" from="-E1" to="-E0"/> <trip id="45" depart="45.00" from="-E1" to="E2"/> <trip id="46" depart="46.00" from="-E3" to="E1"/> <trip id="47" depart="47.00" from="-E1" to="E2"/> <trip id="48" depart="48.00" from="E0" to="E1"/> <trip id="49" depart="49.00" from="E0" to="E3"/> <trip id="50" depart="50.00" from="-E1" to="E3"/> <trip id="51" depart="51.00" from="-E3" to="E2"/> <trip id="52" depart="52.00" from="-E1" to="E2"/> <trip id="53" depart="53.00" from="-E1" to="E3"/> <trip id="54" depart="54.00" from="-E2" to="E3"/> <trip id="55" depart="55.00" from="E0" to="E1"/> <trip id="56" depart="56.00" from="-E2" to="-E0"/> <trip id="57" depart="57.00" from="E0" to="E3"/> <trip id="58" depart="58.00" from="-E1" to="E2"/> <trip id="59" depart="59.00" from="-E3" to="-E0"/> <trip id="60" depart="60.00" from="-E3" to="E2"/> <trip id="61" depart="61.00" from="-E3" to="E1"/> <trip id="62" depart="62.00" from="-E1" to="E2"/> <trip id="63" depart="63.00" from="-E1" to="E3"/> <trip id="64" depart="64.00" from="E0" to="E3"/> <trip id="65" depart="65.00" from="-E1" to="-E0"/> <trip id="66" depart="66.00" from="E0" to="E3"/> <trip id="67" depart="67.00" from="-E1" to="E2"/>
  • 11. <trip id="68" depart="68.00" from="-E1" to="E3"/> <trip id="69" depart="69.00" from="-E3" to="-E0"/> <trip id="70" depart="70.00" from="-E2" to="E1"/> <trip id="71" depart="71.00" from="-E1" to="E3"/> <trip id="72" depart="72.00" from="-E2" to="E1"/> <trip id="73" depart="73.00" from="-E3" to="E2"/> <trip id="74" depart="74.00" from="-E1" to="E2"/> <trip id="75" depart="75.00" from="E0" to="E2"/> <trip id="76" depart="76.00" from="-E2" to="E1"/> <trip id="77" depart="77.00" from="-E1" to="E3"/> <trip id="78" depart="78.00" from="-E1" to="E2"/> <trip id="79" depart="79.00" from="-E1" to="E3"/> <trip id="80" depart="80.00" from="-E1" to="E2"/> <trip id="81" depart="81.00" from="-E1" to="E3"/> <trip id="82" depart="82.00" from="E0" to="E2"/> <trip id="83" depart="83.00" from="-E1" to="E2"/> <trip id="84" depart="84.00" from="-E1" to="-E0"/> <trip id="85" depart="85.00" from="E0" to="E2"/> <trip id="86" depart="86.00" from="-E2" to="E3"/> <trip id="87" depart="87.00" from="-E3" to="-E0"/> <trip id="88" depart="88.00" from="E0" to="E2"/> <trip id="89" depart="89.00" from="-E2" to="E1"/> <trip id="90" depart="90.00" from="-E3" to="E2"/> <trip id="91" depart="91.00" from="E0" to="E3"/> <trip id="92" depart="92.00" from="-E2" to="E1"/> <trip id="93" depart="93.00" from="E0" to="E1"/> <trip id="94" depart="94.00" from="-E3" to="E1"/> <trip id="95" depart="95.00" from="-E2" to="E1"/> <trip id="96" depart="96.00" from="-E1" to="E3"/> <trip id="97" depart="97.00" from="-E2" to="E3"/> <trip id="98" depart="98.00" from="-E3" to="-E0"/> <trip id="99" depart="99.00" from="E0" to="E3"/> </routes> map.sumo.cfg file- <?xml version="1.0" encoding="UTF-8"?> <configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd"> <input> <net-file value="test.net.xml"/> <route-files value="trips.trips.xml"/> </input>
  • 12. <time> <begin value="0"/> <end value="10000"/> </time> CLICK ON INSPECT MODE> CLICK ON JUNCTION > SELECT TYPE TO TRAFFIC LIGHT > SELECT TRAFFIC LIGHT MODE > CLICK ON THE JUNCTION AND SAVE THE TLS PROGRAMME FILE AS TLS. EDIT> EDIT VISUALIZATION > JUNCTIONS > CLICK ON SHOW LINK TLS INDEX For static traffic light – (File name – TLS) <tlLogic id="J1" type="static" programID="0" offset="0"> <!-- <phase duration="42" state="0123456789101112"/> --> <!-- Green Light--> <phase duration="42" state="GGgrrrrrrrrr"/> <!-- Yellow Light--> <phase duration="3" state="yyyrrrrrrrrr"/> <!-- all red--> <phase duration="3" state="rrrrrrrrrrrr"/> <!--phase 2-->
  • 13. <phase duration="42" state="rrrGGgrrrrrr"/> <phase duration="3" state="rrryyyrrrrrr"/> <phase duration="3" state="rrrrrrrrrrrr"/> <!--phase 3--> <phase duration="42" state="rrrrrrGGgrrr"/> <phase duration="3" state="rrrrrryyyrrr"/> <phase duration="3" state="rrrrrrrrrrrr"/> <!--phase 4--> <phase duration="42" state="rrrrrrrrrGGg"/> <phase duration="3" state="rrrrrrrrryyy"/> <phase duration="3" state="rrrrrrrrrrrr"/> </tlLogic> </additional> Run the simulation