[
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 Jakob,
Thanks. The "waited too long" issue has been resolved. However, the Yellow Phase is set to 5s while Green Phase is set to 36s in the simulation. Observed the deceleration exceed what has been set in rou.xml as follows:
<vType accel="3.0" decel="3.0" id="CarA" length="5.0" minGap="2.5" maxSpeed="27.78" sigma="0.5"/>
[cid:7a613890-0217-4021-9646-3f5ba912674d]
Where shall I set the speedFactor value so that it prevents unnecessarily collisions? And what value shall be set?
Thanks and have a great day!
Best Regards,
Lawrence
________________________________
From: Jakob Erdmann <namdre.sumo@xxxxxxxxxxxxxx>
Sent: Thursday, October 26, 2017 1:59 PM
To: Lawrence Soon
Cc: sumo-user@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [sumo-user] How to generate 1500 number of vehicles in SUMO with specific routes?
Hello,
- the emergency braking and resulting collisions are explained here: http://sumo.dlr.de/wiki/Simulation/Safety#Deliberately_causing_collisions. Observe the simulation to determine whether the braking vehicles are going to fast (hight speedFactor value) or whether the yellow phases are too short.
Simulation/Safety - Sumo<http://sumo.dlr.de/wiki/Simulation/Safety#Deliberately_causing_collisions>
sumo.dlr.de
The consequence of a collision is configured using the option --collision.action using one of the following keywords: teleport: (the default): the follower vehicle is ...
- the "waited too long" warnings can result from too much traffic in relation to the network size but can also be caused by improper route assignment. See http://sumo.dlr.de/wiki/Demand/Dynamic_User_Assignment
Demand/Dynamic User Assignment - Sumo<http://sumo.dlr.de/wiki/Demand/Dynamic_User_Assignment>
sumo.dlr.de
General behavior. This script tries to calculate a user equilibrium, that is, it tries to find a route for each vehicle (each trip from the trip-file above) such that ...
regards,
Jakob
2017-10-26 5:33 GMT+02:00 Lawrence Soon <lawrencesoon86@xxxxxxxxxxx<mailto:lawrencesoon86@xxxxxxxxxxx>>:
Hi Jakob,
I wrote a script to generate 2200 vehicles and I realised the following errors after running sumo. Seems that there are always collisions of vehicles in the map and vehicles are teleport-ed when the number of vehicles are too huge. How to generate a huge number of cars (2.2k for example) and to ensure that there are no collisions?
[cid:b363c5f7-6916-46ad-b6d3-5a0313613c0a]
Thanks and have a great day!
Best Regards,
Lawrence
________________________________
From: Jakob Erdmann <namdre.sumo@xxxxxxxxxxxxxx<mailto:namdre.sumo@xxxxxxxxxxxxxx>>
Sent: Thursday, October 19, 2017 2:55 PM
To: Lawrence Soon
Subject: Re: [sumo-user] How to generate 1500 number of vehicles in SUMO with specific routes?
randomTrips is only usefull if you know nothing about the routes. Since you already have the edges, you can specify the flow directly. If you need random spacing but an exact number you can use the first definition in my previous answer (fixed period) and process that file using the duarouter application with the option --randomize-flows. (this will distribute the exact number of vehicles randomly in the begin-end time range).
regards,
Jakob
2017-10-19 2:24 GMT+02:00 Lawrence Soon <lawrencesoon86@xxxxxxxxxxx<mailto:lawrencesoon86@xxxxxxxxxxx>>:
Jakob,
Good day. I wish to specify a specific route (eg 10 different routes) in my map so that when running randomTrip.py, the generated cars only go to thro' that 10 specific routes. How to specify the specific route in certain format in a file as an input to the randomTrip.py?
For example, 10 specified routes that I wish to generate via randomTrip.py:
route1 = "street1leftleft2 street1btm street2btm1 street2btm2 street2right1 street4right1 street4right2 street67leftright street9right"
route2 = "street8leftright2 street8leftright1 street5top street6top street7top"
route3 = "street89leftrigth1 street56lefttight street35btmtop1 street3leftright street1leftright1 street1leftright2"
route4 = "street89leftrigth1 street56lefttight street34leftright street13topbtm street1leftright1 street1btm 478355846#0"
route5 = "street1leftleft2 street1btm street2btm1 smallstreet2mid street24btmtop2 street4right1 street4rightleft street46btmtop1 street35btmtop1 173166893#0"
route6 = "street8leftright2 street8leftright1 street5leftright street3leftright street1leftright1 street1btm street2btm1 smallstreet2mid street24btmtop1 street13topbtm 21581785#0"
route7 = "street7btm2 street46btmtop2 street46btmtop1 street34leftright street12leftright 478355846#0"
route8 = "street1leftleft2 street1leftleft1 street3leftleft1 street3leftleft2 street5leftleft street5top street6top street7top"
route9 = "-448084962 475217889 street2right1 street4right1 street4rightleft street46btmtop1 street34leftright street12leftright 478355846#0"
route10 = "street89leftrigth1 street56lefttight street34leftright street12leftright street2btm1 street2btm2 street2right1 street4right1 street4right2 street67leftright street9right"
I understand that it should be listed in the format below:
<route edges="street5leftleft juncons58 street5top street6top street9right 198990366#0 street89leftrigth3 22514882#0 164179765 street8leftright1"/>
Yet I have doubts on the way that I can specify it into a certain format as an input to random.Trip.py<http://random.Trip.py>?
Thanks and have a great day!
Best Regards,
Lawrence
________________________________
From: Víctor Caballero Codina <vcaballero@xxxxxxxxxxxx<mailto:vcaballero@xxxxxxxxxxxx>>
Sent: Thursday, October 19, 2017 2:19 AM
To: Lawrence Soon; Sumo project User discussions
Subject: Re: [sumo-user] How to generate 1500 number of vehicles in SUMO with specific routes?
Hello,
I am new to SUMO, so I can't offer you a lot of help. Are you asking for something like the scripts used in this video? https://www.youtube.com/watch?v=Mh4WnY4KY4Y . The only missing feature in this example is the departure time.
[https://www.bing.com/th?id=OVP.hAX_mKRzNOrCE0Knuiva6AEsCt&pid=Api]<https://www.youtube.com/watch?v=Mh4WnY4KY4Y>
Vehicular and Pedestrian simulated scenario using SUMO, Hofgarten, Munich<https://www.youtube.com/watch?v=Mh4WnY4KY4Y>
www.youtube.com<http://www.youtube.com>
Simulation of Urban Mobility (SUMO) is a free and open source simulator for traffic simulations. In this video, vehicular and pedestrian scenario is simulated. The ...
Cheers,
Víctor Caballero (vcaballero@xxxxxxxxxxxx<mailto:vcaballero@xxxxxxxxxxxx>)
Ph.D. Student at La Salle Barcelona - Ramon Llull University
On 18/10/2017, 16:23, "sumo-user-bounces@xxxxxxxxxxx<mailto:sumo-user-bounces@xxxxxxxxxxx> on behalf of Lawrence Soon via sumo-user" <sumo-user-bounces@xxxxxxxxxxx<mailto:sumo-user-bounces@xxxxxxxxxxx> on behalf of sumo-user@xxxxxxxxxxxxxxxxxxxxx<mailto:sumo-user@xxxxxxxxxxxxxxxxxxxxx>> wrote:
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@xxxxxxxxxxxxxxxxxxxxx<mailto:sumo-user@xxxxxxxxxxxxxxxxxxxxx>
https://lists.sourceforge.net/lists/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx<mailto: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 Info Page - Eclipse<https://dev.eclipse.org/mailman/listinfo/sumo-user>
dev.eclipse.org<http://dev.eclipse.org>
Mailing list: sumo-user Sumo project User discussions About 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
sumo-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sumo-user