Scientific Programming

Scientific Programming / 2021 / Article

Research Article | Open Access

Volume 2021 |Article ID 8835859 |

Muhammad Raees, Tamim Ahmed Khan, Khurrum Mustafa Abbasi, Afzal Ahmed, Samina Fazilat, Inaam Ahmed, "Context-Aware Services Using MANETs for Long-Distance Vehicular Systems: A Cognitive Agent-Based Model", Scientific Programming, vol. 2021, Article ID 8835859, 12 pages, 2021.

Context-Aware Services Using MANETs for Long-Distance Vehicular Systems: A Cognitive Agent-Based Model

Academic Editor: Daniela Briola
Received15 Aug 2020
Revised15 Feb 2021
Accepted02 Apr 2021
Published21 Apr 2021


Long-distance transportation systems play an important role in economic growth. Yet, these systems are incurred with multifaceted delays and cost problems. The major incites affecting transportation systems are congestion, breakdowns, emergencies, and inclement weather. Scarcity of information about the environment also exacerbates travel problems. It is essential to employ monitoring and guidance that aid in making timely decisions through premediated information. This work aims to provide a flexible model for the long-distance transport system. The model is based on problems faced in long-distance transportation. Moreover, we examine the possible use of emerging Information and Communication Technologies (ICTs) for better transportation. The system dynamics study the problem at hand through cognitive agent-based modelling (ABM) concepts. The integrated model lays the rules to abate traffic delays. In this model, the distance travelled by vehicles is divided into sections using checkpoints. Every section is composed of different agents such as medical units, police stations, workshops, and petrol pumps. The vehicle shifts connection over the mobile ad hoc network (MANET) when enters or leaves a section. We used NetLogo for simulation of the model. A monitoring and guidance system is tested, and obtained results are analyzed by addressing problems causing delays. The guidance system helps vehicles to take optimal decisions for the time, congestion, and rests. The model can be used to improve decision-making for vehicles through premediated decisions. The proposed model can help to improve the efficiency of the transportation systems by reducing travel time.

1. Introduction

Transportation models are signified as a cardinal economic indicator for economic growth and encompass enormous investments in the transportation system [13]. The congestion problem in long-distance transport caused 1.2 billion hours of delay in the USA reported through the NHS [4]. Travel time is one of decisive constraints in the selection of a transport model [5]. Transport problems are multifaceted comprising of constraints such as travel time, fleet compatibility, and environmental effects [6]. Delays in transportation encumber the economic value of logistical systems, thus requiring expedient models [7]. Theft and breakage risks decrease the performance of a transportation system through inhibited areas. It is essential to ameliorate transportation systems by detection and aversion of such risks [8]. Road conditions and rest time also evince the transport system’s efficacy. Expedient planning coupled with retroactive knowledge can dwindle the probability of delays [2]. Modern logistical technologies for efficacy are imperative in the transport process [9]. The emerging Information and Communication Technologies such as the Internet of Things, smart-contract, wireless sensor networks, knowledge engineering, and deep learning are aimed at connection and smartness of everything.

Research on smart and autonomous vehicles have significantly gained popularity. Efficient processing of information helps taking timely and correct decisions. Long-distance vehicles are also focused to adopt such technologies for enhancing efficiency and facilitate the users. Transportation systems are manifold of complex macrocosms (entities and processes) involving the employment of forecasting and analyzing traffic flows. Transportation modelling accosts to study and evaluate transportation system dynamics. The advent of Information and Communication Technologies with transportation systems aids in real-time information exchange and decision-making. Therefore, a sustainable transport system consolidated with modern technologies is cardinal, thus providing improved substitutes to transport entities to avoid unwanted circumstances. Cognitive agent-based modelling uses decision-making agents. The rationale decisions based on travel time and traffic conditions entail efficient transport models.

This work is an effort to identify the core challenges in monitoring long-distance transportation through ICT for effective transportation systems. The research implications are wide-ranging and especially to China-Pakistan Economic Corridor (CPEC). According to the official website of China-Pakistan Economic Corridor (CPEC), a road leveraging about 3000 KM from Kashgar is located in China to Gwadar Port of Pakistan as shown in Figure 1. CPEC, apart from roads, includes railway and projects of Information and Communication Technologies as shown in Figure 2. China will use CPEC roads to trade with the rest of the world through the Indian Ocean. CPEC passes through different types of landscapes. There are several places on this route where the drive is difficult, and the facilities are very minimal. Karakorum highway is a part of this route is considered as one of the wonders of the world. Therefore, in such case, proper ICT-based facilitation is important for different stakeholders including drivers and crew staff. This research aims to identify and model the conventional problems faced by long-distance transportation systems during the journey by answering the following research questions:How travel delays and congestion contribute towards inefficient transportation?How monitoring and guidance through ICT aid to simplify decisions in long-distance transportation?How can we model and simulate context-aware long-distance transport systems for the purpose of understanding and analysis?

