Good afternoon,
I'm performing traffic attribution with "duaIterate.py".
To insert different types of vehicles from an origin-destination matrix, I ran the "od2trips" command:
od2trips -c C:\Users\Pedro\Sumo\od2trips-carro.config.xml -n C:\Users\Pedro\Sumo\taz_file.taz.xml -d C:\Users\Pedro\Sumo\OD_file-carro.od --vtype carro -o C:\Users\Pedro\Sumo\od_file-carro.odtrips.xml
od2trips -c C:\Users\Pedro\Sumo\od2trips-moto.config.xml -n C:\Users\Pedro\Sumo\taz_file.taz.xml -d C:\Users\Pedro\Sumo\OD_file-moto.od --vtype moto -o C:\Users\Pedro\Sumo\od_file-moto.odtrips.xml
od2trips -c C:\Users\Pedro\Sumo\od2trips-bus.config.xml -n C:\Users\Pedro\Sumo\taz_file.taz.xml -d C:\Users\Pedro\Sumo\OD_file-bus.od --vtype bus -o C:\Users\Pedro\Sumo\od_file-bus.odtrips.xml
od2trips -c C:\Users\Pedro\Sumo\od2trips-cam.config.xml -n C:\Users\Pedro\Sumo\taz_file.taz.xml -d C:\Users\Pedro\Sumo\OD_file-cam.od --vtype caminhao -o C:\Users\Pedro\Sumo\od_file-cam.odtrips.xmlWith the "duaroter" previously configured, I executed the "duaIterate" command for each type of vehicle and obtained the route files.
python tools/assign/duaIterate.py -n rede-03.net.xml -t od_file-carro.odtrips.xml -l 20 --additional tipo.add duarouter--vtype-output dummy.xml duarouter--additional-files tipo.add
python tools/assign/duaIterate.py -n rede-03.net.xml -t od_file-moto.odtrips.xml -l 20 --additional tipo.add duarouter--vtype-output dummy.xml duarouter--additional-files tipo.add
python tools/assign/duaIterate.py -n rede-03.net.xml -t od_file-bus.odtrips.xml -l 20 --additional tipo.add duarouter--vtype-output dummy.xml duarouter--additional-files tipo.add
python tools/assign/duaIterate.py -n rede-03.net.xml -t od_file-cam.odtrips.xml -l 20 --additional tipo.add duarouter--vtype-output dummy.xml duarouter--additional-files tipo.addTo visualize the simulation in the "sumo.cfg" file, I named each of the routes.

I would like to know if this would be the correct procedure.
Thank you in advance for your attention.
Sds,
Pedro Oliveira