Next Article in Journal
Towards Indoor Suctionable Object Classification and Recycling: Developing a Lightweight AI Model for Robot Vacuum Cleaners
Previous Article in Journal
Cancer Treatment: An Overview of Pulsed Electric Field Utilization and Generation
Previous Article in Special Issue
The Importance of Robust Datasets to Assess Urban Accessibility: A Comparable Study in the Distrito Tec, Monterrey, Mexico, and the Stanford District, San Francisco Bay Area, USA
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Minimizing Intersection Waiting Time: Proposal of a Queue Network Model Using Kendall’s Notation in Panama City

1
Research Group on Engineering Technologies Applied to Society (GIITAS), Universidad Tecnológica de Panamá, Panama City 0819-07289, Panama
2
Faculty of Computer Systems Engineering, Universidad Tecnológica de Panamá, Panama City 0819-07289, Panama
3
Ministerio de Educación de Panamá, Panama City 0819-07289, Panama
4
Department of Electronics and Information Technology, Lublin University of Technology, 20-618 Lublin City, Poland
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(18), 10030; https://doi.org/10.3390/app131810030
Submission received: 28 April 2023 / Revised: 21 June 2023 / Accepted: 15 July 2023 / Published: 6 September 2023
(This article belongs to the Special Issue Smart Cities in Applied Sciences)

Abstract

:
The paper presents a proposed queuing model based on Kendall’s notation for the intersection of two streets in Panama City (53 East and 56 East). The proposed model is based on a set of traffic lights that controls the flow of vehicles at the intersection according to a predetermined schedule. The model analyzes the stability of the system and simulations are performed to evaluate its performance. The main objective of the paper is to optimize the vehicle flow by minimizing the waiting time for passage. In the study, it was observed that the current traffic light system on Calle 50 (50th Street) is unstable and oversaturated during weekdays, which generates large vehicle queues with no estimated exit times. It was proposed to increase the system capacity to 1300 vehicles per hour to achieve reasonable stability and provide a solution to improve traffic signal timing on 50th Street. The need to increase the system capacity has been demonstrated and an optimal value has been suggested. The evaluation of other models and the use of AI can further strengthen the system and improve the prediction accuracy in different traffic scenarios.

1. Introduction

Steady population growth and urbanization has generated a significant increase in the number of vehicles in cities, leading to traffic and congestion problems on roads and intersections [1,2]. These difficulties are the result of increasing traffic demand compared to the insufficient capacity of existing roads [3].
Intersections in urban centers are critical points where there is an accumulation of vehicles competing for right-of-way. Currently, traffic management at these intersections is performed in a static manner. The times assigned to traffic signals are constant and do not adjust to changing traffic conditions in real time. This results in suboptimal performance, as traffic signals may be assigning unnecessarily long or short green times, which interferes with efficient traffic flow [4,5,6].
Inefficient traffic management has a significant impact on the quality of life of citizens; long waits, delays and traffic jams generate considerable time loss and increase driver stress. In addition, traffic congestion also has a negative impact on the environment due to the emission of polluting gases and additional fuel consumption [7,8].
To address this problem, it is necessary to look for innovative solutions that optimize traffic management at intersections. In this sense, this article proposes a mathematical model based on queuing theory for the analysis of vehicular flow in one of the most congested arteries of Panama City. These mathematical models allow performing stability analysis and estimating the optimal capacity of the queuing system to achieve a more efficient traffic management. In addition, the use of artificial intelligence (AI) offers new opportunities to improve the accuracy and predictive capacity of traffic management models. AI can analyze large volumes of real-time data and adjust traffic signal timings dynamically according to traffic conditions, which can significantly improve the performance and efficiency of traffic management at intersections [9,10,11].
After the application of the method (for a large number of cases and under real traffic restriction systems), efforts are made to obtain temporal sequences for traffic lights that allow them to operate in a coordinated manner and allow the passage of a large number of vehicles through the intersection, thus reducing waiting times and queue lengths, allowing the proposed model to serve as a basis for the approach of similar problems and for the creation of better methods. The results may be of interest to researchers and practitioners in the field of transportation engineering, and the methodology and approach of the paper may serve as a valuable reference for similar studies in other cities facing similar problems.
The rest of the paper is as follows: Section 2, Related Research; Section 3, Theoretical Context; Section 4, Methodology; Section 5, Problem Definition and Motivation; Section 6, Mathematical Model; Section 7, Results and Discussion; Section 8, Conclusions; and finally in Section 9, Future Work.

2. Related Research

This section discusses related research in the field of traffic flow optimization.
A study by Manh and Thi [12] focuses on determining the queue model and performance measures of a motorcycle parking area during rush hours at Hanoi University of Science and Technology (HUST), specifically the D3–D5 parking lot. Data collection is done using the observation approach, which involves recording the number of arrivals and service time. The arrival distribution and service time distribution are tested using the one-sample Kolmogorov–Smirnov test with SPSS Statistics. The analysis of the collected data reveals that the arrival distribution follows a Poisson distribution, while the service time distribution follows an Exponential distribution. By applying Kendall Notation and considering the results of the data analysis, the queue model for the parking lot is determined to be (M/M/4): (FIFO/∞/∞). This notation indicates that the arrivals and service times both follow the Markovian process; the system has four servers, and the queue operates on a first-in, first-out (FIFO) basis with infinite queue capacity and infinite population capacity. The proposed queue model aligns well with the actual observed queue model at the D3–D5 parking lot. This finding provides valuable insights into understanding the queuing behavior and performance of the motorcycle parking area during rush hours at HUST.
The research of Liu et al. [13] proposes the development of a system that allows the visualization of information posted on social networks about traffic incidents. Feature engineering methods, such as vector counting and TF-IDF, were applied to process tweets into structured data. Machine Learning models were created for traffic-related tweet classification using SVM, Naïve Bayes, Random Forest, and XGBoost. The prediction models resulted in a classification model that detects incident or non-incident tweets and a categorization model that determines the type of incident (accident, hazard, or obstacle). This system has advantages, such as speeding up the detection and visualization of traffic incidents, which can significantly help the country’s traffic authorities and the public.
Antoine et al. [14] present a new queuing model with multiple servers aimed at optimizing traffic signals to enhance the sustainability of urban mobility. The model focuses on analyzing the queue information for different movement patterns based on the arrival rate of cars on each road at the intersection. By utilizing queuing theory concepts, the collected data is processed and evaluated. The performance metrics considered in this proposed model include arrival rate, waiting time, average number of cars in the queue, and intersection utilization. These metrics are analyzed and assessed using ground truth data to determine the effectiveness of the queuing model. The numerical results obtained from the analysis are visually presented and indicate that the proposed approach of the queuing model reduces delays by improving the throughput of the intersection. Consequently, this leads to smoother traffic flow and decreased congestion for users of the Giporoso intersection in Kigali. The findings highlight the potential benefits of implementing the proposed queuing model in optimizing traffic signal operations and enhancing urban mobility sustainability.
Li et al. [15] introduce the concept of a birth and death process to analyze vehicle behavior and propose a traffic model based on queuing theory to simulate road traffic. They specifically focus on two scenarios: the steady state and the congested state of the traffic system. In the steady state, they obtain statistical variables such as the number of vehicles and the waiting time for vehicles to pass through a specific section of the road. These variables provide valuable information to drivers and contribute to their decision-making process. In addition, the authors use the proposed model to simulate traffic conditions and analyze the steady-state distribution of the number of vehicles. Comparison of the theoretical results with the simulation results allows validating the effectiveness of the model. Overall, the study demonstrates the applicability of the birth–death process and the traffic model based on queuing theory to describe and simulate traffic behavior. The results obtained confirm the validity and reliability of the proposed model, providing valuable insights for understanding and predicting traffic dynamics.
The research of Gunes et al. [16] presents the analysis results obtained from real data collected in the field. The study applies queuing models to analyze the collected data and explores the impact of improving signal durations on the obtained results. By optimizing the signal timings based on the data, the study examines the effects on parameters such as queue lengths and overall time spent in the system. The findings indicate that improving the signal durations leads to a reduction in queue lengths and the time consumed within the system. By utilizing queuing models, the study provides valuable insights into the relationship between signal timings and system performance, ultimately offering potential solutions for mitigating traffic-related challenges in urban areas.

