eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.55k stars 1.43k forks source link

Wiedemann 74 model #14905

Closed khzannat closed 5 months ago

khzannat commented 5 months ago

HI, I want to do a local area traffic simulation using 2 parameters Wiedemann 74 model. I need to specify average standstill distance and safety distance (which has both additive and multiplicative random component) along with other car following components (minGap, accel, decel, tau, step length). However, in the given link for Wiedemann two parameters model there are two attributes "security" and "estimation". How these attributes are linked with the required parameters for Wiedemann model? Also, how can I specify the average standstill distance and safety distance component of Wiedemann model using default settings of sumo? Or, do I need to implement the 74 model as a new car following model? Could you please share any additional documentation or example project of 2 parameters Wiedemann 74 model implemented using sumo.

namdre commented 5 months ago

The estimation parameter influences the distance threshold between following and freeflow behavior.

For details refer to the code at https://github.com/eclipse-sumo/sumo/blob/main/src/microsim/cfmodels/MSCFModel_Wiedemann.cpp

namdre commented 5 months ago

you may be interested in #14907

namdre commented 5 months ago

Also, the original Work by Wiedemann (including the formulas for ax and bx) can be found at: https://www.researchgate.net/profile/Peter-Vortisch/post/Where-I-can-find-the-mathematical-formulation-of-Wiedemann-99-car-following-model/attachment/59d64455c49f478072eacc42/AS%3A273739390881792%401442275965040/download/Wiedemann+72+Scan+low+quality.pdf?_tp=eyJjb250ZXh0Ijp7ImZpcnN0UGFnZSI6Il9kaXJlY3QiLCJwYWdlIjoicXVlc3Rpb24ifX0

khzannat commented 5 months ago

Thank you very much. It was really helpful. In the given link, I found there is not need to specify the tau. Perception and reaction related factors are all governed by the random component (ex). If I specify or not specify tau in the vType does it has any implication with the estimation? It came into my mind while I see in the code "stopping" convention is derived from the krauss concept and tau is a crucial component in krauss model.

namdre commented 5 months ago

tau is only relevent for car-following so it doesn't affect the Krauss-safeStopSpeed code (used for intersections and schedule stops).

khzannat commented 5 months ago

Does there need to be an upper limit on the security and estimates parameter? Or they can be anything greater than 0?

namdre commented 5 months ago

there is technical reason for an upper limit.