Hello everyone,

I would like to thank the previous answer, it helped me to solve the problem 
add the option '--vclass passenger'

I'm still a novice to SUMO. I have already created the network and routes with 
default vehicles in my simulation, but I would like to create scenarios by 
replacing some of the routes with another vehicle class (such as electric 
vehicle). Or substituting trips for classes of vehicles with a higher occupancy 
rate (such as taxis (with a group of people sharing) and robot-taxis (Shared 
Autonomous Vehicle)), with these trips being door-to-door and these vehicles do 
not leave the simulation. I'm doing some testing with a small O/D-matrix, but I 
haven't been able to create these scenarios on my network. Could someone help 
me or know any step-by-step tutorial for beginners? Mainly in relation to 
inserting autonomous vehicles into the network.

I'm leaving again the step by step of what I did:

0 - extract the network from openstreetmap (osm file - map.osm)
I made the file with the data from the O/D matrix (OD_file.od)
od2trips.config.xml
duarcfg_file.trips2routes.duarcfg
config_file.sumocfg

1) Using netconvert, I converted the osm file to net.xml
netconvert --osm-files map.osm -o map.net.xml

2) Using Polyconvert, I converted the shapefile to a polygon file:
polyconvert --net-file map.net.xml --shapefile-prefixes SHPFILE 
--shapefile.id-column ID --shapefile.add-param true --shapefile.fill false 
--shapefile.traditional-axis-mapping true -o SHPFILE.poly.xml --type taz

3) I converted the polygon file to TAZ file (districts.taz.xml):
python edgesInDistricts.py -n map.net.xml -t SHPFILE.poly.xml --vclass passenger

4)Using od2trips, I created the trips:
od2trips -c od2trips.config.xml -n districts.taz.xml -d OD_file.od -o 
od_file.odtrips.xml

5)And using duarouter, I wanted to create the routes:
duarouter -c duarcfg_file.trips2routes.duarcfg

Thank you for your time and sorry for the inconvenience.
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to