3. Theoretical Context

Over the last fifty years, a wide range of traffic flow theories and models have been developed as tools to solve the economic and social problems arising from high vehicular demand. Research aims to optimize the efficiency of existing traffic systems, thereby increasing vehicle capacity [17,18].

3.1. Traffic and Vehicular Flow

Vehicular flow is the phenomenon caused by the flow of vehicles on a road, street, or highway. It also has many similarities in other phenomena, such as the flow of particles (liquids, gases, or solids) and pedestrians. In large cities, vehicular flow is present in almost all spheres of people’s daily activities and causes numerous phenomena, among which congestion stands out [19,20].

3.2. Queuing Theory, Kendall’s Notation

Queuing theory is the study of a technique based on operations research to solve problems that arise in situations where waiting for shifts or queues are formed for the provision of a service or execution of a job [21,22,23].
Among the most important terms that comprise the queuing theory [24,25,26] are “Customers,” which refer to the entity that arrives at the system, such as: Cars waiting at a traffic light, machines waiting to be repaired, airplanes waiting to land, among others. “Arrivals” refers to the number of customers arriving at the service facility. “Service Rate” is used to designate the service capacity, which can be provided by one server or by multiple servers. “The Arrival Rate” describes in units of time the feeding of the system. “The Server” oversees providing the respective service to the client. “The Queue Capacity” can be infinite or finite. Given the above, different queue models can be presented, with corresponding efficiency measures that characterize the system [27,28,29].
D.G. Kendall suggested a valuable notation for classifying the vast diversity of different wait-line models that have been developed [30]. Kendall’s notation of three symbols is as follows: A/B/K, where A indicates the probability distribution of arrivals, B indicates the probability distribution of service times, and K indicates the number of channels. Various waiting line systems can be described depending on which letter appears in the A or B position.
Commonly used letters are M, which designates a Poisson probability distribution for arrivals or exponential probability distribution for service time; D, which designates the fact that arrivals or service time is deterministic or constant, and G, which indicates that arrivals or service time have a general probability distribution, with known mean and variance [31,32].

3.3. Artificial Intelligence (AI) Application

Artificial intelligence (AI) can be key in optimizing vehicular flow. For example, intelligent traffic control systems (ITS) use AI techniques to monitor traffic and adjust traffic lights and signals in real time [33]. These systems can help reduce waiting times and improve traffic flow at intersections. Intelligent transportation systems (ITS) can use technologies such as traffic sensors, surveillance cameras, and navigation systems to collect real-time traffic data and analyze it using AI techniques. ITS systems can automatically adjust traffic lights, direct traffic to alternate routes, and provide real-time information to drivers and pedestrians [34].
In recent years, intelligent transportation systems (ITS) has received considerable attention due to increased road safety and efficiency demands in highly interconnected road networks. As an essential part of ITS, traffic forecasting can provide support in many aspects, such as road routing, traffic congestion control, applications, etc., and analyze how traffic forecasting can improve the performance of these applications [35].
AI can predict traffic behavior and vehicular flow under different conditions. For example, machine learning models can analyze extensive traffic data sets to identify patterns and trends. These models can be used to predict traffic demand at different times of the day and in different weather conditions [36].
Some practical cases of the use of artificial intelligence in the optimization of vehicular traffic can be observed in the work of Guo and Yan [37]. They propose an intelligent network control architecture based on SDN and artificial intelligence. The proposed architecture consists of three modules: a network state collection/perception module, an AI intelligent analysis module, and an SDN controller module. The experimental results demonstrate that using SDN and artificial intelligence in operator networks can do intelligent network control and traffic optimization more intelligently.
Nam Bui and Jung [4] propose a game–theoretic approach of cooperative games among agents to improve traffic flow within a large network. For this purpose, a distributed merge-and-split algorithm for coalition formation is presented. This algorithm is applied to discover how to incorporate cooperation among agents to dynamically control the traffic light at intersections. In addition, a traffic simulation framework is constructed to evaluate our approach. With various parameters for traffic density, the proposed system can effectively improve both uniform and non-uniform traffic flow. Through inter-controller coordination, the waiting time of vehicles at intersections can be reduced by 15% to 25% compared with previous methods (e.g., Green Wave coordination).
Yang et al. [1] propose multiagent reinforcement learning for traffic signals (MARL4TS) to support traffic signal control and deployment. First, information about traffic flows and multiple intersections is formalized as input environments for reinforcement learning. Second, the authors design a new reward function to continuously select the most appropriate strategy as control during multi-agent learning to track traffic signal actions. Finally, they use a supporting tool, Simulation of Urban Mobility (SUMO), to simulate the proposed traffic signal control process and compare it with other methods. Experimental results show that our proposed MARL4TS method is superior to the baselines.
Li et al. [6] propose a deep feature learning approach using supervised learning techniques to predict the short-term traffic flow in the next multiple steps. To achieve next-day traffic flow forecasting, an advanced multi-objective particle swarm optimization algorithm is applied to optimize some parameters in deep belief networks.
The work of Shengdong et al. [38] aims to discuss problems such as complex object types, large amounts of data collection, high transmission and computational demand, and weak real-time control and scheduling capability in constructing modern intelligent traffic information, physical fusion networks and cloud-based control. The underlying theory for modern intelligent traffic network control system is a current research topic. In the same way, the best design of the physical scheme is investigated to achieve an integrated control system that allows to link the transport information in an intelligent way. The scheme includes intelligent transportation edge control technology and intelligent transportation network virtualization technology. Based on the intelligent traffic flow data, various deep learning study methods are implemented in the cloud to predict the traffic flow and congestion of urban roads.

4. Methodology

Figure 1 describes the development process of this mathematical model to optimize the vehicular flow of Calle 50 in Panama City:
The project begins by identifying the problem and the motivation for the study. This step is essential, as it provides a clear understanding of the problem and helps create the variables needed to develop the mathematical model.
The mathematical model is based on queuing networks, a mathematical tool used to analyze and optimize the system’s performance involving queues or waiting lines. In the context of the study, the queuing network is used to model the flow of vehicles. The system’s performance is evaluated as a function of the waiting time experienced by the vehicles.
To check and verify the effectiveness of the mathematical model, simulations, and tests are performed. These simulations create a computer model of the vehicle flow, which allows for observing the system’s behavior under different conditions. By varying different parameters, such as traffic volume, road capacity, and traffic control mechanisms, the impact of each parameter on the waiting time experienced by vehicles can be evaluated.
The research aims to optimize vehicle waiting time and improve traffic flow. This can bring several benefits, such as reduced travel time, increased safety, and improved fuel efficiency. The research can also help traffic planners and policymakers make more informed decisions and implement more effective traffic management strategies.
  • Summary: The problem and motivation of the study are identified; this will allow us to create the necessary variables to develop the mathematical model based on queuing networks and thus be able to perform the information analysis of the vehicular flow. Finally, we perform tests and simulations to verify the optimization of the waiting time experienced by vehicles.