The remainder of this paper is organized as follows: in Section 2, we briefly analyze the literature review. After literature review, Section-3 illustrates the agent-based model and relevant concepts. In Section-4 we discussed the simulation and results. Section-5 discusses the issues and findings. We conclude our paper in Section 6.

2. Literature Review

Transportation system entities are pluralistic and can be represented as agents [10]. The agent-based modelling (ABM) approaches are used in numerous studies [1113] involving complex and decentralized systems [14, 15]. Agent-based modelling captures communication and interaction between agents finding solutions to issues involved in multiagent systems using a simulated environment [1618]. ABM amalgamated with other forms of transport modelling helps to capture entity level details, complex decision-making, and visualization of the behaviour of drivers and other agents [19, 20]. The ABM has been effective in modelling the behaviour and interaction of the vehicle with the passengers, estimating passenger interaction with metros, and estimating exposures to air pollutions from transportation [2123].

Transport models allow to formulate travel plans and trends are changing rapidly [24, 25]. Several studies propose and evaluate the use of integrated systems incorporated with ICT [11, 2528]. However, most of these do not deal with the transport problems faced at the road due to road conditions, rest times, and emergency situations. Additionally, transportation data are less available in disturbance areas [29]. Therefore, better data availability for each agent helps to make optimal decisions [11, 30]. Thus, tracking and monitoring can identify the time to reach destinations and other pertinent parameters (speed, condition, and location) during the trip in long-distance vehicles [26]. Transportation systems can typically be modelled with several available software applications and can be tested in simulated environments [27]. Another study [31] involving a prototype to capture truck patterns for average working day examined the transport entities during transportation. However, the work is limited to cater choice behaviour of respective agents and time choice. Another study presents a multiscale agent-based simulation representing agent behaviour and interactions [32]. The traffic situation has a direct effect on travel time. Consequently, congestion play a significant role in increasing travel time [33].

Agent-based modelling is recognized as an effective approach for modelling complex problems in domain ICT systems through the application of cognitive agent-based computing [34, 35]. The agent-based modelling approach can be used to model the system dynamics of a transportation system. It is evident through the literature that several scientific studies used ICT in freight transportation and most of these do not involve the problems faced by vehicles on the road [27] which can be alleviated. On-road problems and travel time parameters are monotonous with slight vicissitude in the way of being addressed in conducted studies. The work is compared on four constituents: weather conditions (WC), emergency stops (EMR), congestions (Cong), and rest time (Rest). Some approaches model freight transport to cater the weather conditions and road transport externality to addresses involved factors without incorporating the rest time and congestions [36, 37]. The model proposed in this study also assays these factors with integration with the ICT system in place.

3. Model for MANET Enabled Long-Distance Transport

The transport system is a compound microcosm of transport entities. ABM allows autonomous agents with behaviour and attributes which may interact with one another. We can also model the relationships between the agents, and the environment may also be considered [38]. The ABM approach permits to capture vehicle interactions with the other (connected) agents and their behaviour. ABM is suitable for continuous and ad hoc systems. The proposed model investigates the travel time and several other parameters in long-distance transport. The process of monitoring vehicle using GPS is continuous time whereas different working boundaries of supporting agents on roads create multiple MANETs. We are using decision-making agents which may better be modelled by cognitive agent-based models. Hence, our model is a cognitive exploratory agent based. A vehicle travels to deliver freight to an elongated destination with sporadic breaks in long-distance transport. As the vehicle moves through, it interacts with fuel stations for fuel fill-ups. Drivers take explicit rest intermittently at rest areas. The vehicle may also interact with medical or police stations in case of any medical or lawful emergency. The breakage in the vehicle also requires workshop involvement. During the travel, communication is carried out through shipment managers. Therefore, our proposed model accommodates the stated entities and provides a mechanism to have connected entities using ICT. The interrelated agents interact with each other through a communication channel. Figure 3 depicts an integrated interaction model of transport agents. An agent-based model must be integrated with the ICT model to constitute the guidance and monitoring system for transport entities during travel.

The model is a composite of two tiers: the agent tier, which encompasses vehicle agents, is modelled through the ABM approach and the service tier, which represents a service provision model. The primary entities are the trucks, and secondary entities are supporting agents (police vans (PV), medical vans (MV), mobile workshops (MW), rest areas (RA), and fuel stations (FS)). The vehicle position is tracked through geopositioning devices installed on the vehicle itself. The agent tier also captures the interaction of vehicle agents with each other agents. The service tier provides a service provision mechanism through the exchange of information using the web services model. The services can be provided by diverse service providers (WS1, WS2⋯WSn) through a communication channel. These supporting services are helpful to discover about the weather conditions, road situations, rest, and fuel stations as well as the communication with service vans/stations. The agent tier and the service tier synchronously work in parallel to record the agent interaction and required essential information. Both tiers yield the resultant information which is coupled with the current situation of the environment and vehicle.

