Home > Free Essays > Tech & Engineering > Programming > Simulating Traffic Network
Cite this

Simulating Traffic Network Essay


The goal of this project is to design a platform for simulating traffic networks of the vehicular system, including both mobility and network modeling using the C++ programming language. This project uses a network function in NS-3 to allow dedicated short-range communication (DSRC) technology used for vehicle-to-vehicle (V2V) communication. The simulation project gives an execution to estimate urban vehicle development utilizing a minuscule reproduction approach. The improvement of a minuscule movement test system speaks to a twofold test: firstly, the simulation project describes traffic and system demonstrations.

Consequently, the visualization experiment compares installation models in a product stage interfacing with the client in a well-disposed and effective way. The venture depicts the best in class in traffic frameworks. Consequently, the traffic project provides information into activity models and liveliness calculations for showing simulation activities. The conclusion is that this framework effectively gives a representation of a client characterized activity stream and how road architecture influences activity frameworks. Broad documentation will permit clients to stretch out or change the recreation to fit their own particular demonstrating criteria.

Functional Modeling

In this area, we apply the proposed path-changing model to the reenactments of optional and obligatory path changes. To this end, we have recreated a two-path street area of 10 km length with open limit conditions. By implication, the inflow at the upstream limit is the regular control parameter. The inflow at the upstream limit has been kept steady at 1000 vehicles/h/path. Besides, we have accepted an entrance ramp (combining length 300 m) at area x = 7.5 km with a steady inflow of 500 vehicles/h. The obligatory convergence from the entrance ramp to the correct path of the road is demonstrated by a ‘virtual vehicle’ remaining toward the end of the blending path. Because of the forced deceleration to dodge an impact, the engaging quality of the combining path naturally diminishes and subsequently the impetus to converge to the interstate increments when moving toward the standing vehicle. To support path changing in this circumstance, we accept prideful conduct for the combining vehicle in the weaving path by setting p = 0.

Traffic Modeling

Activity displaying hypotheses looks to depict in an exact numerical manner the connections between vehicles and their administrators. The architecture comprises of the street system and all its operational components: control gadgets, signs, and marking. Scientific demonstration of movement stream conduct is essential for various imperative errands, including transportation arrangement, episode discovery, control system plan, simulation in assessing the vitality devoured by transportation frameworks.

The block design of a car traffic design.
The block design of a car traffic design.

System Design

The vehicular specially appointed system (VANET) group confronts the trouble that purchasing and furnishing vehicles with remote systems administration gadgets is very costly. Obviously, reenactment gives the arrangements that most test systems are partitioned into either vehicle or system test systems. In most VANET recreations, the vehicle activity is pre-created and the hint of the development is encouraged into a system test to decide the properties of the VANET. While valuable, this method does not permit vehicles to conform to conduct in light of system messages.

The TrafficLightGenerator class makes an uncommon sort of Vehicle that has a “Movement Light.” As said in the Highway segment traffic lights are dealt with in contrast to normal obstacles in that it is conceivable to drive through them. The TrafficLightGenerator has three planning parameters: Straight, Left, and, Buffer. Straight is the measure of time the Highway is opened up for the activity going straight or right. Left is the measure of time any left turn paths are opened for activity. Buffer is the measure of time that all paths are hindered to take into consideration any vehicles at the crossing point to complete the process of voyaging.

System Design

MOBIL: Lane Changing Model

A general model (minimizing general braking initiated by path change, MOBIL) is proposed to infer path-changing tenets for optional and path changes for a wide class of vehicle models. Both the utility of a given path and the hazard connected with path changes are decided regarding longitudinal increasing speeds figured with infinitesimal activity models. Additionally, anticipative components and the critical impact of speed contrasts of these car models are consequently exchanged to the path evolving rules. Although the wellbeing standard forestalls basic path changes and crashes, the motivating force model considers the points of interest and impediments of different drivers connected with a path change by means of the “factor.”