5. Problem Definition and Purpose

Traffic congestion is a common problem in many cities, and Panama City is no exception. The increase in population has led to an increase in vehicle traffic, especially during peak hours on weekdays. During these times, such as commute and lunch time, the city center becomes chaotic and traffic congestion becomes a frustrating experience for drivers. Despite the efforts made, such as the creation of exclusive lanes for the metro bus and the implementation of the Panama subway, this problem has not been completely solved [39,40,41,42].
In this context, this research focuses on addressing the problem of vehicular congestion in Panama, specifically on 50th Street, which is one of the most used roads for vehicular flow in the city (see Figure 2, Figure 3 and Figure 4). The main objective is to develop mathematical models using queuing theory to understand and analyze the current congestion situation on 50th Street, particularly at the intersections of Street 53 East and Street 56 East [43].
The proposed model seeks to reduce the time individuals spend daily in these vehicular congestions. To achieve this, queuing theory techniques will be used to model traffic flow at these intersections and establish optimal traffic signal timings. The goal is to improve the efficiency of vehicular flow and reduce congestion on the 50th Street section.
By using mathematical models and queuing theory techniques, it is hoped to obtain traffic signal timings that will help decongest the road and improve the driving experience for citizens. This, in turn, could have a positive impact on reducing travel time, reducing air pollution, and saving fuel. Ultimately, this research aims to provide recommendations and practical solutions to address the problem of vehicular congestion in Panama City and improve the quality of life of its inhabitants.

6. Mathematical Model

The mathematical model proposed to address the problem of vehicular congestion on 50th Street is based on the implementation of an M/M/1 queuing system. This queuing system is characterized by having exponentially distributed arrival and service times, which means that the time intervals between the arrival of vehicles and the duration of their service follow an exponential distribution.
In this model, the system is considered to have a single server, which implies that only one vehicle can be served at a time. Queue discipline is governed by the FIFO (First In, First Out) principle, meaning that vehicles are serviced in the order in which they arrive at the intersection.
In addition, the size of the entry population is assumed to be infinite, implying that the number of vehicles entering the system does not affect the arrival rate of new vehicles. This assumption is because vehicular congestion on 50th Street is primarily related to intersection capacity and waiting times, rather than the total number of vehicles in the city.
By implementing this M/M/1 queuing model, we seek to understand and analyze how traffic flow behaves on 50th Street and how it affects the waiting times experienced by drivers. Through mathematical techniques and statistical analysis, important performance measures such as arrival rate, average waiting time, and average number of vehicles in the queue can be obtained (see Figure 5) [44,45].
For the development of this model, we will use:
  • Population: The population to be used in the model to be generated is all vehicles that travel on the main avenues of Panama City.
  • Sample: It will correspond to vehicles that circulate on the main road called Calle 50, Aquilino de la Guardia and also at its bifurcation with Calle 56.—. January 2020 will be considered, with a cycle of 180 s, from 3:00 p.m. to 6:00 p.m. (see Figure 6).
  • Variables: The independent variables we will use are: λ, the number of arrivals, and μ, the number of departures or service rate. The dependent variables are:
  • ρ: average system utilization.
  • L: average number of vehicles in the service system.
  • Lq: average number of vehicles in the waiting queue.
  • W: average time elapsed in the system, including service.
  • Wq: average waiting time in the queue.
The information will be provided by the Panama Transit and Land Transportation Authority (ATTT). Here, we analyze the vehicular movement through two traffic lights, 044 and 045, located on Nicanor De Obarrio Avenue (50th Street), as shown in Figure 7.
From Figure 5 we can see, in the blue circle, the REG-044 and REG-045 that correspond the L04-044-08 and L04-045-08 counter, which provides the initial data for the queuing theory model, the number of customers or vehicles entering the system per hour. The queuing system study required a switch to a traffic network to understand the queuing processes at both server input and output, as shown in Figure 8.

7. Results and Discussions

For the stability analysis of the queuing system, we first adapted the traffic lights and the streets where the queues are formed to a serial M/M/1 queuing system; the traffic network was taken to a system where we have the queue vs. the servers (see Figure 9).
Applying Kendall’s notation to these data, this waiting system is characterized by the fact that both the inter-arrival times and the service times are exponentially distributed, and the number of servers is one after another (in series). We analyze the stability of the vehicles entering the first traffic light at 50th Street to determine the % of the days of the month where the system is stable.
Through MATLAB software, a function called tcola50 was made to run through the vectors and generate the value of ρ, to see the days the system was stable. Moreover, thus calculate a percentage in January where the system was stable for the first traffic light (see Figure 10).

7.1. Optimization of the Queuing System

1.
Analysis for the month of January for a traffic light capacity of 1000 vehicles/h.
The analysis of the first server (traffic light 1) shows the results: stability of 22.58% and instability of 77.42%. The results of the other variables analyzed on the days selected for this server are shown in Table 1.
In addition, the following information is obtained for this queuing system:
  • The average number of vehicles in the queue is 18 vehicles per light change.
  • The average time to be served is: 65 s, under the condition that it only occurs on holidays and weekends.
  • For the capacity of 1000 vehicles per hour, the system was 77% of the time over saturated, with an average occupancy rate of 118%.
  • The results of the Kendall notation were obtained on holidays and weekends with a value of ρ < 1, and an average occupancy of 87% of the system.
Using the program, it was found that the average number of cars leaving the system after being served by the server (traffic light 1) corresponds to 20% and 80%. The system has four parallel lanes that continue, and one leaves the main road because the left lane forks. Taking this information into account, the percentage of distribution that will be the restriction to advance to the next server (traffic light 2) is calculated, and 100% of the cars entering the system is divided by five to obtain this percentage.
From the results obtained in the first server, 80% of cars waiting to be served by the second server (Traffic Light 2) are considered. In this second server, stability improves, and 64.5% stability and 35.5% instability are obtained. Additionally, the following results are obtained:
  • The average number of vehicles in the queue is 11 vehicles per light change.
  • The average time to be served is 40 s, under the condition of stability on holidays and weekends.
  • For the capacity of 1000 vehicles per hour, the system was 65% stable and 35% unstable.
  • For the full month, the system had an occupancy level of 94%, which confirms the improvement in stability.
  • The system was at an average occupancy of 85% on days where the value of ρ is less than 1, i.e., ρ < 1.
Additionally, stability and instability values were obtained for the capacity of 1000 vehicles at the 4:00 p.m., 5:00 p.m. and 6:00 p.m. schedules. The results obtained are shown in Table 2:
From this second traffic light, we have two outputs. The second output corresponds to cars leaving the second server and leaving the system (see Figure 11), and the third output is not considered in this study.
2.
Analysis for the month of January for a traffic light capacity of 1300 vehicles/h.
After several tests for the traffic light capacity of vehicles per hour, it was determined that the value of 1300 vehicles per hour for μ is where a stability of more than 70% is achieved. An improvement in stability of 77.4% was obtained and in instability of 22.6%. By having a stable queuing system, it was possible to calculate the average values by means of Kendall notation with a more accurate study of the system. For the first server (traffic light 1) the following results were obtained:
  • The average number of vehicles in the queue is 13 vehicles per light change.
  • The average time to be served is 37 s, if and only if the vehicle arrives when the light is green and there is no vehicle waiting.
  • The system had an occupancy level of 91% for the entire month. This confirms the improvement in stability.
