基于二维元胞自动机的交通流模拟分析
二维元胞自动机 基于二维元胞自动机的交通流模拟分析44http://xbbjb.swu.cn38St(i,j)=F[S(i,j),S,(i-1,j),S,(i+1,j),S,(i,j-1),S,(i,j+1)](1)BMI(1)BMIT=4t=341843.2/(N×N)NXN(AJAVAT=232×32,64×64,128128,256×256,512×512,T=4128×128MATLAB01100002000∷;酸(a)暂念的渐近状态(b)暂心的阻塞状态3128×128128×128C1994-2013CHinaAcademicJOurnalElectronicPublishingHouse.Allrightsreservedhttp://www.cnki.net643平均速度与密度关系图1.0平均速度曲线L32×320L=64x=128×1280808=256×2560.7512x512060.6053.330H040.30.20.2w0.10152253035404500.2040.6081.012141.61820密度/时间步10T=25128×1280.34.3BMLT0.80.60.4502eBMI02515密度/6128×128BMI(T-2T-4)BMIBMI[1 NAGEL K, SCHRECKENBERG M. A Cellular Automaton Model for Freeway Traffic [J]. Journal of Physique, 19922:221-2292 HAM O, MIDDLETON AA, LEVINE D. Self-Organization and a Dynamical Transition in Traffic Flow Models [J]Physical Review E, 1992(10):6124-6127L3 FUKUI M. ISHIBASHI Y. Traffic Flow in 1D Cellular Automaton Model Including Cars Moving with High Speed LJJ996,65(6):1868-1872005,54(10):4621-4626,2010,10(2):122-128C1994-2013cHinaAcademicJournalElectronicPublishingHouse.Allrightsreservedhttp://www.cnki.net46http://xbbjb.swu.cn38On Simulation and analysis on Traffic Flow Based onTwo-Dimensional Cellular automationMEI Hong, CHENG WeiZHANG Yun-sheng, YU Peng-cheng1. Faculty of Continuing Education, Kunming University of Science and Technology, Kunming 650051, China;2. Faculty of Transportation Engineering, Kunming University of Science and Technology, Kunming 65005 1, ChinaFaculty of Information Engineering and Automation, Kunming University cf Science and Technology, Kunming 650051. China4. Computer Center, Kunming University of Science and Technology, Kunming 650051. ChinaAbstract: BML model is a two-dimensional cellular automata model, which is especially used to simulateand analy ze the traffic system. We use Java language to implement this model. With this model, the re-ationship between the average velocity and the average density has been found by computer simulationThe phase transition and self organization have also been faund. And at last, the bml model improved intraffic light cycle changes for exploring more valuable to the research and applicationKey words: two-dimensional cellular automation; traffic flow; BML modelC1994-2013CHinaAcademicJOurnalElectronicPublishingHouse.Allrightsreservedhttp://www.cnki.net
- 2020-12-11下载
- 积分:1
ukf在matlab下的实现
ukf在matlab下的实现,包括原理和matlab代码实现在 matlab下进行仿真实验,得到各个状态变量的仿真数值。实验结果如下面两个图,其中实线为变量的真实值,星状的点为测量值,虚线为仙计值。(1)仿真环境1的实验结果如下,三部分分别为X三个状态变量的70个周期的仿真结果0南帅幽数和率中+十中平杯事需军牛*告赤啪一求帝率牛物半*“半*来生“主**钟材长、数,种李家半米出和造+*y和峰*举卡一米半米由上图可以看出,在线性系统中,尽管只有当前速度变量x2的测量值,没有测量出位置和加速度,系统却可以较好地估计出当前的准确位置和加速度。(2)仿真环境2的实验结果如下:四个部分分别为前四个状态变量的20个周期的仿真结果,它们分别代表XY两个方向的位置和速度:In1416平土一年一一常14由上图可以看出,星状的点偏差明显,但两条线却吻合较好。也就是说,系统的测量方程虽然为非线性测量方程,且在测量方程的随机误襤R较大的情况下,系统仍然能很好的估计岀位置和速度。可见UKF在非线性系统估计滤波的实用价值。综上所述,无论是在线性系统还是非线性测量系统屮,如果采用UKF进行系统估计,只要系统是能观测的,那么就可以很好地进行系统滤波估计。4 MATLAB源代码:(1)UKF源代码:(2)输入文件源代码
- 2021-05-07下载
- 积分:1