Next Article in Journal
A Novel Calibration Method for Gyro-Accelerometer Asynchronous Time in Foot-Mounted Pedestrian Navigation System
Next Article in Special Issue
Energy Management Strategy for an Autonomous Hybrid Power Plant Destined to Supply Controllable Loads
Previous Article in Journal
Generative Adversarial Networks for Morphological–Temporal Classification of Stem Cell Images
Previous Article in Special Issue
A Holistic and Interoperable Approach towards the Implementation of Services for the Digital Transformation of Smart Cities: The Case of Vitoria-Gasteiz (Spain)
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Multi-Agent System for Intelligent Urban Traffic Management Using Wireless Sensor Networks Data

by
Maria Viorela Muntean
Department of Informatics, Mathematics and Electronics, 1 Decembrie 1918, University of Alba Iulia, 510009 Alba Iulia, Romania
Sensors 2022, 22(1), 208; https://doi.org/10.3390/s22010208
Submission received: 14 October 2021 / Revised: 17 December 2021 / Accepted: 27 December 2021 / Published: 29 December 2021
(This article belongs to the Special Issue Systems, Applications and Services for Smart Cities)

Abstract

:
Intelligent traffic management is an important issue for smart cities. City councils try to implement the newest techniques and performant technologies in order to avoid traffic congestion, to optimize the use of traffic lights, to efficiently use car parking, etc. To find the best solution to this problem, Birmingham City Council decided to allow open-source predictive traffic forecasting by making the real-time datasets available. This paper proposes a multi-agent system (MAS) approach for intelligent urban traffic management in Birmingham using forecasting and classification techniques. The designed agents have the following tasks: forecast the occupancy rates for traffic flow, road junctions and car parking; classify the faults; control and monitor the entire process. The experimental results show that k-nearest neighbor forecasts with high accuracy rates for the traffic data and decision trees build the most accurate model for classifying the faults for their detection and repair in the shortest possible time. The whole learning process is coordinated by a monitoring agent in order to automate Birmingham city’s traffic management.

1. Introduction