It is observed that 20% of the vehicles leave the system after being served by the first server, while 80% continue to be served by the second server (traffic light 2). This improves the stability in this second server by 96.8%, with an instability of 3.2% and the following results:
  • The average number of vehicles in the queue is 3 vehicles per light change.
  • The average time to be served is 11 s, if and only if the vehicle arrives when the light is green and there is no vehicle waiting.
  • The system had an occupancy level of 72% for the entire month. This confirms the improvement in stability.
The values obtained for L, Lq, W, Wq at 4:00 p.m., 5:00 p.m. and 6:00 p.m. are shown in Table 3.

7.2. Simulation

For the simulation, a specific day in January was taken, 15 January 2020, for a capacity of 1300 vehicles. For this day there are 1280 vehicles per hour, which is equivalent to 98% of the system capacity. The Kendall notation has been used in theoretical analysis. For the first traffic light on this day, there are about 64 vehicles in the waiting queue at the first server of the system (traffic light 1); each vehicle takes about 180 s (3 min) to be served.
With this data, in Excel, we simulate the movement of these vehicles (see Figure 12), remembering that we are on the schedule from 3:00 p.m. to 4:00 p.m. and that each cycle takes 180 s. Two green cycles of 60 s (1 min) and one red cycle of 60 s are included. Each vehicle has their random arrival, and the time between arrivals is calculated, observing that their arrivals are very close to three vehicles every 3 s, which causes the queue to fill up with vehicles when in the red-light cycle with an average of 180 vehicles.
The time in the system is analyzed. At the beginning of the system, each vehicle takes about 180 s to be attended; however, as the seconds advance, the queue increases, and the last vehicles must wait approximately 60 min to be attended to, either to leave the server or to continue to the second traffic light.

7.3. AI Predictive Model

Currently, statistical, and artificial intelligence (AI) techniques are increasingly being used in combination with numerical models to generate more accurate predictions in various areas. In the context of queuing theory, one of the most widely used AI techniques is linear regression (LR) prediction [46,47,48].
LR is a data analysis technique that predicts the value of unknown data by using another related and known data value. It mathematically models the unknown or dependent variable and the known or independent variable as a linear equation [43,49,50,51]. The regression model consists of an approach to model the relationship between a dependent scalar variable “Y” and one or more explanatory variables named “X” and then to plot a line that will indicate the trend of a set of continuous data, whose formula is:
Y = m X + b
where Y is the result, X is the variable, m is the slope (or coefficient) of the line, and b is the constant or also known as the “point of intersection with the Y-axis” on the graph (when X = 0).
In the context of queuing theory, linear regression can be used to predict variables related to the performance of a queuing system, such as average waiting time as a function of independent variables such as customer arrival rate and server capacity, among others. By applying linear regression to data collected from a queuing system, more accurate estimates and forecasts of system behavior and performance can be obtained [34,52,53].
Linear regression is just one of many statistical and AI tools that can be used in combination with queuing theory to analyze and optimize the performance of queuing systems. These techniques provide a solid foundation for understanding and making informed decisions about traffic management, urban planning, and other areas related to congestion and vehicle flow in cities [31,38,54,55].
The predictive models are obtained using simple linear regression using the demand data of each traffic flow intensity from 3:00 p.m. to 6:00 p.m. provided by Autoridad de Tránsito y Transporte Terrestre of Panamá (ATTT) [56]. Table 4 shows the data used to train the model.
The demand of the model variables w, x, y and z is obtained by applying simple linear regression on the data set that constitutes the traffic flow intensity demand for each hour. The variables used for the intensity are:
  • I15H—traffic flow intensity demand at 3:00 p.m. (15 h)
  • I16H—traffic flow intensity demand at 4:00 p.m. (16 h)
  • I17H—traffic flow intensity demand at 5:00 p.m. (17 h)
  • I18H—traffic flow intensity demand at 6:00 p.m. (18 h)
The models for each intensity are as follows:
w = i1 + m1I15H
x = i2 + m2I16H
y = i3 + m3I17H
z = i4 + m4I18H
where i1, m1, i2, m2, i3, m3, i4, and m4 are the coefficients of the linear regressions of the intensities.
Predictive models are obtained using simple linear regression and the demand values of each intensity.
These data were stored in Pandas DataFrame and were programmed using Python [27,39,57,58,59,60,61]. During the training of the models, 80% of the data for training and 20% of the data for testing were used. Table 5, Table 6, Table 7 and Table 8 and Figure 13, Figure 14, Figure 15 and Figure 16 show the values resulting from the model training for each intensity.
The coefficient of determination (r2) is used to evaluate how well the data of each model fit. In this, a value of 1 is equivalent to an optimal fit. The coefficients of determination (r2) for each traffic flow intensity demand for hours are shown in Table 9.

8. Conclusions

An M/M/1 queuing model based on Kendall notation was proposed to solve the problem that currently exists in the synchronization of traffic lights on 50th Street in Panama City. The mathematical model included a stability analysis of the system, performing the analysis with two capacities of the system until achieving the stability of the queuing system at 1300 vehicles per hour.
For the AI component, we measured the accuracy, as shown in Table 9. We are considering evaluating other models to make the AI component even more robust, which will be studied in future research. Evaluating other models can help identify the strengths and weaknesses of the current model and compare its performance with other models in different scenarios. In addition, it can also improve the ability of the current model to make more accurate and valuable predictions in more diverse situations.
The algorithm developed in MATLAB was based on a stability analysis, which shows the stability and instability for January 2020. The stability analysis found that the system is not saturated on holidays and weekends. On weekdays, we observed that the system is oversaturated with the capacity currently having the traffic light cycle of 50th Street. With this, we can analyze that the current scheduling system of 50th Street is an unstable, oversaturated queuing system, which would generate large queues with non-estimated departure times.
A simulation was carried out in Excel over a single day. The chosen day was at 98% of its capacity. The results obtained are that the approximate duration in the queuing system is 0.002 s in the best scenario with 0 elements in the queue and with waiting times of up to 60 min. Regarding the service capacity of the system, several system stability analyses were carried out, where the current traffic light capacity is insufficient for the number of vehicles passing through the road at the 3:00 p.m. peak hour. The first analysis is of a capacity of one thousand vehicles per hour (current capacity), giving us a stability of 22.58% and an instability of 77.42%. With this capacity, the system was so saturated that it was not feasible to apply the model. Starting with a capacity of one thousand vehicles per hour, we continued analyzing one hundred at a time until we reached a capacity of one thousand three hundred vehicles per hour (suggested capacity). With this capacity, we obtained a stability of over 70%. Compared with the previous capacities, this result is feasible, and the system analysis could be carried out using Kendall’s notation.
For the waiting time in the system, two scenarios were analyzed:
  • Scenario 1. Vehicle capacity of 1000 vehicles per hour; in this scenario, employing only Kendall’s notation model, it would be possible to estimate the average waiting values on holidays and weekends in January at 3:00 p.m., where a short queue with an average of 18 vehicles waiting for each cycle and a waiting time of 65 s on average was determined. In the rest of the days, the queuing system becomes unstable, and it would not be possible to estimate the waiting times in the system employing this model.
  • Scenario 2. For a capacity of 1300 vehicles per hour, the service time for each vehicle is 37 s, having at least 13 vehicles in the queue in the best-case scenario where the light is green, and no vehicles are stacked in the queue. The capacity was analyzed from 3:00 p.m. to 4:00 p.m. every day of January 2020. It was observed that, at that time, there was more congestion. A vehicle could take between 2 to 60 min to be served.

