当前位置:网站首页>[cellular automata] Based on cellular automata, realize the traffic flow problem of expressway toll station, with matlab code

[cellular automata] Based on cellular automata, realize the traffic flow problem of expressway toll station, with matlab code

2022-06-26 06:54:00 Matlab scientific research studio

1 brief introduction

In recent years , China's high-grade highways are developing rapidly , By the end of 2012 end of the year , The mileage of expressways in China has reached 97355 km , Than 2011 Annual growth 14.6%. And our country has since 1984 It has been implemented since “ Loan for road construction 、 Pay for the loan ” The policy of , It mainly collects road tolls for high-grade toll roads above class II , The operation and management of toll collection system is directly related to the traffic efficiency and economic benefits of highway .《 The transportation “ five-year ” development planning 》 Clearly put forward “ Implementation and construction ‘ Two types ’ Social development strategy , Accelerate the construction of a green transportation system ” Development objectives , However, the toll collection system in China is blocked 、 Security and environmental issues have become increasingly prominent , Vehicles passing through the toll collection system are often in “ Stop and go ” And queueing status , Serious loss of energy consumption . Relevant research shows that , exceed 20% Oil consumption and air pollution are due to traffic congestion and “ Stop and go ” Caused by traffic , The vehicle speed is determined by 40km/h Reduce to 10km/h, Fuel consumption will increase 2~4 times . Electronic toll collection (ETC) Although the system can improve the traffic capacity of toll stations , However, it is still difficult to popularize under the economic development level and application conditions of our country , The main vehicle of payment in China is still manual vehicle (MTC). The double entry charging mode adds several sets of charging facilities to the original charging facilities , It realizes that a single lane can charge for multiple vehicles , It greatly reduces the investment in the charging system , And effectively improve the traffic capacity of the toll collection system , The energy consumption of traffic flow is reduced .​

2 Part of the code

function [plaza, v, time, departurescount, departurestime] = clear_boundary(plaza, v, time)%% clear_boundary  remove the cars of the exit cell%% USAGE: [plaza, v, time, departurescount, departurestime] = clear_boundary(plaza, v, time)%        plaza = plaza matrix%                1 = car, 0 = empty, -1 = forbid, -3 = empty&booth%        v = velocity matrix%        time = time matrix, to trace the time that the car cost to pass the plaza.departurescount = 0;departurestime = [];[a,b] = size(plaza);for i = 2:a-1    if plaza(i,b) > 0        departurescount = departurescount + 1;        departurestime(departurescount) = time(i,b);        plaza(i,b) = 0;        v(i,b) = 0;        time(i,b) = 0;    endend

3 Simulation results

4 reference

[1] Shao Xiaoming . Simulation and application of energy consumption of high-grade highway double toll station based on Cellular Automata . Lanzhou Jiaotong University , 2013.

About bloggers : Good at intelligent optimization algorithms 、 Neural networks predict 、 signal processing 、 Cellular automata 、 The image processing 、 Path planning 、 UAV and other fields Matlab Simulation , relevant matlab Code problems can be exchanged by private letter .

Some theories cite network literature , If there is infringement, contact the blogger to delete .

原网站

版权声明
本文为[Matlab scientific research studio]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206260643272941.html