CarFollowingModel-master

所属分类:Windows编程
开发工具:Python
文件大小:1KB
下载次数:3
上传日期:2021-02-01 18:11:53
上 传 者银河禄骐
说明:  用Python写的GM仿真汽车跟驰模型,代码模拟了一个有十辆车的汽车跟随模型。
(Simulation of Car-Following Model using GM First Car-Following Model using Python This code simulates a car-following model with ten vehicles.)

文件列表:
CarFollowing.py (2379, 2016-04-14)

# CarFollowingModel Simulation of Car-Following Model using GM First Car-Following Model using Python! This code simulates a car-following model with ten vehicles. Ten vehicles were traveling at the same speed of 44 ft/sec. The headway between each vehicle was 114 ft. At time 0, vehicle 1 decelerated with a deceleration rate of 4.6 ft/sec^2. Each following vehicle decelerated 2.2 seconds later than the vehicle in front of it. The deceleration rates of the following vehicles follow the GM's First Car-Following Model, while the stimulus coefficient was 0.74. The equation is a(t+t') = 0.74(V_n-1(t) - V_n(t)). a is the deceleration rate. V is the speed of vehicle. The subscript shows the sequence of vehicles. The vehicle movement until the stop of the last vehicle is then simulated. The displacement, speed, and deceleration rate of each vehicle at each time step were output into the data file for plotting and further analysis.

近期下载者

相关文件


收藏者