9. Future Work

Considering the limitations and potential weaknesses of the current model, future research focuses on the evaluation of alternative queuing models. This analysis can help identify the strengths and weaknesses of the different models and compare their performance under various scenarios. By selecting the most suitable model, the overall robustness and accuracy of the AI component can be improved by leveraging advanced techniques and algorithms, contributing to better synchronization and optimization of traffic signals at 50th Street.
The stability analysis conducted for January 2020 provided information on system performance during vacations, weekends, and weekdays. As future research, it is intended to include analysis of system stability for a wider range of time periods and to consider additional factors that may affect traffic flow, such as weather conditions and special events. This expanded analysis will provide a more complete understanding of system behavior and help develop effective strategies for traffic signal scheduling.
Once the model has been validated and refined, a next step would be to focus on applying and testing it under real-world conditions on 50th Street. This would involve collaborating with relevant authorities and stakeholders to collect real-time traffic data, monitor system performance, and evaluate the effectiveness of the proposed model in improving traffic flow and reducing congestion.
As traffic patterns and road conditions evolve over time, it is essential to continuously monitor system performance and update the model accordingly. This would ensure that traffic signal timing remains optimized and efficient to cope with dynamic traffic demands on 50th Street.

Author Contributions

Conceptualization, K.S. and C.R.; formal analysis, K.S. and E.E.C.; methodology, I.N. and C.R.; writing-original draft, K.S. and I.N.; writing—review and editing, C.R., E.E.C., A.S., J.R. and E.C.; supervision, C.R., E.E.C. and E.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used in this study belongs to a Ministry of Transportation Authority, so it is not available due to privacy restrictions.

Acknowledgments