Figure 4 elaborates the customary transitions for primary vehicles of the proposed model. The “continue movement” state delineates the vehicle moving state. Thus, a vehicle can move into this state from any other state and vice versa. The states after the “continue movement” state can occur sporadically. The activity model prescribes rules that the vehicle may choose to rest on congested checkpoints provided the threshold time remains within the limits set by participating agents. The vehicle malfunctions and emergencies result in a mobile workshop and medical van models, respectively. The selection of model subjects to the nature of the incident. The details of submodels are described in the next sections. The vehicle may adapt speeds arbitrarily and due to road and weather conditions. The vehicle terminates its journey on reaching the destination. The model captures the emergent properties of vehicles during travel and suggests the appropriate actions through the help of ICT. Therefore, the provision of tracking and monitoring services can result in attenuated travel delays. The checkpoints measure the congestion level and track the progress of the vehicle by monitoring travel time. Vehicle gadgets also transmit location, and web services can be used to monitor, track, and guide vehicles during their trips for synchronized actions. ICTs (web services) help to recommend optimal decisions to the cognitive agents in a timely manner. A cognitive agent is a type of agent which can take decisions.

Evidently, agents in the model are mobile and are interconnected through ICT. A mobile agent is a type of agent which owns the property of mobility. Checkpoints are immobile and static agents in the system. Global Positioning System is a technology which enables the use of location-based services. Similarly, road conditions, weather conditions, and checkpoint communications are done by the smart devices. Several telecommunication technologies such as 3G, 4G, or 5G can help in real-time and direct communication between agents. However, in the case of inaccessible long-range communication channels, location services can be used at checkpoints. The proposed model is flexible to integrate new service provisions through interoperability.

The proposed mechanism for communication between a service vehicle (police, medical, or workshop) is depicted in Figure 5. The support services are managed through a queuing system implemented at the macrolevel between the two checkpoints. The support vehicles process the request queue and provide service to a newly received request in the case of availability. The request may be marked as waiting state of it which can be forwarded to another supporting agent. The provision of service can be supplied on the road or on the station depending upon the severity of the task at hand.

3.1. Travel Time Emergence

The model’s cardinal property is total travel time. Total travel time is defined as the time taken from origin to destination. The primary notations and variables used to represent the system are depicted in Table 1:where the travel time is calculated as the sum of time between each checkpoint up to C-number of checkpoints. The checkpoints restraint the travel time duration between two checkpoints, which is defined as


VariablesVehicle indexv=1, 2, 3, …N
Checkpoint indexcps=1, 2, 3, …C
Time target at the checkpoint for vehicleTCP [v, cps]
Total travel timeTotalTime[v]
Travel time (on-road)TravelTime[v]
Time spent at restRestTime[v]
Wasted time (no travel)RPMT[v]
Current speed of vehicleVS[v]
Minimum speedVSmin[v]
Maximum speedVSmax[v]
Efficient speedVSe[v]

Stochastic variablesTime window[ΔT, TotalTime]
Condition of vehicleCond[v]
Congested cpsCong[cps]
Rest choiceRest [v, cps]

TCP [cps] and TCP [cps-1] are the time observed at the current and anterior checkpoints. If a vehicle is behind the schedule, the route plan is updated for a vehicle with shortened rest periods and increasing optimal speeds. Total time is the sum of travel time, rest time, and wasted time (time spent at repairs or emergency cases):

3.2. Congestions

The traffic congestion level at each checkpoint point is a consequential indicator for efficient transportation. Congestion increase results in increased travel time. Congestion capacity is defined at checkpoints:where Cong[cps] is a level of congestion at a checkpoint. The vehicles are guided to continue movement or rest depending upon the congestion level for optimal travel time. is defined as the capacity between consecutive checkpoints where the is the actual volume between two checkpoints in “continue movement” state.

The agents interact with each other to specify their current state to update the global environmental situation. The ratio is a primary measure to find congestion and is defined as

A checkpoint is marked congested if the ratio approaches a threshold. Decisions for a vehicle to enter a congested area or wait for congestion to end is primarily based on the travel time. The best (B) selection from the movement or rest is carried out aswhere LW[TravelTime] is a weighted value for total travel time. Weighted value is an acceptable delay in travel time with respect to the probability to choose rest. Cong[cps] refers whether a checkpoint is congested or not. The Rest [v, cps] is the rest choice based on congestion, total travel time at current checkpoint, and rest time threshold. B defines the best criteria between the two. The movement decision is made after evaluating the nearby situation. Thus, agents’ trucks with satisfied schedule are more persistently recommended for the rest to enervate congestion levels. Consequently, the trucks are allowed behind the schedule to pass through. Rest choice relies on the aggregation of travel time and congestion levels. However, the vehicle cannot rest for longer than the threshold limit. If the vehicle rest time exceeds the defined level, the vehicle continues the movement. Similarly, a vehicle continues its movement if the rest time increases and travel time approaches the schedule. The checkpoint is congested if congestion ratio exceeds the specified threshold. Vehicles adjust as per congestion levels, resulting in accrual or reduction in speeds. The decision for optimal speed is based on the time of travel:

