Hello, teleporting a vehicle after collisions cannot be disabled at this time. It is done to resolve the invalid simulation state of two vehicles occupying the same space. Since vehicles (generally) do not move backwards, we teleport them to the succeeding lane. If you need to remove vehicles after a collision I suggest you do it once they finish teleporting.
The followSpeed method is called when putting the teleported vehicle back into the network to ensure that vehicles behind it do not collide. regards, Jakob 2013/10/21 Mani Amoozadeh <[email protected]>: > Hi, > > I created a scenario in which 6 cars are moving in a one lane street. > In some point of the simulation, car A collides with its leading vehicle. > Here I noticed that car A is removed from the current lane and it > appears on the next lane! > First, I thought that this may be due to Teleporting feature. So I > diasbled teleporing by giving value 0 to it, but it does not change > anything. > > I need to remove car A completly from simulation environemt. > Assume this scenario: > > car 1 -> car 2 -> car A -> car 3 -> car 4 -> car 5 > > If car A collides with its leading vehicle, I need to remve it completly > from simulation. > In the new setting, leading vehicle of car 2 is car 3 > > car 1 -> car 2 -> car 3 -> car 4 -> car 5 > > Another strange thing also happens after collision. The followSpeed > method of vehicles are called two times! > > What can be the prolem? Thanks! > > > - Mani Amoozadeh > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