We are grateful to the Autoridad de Tránsito y Transporte Terrestre de Panamá (ATTT) who provided the information regarding the vehicular flow of Calle 50. The authors are thankful to Javier Sánchez Galán and the reviewers for their comments and suggestions to improve the quality of the manuscript. I.N. is supported by a grant from the Program for the Strengthening of National Postgraduate Programs of the National Secretariat of Science, Technology, and Innovation (SENACYT-Panama) in the Master of Science in Mobile Computing program and E.C. is supported by the National Research System of Panama (SNI).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Yang, X.; Xu, Y.; Kuang, L.; Wang, Z.; Gao, H.; Wang, X. An Information Fusion Approach to Intelligent Traffic Signal Control Using the Joint Methods of Multiagent Reinforcement Learning and Artificial Intelligence of Things. IEEE Trans. Intell. Transp. Syst. 2022, 23, 9335–9345. [Google Scholar] [CrossRef]
  2. Singh, S.K.; Acharya, S.K.; Cruz, F.R.B.; Quinino, R.C. Estimation of Traffic Intensity from Queue Length Data in a Deterministic Single Server Queueing System. J. Comput. Appl. Math. 2021, 398, 113693. [Google Scholar] [CrossRef]
  3. Jin, Y.; Gao, Y.; Wang, P.; Wang, J.; Wang, L. Improved Manpower Planning Based on Traffic Flow Forecast Using a Historical Queuing Model. IEEE Access 2019, 7, 125101–125112. [Google Scholar] [CrossRef]
  4. Nam Bui, K.-H.; Jung, J.J. Cooperative Game-Theoretic Approach to Traffic Flow Optimization for Multiple Intersections. Comput. Electr. Eng. 2018, 71, 1012–1024. [Google Scholar] [CrossRef]
  5. Andonov, V.; Poryazov, S.; Otsetova, A.; Saranova, E. A Queue in Overall Telecommunication System with Quality of Service Guarantees. In Future Access Enablers for Ubiquitous and Intelligent Infrastructures; Poulkov, V., Ed.; Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering; Springer International Publishing: Cham, Switzerland, 2019; Volume 283, pp. 243–262. [Google Scholar] [CrossRef]
  6. Li, L.; Qin, L.; Qu, X.; Zhang, J.; Wang, Y.; Ran, B. Day-Ahead Traffic Flow Forecasting Based on a Deep Belief Network Optimized by the Multi-Objective Particle Swarm Algorithm. Knowl. Based Syst. 2019, 172, 1–14. [Google Scholar] [CrossRef]
  7. Aliyu, A.L.; Diockou, J. An Analytical Queuing Model Based on SDN for IoT Traffic in 5G. In Advanced Information Networking and Applications; Lecture Notes in Networks and Systems; Barolli, L., Ed.; Springer International Publishing: Cham, Switzerland, 2023; pp. 435–445. [Google Scholar] [CrossRef]
  8. Shone, R.; Glazebrook, K.; Zografos, K.G. Applications of Stochastic Modeling in Air Traffic Management: Methods, Challenges and Opportunities for Solving Air Traffic Problems under Uncertainty. Eur. J. Oper. Res. 2021, 292, 1–26. [Google Scholar] [CrossRef]
  9. Jain, M.; Sharma, D.K.; Kulshrestha, R.; Hota, H.S. Applications of Mathematical Modeling, Machine Learning, and Intelligent Computing for Industrial Development; CRC Press: Boca Raton, FL, USA, 2023. [Google Scholar]
  10. Ojeda, C.; Cvejoski, K.; Georgiev, B.; Bauckhage, C.; Schuecker, J.; Sanchez, R.J. Learning Deep Generative Models for Queuing Systems. Proc. AAAI Conf. Artif. Intell. 2021, 35, 9214–9222. [Google Scholar] [CrossRef]
  11. Nii, S.; Okudal, T.; Wakita, T. A Performance Evaluation of Queueing Systems by Machine Learning. In Proceedings of the 2020 IEEE International Conference on Consumer Electronics—Taiwan (ICCE-Taiwan), Taoyuan, Taiwan, 28–30 September 2020; pp. 1–2. [Google Scholar] [CrossRef]
  12. Manh, C.D.; Thi, M.N. The Queueing Model on the Parking Area: A Case Study at Hanoi University of Science and Technology; Atlantis Press: Amsterdam, The Netherlands, 2023; pp. 127–135. [Google Scholar] [CrossRef]
  13. Liu, L.; Guevara, A.; Sanchez-Galan, J.E. Identification and Classification of Road Traffic Incidents in Panama City through the Analysis of a Social Media Stream and Machine Learning. Intell. Syst. Appl. 2022, 16, 200158. [Google Scholar] [CrossRef]
  14. Antoine, G.; Mikeka, C.; Bajpai, G.; Valko, A. Real-Time Traffic Flow-Based Traffic Signal Scheduling: A Queuing Theory Approach. World Rev. Intermodal Transp. Res. 2021, 10, 325–343. [Google Scholar] [CrossRef]
  15. Li, Y.; Chen, H.; Feng, M. A Novel Model for the Traffic of Urban Roads Based on Queuing Theory. In Proceedings of the 2020 International Conference on Intelligent Computing, Automation and Systems (ICICAS), Chongqing, China, 11–13 December 2020; pp. 190–194. [Google Scholar] [CrossRef]
  16. Gunes, F.; Bayraklı, S.; Zaim, A.H.; Rector, V. Evaluation of Signal Times and Comparison with Queueing Models at Signalized Intersections in Urban Area. Int. J. Innov. Sci. Res. Technol. 2020, 5, 1–7. [Google Scholar]
  17. Marzolla, M. A Software Package for Queueing Networks and Markov Chains Analysis. arXiv 2022. [Google Scholar] [CrossRef]
  18. Jaffara, M.Z.A.M.; Joey, L.F.L. Modification to Queueing System M/M/1 with Blum-Blum-Shub Generator. In Proceedings of the 2022 8th International Conference on Contemporary Information Technology and Mathematics (ICCITM), Mosul, Iraq, 31 August–1 September 2022; pp. 306–311. [Google Scholar] [CrossRef]
  19. Strzęciwilk, D.; Nafkha, R.; Zawiślak, R. Performance Analysis of a QoS System with WFQ Queuing Using Temporal Petri Nets. In Computer Information Systems and Industrial Management; Lecture Notes in Computer Science; Saeed, K., Dvorský, J., Eds.; Springer International Publishing: Cham, Switzerland, 2021; pp. 462–476. [Google Scholar] [CrossRef]
  20. Boon-in, P.; Vatanawood, W. Formal Modeling of Multi-Server Queuing Network Using Stochastic Petri Nets. In Proceedings of the 2019 3rd International Conference on Software and e-Business, ICSEB ’19, Tokyo, Japan, 9–11 December 2019; Association for Computing Machinery: New York, NY, USA, 2020; pp. 44–50. [Google Scholar] [CrossRef]
  21. Sethuraman, S. Analysis of Fork-Join Systems: Network of Queues with Precedence Constraints; CRC Press: Boca Raton, FL, USA, 2022. [Google Scholar]
  22. Dudin, A.N.; Klimenok, V.I.; Vishnevsky, V.M. Tandem Queues with Correlated Arrivals and Their Application to System Structure Performance Evaluation. In The Theory of Queuing Systems with Correlated Flows; Dudin, A.N., Klimenok, V.I., Vishnevsky, V.M., Eds.; Springer International Publishing: Cham, Switzerland, 2020; pp. 307–392. [Google Scholar] [CrossRef]
  23. Dudin, A.N.; Klimenok, V.I.; Vishnevsky, V.M. Retrial Queuing Systems with Correlated Input Flows and Their Application for Network Structures Performance Evaluation. In The Theory of Queuing Systems with Correlated Flows; Dudin, A.N., Klimenok, V.I., Vishnevsky, V.M., Eds.; Springer International Publishing: Cham, Switzerland, 2020; pp. 203–240. [Google Scholar] [CrossRef]
  24. Weiss, G. Scheduling and Control of Queueing Networks; Cambridge University Press: Cambridge, UK, 2021. [Google Scholar]
  25. Dudin, A.N.; Klimenok, V.I.; Vishnevsky, V.M. Queuing Systems with Waiting Space and Correlated Arrivals and Their Application to Evaluation of Network Structure Performance. In The Theory of Queuing Systems with Correlated Flows; Dudin, A.N., Klimenok, V.I., Vishnevsky, V.M., Eds.; Springer International Publishing: Cham, Switzerland, 2020; pp. 147–202. [Google Scholar] [CrossRef]
  26. Dudin, A.N.; Klimenok, V.I.; Vishnevsky, V.M. Methods to Study Queuing Systems with Correlated Arrivals. In The Theory of Queuing Systems with Correlated Flows; Dudin, A.N., Klimenok, V.I., Vishnevsky, V.M., Eds.; Springer International Publishing: Cham, Switzerland, 2020; pp. 63–146. [Google Scholar] [CrossRef]
  27. Modi, M.; Agarwal, G.; Patil, V.; Khare, A.; Shukla, S.; Sankhala, A. Minimization of Traffic Congestion by Using Queuing Theory. Int. J. Sci. Technol. Res. 2019, 8, 532–541. [Google Scholar]
  28. Dudin, A.N.; Klimenok, V.I.; Vishnevsky, V.M. Mathematical Methods to Study Classical Queuing Systems. In The Theory of Queuing Systems with Correlated Flows; Dudin, A.N., Klimenok, V.I., Vishnevsky, V.M., Eds.; Springer International Publishing: Cham, Switzerland, 2020; pp. 1–61. [Google Scholar] [CrossRef]
  29. Dudin, A.N.; Klimenok, V.I.; Vishnevsky, V.M. Mathematical Models and Methods of Investigation of Hybrid Communication Networks Based on Laser and Radio Technologies. In The Theory of Queuing Systems with Correlated Flows; Dudin, A.N., Klimenok, V.I., Vishnevsky, V.M., Eds.; Springer International Publishing: Cham, Switzerland, 2020; pp. 241–306. [Google Scholar] [CrossRef]
  30. Singh, S.K.; Acharya, S.K.; Cruz, F.R.B.; Quinino, R.C. Bayesian Sample Size Determination in a Single-Server Deterministic Queueing System. Math. Comput. Simul. 2021, 187, 17–29. [Google Scholar] [CrossRef]
  31. Nikolaev, N.; Marchenko, Y.; Filatov, S. Research and Modeling of the Taxi Service in Small Towns. IOP Conf. Ser. Mater. Sci. Eng. 2019, 698, 066027. [Google Scholar] [CrossRef]
  32. López-Santana, E.; Méndez-Giraldo, G.; Figueroa-García, J.C. Scheduling in Queueing Systems and Networks Using ANFIS. In Uncertainty Management with Fuzzy and Rough Sets: Recent Advances and Applications; Bello, R., Falcon, R., Verdegay, J.L., Eds.; Studies in Fuzziness and Soft Computing; Springer International Publishing: Cham, Switzerland, 2019; pp. 349–372. [Google Scholar] [CrossRef]
  33. Kyritsis, A.I.; Deriaz, M. A Machine Learning Approach to Waiting Time Prediction in Queueing Scenarios. In Proceedings of the 2019 Second International Conference on Artificial Intelligence for Industries (AI4I), Laguna Hills, CA, USA, 5–27 September 2019; pp. 17–21. [Google Scholar] [CrossRef]
  34. Sukhadia, A.; Upadhyay, K.; Gundeti, M.; Shah, S.; Shah, M. Optimization of Smart Traffic Governance System Using Artificial Intelligence. Augment. Hum. Res. 2020, 5, 13. [Google Scholar] [CrossRef]
  35. Boukerche, A.; Tao, Y.; Sun, P. Artificial Intelligence-Based Vehicular Traffic Flow Prediction Methods for Supporting Intelligent Transportation Systems. Comput. Netw. 2020, 182, 107484. [Google Scholar] [CrossRef]
  36. Sharon, G. Alleviating Road Traffic Congestion with Artificial Intelligence. In Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, Montreal, QC, Canada, 19–27 August 2021; International Joint Conferences on Artificial Intelligence Organization: Montreal, QC, Canada, 2021; pp. 4965–4969. [Google Scholar] [CrossRef]
  37. Guo, A.; Yuan, C. Network Intelligent Control and Traffic Optimization Based on SDN and Artificial Intelligence. Electronics 2021, 10, 700. [Google Scholar] [CrossRef]
  38. Shengdong, M.; Zhengxian, X.; Yixiang, T. Intelligent Traffic Control System Based on Cloud Computing and Big Data Mining. IEEE Trans. Ind. Inform. 2019, 15, 6583–6592. [Google Scholar] [CrossRef]
  39. Mohan, K.; Narayanamoorthy, N.J. Queuing Theory with Single Stage System In C++ Coding And Python Comparrision Using Array. Adv. Eng. Forum 2022, 54, 2096–3246. [Google Scholar]
  40. Kudou, T.; Nii, S.; Okuda, T. A Performance Evaluation of Tandem Queueing Systems by Machine Learning. In Proceedings of the 2022 IEEE International Conference on Consumer Electronics—Taiwan, Taipei, Taiwan, 6–8 July 2022; pp. 389–390. [Google Scholar] [CrossRef]
  41. Mehta, R. Discrete-Time Simulation for Performance Modelling of FIFO Single-Server Queuing System. Int. J. Syst. Control Commun. 2022, 13, 112–132. [Google Scholar] [CrossRef]
  42. Nieto Daza, S.D.; Cifuentes Rojas, T.A. Desarrollo de Un Modelo Microscópico de Tránsito En Los Accesos Viales Del Aero-Puerto Internacional El Dorado de Bogotá; Universidad Santo Tomás: Santiago, Chile, 2023; Volume E57, pp. 143–155. [Google Scholar]
  43. Rovetto, C.; Cruz, E.; Nunez, I.; Santana, K.; Cano, E. Modelo matemático para optimizar el tráfico vehicular de los semáforos de calle 50 de la ciudad de Panamá. Revista Ibérica de Sistemas e Tecnologias de Informação. Rev. Ibér. Sist. Tecnol. Inf. 2023, E57, 143–155. [Google Scholar]
  44. Van den Bergh, D.; Clyde, M.A.; Komarlu Narendra Gupta, A.R.; de Jong, T.; Gronau, Q.F.; Marsman, M.; Ly, A.; Wagenmakers, E.-J. A Tutorial on Bayesian Multi-Model Linear Regression with BAS and JASP. Behav. Res. Methods 2021, 53, 2351–2371. [Google Scholar] [CrossRef] [PubMed]
  45. Prados-Garzon, J.; Ameigeiras, P.; Ramos-Munoz, J.J.; Navarro-Ortiz, J.; Andres-Maldonado, P.; Lopez-Soler, J.M. Performance Modeling of Softwarized Network Services Based on Queuing Theory With Experimental Validation. IEEE Trans. Mob. Comput. 2021, 20, 1558–1573. [Google Scholar] [CrossRef]
  46. Cruz, F.R.B.; Santos, M.A.C.; Oliveira, F.L.P.; Quinino, R.C. Estimation in a General Bulk-Arrival Markovian Multi-Server Finite Queue. Oper. Res. 2021, 21, 73–89. [Google Scholar] [CrossRef]
  47. Ekren, B.Y.; Akpunar, A. An Open Queuing Network-Based Tool for Performance Estimations in a Shuttle-Based Storage and Retrieval System. Appl. Math. Model. 2021, 89, 1678–1695. [Google Scholar] [CrossRef]
  48. Tréca, M.; Garbiso, J.; Barth, D.; Zargayouna, M. Fast Bootstrapping for Reinforcement Learning-Based Traffic Signal Control Systems Using Queueing Theory. In Proceedings of the 2020 IEEE 92nd Vehicular Technology Conference (VTC2020-Fall), Victoria, BC, Canada, 18 November–16 December 2020; pp. 1–5. [Google Scholar] [CrossRef]
  49. Kada, O. Approximation of the Average Waiting Time for the HE2/HE2/1 Queuing System Using Simulation. T-Comm 2020, 14, 53–60. [Google Scholar] [CrossRef]
  50. Pun, L.; Zhao, P.; Liu, X. A Multiple Regression Approach for Traffic Flow Estimation. IEEE Access 2019, 7, 35998–36009. [Google Scholar] [CrossRef]
  51. Sadeghi-Niaraki, A.; Mirshafiei, P.; Shakeri, M.; Choi, S.-M. Short-Term Traffic Flow Prediction Using the Modified Elman Recurrent Neural Network Optimized Through a Genetic Algorithm. IEEE Access 2020, 8, 217526–217540. [Google Scholar] [CrossRef]
  52. Alam, I.; Farid, D.M.; Rossetti, R.J.F. The Prediction of Traffic Flow with Regression Analysis. In Emerging Technologies in Data Mining and Information Security; Advances in Intelligent Systems and Computing; Abraham, A., Dutta, P., Mandal, J.K., Bhattacharya, A., Dutta, S., Eds.; Springer: Singapore, 2019; pp. 661–671. [Google Scholar] [CrossRef]
  53. Nweke, L.O.; Wolthusen, S.D. Modelling Adversarial Flow in Software-Defined Industrial Control Networks Using a Queueing Network Model. In Proceedings of the 2020 IEEE Conference on Communications and Network Security (CNS), Avignon, France, 29 June–1 July 2020; pp. 1–6. [Google Scholar] [CrossRef]
  54. Mahmuod, R.M.A.; Rahim, R. Minimize Aggregate Measure of Waiting Times and Queue Lengths in M/M/1 Queue. Adv. Nat. Appl. Sci. 2020, 14, 272–280. [Google Scholar]
  55. Joshi, P.K.; Sharma, N.; Sharma, R.K.; Shukla, P. Evaluation of Queuing Network Model Using Mean Value Algorithm. UGC Care Group I List. J. 2020, 10, 120–132. [Google Scholar]
  56. Tanackov, I.; Prentkovskis, O.; Jevtić, Ž.; Stojić, G.; Ercegovac, P. A New Method for Markovian Adaptation of the Non-Markovian Queueing System Using the Hidden Markov Model. Algorithms 2019, 12, 133. [Google Scholar] [CrossRef]
  57. Autoridad del Tránsito y Transporte Terrestre. Available online: http://www.transito.gob.pa/ (accessed on 25 April 2023).
  58. Mirjalili, V.; Raschka, S. Python Machine Learning; Marcombo: Barcelona, Spain, 2020. [Google Scholar]
  59. Raschka, S.; Patterson, J.; Nolet, C. Machine Learning in Python: Main Developments and Technology Trends in Data Science, Machine Learning, and Artificial Intelligence. Information 2020, 11, 193. [Google Scholar] [CrossRef]
  60. Ezirim, K.; Kelechi Thankgod, E. Determination of the prediction error of an idle server in an mm1-infinite size queuing system using matlab functions. 2019. Available online: https://www.researchgate.net/publication/333394304_DETERMINATION_OF_THE_PREDICTION_ERROR_OF_AN_IDLE_SERVER_IN_AN_MM1-INFINITE_SIZE_QUEUING_SYSTEM_USING_MATLAB_FUNCTIONS (accessed on 20 June 2023).
  61. Večeřa, F.; Pavlík, L. The Finding of the Queuing Theory Models for Evaluation Throughput of the IRS Radio Network in the Czech Republic. MATEC Web Conf. 2019, 292, 02006. [Google Scholar] [CrossRef]
