Re: [sumo-user] Using the output of tools\createVehTypeDistribution.py

2017-12-13 Thread Menno van der Woude

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-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


___
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

___
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


Re: [sumo-user] Using the output of tools\createVehTypeDistribution.py

2017-12-13 Thread 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-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


___
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


[sumo-user] Using the output of tools\createVehTypeDistribution.py

2017-12-12 Thread 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-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