[sumo-user] (no subject)

2020-07-22 Thread Eugene Vinitsky
Dear all, I have configured an on-ramp merge but am regularly seeing collisions on it as well as an odd phenomenon where the vehicles move incredibly slowly on the junction, I've tried both: 1. setting speed mode to make sure it's set to 25 2. increasing the length of the merge section Is there

[sumo-user] Change the volume of traffic flows in TraCI

2020-07-22 Thread MohamadReza-Haghani
Hi, I am writing a code in TraCI module of Python. I was wondering to know whether there is any way to change the traffic volume of a flow in TraCI. I appreciate for any help. Best, Reza. -- Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/

Re: [sumo-user] speedFactor does not change the speed and travel time

2020-07-22 Thread Solmaz Razmi Rad - CITG
Dear Laura, I could not see the speed difference because the speedfactor was not working. I had defined the speed factor as a vehicle attribute and this was the problem. I used the “createVehTypeDistribution.py” and generated a series of speed factors. Then I used the type generated by this

Re: [sumo-user] speedFactor does not change the speed and travel time

2020-07-22 Thread Solmaz Razmi Rad - CITG
Hi Giuliana, Thanks for your helpful answer. I had defined the speed factor as a vehicle attribute and this was the problem. I used the "createVehTypeDistribution.py" and generated a series of speed factors. Then I used the type generated by this python code in my route file. It works :)

Re: [sumo-user] speedFactor does not change the speed and travel time

2020-07-22 Thread Maria.Armellini
Hi Solmaz, you should see changes in the travel time. How are you defining the speed factor? I think there are some problems if you use a distribution for speed factor as a vehicle attribute, like this: or But if you define a vehicle type with the desired speed factor distribution and

Re: [sumo-user] Rerouting the vehicle due to lane blockage

2020-07-22 Thread Laura Bieker
Dear Anil, for question 1: please have a look here: https://sumo.dlr.de/docs/FAQ.html#how_to_simulate_an_accident and for your 2: https://sumo.dlr.de/docs/Demand/Automatic_Routing.html or you can use TraCI to for rerouting https://sumo.dlr.de/pydoc/traci._vehicle.html If you use TraCI the

Re: [sumo-user] Previous stage output not available in TraCI

2020-07-22 Thread Tripplanner Mumbai
Finally, I installed SUMO through the command line (sudo apt install SUMO) and tried to get the previous stage data through TraCI but again the same issues persist here, i.e., it goes for exception and the program stops. It is a prolonged question which is yet to be answered by anyone, will I get

[sumo-user] The moto stops after moveToXY

2020-07-22 Thread 謝昀宸
I want to let moto avoid vehicle which parked on the road and this avoidance is in the same lane Using Traci's moveToXY (traci.vehicle.moveToXY(veh, edge, lane, x, y + 2, angle=tc.INVALID_DOUBLE_VALUE,keepRoute=2) (tried all keepRoute But after the y-coordinate of moto is shifted, it doesn’t move

Re: [sumo-user] speedFactor does not change the speed and travel time

2020-07-22 Thread Laura Bieker
Dear Solmaz, did you have a look in sumo-gui to check whether the vehicle are able to drive with a higher speed for a short time or is there maybe a traffic light or other vehicles blocking so that the travel time is not chaging? Best regards, Laura Am Di., 21. Juli 2020 um 17:02 Uhr schrieb

Re: [sumo-user] Access vehicles that arrive in the next step

2020-07-22 Thread Laura Bieker
Hello Marcel, you could use also use he function getDepartedIDList ( https://sumo.dlr.de/pydoc/traci._simulation.html#SimulationDomain-getDepartedIDList) to receive the Vehicle IDs which were inserted into the simulation and change then the parameter for these vehicles and maybe back if you only

Re: [sumo-user] Issues with Vehicles in Simulation

2020-07-22 Thread Maria.Armellini
Hi, sorry for the delay in response. *Regarding the lane problem, have you checked the vehicle routes and the connections at the junction in the picture you send and at the next junction? In this picture you can see an example of what I mean. [cid:image003.jpg@01D66008.F4910D40] If