I'm currently inspecting the code for the deceleration behaviour of the "CC human driver" for the ALKS deceleration scenario. I took the Reg 157 and the JAMA paper (https://www.grcc.vip/article-7247.html) as a reference and tried to match the diagrams for the "skilled human performance model" with the calculations and parameters in the Python code (models.py, vehicle.py, movement.py, ...).
So I took this as a reference:

I realized to things:
- in the code I did not see the risk perception time of 0.4 seconds. In the code the CC human driver immediately starts to brake for 0.75 seconds with 0.4m/s^2 deceleration and then start to ramp deceleration to 0.774G. See the green line in the picture below.
Expectation (see red line in the picture below) is to have acceleration 0.0 for 0.4 seconds after the leading vehicle reaches 5m/s^2 deceleration. Then 0.75seconds with acceleration 0 and a transition to coast state (the vehicle rolls with negative engine torque, rolling resistance and air drag) with a small deceleration. Then after 0.75 seconds ramping down to 0.774G.
- The code does not detect if the leading vehicle reaches the 5m/s^2 deceleration. If one f.ex. provides a deceleration of 3m/s^2 as command line argument to the "run_one_case" the human driver starts to decelerate with 0.4m/s^2 immediately despite the leading vehicle never is at 5m/s^2.

When comparing the red and green lines the green one is a more optimistic performance model for the human driver. It decelerates early and does not consider acceleration 0 where the driver still has the foot on the accelerator pedal. (Acceleration 0 means the engine sill produces positive torque and compensates the driving resistances). Could you please comment.
I'm currently inspecting the code for the deceleration behaviour of the "CC human driver" for the ALKS deceleration scenario. I took the Reg 157 and the JAMA paper (https://www.grcc.vip/article-7247.html) as a reference and tried to match the diagrams for the "skilled human performance model" with the calculations and parameters in the Python code (models.py, vehicle.py, movement.py, ...).
So I took this as a reference:
I realized to things:
Expectation (see red line in the picture below) is to have acceleration 0.0 for 0.4 seconds after the leading vehicle reaches 5m/s^2 deceleration. Then 0.75seconds with acceleration 0 and a transition to coast state (the vehicle rolls with negative engine torque, rolling resistance and air drag) with a small deceleration. Then after 0.75 seconds ramping down to 0.774G.
When comparing the red and green lines the green one is a more optimistic performance model for the human driver. It decelerates early and does not consider acceleration 0 where the driver still has the foot on the accelerator pedal. (Acceleration 0 means the engine sill produces positive torque and compensates the driving resistances). Could you please comment.