Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Variable speed factor of a specific vehicle

You can use traci.vehicle.setSpeedFactor(vehID) to influence the speedFactor as needed.
If you just want to see more randomness in speeds, the default Krauss carFollowModel provides attribute 'sigma'  range [0,1] for this purpose.
The EIDM model also has parameters to configure random speed fluctuations.
Or you can use the driver state device: https://sumo.dlr.de/docs/Driver_State.html

regards,
Jakob


Am Fr., 19. Nov. 2021 um 09:01 Uhr schrieb Iñaki Cejudo Fresnadillo <icejudo@xxxxxxxxxxxxx>:
Hi, 

Is there a way of changing the speed factor of a specific vehicle during a simulation? or at least not making it constant? Something like setting a normal distribution that changes the speed factor of a vehicle every 'x' time steps.

Thank you,

iñaki

--

Iñaki Cejudo Fresnadillo
Research Assistant | Ayudante de Investigación

icejudo@xxxxxxxxxxxxx
+[34] 943 30 92 30
Intelligent Transport Systems and Engineering | Sistemas de Transporte Inteligentes e Ingeniería

  

member of: 

La información que contiene este mensaje y sus adjuntos son confidenciales y están dirigidos exclusivamente a sus destinatarios. Si recibe este mensaje por error, se ruega nos lo comunique y proceda a su borrado.

The information contained in this electronic message is intended only for the personal and confidential use of the recipients designated in the original message. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top