-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distance to leader when using ACC car-following model #13681
Comments
Thanks for your question, but densities is a complex matter, so I fear your question is not precise enough to explain your discrepant expectation adequately.
Maybe also have a look at doc for further insights about the impacts of the vehicle parametrization on the vehicle insertion and consequent traffic density. |
Thank you for your response. I will proceed to read the document for further learning. By the way, may I continue to ask questions here if I have any in the future? |
Sure, feel free to ask further questions related to the topic here. @m-kro will close the issue for now, but we can re-open it anytime, in case you/we discover any problems with the lane density related to the ACC model. |
Hello, I have studied the documentation and reviewed my code, but I still have some questions. Below is a portion of my code from the rou file.
This is the "add" section of the code.
Below is a partial output of the "edgedata" code. After performing calculations, I found that the theoretical Density should be 110, and laneDensity should be 36.667. However, there seems to be a discrepancy with the output from "edgedata." I have been troubleshooting for a while and can't figure out the reason. Could you please provide some insights?
|
Hi, I looked into the issue a bit further and it might be so that there is a bug in the ACC model. Xiao et. al extended the ACC model with a dynamic spacing margin (see eq.6 on page 6). This was introduced to the code base in #11778, but I suspect, the fix unnecessarily adds the vehicle length This should be easily fixed, but it affects a lot of tests, so it might take a while. (Simply reverting back doesn't make sense, because the spacing margin solves a lot of crashes in different cases). |
If you desperately need it, you could fix it for yourself and build your own SUMO (see documentation) by adapting the lines 180-186 in the ACC model to something like this:
|
Thank you very much for your patient explanations and guidance. I will study the ACC model further based on your advice. Additionally, I would like to inquire if you are familiar with the CACC model. I want to know if the default parameters of the CACC model in SUMO are the same as the parameters calibrated by the PATH Laboratory. This is of great importance to me. Thank you again for your patient guidance and answers! |
You may double check with the references in CACC, but as far as I know, the default control gains should have the values you're refering to, since those authors collaborated with the PATH laboratory. Thanks to you also, feedback and support on these models is always appreciated! |
I have looked into it and the fix for the spacing margin seems to working, but it produces now again some collisions for the following test: @behrisch What do we do with such a test? Does it have to be tagged as a |
Hello, I have some questions about the edgedata in my simulation. I have set up a three-lane simulation with ACC (Adaptive Cruise Control) as the car-following model. The vehicle length is 4.75 meters, and I have set tau="1.0", mingap="1.5", and desiredMaxSpeed="15.39". This configuration resulted in a stable traffic flow, and I have set the edgedata frequency to 10 seconds.
In the output file, I obtained the values density="98.18", laneDensity="32.73", and speed="15.27". However, when I calculated the laneDensity as 1000 / Headway, using Headway = length + minGap + tau * speed, I noticed that it does not match the previously obtained value. I'm a bit puzzled by this discrepancy and would greatly appreciate any insight you could provide.
Thank you for your assistance.
The text was updated successfully, but these errors were encountered: