Hi Hannah, this is not possible, because the script cannot know which vehicle should get which type. If you want to assign them at random you can use a vehicle type distribution http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Route_and_vehicle_type_distributions and give the name of the distribution there. If you have some other parameters determining the type simply do multiple runs of randomTrips.py for all different types and feed all resulting route file sinto the simulation.
Best regards, Michael Am 2016-10-07 10:18, schrieb Hannah Parker: > Hi, > > I'm using randomTrips to create traffic for my network. I am using an > additional file with all my vtypes in it and using the command from the > example on http://sumo.dlr.de/wiki/Tools/Trip : > > <SUMO_HOME>/tools/randomTrips.py -n input_net.net.xml > --trip-attributes="type=\"myType\"" --additional-file type.add.xml > --edge-permission passenger > > I have several vtypes defined in my additional file. Is it possible to > add > multiple type="myType" parameters into the --trip-attributes=? > > Thank you. > > Hannah > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