The parameter permits one to shift the inspiration for path changing from prideful to more agreeable driving conduct. This novel component permits one to start with to forestall path changes for a minor preferred standpoint on the off chance that they deter different drivers and second to give a forceful driver a chance to incite the path change of a slower driver ahead with a specific goal. This wonder is regular for disproportionate passing standards with a committed path for passing. The model is connected to movement reenactments of autos and trucks with the shrewd driver show as the fundamental auto taking after model. An open framework with an entrance ramp is considered, and the subsequent lane-changing rate is explored as a component of the spatial arrangement as well as an element of movement thickness.

The Vehicle Generator is the primary source of Vehicles in the simulator. In

Arbabi’s code, this functionality was contained in the Highway class. However, this made Highway too complicated to maintain and configure. Vehicle Generators operate independently of Highway Project and its Highways. Highway Project creates and configures them based on the XML document supplied. However, when the simulation is started, Highway Project calls the initialize function on Vehicle Generator and does nothing further. The only constructor available to Vehicle Generator passes in a Highway instance to associate with it. The Vehicle Generator uses the Highway to determine how often it should evaluate. During each evaluation, the Vehicle Generator raises a counter with a randomly determined value. When this value reaches a configured limit, the Vehicle Generator will attempt to insert a new Vehicle. If there is a Vehicle in the lane that the Vehicle Generator is attempting to inject, the Vehicle Generator will wait until the Vehicle is at least a (configured) minimum distance from the start of the Highway. During the wait time, the Vehicle Generator continues to increment the counter.


A decent VANET test system is required to have both a brilliant systems administration test system and a decent guess of vehicle movement. Arbabi’s usage of a test system utilizing NS-3’s versatility model and IDM and MOBIL were an awesome stride forward. NS-3’s fantastic system reenactment was consolidated with a genuinely exact and astute driver show. Nevertheless, the test system was restricted in capacity. It could just work in one course and did not consider mixes of Highways. This venture upgraded the code to include the accompanying usefulness: omnidirectional Highways, associated Highways, isolated Vehicle era with a different class, fundamental activity light usefulness, and XML-based setup. This was managed without yielding the exactness of IDM and MOBIL.

This essay on Simulating Traffic Network was written and submitted by your fellow student. You are free to use it for research and reference purposes in order to write your own paper; however, you must cite it accordingly.
Removal Request
If you are the copyright owner of this paper and no longer wish to have your work published on IvyPanda.
Request the removal

Need a custom Essay sample written from scratch by
professional specifically for you?

Writer online avatar
Writer online avatar
Writer online avatar
Writer online avatar
Writer online avatar
Writer online avatar
Writer online avatar
Writer online avatar
Writer online avatar
Writer online avatar
Writer online avatar
Writer online avatar

certified writers online

Cite This paper

Select a referencing style:


IvyPanda. (2020, October 27). Simulating Traffic Network. Retrieved from https://ivypanda.com/essays/simulating-traffic-network/

Work Cited

"Simulating Traffic Network." IvyPanda, 27 Oct. 2020, ivypanda.com/essays/simulating-traffic-network/.

1. IvyPanda. "Simulating Traffic Network." October 27, 2020. https://ivypanda.com/essays/simulating-traffic-network/.


IvyPanda. "Simulating Traffic Network." October 27, 2020. https://ivypanda.com/essays/simulating-traffic-network/.


IvyPanda. 2020. "Simulating Traffic Network." October 27, 2020. https://ivypanda.com/essays/simulating-traffic-network/.


IvyPanda. (2020) 'Simulating Traffic Network'. 27 October.

More related papers
Pss... Stuck with your
assignment? 😱
Pss... Stuck with your assignment? 😱
Do you need an essay to be done?
What type of assignment 📝 do you need?
How many pages (words) do you need?
What’s your deadline? ⏰ Let's see if we can help you!