3.3. Agents and Sensor Communication

Vehicle agents with on-board units communicate location, sense, and calculate the time to reach next checkpoint. Help services (traffic, weather, and road conditions) accommodate finding better observations. Sensing and transferring information can be described as below for nearest and best possible sensor selection criteria. Let S be a sensor, then the super choice (Sup[s] is the use of available sensors for direction communication) in the selection of sensor, nearest criteria choice (Nr[s] is the use of available sensors for communication through checkpoints), and the best choice will be aggregation (Aggr.) of both:

The workshops, police vehicles, or medical vans will serve the requests within specified checkpoint as

The vehicle must transmit location with workshops, police stations, service areas, or medical help in case of vehicle damage, emergency, or threat. Interactions are done through information exchange by sensors or web services using wide-area communications such as 3 G/4G. However, these services work indigenously and over short distances. Apparently, the short-distance services will contextualize to localized versions with set checkpoint areas.

3.4. Supporting Services

The model integrates with short-distance supporting services such as emergency, repairs, and legal. The short-distance services congregate with long-distance transportation through employments of checkpoints. The communication with these services is location-based. The service providers must be recognized within the system. The area covered by each instance of the agent is predefined, and communication between the vehicle and emergency support vehicles is within that area. Agents, to request for services, must be able to send their locations to central repositories or other agents by means of a GPS/GSM device. A smart device containing a tag/token for unique identification of the truck must also be included. At each checkpoint truck, tags are read, and the information is exchanged to guide trucks with respect to travel times, efficient speed, etc.

4. Simulation and Results

The model is simulated using NetLogo platform. NetLogo has been extensively used to model multiagent systems in countless studies and well-known books on agent-based modelling [39, 40]. It is a highly flexible and customizable tool for modelling diverse applications in a multiagent environment. Our model necessitates the congregation of various agents with each other environment-wide and indigenously between the checkpoints. Also, we have heterogeneous agents such as workshops and police. Hence, NetLogo provides the flexibility desired for the task. Agents with mutually implicit and explicit characteristics can be modelled to observe system dynamics and their interactions in NetLogo [41]. We have used exploratory agent-based modelling for the purpose of feasibility analysis [42].

4.1. Simulation Environment

The simulation space contains infrastructure such as various roads, checkpoints, and emergency service stations. For evaluations and simulation purposes, a single one-way road spreading across multiple checkpoints (stations) is mapped in the environment. The distribution of agents is established along with checkpoints. The long-distance vehicle travels across multiple checkpoints or throughout the road. However, the communication and situations of short distance (mobile vans and rest areas) are restricted between the checkpoints. The mobile and rest area agents share similar attributes along with their status of being in service or not. Weather conditions are implemented in three categories, e.g., normal, bad, and worse. Bad and worse weather conditions cause the vehicle to travel at lower speeds and more delays with a variable probability for each type of truck. Light trucks have lower levels of load and a higher level of speed and efficiency.

The state of some roads is altered arbitrarily to represent road deteriorations, weather, or congestion. Without any recovery measure for vehicles, the vehicle deteriorations increase travel time with an increased likeliness of breakdowns (mapped scale 1–5; where 1 is lowest and 5 means significant breakdowns). The scales are translated to apply probabilistic vehicle decay stochastically. Based on the scales, the proportionate number of vehicles deteriorates over the time. The other parameters are also measured at the same scale (1–5). With higher breakdown, more workshop encounters are required which is directly proportional to the increase in congestion depending upon the population size (vehicles) on road. Three types of trucks are modelled (heavy, medium, and light), and their required attributes such as speed, location, and time are represented. The traffic is simulated stochastically to reproduce difference scenarios with ranging congestion levels. The 200 units of time in simulation space are mapped as 1 hour with reference to the distance travelled by vehicles during the 200-unit timespan. The collected attributes of transportation systems are simulated in the environment to observe travel time. The entities of the model including vehicles (trucks), police, medical, workshops, rest areas, and checkpoints are presented in Table 2.


Global factorsTrucks/vehicle agentsN (input)
CheckpointsFixed (14)
Vans/rest areas per checkpointFixed (1 for each type)
Breakdowns in vehiclesVariable
Congestion probabilityVariable

PatchesPatch type/colourWeather/congestion/road
Width401 units
Height41 units (4–5 lanes)

TrucksTypeShape (load, speed)
LocationX-Cor. Y-Cor.
Max-speed0.8 units
Min-speed0.001 units (0 units)
LoadHeavy, medium, light
Travel timeT units
Current checkpoint0-N (checkpoints)
Rest timeT units
Time in breakdown/stoppagesT units

Med. van pol. Vans mob. workshop checkpointsLocationX-Cor. Y-Cor.
Max-speed0.8 units
Min-speed0.001 units (0 units)
CheckpointY/N (radius)
Cases handled1−N
Congestion timeT units

4.2. Results