Figure 1. Block diagram of the model.
Figure 1. Block diagram of the model.
Applsci 13 10030 g001
Figure 2. Calle 50, the most used route in Panama (Source: via Google Earth).
Figure 2. Calle 50, the most used route in Panama (Source: via Google Earth).
Applsci 13 10030 g002
Figure 3. Route map of Calle 50 street in Panama City (Source: via Google Maps).
Figure 3. Route map of Calle 50 street in Panama City (Source: via Google Maps).
Applsci 13 10030 g003
Figure 4. Traffic on 50th Street on a normal day (Source: via Google Maps).
Figure 4. Traffic on 50th Street on a normal day (Source: via Google Maps).
Applsci 13 10030 g004
Figure 5. M/M/1 Queuing System.
Figure 5. M/M/1 Queuing System.
Applsci 13 10030 g005
Figure 6. Vehicular flow for January 2020. Schedule from 3:00 p.m. to 7:00 p.m.
Figure 6. Vehicular flow for January 2020. Schedule from 3:00 p.m. to 7:00 p.m.
Applsci 13 10030 g006
Figure 7. 50 Nicanor de Obarrio Street, A-53rd Street East; B-56th Street East.
Figure 7. 50 Nicanor de Obarrio Street, A-53rd Street East; B-56th Street East.
Applsci 13 10030 g007
Figure 8. Vehicle traffic network.
Figure 8. Vehicle traffic network.
Applsci 13 10030 g008
Figure 9. Queuing system at the 50th Street intersection (Nicanor de Obarrio Ave).
Figure 9. Queuing system at the 50th Street intersection (Nicanor de Obarrio Ave).
Applsci 13 10030 g009
Figure 10. Results of the tcola50 function.
Figure 10. Results of the tcola50 function.
Applsci 13 10030 g010
Figure 11. Number of cars that leave the system according to the outputs.
Figure 11. Number of cars that leave the system according to the outputs.
Applsci 13 10030 g011
Figure 12. Simulated arrival times compared to vehicle completion times at 3:00 p.m. on 15 January 2021.
Figure 12. Simulated arrival times compared to vehicle completion times at 3:00 p.m. on 15 January 2021.
Applsci 13 10030 g012
Figure 13. Prediction model for traffic flow intensity demand at 3:00 p.m.
Figure 13. Prediction model for traffic flow intensity demand at 3:00 p.m.
Applsci 13 10030 g013
Figure 14. Prediction model for traffic flow intensity demand at 4:00 p.m.
Figure 14. Prediction model for traffic flow intensity demand at 4:00 p.m.
Applsci 13 10030 g014
Figure 15. Prediction model for traffic flow intensity demand at 5:00 p.m.
Figure 15. Prediction model for traffic flow intensity demand at 5:00 p.m.
Applsci 13 10030 g015
Figure 16. Prediction model for traffic flow intensity demand at 6:00 p.m.
Figure 16. Prediction model for traffic flow intensity demand at 6:00 p.m.
Applsci 13 10030 g016
Table 1. Results of L, Lq W, Wq. For a capacity of one thousand vehicles. First Server. 3:00 p.m.
Table 1. Results of L, Lq W, Wq. For a capacity of one thousand vehicles. First Server. 3:00 p.m.
January Day 2020LLqWWq
11.45100.85900.00250.0015
57.13016.25310.00810.0071
95.21124.37220.00620.0052
1220.739119.78510.02170.0207
1913.925412.99240.01490.0139
269.75278.84570.01080.0098
29499498.0020.50.499
Table 2. Stability and instability values for the capacity of 1000 vehicles during the hours of 4:00 p.m., 5:00 p.m. and 6:00 p.m.
Table 2. Stability and instability values for the capacity of 1000 vehicles during the hours of 4:00 p.m., 5:00 p.m. and 6:00 p.m.
ServerHourStabilityInstability
First traffic light4:00 p.m.23%77%
Second traffic light 90%10%
First traffic light5:00 p.m.74%26%
Second traffic light 97%3%
First traffic light6:00 p.m32%68%
Second traffic light 97%3%
Table 3. Stability and instability values for the capacity of 1300 vehicles during the hours of 4:00 p.m., 5:00 p.m. and 6:00 p.m.
Table 3. Stability and instability values for the capacity of 1300 vehicles during the hours of 4:00 p.m., 5:00 p.m. and 6:00 p.m.
ServerHourStabilityInstability
First traffic light4:00 p.m.97%3%
Second traffic light 100%0%
First traffic light5:00 p.m.100%0%
Second traffic light 100%0%
First traffic light6:00 p.m97%3%
Second traffic light 100%0%
Table 4. Maximum demand from traffic flow intensity by hours.
Table 4. Maximum demand from traffic flow intensity by hours.
Date3:00 p.m.4:00 p.m.5:00 p.m.6:00 p.m.
1 January 2020592577650620
2 January20201437145312701117
3 January20201348124010291071
4 January20201127929877945
5 January2020877778699809
6 January2020145212199381127
7 January2020175412818441103
8 January2020130011568651083
9 January2020839787634739
10 January2020118311679471116
11 January202011621076902888
12 January2020954824701802
13 January2020132612369281247
14 January2020131612869931301
15 January2020128012169261138
16 January2020128711478661053
17 January20201118114210271150
18 January202011971096991952
19 January2020933871774870
20 January20201228124510241047
21 January2020116511359791077
22 January20201226120310101143
23 January20201171121410311113
24 January2020126311969051072
25 January202011891042853923
26 January2020907856704777
27 January2020126511649851170
28 January20201169113410971108
29 January202099811387531015
30 January2020122511599651185
31 January20201192114010151169
Table 5. Results of the prediction model for traffic flow intensity demand at 3:00 p.m.
Table 5. Results of the prediction model for traffic flow intensity demand at 3:00 p.m.
DateTraffic Flow Intensity DemandPrediction
1 January 2020592699.61208
7 January 202017541323.617801
8 January 202013001212.821331
12 January 2020954918.545905
18 January 202011971159.639025
Table 6. Results of the prediction model for traffic flow intensity demand at 4:00 p.m.
Table 6. Results of the prediction model for traffic flow intensity demand at 4:00 p.m.
DateTraffic Flow Intensity DemandPrediction
2 January 202014531501.728419
9 January 2020787804.933475
10 January 202011671147.852999
12 January 2020824878.337974
21 January 202011351182.911864
Table 7. Results of the prediction model for traffic flow intensity demand at 5:00 p.m.
Table 7. Results of the prediction model for traffic flow intensity demand at 5:00 p.m.
DateTraffic Flow Intensity DemandPrediction
4 January 2020877845.417087
5 January 2020699758.486939
12 January 2020701754.012594
18 January 2020991849.891432
23 January 20201031952.801386
Table 8. Results of the prediction model for traffic flow intensity demand at 6:00 p.m.
Table 8. Results of the prediction model for traffic flow intensity demand at 6:00 p.m.
DateTraffic Flow Intensity DemandPrediction
1 January 2020620575.04631
9 January 2020739717.509395
22 January 202011431096.252718
25 January 20209231110.151556
28 January 202011081078.879171
Table 9. Coefficients of determination (r2) by traffic flow intensity demand for hours.
Table 9. Coefficients of determination (r2) by traffic flow intensity demand for hours.
Traffic Flow Intensity Demand at:Coefficient r2
3:00 p.m.0.7148
4:00 p.m.0.9713
5:00 p.m.0.6423
6:00 p.m.0.7262
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Rovetto, C.; Cruz, E.; Nuñez, I.; Santana, K.; Smolarz, A.; Rangel, J.; Cano, E.E. Minimizing Intersection Waiting Time: Proposal of a Queue Network Model Using Kendall’s Notation in Panama City. Appl. Sci. 2023, 13, 10030. https://doi.org/10.3390/app131810030

AMA Style

Rovetto C, Cruz E, Nuñez I, Santana K, Smolarz A, Rangel J, Cano EE. Minimizing Intersection Waiting Time: Proposal of a Queue Network Model Using Kendall’s Notation in Panama City. Applied Sciences. 2023; 13(18):10030. https://doi.org/10.3390/app131810030

Chicago/Turabian Style

Rovetto, Carlos, Edmanuel Cruz, Ivonne Nuñez, Keyla Santana, Andrzej Smolarz, José Rangel, and Elia Esther Cano. 2023. "Minimizing Intersection Waiting Time: Proposal of a Queue Network Model Using Kendall’s Notation in Panama City" Applied Sciences 13, no. 18: 10030. https://doi.org/10.3390/app131810030

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