Hello,

while trying to add randomization to a simulation, I get the following error with using the output of createVehTypeDistribution.py: Error: attribute 'class' is not declared for element 'vType'

I tried using the output of the tool as an addition file as-is, tried adding the output to my trips.xml file, and tried replacing the trips with the output of the tool. The above error appears in all cases.

What would be the right way to use the output of this tool?

Up until now, I am using OD2TRIPS to generate my trips file, using multiple input files to generate a single trips.xml for all modalities. I think this is not really the way this is meant to be done, but it works. I have to manually add my vehicle types to the trips.xml file after using OD2TRIP. SUMO does complain that "vClass=pedestrian should only be used for persons", but pedestrians nonetheless enter the network. I am looking for a (relatively) easy way to add randomness to my simulation (ideally also painting cars in different colors...). There seem to be many ways to accomplish this, I am unsure what is the best way, given that I am working with OD2TRIPS.

Any help appreciated!

Kind regards,

Menno van der Woude

------------------------------------------------------------------------------
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
sumo-u...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user

Reply via email to