Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Using the output of tools\createVehTypeDistribution.py

Hey Mirko,

thank you, this works!
I'd be curious if there exist some accepted standards to use for generating such distrutions. Or maybe it just differs considerably per situation, and generic numbers would make little sense...

Kind regards,
Menno

Op 13-12-2017 om 19:14 schreef Mirko Barthauer:
Hi Menno,

please use "vClass" instead of "class". I have updated the wiki page http://sumo.dlr.de/wiki/Tools/Misc#createVehTypeDistributions.py which also mentioned the non-exisitng attribute "class".

Regards
Mirko

Am 12.12.2017 um 09:41 schrieb Menno van der Woude via sumo-user:
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-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


Back to the top