Nowadays, intelligent data flow management has attracted a large amount of attention in the smart cities domain. Learning the large amount of data collected with smart city infrastructure and technologies has become an important issue as it is necessary in order to make the best decisions in the minimum amount of time.
In this paper, a multi-agent system (MAS) is proposed in order to automate the urban traffic management and control (UTMC) from Birmingham and the West Midlands councils. The intelligent agents embedded forecasting or classification techniques in order to extract knowledge from a large amount of data collected from the sensors.
The proposed architecture is designed to deal with real-time data and to notify a human expert if any anomalies appear regarding traffic flow occupancy rates, road junction occupancy rates and car parking occupancy rates in Birmingham city. It also detects the faults that can appear in the collection equipment and sends real-time notifications.
In the context of smart cities, wireless sensor networks play an important role in developing smart applications [1], emergency applications [2], seismic monitoring buildings [3], air pollution monitoring [4], characterization of urban anomalous noise events [5], and many others.
Regarding intelligent monitoring applications, Byeongjoon Noh et al. [6] propose data mining techniques for reducing road crossing accidents in Osan city, South Korea, by clustering different types of vehicle and pedestrian interactions. The authors used object detection by applying the regional convolutional neural network model on image frames collected by a video camera. Using feature extraction, cluster analysis, decision trees and rule models, the authors presented useful information and knowledge to the decision maker.
The approach proposed in [7] uses decision support systems for disaster management in smart cities. The authors collected and prepared past event data, weather data, sensor data and satellite data and constructed models based on convolutional neural networks, generative adversarial network and reinforcement learning to accurately predict wildfire direction. Experimental results show that the proposed framework is suitable for automatic fire detection and can assist in forecasting disasters.
Car park occupancy detection rates are also an important issue in smart cities. Lun-Chi Chen et al. [8] propose a smart control system that uses camera images and videos to control streetlights, detect vehicles and calculate the occupancy rates using a voting mechanism.
Traffic noise prediction using a recurrent neural network was proposed by Xue Zhang et al. [9]. The authors studied the traffic noise in Blansko, Czech Republic, using video recording and audio recording. The audio and video data preprocessing techniques help the model to better distinguish between the dataset classes.
For pedestrian traffic light classification, in [10], computer vision technology and transfer learning models are used. Big image data for road traffic is analyzed in [11] using different topologies of convolutional neural networks.
In [12], an urban transport multi-media data approach for resilience management in smart cities is described. In [13], a smart decision support system is proposed to support decision-making processes in a smart city environment.
Multi-agent systems (MAS) are used in smart city application in order to automate and monitor different processes. A guidance system for route recommendations for travelers in Nottingham and Sofia is described in [14]. The authors propose a multi-agent system composed of the following: a managing agent, transport agents, a traffic data fetcher, a commuter agent, a route recommender agent and a visualization agent. A multi-agent recommender system for the tourism sector in the Alba Iulia smart city, Romania, is proposed in [15].
Billhardt et al. [16] show that the coordination in smart cities can be implemented through multi-agent systems. They propose an architecture consisting of user agents and smart building agents and test the system for several real-world applications.
David Eneko Ruiz de Gauna et al. [17] propose an approach that combines electric vehicles with the advantages of multi-agent systems in order to solve the problems of pollution and congestion. Davide Andrea Guastella et al. [18] designed a cooperative multi-agent system to reduce the number of necessary sensors to be deployed in a smart city.
Due to the great number of vehicles and limited space, the city councils have to solve problems such as traffic congestion or crowded parking. Additionally, efficient use of traffic lights is a main concern. The current studies propose different solutions based on methods ranging from video and image processing to extracting knowledge from large amounts of data.
Short-term traffic flow prediction for the I-64 in St. Louis, Missouri [19] is a real-world case that shows that machine learning methods are efficient techniques for analyzing such data. Traffic prediction on real-world traffic datasets was also performed using the spatio-temporal attention mechanism-based dynamic network model that learns dynamic spatial dependencies [20].
Traffic flow congestion at intersections of Kathmandu valley was analyzed using f statistical multiplexing and particle swarm optimization [21]. The proposed methodology helped in reducing the average waiting time of vehicles on the considered junctions.
Sakurada et al. [22] modeled an agent-based cyber-physical systems architecture for smart parking systems. The model describes the interconnection between the intelligent agents and the physical parking asset controllers and the system proved to also be adaptable for bicycle parking and car parking.
Over other techniques existing in the literature as alternatives (parallel artificial intelligence, distributed problem solving [23]), multi-agent systems have the advantages of being composed by agents that can interact (in order to distribute the tasks and to plan and monitor the team) and can perform autonomous actions for the specific tasks they are responsible for. For smart cities models, these advantages are essential in order to automate the monitoring processes.
The proposed MAS architecture was designed according to intelligent urban traffic management processes in Birmingham city and the agents were enhanced with intelligence after performing an experimental phase. The experimental results show that the k-nearest neighbor and random tree models forecast the traffic flow in Birmingham city with maximum direction accuracy. Road junction and car parking occupancy rates were predicted with high accuracy by the k-nearest neighbor model. Faults can be detected using decision trees classifiers when high accuracy rates are necessary. When a minimum time building model is more important, then k-nearest neighbor model is recommended. The model that best forecasted and classified the proposed datasets were integrated in MAS. The proposed project has its own communication protocol, improving the communication between agents.
The paper has the following sections: multi-agent system architecture, experiments and results (dataset description, forecasting results, classification results and mass testing) discussion and conclusions.

2. Multi-Agent System Architecture

