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 <
[email protected]>:

> 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
>
> --
> <https://www.vicomtech.org>
>
> Iñaki Cejudo Fresnadillo
> Research Assistant | Ayudante de Investigación
>
> [email protected]
> +[34] 943 30 92 30
> Intelligent Transport Systems and Engineering | Sistemas de Transporte
> Inteligentes e Ingeniería
>
> <https://www.linkedin.com/company/vicomtech>
> <https://www.youtube.com/user/VICOMTech>  <https://twitter.com/@Vicomtech>
>
> member of:  <https://graphicsvision.ai/>
>
> 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
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to