Random traffic generation

Python libraries for SUMO

Python libraries for SUMO

O/D matrix and route

Untitled

Untitled

From O/D matrix to route

od2trips -c od2trips.config.xml -n taz_file.taz.xml -d od_file.od
duarouter -c duarcfg.xml -o od.rou.xml
<configuration>
	<input>
		<net-file value="network.net.xml"/>
		<route-files value="od_file.odtrips.xml"/>
	</input>
	<output>
		<output-file value="od_route_file.odtrips.rou.xml"/>
	</output>
</configuration>
<additional>
<tazs>
	<taz id="0" edges="5734659#2"/>
	<taz id="1" edges="-86576561#0"/>
	<taz id="2" edges="-232561761#5"/>
	<taz id="3" edges="-4854559#3"/>
	<taz id="4" edges="-5211772#2"/>
</tazs>
</additional>

TAZ settings using netedit

TAZ settings using netedit