Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] How to generate 1500 number of vehicles in SUMO with specific routes?

Hello,
if you already know the routes (the sequence of edges) than the easiest way is to define a flow (either with fixed spacing in time or with random spacing):
<flow id="equalSpacing" color="1,1,0"  begin="0" end= "7200" period="4">
    <route edges="beg middle end rend"/>
</flow>
<flow id="randomSpacing" color="1,1,0" begin="0" end= "7200" probability="0.25"> <route edges="beg middle end rend"/> </flow>
If you need to specify exact departure times that is not evenly spaced than you need to write your own script which generates individual vehicles with this departure time.
regards,
Jakob


2017-10-18 16:22 GMT+02:00 Lawrence Soon via sumo-user <sumo-user@xxxxxxxxxxxxxxxxxxxxx>:
Hello all,


Is there any script provided in SUMO or any function in SUMO that enables me to generate 1500 number of vehicles in SUMO with specific routes with specific departure time?


Thanks and have a great day


------------------------------------------------------------------------------
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@lists.sourceforge.net
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


Back to the top