This section shows a comparative analysis of how using the guidance and monitoring system can improve long-distance transportation systems. Table 3 construes an increase in average travel time if there are bad weather conditions. It shows an increase in travel time in bad weather because heavy trucks already travel at lower speed and weather effects cause them to slow down at a higher level. The speed in Pakistan and its surroundings is measured in kilometers per hour (KM/H) as shown on the official website of Pakistan Road Safety ( For this reason, we have used the scale of distance in kilometers and the scale of time in hours. The data presented in Table 4 depict a subset of possible scenarios depicting enhanced proximity of vehicle breakages, need for emergency/supporting services, unplanned rests, and increased travel time due to bad weather and congestions during the travel. Factors affecting the overall travel time are presented in Table 4.

Type of truckAVG distance (KM)AVG speed (approx.)AVG time (hours)Bad weather AVG time (hours)

Light117040 + Km/h2627.5
Medium1137.530–40 Km/h32.540.5
Heavy125020–30 Km/h5067.5

Type of truckAVG distanceWeatherCongestion effectsBreakage likelinessMedical requiredPolice requiredWorkshops requiredUnplanned restsIncreased travel time likeliness


Travel time analysis of the collected data is delineated in Figure 6. The travel time can be reduced by automating the information and decisions of several factors. Tests are engendered through simulation of data sets ranging from different weather conditions, congestions, breakdown rates, police, and medical cases. The heavy trucks take more time to repair resulting in higher repair and travel time. With the weather condition interpolation and congestions along with other parameters, the travel time can vary. Test runs contain 15 percent of the area to be in bad weather conditions and 15 percent for the worst weather conditions for the test journey. Results indicate that weather problem combined with a high number of congestions and populations may increase travel time to a significant level for heavy trucks. The optimal decision between a selection of rest and movement in congestion is also controlled by several complex factors such as driver’s predilection and available data to choose from foreseeable alternatives.

Mobile vehicles between checkpoints provide vehicles with assistance and recovery. If a vehicle encounters a problem, it may request a respective supporting agent. Figure 7 shows a comparative analysis of two different simulations with calibrated input trucks and final trucks reaching the destination with variable vehicle breakage rate (BR). Vehicle generates a repair signal when it enters in the breakdown state. The signal is interpreted by available workshops within the checkpoint area. With the increase in breakdowns, the meantime to service those repairs will also increase. The test set is generated at 5000 ticks (25 hours) with different breakdown scales ranging from 1–5 (low to high). Meantime to repair remains constant over breakdown rate set at 1 and 3, respectively, whereas breakdown rate set at 5 produces more breakdowns. At 5, an increase in average repair-time happens due to unavailability of mobile workshops.

Analysis of two distinct medical cases and the average time to solve a medical case with respect to medical case rate (CR) over a population has been shown in Figure 8. Medical case generation rates (CR) are set from scale 1–3 (lower to higher). Test results simulated for approximately 3000 ticks (15 hours). A similar analysis of several police cases and the average time to solve a police case with respect to police case occurrence rate over a population is observed. The results show that having mobile vans and police vehicles in place and vehicle communicating directly to these in real-time reduces the time spent for emergencies. The model and the rules to interact with supporting agents are illustrated in Section 3.

The decision to enter congestion or take precautionary rest at a congested checkpoint is calculated on the accessibility of knowledge about an approaching road situation. If the approaching checkpoint is marked congested, then the vehicle may decide to rest depending upon its actual and expected arrival on that congestion governed by the rules presented in Section 3. Vehicles may have additional time to reach a target, i.e., reaching earlier than the deadline. For that purpose, additional time is added for the variability of decisions made by vehicles at each checkpoint. This additional time termed as late weight presented in the last section results in higher chances of taking rests. The following scenario presented in Figure 9 depicts four different test scenarios with varying parameters such as trucks, the total number of rests taken by truck population, distinct trucks taking rest choices, and the number of times the vehicle chose to enter in congestion due to high actual travel time, followed by several distinct vehicles chose to continue movement regardless of congestions.

Test results are generated at 2000 ticks (10 hours) and late weight set to 0-3-6–10, respectively. At weight set to zero, more trucks will enter in congestion due to high travel times and fewer trucks will enter in a rest state. With the higher late weight, the fewer trucks will enter in congestion due to available travel time and will look to avoid congestion by taking precautionary rests, thus resulting in reduced travel delays. The thresholds are applied arbitrarily to each test scenario. The number of vehicles entering congestion drops rapidly, and most vehicles enter in a rest state. While the late weight is set to 6 and 10 for the test 3 and 4, respectively, the number of trucks entering in rest states will increase and the number of trucks entering in congestion will decrease slightly. Results conclude that adding additional time for vehicles to travel through the simulation as late weight increases the chances of facing fewer congestions. Rest choices and congestion choices change oppositely with the increase of late factor.

The environment demonstrates congestion simulations. The case depicts the average delay time due to congestions and weather effects. Figure 10 illustrates the comparison through the evolution of congestion levels and problems occurred during the travel. The simulated environment measures the average delay occurred with and without the knowledge of road conditions and congestions ahead. In each run, vehicles are encountered with incidents intermittently. The effects of these problems can be minimized by making decisions about whether to take rest and using the alternative time to travel. Vehicles with guided systems get familiar with the time-dependent travel condition, and better decisions are made to avoid extreme delays during peak hours. To find the impact of early congestion information and the relationship between congestion problem and travel times, results are depicted in Figure 10. Selection of threshold is dependent on the capacity between two checkpoints with a decision to enter a congested area, or taking a rest choice is left for the vehicle as discussed in Section 3.

If the capacity increases from the defined threshold, the checkpoints are marked as congested and vehicles are provided with the information at the checkpoint. The comparison of delay in travel time is analyzed by setting the normal parameter first, then by increasing incidents, and then by placing a communication system proposed in the model. By incorporating the rules described in Section 3, the results show that average delay time can be decreased with incorporation of time-based checkpoints and the guidance system. Figure 11 depicts the improved performance by automating the decisions by the means of ICT Early Warning System (EWS). The baseline represents the optimum scenario without any incidents. However, baseline scenario in this case is a rare event as transportation systems are prone to experience unexpected circumstances. Therefore, the comparison illustrates the effect of placing a warning and guidance system can reduce the transportation delays.

5. Discussion

Travel time is a cardinal gauge to measure the efficacy of the transportation system. Breakdowns (e.g., vehicle depletion) and congestions are the major problems that derail the efficiency of transportation over a long distance. Weather conditions afflict the average speeds and enhance overall travel times. It incorporates the effects of weather and congestions on travel time. The proximity of vehicle breakages enhances the need for emergency/supporting services and unplanned rests and increases the travel time. Congestion also influences vehicle reliability and likely to result in higher travel times. Statistically, it is evident that the breakdown problem increases without measures defined to overcome this problem. However, with the introduction of mobile workshops to repair vehicles at the vehicle location, the overall efficiency of the system can be improved. The results are an indication that having a workshop in place and vehicle communicating directly to workshops in real-time reduces the time spent for searching for workshops for repair.

An ICT-equipped system along with vehicle services is essential for efficient transportation time. It has been depicted in the model that monitoring travel times and locations for on spot solution provision aid in improvements of the system. Primary agents (ICT-equipped trucks) must be aware of travel time constraints at all the time during the journey. Location and context-aware services enhance information availability and service provision. Analyzing the overall effect of using the integrated system including service basic information exchange, automatic tracking, and a guidance system results in improvements in the efficacy of transportation systems. Monitoring of transportation systems through real-time tracking and placement of checkpoints for the division of travel into sections increases optimal decision-making for vehicles during travel. The proposed model consequently will help to reduce congestions and ameliorate travel efficiency by properly managing the time spent on transportation interruptions. Simulations show a tradeoff between the agent’s desire to take a rest against the needs of transportation systems to make an agent rest. Therefore, more comprehensive and robust mechanisms are required to accommodate and monitor rest choices. One possibility is using a reinforcement method to penalize agents in some form who act selfishly and ignore the rest recommendations during congestions.

6. Conclusion

The road and congestion problems in long-distance transportation result in delays having a chain of impacts. We used an agent-based modelling approach to estimate and measure the problems in transportation systems and proposed an integrated model. The model is based on the prospects of exchanging information in real-time using information and communication technologies. While moving across long distance, the vehicle connects to different MANETs. We simulated the model and tested retrospective conditions in NetLogo simulation environment. The integrated model employing ICT features lays the rules to abate congestions, road problems, and rest delays. The results of the simulation model propose real-time communication for the incorporation of solutions to the overall delay problems including breakdowns, emergencies, congestions, and weather conditions. Results conclude that deciding optimal choice for congestion avoidance, travel time, or rest times is based on information provided at checkpoints and during transport. Using a guidance system, vehicles may be guided with better information, and depending upon the data collection for over a period for specific types of problems, better decisions can be provided for the system. However, the communication mechanism for diverse vehicles, sensors, and supporting agents is yet to be formulated. The limitation of this work also includes the interoperability of supporting agents with the vehicle (long distance).

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.


  1. H. Meersman and E. Van de Voorde, “The relationship between economic activity and freight transport,” in Freight Transport Modelling, Emerald Group Publishing Limited, Bingley, UK, 2013. View at: Google Scholar
  2. S. Huber, J. Klauenberg, and C. Thaller, “Consideration of transport logistics hubs in freight transport demand models,” European Transport Research Review, vol. 7, pp. 1–14, 2015. View at: Publisher Site | Google Scholar
  3. K. M. Alam, X. Li, and S. Baig, “Impact of transport cost and travel time on trade under China-Pakistan economic corridor (CPEC),” Journal of Advanced Transportation, vol. 2019, Article ID 7178507, 2019. View at: Publisher Site | Google Scholar
  4. A. Hooper, “Cost of congestion to the trucking industry: 2018 update,” 2018. View at: Google Scholar
  5. M. Waller, M. J. Meixell, and M. Norbis, “A review of the transportation mode choice and carrier selection literature,” The International Journal of Logistics Management, vol. 19, no. 2, 2008. View at: Google Scholar
  6. S. Mancini, “Optimizing real-life freight-distribution problems,” Supply Chain Forum: An International Journal, vol. 15, no. 4, pp. 42–50, 2014. View at: Publisher Site | Google Scholar
  7. A. McKinnon, J. Edwards, M. Piecyk, and A. Palmer, “Traffic congestion, reliability and logistical performance: a multi-sectoral assessment,” International Journal of Logistics Research and Applications, vol. 12, no. 5, pp. 331–345, 2009. View at: Publisher Site | Google Scholar
  8. B. Pang, “Risk forewarning model of freight period based on scenario merging,” in Proceedings of the 2016 International Conference on Logistics, Informatics and Service Sciences (LISS), pp. 1–16, Sydney, Australia, July 2016. View at: Google Scholar
  9. B. Wang, “Petrol truck scheduling optimization considering multi-path selection and congestion,” in Proceedings of the 2018 7th International Conference on Industrial Technology and Management (ICITM), pp. 242–247, Beijing, China, July 2018. View at: Google Scholar
  10. H.-J. BÜrckert, K. Fischer, and G. Vierke, “Holonic transport scheduling with teletruck,” Applied Artificial Intelligence, vol. 14, no. 7, pp. 697–725, 2000. View at: Publisher Site | Google Scholar
  11. A. Baykasoğlu and V. Kaplanoğlu, “An application oriented multi-agent based approach to dynamic load/truck planning,” Expert Systems with Applications, vol. 42, pp. 15-16, 2015. View at: Google Scholar
  12. N. Anand, R. Van Duin, and L. Tavasszy, “Ontology-based multi-agent system for urban freight transportation,” International Journal of Urban Sciences, vol. 18, no. 2, pp. 133–153, 2014. View at: Publisher Site | Google Scholar
  13. N. Firdausiyah, E. Taniguchi, and A. G. Qureshi, “Modeling city logistics using adaptive dynamic programming based multi-agent simulation,” Transportation Research Part E: Logistics and Transportation Review, vol. 125, pp. 74–96, 2019. View at: Publisher Site | Google Scholar
  14. L. Tesfatsion, “Chapter 16 agent-based computational economics: a constructive approach to economic theory,” Handbook of Computational Economics, vol. 2, pp. 831–880, 2006. View at: Publisher Site | Google Scholar
  15. T. Novosel, L. Perković, M. Ban et al., “Agent based modelling and energy planning - utilization of MATSim for transport energy demand modelling,” Energy, vol. 92, pp. 466–475, 2015. View at: Publisher Site | Google Scholar
  16. C. M. Macal and M. J. North., “Tutorial on agent-based modelling and simulation,” Journal of Simulation, vol. 4, no. 3, pp. 151–162, 2010. View at: Publisher Site | Google Scholar
  17. C. Macal and M. North, “Introductory tutorial: agent-based modeling and simulation,” in Proceedings of the Winter Simulation Conference 2014, pp. 6–20, Savannah Georgia, December 2014. View at: Google Scholar
  18. W. Zhang, “GIS-based indoor pedestrian evacuation simulation combining the particle swarm optimization and the floor field model,” in Proceedings of the 2015 23rd International Conference on Geoinformatics, pp. 1–4, Wuhan, China, April 2015. View at: Google Scholar
  19. F. Klügl and A. L. C. Bazzan, “Agent-based modeling and simulation,” Ai Magazine, vol. 33, no. 3, p. 29, 2012. View at: Publisher Site | Google Scholar
  20. J. Holmgren, L. Ramstedt, P. Davidsson, H. Edwards, and J. A. Persson, “Combining macro-level and agent-based modeling for improved freight transport analysis,” Procedia Computer Science, vol. 32, pp. 380–387, 2014. View at: Publisher Site | Google Scholar
  21. B. Su, “An agent-based model for evaluating the boarding and alighting efficiency of autonomous public transport vehicles,” in Proceedings of the International Conference on Computational Science, pp. 534–547, Faro, Portugal, June 2019. View at: Google Scholar
  22. S. Gurram, A. L. Stuart, and A. R. Pinjari, “Agent-based modeling to estimate exposures to urban air pollution from transportation: exposure disparities and impacts of high-resolution data,” Computers, Environment and Urban Systems, vol. 75, pp. 22–34, 2019. View at: Publisher Site | Google Scholar
  23. E. Hassannayebi, M. Memarpour, S. Mardani, M. Shakibayifar, I. Bakhshayeshi, and S. Espahbod, “A hybrid simulation model of passenger emergency evacuation under disruption scenarios: a case study of a large transfer railway station,” Journal of Simulation, vol. 14, no. 3, pp. 204–228, 2020. View at: Publisher Site | Google Scholar
  24. D. Ziemke, S. Metzler, and K. Nagel, “Bicycle traffic and its interaction with motorized traffic in an agent-based transport simulation framework,” Future Generation Computer Systems, vol. 97, pp. 30–40, 2019. View at: Publisher Site | Google Scholar
  25. A. Di Febbraro, N. Sacco, and M. Saeednia, “An agent-based framework for cooperative planning of intermodal freight transport chains,” Transportation Research Part C: Emerging Technologies, vol. 64, pp. 72–85, 2016. View at: Publisher Site | Google Scholar
  26. A. Baykasoglu and V. Kaplanoglu, “A multi-agent approach to load consolidation in transportation,” Advances in Engineering Software, vol. 42, no. 7, pp. 477–490, 2011. View at: Publisher Site | Google Scholar
  27. H. Sternberg and M. Andersson, “The ITS freight roadmap of the swedish ITS council,” 2012. View at: Google Scholar
  28. T. G. Crainic, M. Gendreau, and J.-Y. Potvin, “Intelligent freight-transportation systems: assessment and the contribution of operations research,” Transportation Research Part C: Emerging Technologies, vol. 17, no. 6, pp. 541–557, 2009. View at: Publisher Site | Google Scholar
  29. A. Kaddoussi, N. Zoghlami, S. Hammadi, and H. Zgaya, “An agent-based distributed scheduling for crisis management supply chain,” International Journal of Computational Intelligence Systems, vol. 6, no. 1, pp. 156–173, 2013. View at: Publisher Site | Google Scholar
  30. M. Dotoli, M. P. Fanti, A. M. Mangini, G. Stecco, and W. Ukovich, “The impact of ICT on intermodal transportation systems: a modelling approach by petri nets,” Control Engineering Practice, vol. 18, no. 8, pp. 893–903, 2010. View at: Publisher Site | Google Scholar
  31. M. De Bok and L. Tavasszy, “An empirical agent-based simulation system for urban goods transport (MASS-GT),” Procedia Computer Science, vol. 130, pp. 126–133, 2018. View at: Publisher Site | Google Scholar
  32. A. Alho, B. K. Bhavathrathan, M. Stinson, R. Gopalakrishnan, D.-T. Le, and M. Ben-Akiva, “A multi-scale agent-based modelling framework for urban freight distribution,” Transportation Research Procedia, vol. 27, pp. 188–196, 2017. View at: Publisher Site | Google Scholar
  33. K. Martins-Turner, K. Nagel, and M. Zilske, “Agent-based modelling and simulation of tour planning in urban freight traffic,” 2019. View at: Google Scholar
  34. S. Laghari and M. A. Niazi, “Modeling the internet of things, self-organizing and other complex adaptive communication networks: a cognitive agent-based computing approach,” PLoS one, vol. 11, Article ID e0146760, p. 1, 2016. View at: Publisher Site | Google Scholar
  35. K. Batool and M. A. Niazi, “Modeling the internet of things: a hybrid modeling approach using complex networks and agent-based models,” Complex Adaptive Systems Modeling, vol. 5, pp. 1–19, 2017. View at: Publisher Site | Google Scholar
  36. P. J. Pérez-Martínez and J. M. Vassallo-Magro, “Changes in the external costs of freight surface transport in Spain,” Research in Transportation Economics, vol. 42, no. 1, pp. 61–76, 2013. View at: Publisher Site | Google Scholar
  37. J. Cravioto, E. Yamasue, H. Okumura, and K. N. Ishihara, “Road transport externalities in Mexico: estimates and international comparisons,” Transport Policy, vol. 30, pp. 63–76, 2013. View at: Publisher Site | Google Scholar
  38. M. Grinberg and E. Todorov, “Cognitive agent based simulation platform for modeling large-scale multi-level social interactions with experimental games,” Information Content and Processing, vol. 3, 2016, View at: Google Scholar
  39. S. Scheller, “Steven F. Railsback and volker grimm, agent-based and individual-based modeling. a practical introduction,” OEconomia, vol. 9, pp. 407–413, 2019. View at: Publisher Site | Google Scholar
  40. U. Wilensky and W. Rand, An introduction to agent-based modeling: modeling natural, social, and engineered complex systems with netlogo, Mit Press, Cambridge, MA, USA, 2015.
  41. L. Yu and C. Duan, “Evacuation modelling: an agent based approach,” in Proceedings of the 2011 2nd International Conference on Artificial Intelligence, Management Science and Electronic Commerce (AIMSEC), pp. 7080–7083, Zhengzhou, China, August 2011. View at: Google Scholar
  42. M. A. Niazi, “Towards a novel unified framework for developing formal, network and validated agent-based simulation models of complex adaptive systems,” 2017, View at: Google Scholar

Copyright © 2021 Muhammad Raees et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Related articles

No related content is available yet for this article.
 PDF Download Citation Citation
 Download other formatsMore
 Order printed copiesOrder

Related articles

No related content is available yet for this article.

Article of the Year Award: Outstanding research contributions of 2021, as selected by our Chief Editors. Read the winning articles.