Hello, I have read https://sumo.dlr.de/docs/Demand/Importing_O/D_Matrices.html, there are still some problems
1.The first attachment "od.od" is the od-matrix file I used for testing. According to the instructional video I watched, my setting should be 20 cars from taz0 to taz1, but the route file generated by od2trips only has three trips. Is my understanding wrong? 2.The second attachment is the route file produced by od2trips I set it to the <route-file> of the sumocfg file, but there will be no vehicles when running the simulation. After I deleted the attributes "fromTaz" and "toTaz" of the trip in the od_route file, the car appeared. What caused this problem? 3.Does traci have functions about taz? Like getting how many vehicles are currently in taz If not, is there a way to know the current number of taz vehicles in the python program? Because I want to maintain a certain number of vehicles in each taz Many thanks, Yun
od.od
Description: Binary data
<?xml version="1.0" encoding="UTF-8"?> <!-- generated on 11/09/20 22:04:09 by Eclipse SUMO od2trips Version 1.5.0 <configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/od2tripsConfiguration.xsd"> <input> <taz-files value="taz.add.xml"/> <od-matrix-files value="od.od"/> </input> <output> <output-file value="od_file.odtrips.xml"/> </output> <time> <end value="200"/> </time> </configuration> --> <routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd"> <trip id="9" depart="18.39" from="405115649#1" to="-160717698#3" fromTaz="0" toTaz="1" departLane="free" departSpeed="max"/> <trip id="5" depart="55.65" from="-152193617#0" to="160095002#0" departLane="free" departSpeed="max"/> <trip id="19" depart="163.02" from="-298592948#4" to="-108071730#11" fromTaz="0" toTaz="1" departLane="free" departSpeed="max"/> </routes>
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
