Hi Camillo,
 
tau is a car-following model parameter which defines the time gap between 
the vehicles and can be defined in the vehicle type definition inside the 
route file (see docs
<https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#car-following_model_parameters>
 
). So basically you define a vehicle type like this:
 
<vType id="myType" tau="1" />
 
At tau = 1s the distance to the leading vehicle when driving at 7.885m/s is 
7.885m (no rocket math here ;-)). Obviously I have left out all the other 
possible vehicle type attributes you can find in the documentation. The 
vehicle type can be referenced by its ID in the flow using the type 
attribute.
 
Best regards
Mirko
 
 
 
 
-----Original-Nachricht-----
Betreff: Re: [sumo-user] How to set fixed time gaps between vehicles?
Datum: 2023-10-16T21:18:07+0200
Von: "Camillo S" <[email protected]>
An: "Mirko Barthauer" <[email protected]>
 
 
 
Hi Mirko,
Thank you for the link. I tried the solution and understood the way to 
define the constant density but I am not sure I understood how to define 
the fixed time gap/spacing between the vehicles..I can't really understand 
what the sentence below means and how to change the tau value. Thanks. 
    * at a default value of tau=1 (desired time headway excluding minGap)
      this means vehicles will be in a stationary state at 7.885m/s

On Mon, 16 Oct 2023 at 18:01, Mirko Barthauer <[email protected]
<mailto:[email protected]> > wrote:
  Hi Camillo,
   
  please read carefully the FAQ entry
  
<https://sumo.dlr.de/docs/FAQ.html#how_do_i_insert_vehicles_with_a_fixed_density>
 
  about constant density and get back if you have more questions.
   
  Best regards
  Mirko
   
   
   
   
  -----Original-Nachricht-----
  Betreff: [sumo-user] How to set fixed time gaps between vehicles?
  Datum: 2023-10-16T17:36:59+0200
  Von: "Camillo S via sumo-user" <[email protected]
  <mailto:[email protected]> >
  An: "[email protected] <mailto:[email protected]> " <
  [email protected] <mailto:[email protected]> >
   
   
   
  Hi all,
   
  I would like to fix the movement of the vehicles with a fixed time gap
  between them so that they will move in a platoon like manner. I tried to
  find the solution in the documentation to adjust the flow information but
  I am not able to understand how to do this correctly. I would like to
  have a density of 80 vehicles/km with a time gap of 2 seconds between the
  vehicles. Can this be defined in the route file itself? Thank you.
   
  Best,
  Camillo
   
 

_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to