The designed agents have specific goals, ranging from traffic forecasting to fault detection and process monitoring. Figure 1 summarizes the interactions between different agents of the system. The monitoring agent sends the datasets to the forecasting agents as follows: the traffic flow dataset is sent to the traffic flow agent, the road junction dataset is sent to the road junction agent and the car parking dataset is sent to the car parking agent. Together with the dataset, the monitoring agent sends the message “Forecast” to the abovementioned agents. These agents confirm receiving the datasets and the messages from the monitoring agent and inform this agent about starting the forecasting operation. When the training and testing phases are completed, the obtained models, together with the performance measures and forecasted data, are sent back to the monitoring agent. In this way, the urban traffic is monitored and forecasted in real time with an automatic mechanism; therefore, traffic congestion, time spent in road junctions and crowded car parking can be avoided. On the other hand, faults that can occur can be automated, detected and classified by the fault detection agent. This agent receives the fault detection dataset from the monitoring agent together with the classify message. The fault detection agent runs the classification model and predicts the class (type of fault) of the new instance. The discovered model, the performance measures’ values and the class value of the tested instance are sent back to the monitoring agent. This can inform the human expert in real time about the occurrence of a fault in order to solve the problem in time.
Figure 2 describes the behaviors of the designed agents in detail. The traffic flow agent, road junction agent and car parking agent use k-nearest neighbor (IBk implementation) forecasters, and the fault detection agent learns the received dataset using the decision tree (J48 implementation) classification model.
In the proposed agent-based modeling approach, the monitoring agent sends the datasets to be evaluated and receives the forecasting/classification models and results. Other approaches also integrate simulation modeling with machine learning [24,25,26,27].
The communication protocol includes a series of messages and their identifiers (the symbol # encodes the end of a message):
  • SendDataset = 60 SendDataset#;
  • ReceiveDataset = 61 ReceiveDataset#;
  • StartForecast = 62 StartForecast#;
  • ReceiveForecastResults = 63 ReceiveForecastResults #;
  • StartClassification = 64 StartClassification #;
  • ReceiveClassificationResults = 65 ReceiveClassificationResults #;
  • SendRequest = 70 SendRequest#;
  • AckRequest = 71 AckRequest#;
  • WaitingForResponse = 72 WaitingForResponse#;
  • SendingResponse = 80 SendingResponse#;
  • AckResponse = 81 AckResponse#;
  • ConfirmedReceivedResponse = 82 ConfirmedReceivedResponse#;
  • IdentifyAnomalies = 91 IdentifyAnomalies #;
  • Error = 100 Error#;
  • kNearestNeighbour = knn;
  • decisionTrees = j48;
  • separator = #;
The designed agents will send only the message identifiers (e.g., 60, 61, and so on) in order to improve the communication time, taking into account that agents send the same messages many times.
The monitoring agent is the decision maker entity in all these cases, being equipped with an expert system that detects when anomalies and faults appear and sends notification messages.

3. Experiments and Results

3.1. Dataset Description

The MAS uses four real-time traffic datasets published by Birmingham and the West Midlands councils in [28,29]: fault detection dataset (UTMC Faults), traffic flow dataset (UTMC Flow), road junction dataset (UTMC RTEM) and car parking dataset (UTMC Parking). A brief description of the considered datasets is given in Table 1.

3.2. Forecasting Results

For performing forecasting and classification operations, the WEKA data mining tool was used [32]. This is open-source software, written in java, and also contains tools for process design and pre-processing and visualization of the analyzed datasets.
In the experimental phase, a set of models was tested in order to choose the one that better fits the data to be learned. The dataset, in attribute relation file format (.arff), was loaded and was sent as input to IBk, KStar and random tree learning methods. IBk and KStar are lazy learning methods, and random tree is a decision tree-based forecaster. Other types of learning methods were also tested, but the obtained results showed that these methods learned the proposed dataset with low accuracy rates.
Table 2 describes the obtained results with the designed forecasting architecture. Direction accuracy and root-mean-square error performance evaluating measures show that all the proposed models are suitable for learning the traffic flow dataset.
Direction accuracy compares the forecast direction (upward or downward) to the actual realized direction [33]. High direction accuracy rates were achieved due to the uniform distribution and repeatability of data for the occupancy attribute.
Figure 3 plots the actual (371 instances) and predicted (100 instances) traffic flow occupancy rates.
A similar architecture was also designed for predicting the road junction occupancy rates. Table 3 shows that only the k-nearest neighbor (IBk) model forecasted, with one neighbor (k = 1) returning high direction accuracy and root-mean-square error rates. The performed experiments show that the IBk forecaster is suitable to be implemented in the road junction agent in order to be used on real-time data.
Figure 4 plots the actual (229 instances) and predicted (100 instances) road junction occupancy rates. Actual values are represented by squares, and the forecasted values are represented by circles.
In car parking occupancy rate forecasting, better results were obtained using random forest compared to the random tree model. However, lazy learners also remained the most suitable forecasters for the car parking dataset (Table 4).
Figure 5 plots the actual (16 instances) and predicted (10 instances) car parking occupancy rates.
Experiments were performed on similar data in a previous study [34], also highlighting the performance of the k-nearest neighbor (IBk) model compared to other models.
Other studies [35,36] have used polynomial fitting, Fourier series, k-means clustering, time series and evolutionary deep learning for car park occupancy prediction in Birmingham.

3.3. Classification Results

The employed visualization techniques highlight that the dataset is unbalanced in terms of class instance distribution (Figure 6). Classification methods were also chosen according to this information.
The aim is to build a performant model and to detect the fault type for a new instance, after learning a training file with known classes for its instances (CPU Temperature Fault—temperature is excessive, Intermittent TX fault, Remote attended, Identified lamp fault, CS reply stuck, Identified red lamp fault, Controller synchronization fault, Pelican signals off, Hurry call detected, Invalid stage transition (J)/No vehicle green confirm (P), Lamps off, Signals stuck in intergreen, Pedestrian Confirm/Vehicle Green (PC/GX) reply conflict, and so on). Taking into account the data source (car_park, traffic_signal, meteorological, etc.), data type (CRS ANPR, SIEMENS UTC, Swarco, Cloud Amber, CA Traffic, ANPR) and the other attributes’ values as presented in Table 1, the best models are generated and used for real-time data.
The knowledge flow (Figure 7) describes the steps of the classification process:
  • Loading the fault detection dataset.
  • Assigning the class attribute (fault type attribute).
  • Splitting the dataset into a training set and testing set. The dataset was split into 10 equal folds (parts): nine folds for training and one fold for testing.
  • Building the classifier model: the data were learned using lazy models (IBk, KStar), decision tree models (J48) and decision rules models (JRip).
  • Evaluating the discovered model: For this task, a 10-fold cross-validation technique was used. This performs 10 runs, and at each run, it uses a different fold for testing and the remaining nine folds for training. Finally, the average classification accuracy for the 10 runs is computed.
  • Presenting the obtained results to the user: for each classifier used, the discovered model, together with the performance measure (classification accuracy, time taken to build model, true positive rates, false negative rates, confusion matrix, etc.) values, is shown.
The best classification results in terms of classification accuracy were achieved by the J48 model (99.51%); see Table 5 and Figure 8. The time taken to build this model was also good in terms of a performant model (0.39 s for 5411 learned instances); see Table 5 and Figure 9. Additionally, precision, recall and F-measure reached the highest values using the decision tree model (Table 3).
The building model time was equal to zero when lazy learners were used, but with some decrease in classification accuracy: a 1.36% decrease (comparing to J48) in the case of IBk learning (with 1 neighbor, k = 1), 2.08% decrease when using IBk learning model (with 3 neighbors, k = 3), and 4.62% decrease when learning data with KStar model.
JRip classified the testing instances with high accuracy rates (99.02%) but with an increased building model time (54.01 s).
The best confusion matrix was generated with the J48 model and presents the classification of each class of the dataset. In imbalanced problems, this measure is very important as the classification of underrepresented classes can be evaluated. For instance, for the classification of the “persistent TX fault” class, 1 out of 17 instances was misclassified. Other classes, with very few instances (for instance, the “pelican signals off” class with two instances), which had all the instances assigned to other classes (the “hurry call detected” class), needed a cost matrix (used within the cost-sensitive meta-classifier) with an increased cost for their position (a cost equal to 3000 discovered experimentally) in order to correctly classify all instances. In the case of using a cost matrix to help the classifier better recognize the weakly represented classes, it is necessary to admit a slow drop in the general accuracy rates. In the case presented above, the general accuracy value was equal to 99.42%, equating to a 0.09% drop in general accuracy. It is evident that, even in this case, the J48 model still had the highest accuracy rates compared to other tested classifiers.

3.4. MAS Testing

The MAS was implemented in the Java Agent Development (JADE) Framework [37]. This supports communication between agents and uses Foundation for Intelligent Physical Agents and Agent Communication Language (FIPA-ACL language).
The designed agents were implemented in the Main JADE Container from the agent platform (Figure 10). All the exchanged messages and performed tasks were shown in the application output (Figure 11). The monitoring agent received the discovered patterns and the predicted data and could perform different actions in order to optimize urban traffic management and control.
The monitoring agent has an embedded expert system implemented with the Jess rule engine [38,39]. The proposed template contains facts for the forecasting unit name, traffic flow occupancy rates, road junction occupancy rates and car parking occupancy rates.
  • (defglobal ?*maxTrafficFlow* = 12)
  • (defglobal ?*maxRoadJunction* = 30)
  • (defglobal ?*maxCarParking* = 10,000)
  • (deftemplate decision
  • „Intelligent decision”
  • (slot name)
  • (slot traffic_flow (type INTEGER))
  • (slot road_junction (type INTEGER))
  • (slot car_parking (type INTEGER)))
In order to check if a forecasted value is anomalous or normal, the monitoring agent fires a set of decision rules:
(defrule checkForecastedValue
„Check forecasted value against maxTrafficFlow”
?p <- (decision {traffic_flow > ?*maxTrafficFlow *})
=>
(add (new Response (str-cat „Forecasted traffic flow occupancy rates greater than maximum global value” ?*maxTrafficFlow* „: „ ?p.name „ = „ ?p.traffic_flow)))
(printout t „Notification: anomalous traffic flow value” ?p.name „ = „ ?p.price crlf))
If the forecasted value exceeds the maximum global value, the monitoring agent decides to send a notification message to the application output, and other management processes can be started.

4. Discussion and Conclusions

This paper proposes a multi-agent system to automate urban traffic management and control in Birmingham city. It uses the datasets published by Birmingham and the West Midlands councils in [28,29] and forecasts occupancy rates for traffic flow, road junctions and car parking. The system also detects and classifies the faults that occur in different systems used in the data collection and monitoring processes.
The performed experiments show that the k-nearest neighbor models achieve the best accuracy rates for forecasting the considered time-series, and they have been included in the forecasting agents of the designed system.
In the classification task, the obtained results show that decision trees are suitable for predicting the type of newly occurring faults, considering the classification accuracy and time taken to build the model. This learning technique was used by the fault detection agent in the learning process.
Using the proposed system, important decisions can be made in a shorter time, improving citizens’ lives.

Funding

This research received financial support from the funds for scientific research of 1 Decembrie 1918 University of Alba Iulia, Romania.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are openly available in https://data.birmingham.gov.uk/dataset/wm-utmc (accessed on 17 July 2021) and http://butc.opendata.onl/AL_OpenData (accessed on 17 July 2021).

Conflicts of Interest

The author declares no conflict of interest.

References

  1. Inga, E.; Inga, J.; Ortega, A. Novel Approach Sizing and Routing of Wireless Sensor Networks for Applications in Smart Cities. Sensors 2021, 21, 4692. [Google Scholar] [CrossRef] [PubMed]
  2. Poudel, S.; Moh, S. Hybrid Path Planning for Efficient Data Collection in UAV-Aided WSNs for Emergency Applications. Sensors 2021, 21, 2839. [Google Scholar] [CrossRef] [PubMed]
  3. Jornet-Monteverde, J.; Galiana-Merino, J.; Soler-Llorens, J. Design and Implementation of a Wireless Sensor Network for Seismic Monitoring of Buildings. Sensors 2021, 21, 3875. [Google Scholar] [CrossRef] [PubMed]
  4. Metia, S.; Nguyen, H.; Ha, Q. IoT-Enabled Wireless Sensor Networks for Air Pollution Monitoring with Extended Fractional-Order Kalman Filtering. Sensors 2021, 21, 5313. [Google Scholar] [CrossRef] [PubMed]
  5. Alías, F.; Socoró, J.C.; Alsina-Pagès, R.M. WASN-Based Day–Night Characterization of Urban Anomalous Noise Events in Narrow and Wide Streets. Sensors 2020, 20, 4760. [Google Scholar] [CrossRef] [PubMed]
  6. Noh, B.; No, W.; Lee, J.; Lee, D. Vision-Based Potential Pedestrian Risk Analysis on Unsignalized Crosswalk Using Data Mining Techniques. Appl. Sci. 2020, 10, 1057. [Google Scholar] [CrossRef] [Green Version]
  7. Jung, D.; Tuan, V.T.; Tran, D.Q.; Park, M.; Park, S. Conceptual Framework of an Intelligent Decision Support System for Smart City Disaster Management. Appl. Sci. 2020, 10, 666. [Google Scholar] [CrossRef] [Green Version]
  8. Chen, L.-C.; Sheu, R.-K.; Peng, W.-Y.; Wu, J.-H.; Tseng, C.-H. Video-Based Parking Occupancy Detection for Smart Control System. Appl. Sci. 2020, 10, 1079. [Google Scholar] [CrossRef] [Green Version]
  9. Zhang, X.; Kuehnelt, H.; De Roeck, W. Traffic Noise Prediction Applying Multivariate Bi-Directional Recurrent Neural Network. Appl. Sci. 2021, 11, 2714. [Google Scholar] [CrossRef]
  10. Khan, S.; Teng, Y.; Cui, J. Pedestrian Traffic Lights Classification Using Transfer Learning in Smart City Application. In Proceedings of the 2021 13th International Conference on Communication Software and Networks (ICCSN), Chongqing, China, 4–7 June 2021; pp. 352–356. [Google Scholar] [CrossRef]
  11. Zhu, Q. Research on Road Traffic Situation Awareness System Based on Image Big Data. IEEE Intell. Syst. 2019, 35, 18–26. [Google Scholar] [CrossRef]
  12. Bellini, E.; Bellini, P.; Cenni, D.; Nesi, P.; Pantaleo, G.; Paoli, I.; Paolucci, M. An IoE and Big Multimedia Data Approach for Urban Transport System Resilience Management in Smart Cities. Sensors 2021, 21, 435. [Google Scholar] [CrossRef] [PubMed]
  13. Bartolozzi, M.; Bellini, P.; Nesi, P.; Pantaleo, G.; Santi, L. A Smart Decision Support System for Smart City. In Proceedings of the 2015 IEEE International Conference on Smart City/SocialCom/SustainCom (SmartCity), Sichuan, China, 19–21 December 2015; pp. 117–122. [Google Scholar] [CrossRef]
  14. Namoun, A.; Tufail, A.; Mehandjiev, N.; Alrehaili, A.; Akhlaghinia, J.; Peytchev, E. An Eco-Friendly Multimodal Route Guidance System for Urban Areas Using Multi-Agent Technology. Appl. Sci. 2021, 11, 2057. [Google Scholar] [CrossRef]
  15. Muntean, M.; Donea, A. A Multi-Agent System based on Natural Language Processing using Collective User Knowledge-Base and GPS Databases. Acta Univ. Apulensis 2018, 56, 27–33. [Google Scholar] [CrossRef]
  16. Billhardt, H.; Fernández, A.; Lujak, M.; Ossowski, S. Agreement Technologies for Coordination in Smart Cities. Appl. Sci. 2018, 8, 816. [Google Scholar] [CrossRef] [Green Version]
  17. De Gauna, D.E.R.; Villalonga, C.; Sanchez, L.E. Multi-agent systems in the field of urbane-mobility: A Systematic Review. IEEE Lat. Am. Trans. 2020, 18, 2186–2195. [Google Scholar] [CrossRef]
  18. Guastella, D.A.; Camps, V.; Gleizes, M.-P. A Cooperative Multi-Agent System for Crowd Sensing Based Estimation in Smart Cities. IEEE Access 2020, 8, 183051–183070. [Google Scholar] [CrossRef]
  19. Mohammed, O.; Kianfar, J. A Machine Learning Approach to Short-Term Traffic Flow Prediction: A Case Study of In-terstate 64 in Missouri. In Proceedings of the 2018 IEEE International Smart Cities Conference (ISC2), Kansas City, MO, USA, 16–19 September 2018; pp. 1–7. [Google Scholar] [CrossRef]
  20. Hu, J.; Li, B. A Deep Learning Framework Based on Spatio-Temporal Attention Mechanism For Traffic Prediction. In Proceedings of the 2020 IEEE 22nd International Conference on High Performance Computing and Communications; IEEE 18th International Conference on Smart City; IEEE 6th International Conference on Data Science and Systems (HPCC/SmartCity/DSS), Cuvu, Fiji, 14–16 December 2020; pp. 750–757. [Google Scholar] [CrossRef]
  21. Manandhar, B.; Joshi, B. Adaptive Traffic Light Control with Statistical Multiplexing Technique and Particle Swarm Optimization in Smart Cities. In Proceedings of the 2018 IEEE 3rd International Conference on Computing, Communication and Security (ICCCS), Kirtipur, Nepal, 25–27 October 2018; pp. 210–217. [Google Scholar] [CrossRef]
  22. Sakurada, L.; Barbosa, J.; Leitao, P.; Gleifer, A.; Borges, A.P.; Botelho, P. Development of Agent-Based CPS for Smart Parking Systems. In Proceedings of the IECON 2019—45th Annual Conference of the IEEE Industrial Electronics Society, Lisbon, Portugal, 14–17 October 2019; pp. 2964–2969. [Google Scholar] [CrossRef]
  23. Dorri, A.; Kanhere, S.; Jurdak, R. Multi-agent systems: A survey. IEEE Access 2018, 6, 28573–28593. [Google Scholar] [CrossRef]
  24. Elbattah, M.; Molloy, O.; Zeigler, B.P. Designing Care Pathways Using Simulation Modeling and Machine Learning. In Proceedings of the 2018 Winter Simulation Conference (WSC), Gothenburg, Sweden, 9–12 December 2018; pp. 1452–1463. [Google Scholar] [CrossRef] [Green Version]
  25. Othman, B.; Shalihin, M.; Tan, G. Machine Learning Aided Simulation of Public Transport Utilization. In Proceedings of the 2018 IEEE/ACM 22nd International Symposium on Distributed Simulation and Real Time Applications (DS-RT), Madrid, Spain, 15–17 October 2018; pp. 1–2. [Google Scholar] [CrossRef]
  26. Elbattah, M.; Molloy, O. Coupling Simulation with Machine Learning. In Proceedings of the 2016 ACM SIGSIM Conference on Principles of Advanced Discrete Simulation, New York, NY, USA, 15–18 May 2016; pp. 47–56. [Google Scholar] [CrossRef]
  27. Briola, D.; Deufemia, V.; Mascardi, V.; Paolino, L. Agent-oriented and ontology-driven digital libraries: The IndianaMAS experience. Softw. Pr. Exp. 2017, 47, 1773–1799. [Google Scholar] [CrossRef]
  28. Birmingham and West Midlands Real-Time Traffic Data. Available online: https://data.birmingham.gov.uk/dataset/wm-utmc (accessed on 17 July 2021).
  29. Open Data Sources. Available online: http://butc.opendata.onl/AL_OpenData (accessed on 17 July 2021).
  30. BirminghamRealTime/UTMCTools. Available online: https://github.com/BirminghamRealTime/UTMCTools/blob/master/description.md (accessed on 17 July 2021).
  31. A Guide to Coordinate Systems in Great Britain. Available online: https://www.bnhs.co.uk/2019/technology/grabagridref/OSGB.pdf (accessed on 17 July 2021).
  32. Weka 3: Machine Learning Software in Java. Available online: https://waikato.github.io/weka-wiki/downloading_weka/ (accessed on 15 June 2021).
  33. Mean Directional Accuracy of Time Series Forecast. Available online: https://datasciencestunt.com/mean-directional-accuracy-of-time-series-forecast/ (accessed on 5 September 2021).
  34. Muntean, M.V. Car Park Occupancy Rates Forecasting based on Cluster Analysis and kNN in Smart Cities. In Proceedings of the 2019 11th International Conference on Electronics, Computers and Artificial Intelligence (ECAI), Pitesti, Romania, 27–29 June 2019; pp. 1–4. [Google Scholar] [CrossRef]
  35. Stolfi, D.H.; Alba, E.; Yao, X. Predicting Car Park Occupancy Rates in Smart Cities. In Proceedings of the International Conference on Smart Cities Málaga, Málaga, Spain, 14–16 June 2017; pp. 107–117. [Google Scholar] [CrossRef] [Green Version]
  36. Camero, A.; Toutouh, J.; Stolfi, D.H.; Alba, E. Evolutionary Deep Learning for Car Park Occupancy Prediction in Smart Cities. In Proceedings of the International Conference on Learning and Intelligent Optimization, Kalamata, Greece, 10–15 June 2018; pp. 386–401. [Google Scholar] [CrossRef]
  37. JADE Site, JAVA Agent Development Framework. Available online: https://jade.tilab.com/ (accessed on 15 June 2021).
  38. Jess, the Rule Engine for the Java Platform. Available online: http://alvarestech.com/temp/fuzzyjess/Jess60/Jess70b7/docs/intro.html (accessed on 4 September 2021).
  39. Muntean, M.V. Intelligent agent based expert system for blended learning evaluation. In Proceedings of the 2017 16th RoEduNet Conference: Networking in Education and Research (RoEduNet), Targu-Mures, Romania, 21–23 September 2017; pp. 1–4. [Google Scholar] [CrossRef]
Figure 1. Multi-agent system architecture.
Figure 1. Multi-agent system architecture.
Sensors 22 00208 g001
Figure 2. Agents’ behaviors.
Figure 2. Agents’ behaviors.
Sensors 22 00208 g002
Figure 3. Traffic flow occupancy rates forecasting.
Figure 3. Traffic flow occupancy rates forecasting.
Sensors 22 00208 g003
Figure 4. Road junction occupancy rate forecasting.
Figure 4. Road junction occupancy rate forecasting.
Sensors 22 00208 g004
Figure 5. Car park occupancy rate forecasting.
Figure 5. Car park occupancy rate forecasting.
Sensors 22 00208 g005
Figure 6. Instances of distribution for class attributes (61 classes).
Figure 6. Instances of distribution for class attributes (61 classes).
Sensors 22 00208 g006
Figure 7. Fault classification process flow.
Figure 7. Fault classification process flow.
Sensors 22 00208 g007
Figure 8. Classification accuracy (fault detection dataset).
Figure 8. Classification accuracy (fault detection dataset).
Sensors 22 00208 g008
Figure 9. Time taken to build the model (fault detection dataset).
Figure 9. Time taken to build the model (fault detection dataset).
Sensors 22 00208 g009
Figure 10. Main container structure.
Figure 10. Main container structure.
Sensors 22 00208 g010
Figure 11. Sample of agents’ exchange of messages.
Figure 11. Sample of agents’ exchange of messages.
Sensors 22 00208 g011
Table 1. Dataset description [30].
Table 1. Dataset description [30].
DatasetAttributeDescription
traffic flow (371 instances, collected between 2013–2018)SCNSystem code number: a unique value for detector, carpark, etc.
DescriptionRoad description, e.g., Bristol Road/Oak Tree Lane, Coventry Rd/Kings Rd
Northing/EastingOSGB36 datum reference (latitudes and longitudes on the Airy ellipsoid) [31]
DateDate and time of instance recording
StatusTime status, either 0 or 1, indicating false or true
OccupancyDetector occupancy rate
IntervalNumeric, between 0 and 5
FlowFlow data produced by vehicle detectors embedded in the road surface per hour
SpeedSpeed data produced by vehicle detectors embedded in the road surface
road junction (229 instances, collected between 2018–2021)SCNSystem code number
Site/StationStation ID
DescriptionStation description, e.g., A45 Coventry Road/Holder Road, Station 0002
Northing/EastingOSGB36 datum reference (latitudes and longitudes on the Airy ellipsoid) [26]
DateDate and time of instance recording
LaneNumeric, between 0 and 3
SpeedSpeed data produced by vehicle detectors embedded in the road surface
HeadwayThe time interval between two vehicles traveling
OccupancyDetector occupancy rate
VehiclesNumber of vehicles at the current timestamp
MotorbikesNumber of motorbikes at the current timestamp
CarsNumber of cars at a road junction
TrailersNumber of trailers at a road junction
RigidsNumber of rigids at a road junction
HGVsNumber of HGVs at a road junction
BusesNumber of buses at a road junction
car parking (16 instances, collected between 2018–2021)SCNSystem Code Number
CapacityCar parking capacity
DisabledNumeric, with values between 1 and 12
DescriptionCar parking description, e.g., BCC Paradise Circus, BCC Town Hall, Broad Street
Northing/EastingOSGB36 datum reference (latitudes and longitudes on the Airy ellipsoid) [31]
DateDate and time of instance recording
StateState with the following values: SPACES, OPEN, OTHER
Occupancy/PercentDetector occupancy rate
TrendWith the following values: Other, Static, Filling
StatisticsString, default 0
EntryNumber of cars at entry
ExitNumber of cars at exit
QueueNumber of cars in queue
fault detection (5411 instances, collected between 2015–2019)SourceNominal, with the following values: cctv,car_park, traffic_signal, meteorological, tl, vms, detector, Camera, tl_anpr, tl_scoot, BSI
SystemCodeNumberSystem Code Number
DataTypeNominal, with the following values: CRS ANPR, SIEMENS UTC, Swarco, Cloud Amber, CA Traffic, ANPR
SubSystemTypeIDSubSystem ID, numeric
FaultIDFault ID, nominal
FaultText61 distinct values, e.g., CPU Temperature Fault—temperature is excessive, TX fault—No reply for 3 s
FaultTypeFault Type, numeric, 47 distinct values
EquipmentFaultNominal, with the following values: N, Y, 0, 1
Communications FaultNominal, with the following values: N, Y, 0
SupplierFault NumberNominal
CreationDateCreation date (timestamp)
ClearedDateCleared date (timestamp)
LastUpdatedLast updated (timestamp)
AckTypeIdNumeric: 0, 1
Table 2. Traffic flow forecasting results.
Table 2. Traffic flow forecasting results.
DatasetForecasting ModelDirection AccuracyRoot Mean Squared Error
Traffic flowIBk, k = 11000
KStar1000
Random Tree1000
Table 3. Road junction forecasting results.
Table 3. Road junction forecasting results.
DatasetForecasting ModelDirection AccuracyRoot Mean Squared Error
Road junctionIBk, k = 11000
KStar85.920
Random Tree70.292.92
Table 4. Car parking forecasting results.
Table 4. Car parking forecasting results.
DatasetForecasting ModelDirection AccuracyRoot Mean Squared Error
Car parkingIBk, k = 11000
KStar1000
Random Forest71.475127.84
Table 5. Classification results.
Table 5. Classification results.
DatasetClassification ModelAccuracy (%)PrecisionRecallF-MeasureTime (Seconds)
Fault detectionIBk, k = 198.150.9810.9820.9810
IBk, k = 397.430.9720.9740.9730
KStar94.890.9520.9490.9450
JRip99.020.9850.9900.98754.01
J4899.510.9920.9950.9940.39
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Muntean, M.V. Multi-Agent System for Intelligent Urban Traffic Management Using Wireless Sensor Networks Data. Sensors 2022, 22, 208. https://doi.org/10.3390/s22010208

AMA Style

Muntean MV. Multi-Agent System for Intelligent Urban Traffic Management Using Wireless Sensor Networks Data. Sensors. 2022; 22(1):208. https://doi.org/10.3390/s22010208

Chicago/Turabian Style

Muntean, Maria Viorela. 2022. "Multi-Agent System for Intelligent Urban Traffic Management Using Wireless Sensor Networks Data" Sensors 22, no. 1: 208. https://doi.org/10.3390/s22010208

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop