Previous Article in Journal
A Deep Learning Framework for Traffic Accident Detection Based on Improved YOLO11
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimization of Operations in Bus Company Service Workshops Using Queueing Theory

by
Sergej Težak
* and
Drago Sever
Department of Transportation Engineering, Faculty of Civil Engineering, Transportation Engineering and Architecture, University of Maribor, Smetanova 17, 2000 Maribor, Slovenia
*
Author to whom correspondence should be addressed.
Vehicles 2025, 7(3), 82; https://doi.org/10.3390/vehicles7030082
Submission received: 20 June 2025 / Revised: 24 July 2025 / Accepted: 27 July 2025 / Published: 6 August 2025

Abstract

Public transport companies are aware that the success of their operations largely depends on the proper sizing and optimization of their processes. Among the key activities are the maintenance and repair of the vehicle fleet. This paper presents the application of mathematical optimization methods from the field of operations research to improve the efficiency of service workshops for bus maintenance and repair. Based on an analysis of collected data using queueing theory, the authors assessed the current system performance and found that the queueing system still has spare capacity and could be downsized, which aligns with the company’s management goals. Specifically, the company plans to reduce the number of bus repair service stations (servers in a queueing system). The main question is whether the system will continue to function effectively after this reduction. Three specific downsizing solutions were proposed and evaluated using queueing theory methods: extending the daily operating hours of the workshops, reducing the number of arriving buses, and increasing the productivity of a service station (server). The results show that, under high system load, only those solutions that increase the productivity of individual service stations (servers) in the queueing system provide optimal outcomes. Other solutions merely result in longer queues and associated losses due to buses waiting for service, preventing them from performing their intended function and causing financial loss to the company.

1. Introduction

Various companies operating in different sectors of the economy are aware that the success of their business depends on the proper dimensioning of their activities. The correct dimensioning of operations (production) is influenced by several factors, such as: revenue, profit, costs, spatial limitations, quality and quantity of available workforce, monetary policies of the state, etc.
The role of operations research in this regard is primarily to assist in optimal decision-making for the establishment or reorganization of business operations within a company. In today’s world, the focus is primarily on finding the optimal balance between a company’s costs and profits. This problem is particularly relevant for large state or municipal companies, whose production capacities are still dimensioned for maximum revenue, rather than for maximum profit.
A similar situation applies to the bus company addressed in this article, which has overdimensioned service workshops. The bus company is owned by the municipality, and the company’s service workshops are located in a location that is highly attractive to other investors. For this reason, the company has decided to sell part of the workshops used for bus repairs. Since this decision is primarily of a business nature, the company’s management and transportation experts began to ask themselves what impact this business decision would have, as it would significantly affect the bus company’s operational processes. The main question arising from this is whether the capacity of the remaining service workshops will be sufficient to meet current needs. As a result, they commissioned a study, which was conducted by the authors of this research, and the results are presented here.
The objective of the research is to provide appropriate solutions for the operation of the service workshops in the newly created situation, based on the results of the mathematical method.
Many authors have already dealt with the mathematical modeling of bus maintenance systems, but they did not use queueing theory methods. Savsar M. developed a simulation model based on several processes occurring in a bus maintenance workshop. These processes include the arrival and decision process, assigning repair distributions and resource quantities, the repair process, counting the buses repaired, and the time in the system [1]. Hangany A. and Shafahi Y. addressed the problem of planning bus maintenance activities. They used mathematical programming and took into account the daily operational schedule for all buses, along with the available resources for maintenance. They then attempted to design daily schedules for inspections and maintenance of buses with minimal interruptions in bus operations [2]. Maze T.H. and Allen R.C., through a survey completed by 92 bus maintenance managers, developed a system for measuring the performance of service workshops [3]. Landowski B. developed a model for operation and maintenance processes in public transport, which he analyzed as a stochastic process and described as a homogeneous Markov process [4].
In the review of previous research and the scientific literature, no studies were found where queueing theory was used to optimize the operations of service workshops for bus repairs. This is likely due to the difficulty in obtaining data from companies, as the vehicle servicing and repair times, as well as the waiting times of vehicles in line before entering the workshops, are considered business secrets. These factors directly influence the business success of companies involved in vehicle maintenance. As a result, companies are reluctant to release this data for public use. The same applies to this study, as the authors are not allowed to disclose the name of the company or the city where the research was conducted.
The closest study related to the maintenance of buses using queueing theory was conducted by Young-neng Xu and others, who focused on the optimization of maintenance for urban rail transit vehicles [5]. Further research was conducted to optimize workshops where critical components were sent for repair and servicing [6]. Other studies on maintenance optimization include research by Han, Qing Tian, et al., who studied maintenance optimization for an aircraft carrier, where maintenance tasks need to be highly optimized due to significant spatial constraints on the ship [7]. Similarly, Bebic, D., et al. conducted a similar study on ship maintenance [8]. In a broader context, outside of vehicle maintenance, a study using queueing theory was conducted to assist with planning, managing, and controlling workforce allocation at different service levels in distributed multi-phase maintenance processes for software [9].
Queueing theory is also widely used in the field of transportation. In road traffic, delays and queue lengths on highways, particularly at toll stations, have been evaluated [10,11,12,13,14]. In the case of bus transportation, queueing theory has been applied to bus stops [15,16,17,18]. In recent years, numerous studies have focused on queue management at electric vehicle charging stations for buses [19,20,21,22] and cars [23,24,25,26,27]. These mathematical optimization methods are also used for traffic planning in cities [28], including the optimization of green traffic waves [29]. Queueing theory is also applied in the optimization of railway traffic [30], airports [31], such as for baggage screening queues [32], taxi traffic [33,34], and even cable car traffic [35]. Furthermore, queueing theory is applied in optimizing other areas, such as warehousing [36], manufacturing [37], and other activities where queues occur. These applications show that queueing theory can be a valuable tool in improving the efficiency of maintenance operations in various transport sectors, including buses.
For the purposes of this research, a method from the field of operations research will be applied. First, the existing state of operations in the bus company’s service workshops will be analyzed, where data was obtained through the review of repair and maintenance records of the buses and through an interview with the workshop manager, who provided the necessary data for the calculations.
Next, queueing theory will be used to analyze the future state, where the operations in the workshops will be optimized, and various solutions will be proposed. For easier calculation using queueing theory, a tabular calculation was made in Microsoft Excel, where the necessary equations for the calculations were inserted.
This paper seeks to extend that body of knowledge by applying a classic multi-server queueing model to a bus company’s service workshops. Through this approach, we aim to provide insight into how such models can be used for practical business decisions regarding workshop downsizing while ensuring optimal operational efficiency.
Our focus is on a specific industrial application, namely the analysis of bus maintenance operations in service workshops. We used standard M/M/k models to assess the impact of reducing service station capacity. Nonetheless, we acknowledged the critical limitations of these models, such as the assumptions of Poisson arrivals and station homogeneity [15,16,20].
Future work will need to include real-time, timestamped data and advanced simulation methods to enable more accurate predictions and system optimization [24,26].

2. Materials and Methods

Based on the works of various authors who have addressed and presented queueing theory in their books [38,39,40,41,42], the authors of this article have studied queueing theory.
Queueing theory examines the quantitative properties of the organization of mass phenomena (processes). Massiveness and stochasticity are the fundamental properties studied by queueing theory. As such, this method is based on probability calculations and statistical analysis.
The foundations of queueing theory were established by the Scandinavian scientist Erlang, who studied the problems of telephone networks. This scientific discipline is now widely used in various fields, such as healthcare, manufacturing processes, banking, transportation, military activities, etc.
The basic structure of a queueing system consists of:
-
Arrival of users,
-
Queue of waiting users,
-
Service,
-
Departure of users.
Queueing theory determines the relationship between the properties of arrivals, waiting for service, service, customer behavior in the system, and user departures. The efficiency of a queueing system, depending on the characteristics of the problem and the goal of the problem, is expressed through various parameters, such as: the average number of users arriving per unit of time; the average number of users that can be served per unit of time; the average number of users departing from the system; the probability that users will be served immediately upon arrival; the average waiting time for service; the average number of users waiting for service; the average time users spend in the system; the ratio of the average number of served users to the average number of arriving users (relative throughput of the system); the average number of busy servers; the average utilization rate of working time.
The basic input data from which the analysis is derived are:
λ—arrival rate (intensity) of arrivals,
μ—service rate (intensity) per server,
k—number of servers.
The arrival rate and the service rate are the fundamental properties of a queueing system. They determine the organization of the system. It is sufficient for only one parameter to be stochastic.
Depending on the size and characteristics of the queueing system, we distinguish between:
-
Single-server queueing system,
-
Multi-server queueing system,
-
Closed queueing system,
-
Multi-server closed queueing system.
In a closed queueing system, the arrival rate is dependent on the system’s state. The system consists of a finite number of units, which can cease to operate at any given moment. For a unit that has stopped functioning to be reactivated, service is required. A characteristic of this system is the limited number of arrival producers.
In most cases, the arrival rate follows the Poisson distribution law of arrival probabilities.
P n ( t ) = ( λ t ) n n ! e λ t
Pn(t)—the probability of n arrivals in a time interval t,
λ—the average number of arrivals expected in that time interval (arrival rate or intensity),
For the event flow to be treated as Poisson, the following conditions must be met:
  • The probability Pn(t) depends on the length of the time interval and the number of Arrivals
  • The probability Pn(t) is independent of the number of arrivals before the time interval t,
  • In a sufficiently small time interval, two or more arrivals cannot occur simultaneously.
Therefore, it holds that:
lim t 0 i = 2 n P i ( t ) t = 0
In the case where the time interval is one time unit (t = 1), the Poisson distribution takes the following form:
P n = λ n n ! e λ
From this, it follows that the probability of no arrivals occurring in the time interval t0 is:
P o = e λ t 0
This probability is equal to the probability that the interval between two consecutive arrivals will be greater than or equal to t0, so the distribution function of the time interval between two consecutive arrivals can be written as:
F ( t ) = 0 ,   t < 0 F ( t ) = 1 e λ t ,   t 0
or distribution law:
f ( t ) = 0 ,   t < 0 f ( t ) = 1 e λ t ,   t 0
The mean value of the time interval between two arrivals is:
α = 0 t λ e λ t d t = 1 λ
and the variance:
σ t 2 = 0 ( t 1 λ ) 2 λ e λ t d t = 1 λ 2
In most queuing systems, the goal is to reduce the service time, which is most accurately described by the exponential distribution with the following probability distribution function:
F ( t ) = 1 e μ t
or distribution law:
f ( t ) = μ e μ t
In multi-server queuing systems, multiple customers can be served simultaneously. Figure 1 illustrates such a system. If the system is capable of serving up to k customers at the same time, it is referred to as a k-server queuing system.
An important parameter in queueing systems is the utilization factor. In multi-server queueing systems, we distinguish between:
  • Utilization factor per server:
ρ = λ μ
  • Utilization factor of the system:
ρ * = λ k μ
If ρ* < 1, the system is able to serve the customers, although some congestion may still occur. However, if ρ* > 1, the queue grows without bound and congestion increases indefinitely.
Other important performance indicators of a multi-server queuing system:
  • The probability that there are no users in the system:
p 0 = ( n = 0 k ρ n n ! + ρ k k ! ρ * 1 ρ * ) 1
  • Probability that there are n users in the system:
p n = ρ n p n 1 ,                                 n < k p n = ρ * p n 1 ,   n k
  • Average number of users being served:
Q = ρ k k ! ρ * ( 1 ρ * ) 2 P 0
  • Average number of users waiting for service:
S = n = 1 k 1 n p n + k ( 1 n = 0 k 1 p n )
  • Average number of users in the system (waiting + being served):
T = Q + S
  • Average waiting time of a user before service:
W * = Q λ
  • Average time a user spends in the system (waiting + being served):
W = W * + 1 μ

3. Results—Solving a Real-World Case of Queueing Theory in the Bus Company’s Maintenance Workshops

Since the authors of this article promised the management of the company that the name of the company and the city, the workshop where the research was conducted, will not be disclosed in the publication of the research, the data provided below pertains to the maintenance workshop of a bus company with around 220 buses. The data was obtained from the head of the maintenance workshop.

3.1. Problem Description

The bus company’s service workshops have 60 workstations in larger facilities. These workstations are mainly service stations (servers) and lifts for vehicle repairs. On average, there are two mechanics per service station. The workshops are open for an average of 12 h per working day. In these service workshops, 220 domestic buses are serviced, including 57 urban buses and 163 suburban and intercity buses. All buses belong to the company that owns the workshops (domestic buses).
For maintenance, servicing, and repairs, an urban bus requires 1350 working hours per year, while a suburban or intercity bus requires 950 working hours. The average number of bus visits per day is 65. The workshops were originally designed to maintain, service, and repair 500 buses, so their current capacity is too large. Currently, these workshops carry out 60,000 working hours for external clients, but this is insufficient. The profit loss for the company if a bus is out of service for one day is approximately 580 EUR.
Maintenance and repairs are currently carried out at 60 service stations distributed across three buildings. The first building has 25 service stations, the second has 14, and the third has 21 service stations. Each service station has its own entrance and exit to the building, allowing buses to enter and leave independently of one another. Between these buildings, there is a large parking area where buses can wait for service (Figure 2).
Since the company plans to sell Building 3, which contains 21 service stations, it will reduce the number of service stations from 60 to 39.

3.2. Analysis of the Current Situation

From Figure 2, we can see that when buses enter the system and wait in the parking lot, they can choose any of the 60 service stations, as each has its own entrance to the building. Buses can leave the system independently of one another. This ensures the highest efficiency of the maintenance workshops.
In this case, it is a multi-server queuing system, whose model [38] is shown in Figure 3. Buses (users) enter the system at a single point, and this queuing system has one common queue from which all 60 servers (service stations) are fed. Then, buses exit the system through a single exit.
Since we did not obtain data on the exact times when the buses arrived at the service, we used a Poisson distribution to model the bus arrivals in our study.
The current situation will be analyzed using a multi-server queuing system, which has 60 service stations (servers) as shown in Figure 3. Data was obtained from the head of the technical workshops.
  • Number of service stations (servers): k = 60
  • Number of workers per service station: d = 2
  • Number of company buses: m = 220
  • Number of city buses: m1 = 57
  • Number of suburban or intercity buses: m2 = 163
  • Number of working hours required for the maintenance, servicing, and repair of a city bus: hd1 = 1350 h/year
  • Number of working hours required for the maintenance, servicing, and repair of a suburban or intercity bus: hd2 = 950 h/year
  • Average number of visits for company buses: λd = 65 visits/day
  • Workshop working hours: td = 12 h/day
  • Number of working hours performed for external clients: hdz = 60,000 h/year
  • Number of working days per year: l = 252 days
  • Profit loss if a bus is out of service: j = 580 EUR/day
Calculation of input parameters for the multi-server queuing system:
  • Average number of working hours per bus:
h d = h d 1 m 1 + h d 2 m 2 m = 57 1350 + 163 950 220 = 1053.6   h / year
  • Average number of hours a bus spends on maintenance, servicing, and repair in the workshops:
h = h d d = 1053.6 2 = 525.8   h / year
  • Number of workshop hours occupied by 220 in-house buses:
h 220 = h d = 526.8 220 = 115896   h / year
  • Service time per one bus visit:
t a = h 220 λ d l = 115896 65 252 = 7.075   h
  • Number of working hours completed in the workshops in one year:
h d l = m 1 h d 1 + m 2 h d 2 + h d z = 57 1350 + 163 950 + 60000 = 291800   h / year
  • Arrival rate (for internal and external buses):
λ = h d l t a l d = 291800 7.075 252 2 = 81.83   arrivals   per   day
  • Service rate (service intensity) per service station (server):
μ = t d t a = 12 7.075 = 1.7   visits / day
The basic parameters (λ, μ, k) were entered into a computer subprogram for calculating a multi-server queuing system, developed in Microsoft Excel.
Results:
  • Service factor per service station: ρ = 48.16
  • System service factor: ρ* = 0.802
  • Average number of buses waiting for service: Q = 0.268
  • The average number of buses currently being serviced: S = 48.135
  • Average number of buses in the system: T = 48.403
  • Average waiting time for service: W* = 2 min, 22 s
  • Average time a customer (bus) spends in the system (waiting + service): W = 7 h, 5 min, 48 s
  • Utilization of working time:
η = S k = 48.135 60 = 0.802 = 80.2 %
  • If one bus operates on average 16 h a day, the loss of profit for one bus per hour is: 580/16 = 36.25 EUR. Based on this, the loss of profit can be calculated if there are on average S = 48.1353 buses in the service workshops with an average W = 7.058 h.
J = j 16 S W = 580 16 48.1535 7.058 = 12,315   EUR

3.3. Analysis of the Future State with Possible Solutions

The future state refers to the situation when the building with 21 service stations will be sold. In this case, the queueing system will have 60 − 21 = 39 service stations (servers). All other data remains the same as in Section 3.2.
  • Arrival rate (for internal and external buses): λ = 81.83 visits/day
  • Service rate (service intensity) per service station: μ = 1.7 visits/day
  • Number of service stations in the queuing system: k = 39
  • Calculation of the system service factor:
ρ * = λ μ k = 81.83 1.7 39 = 1.234
Since the system’s service factor ρ* > 1, the accumulation of waiting users for service will increase without limit. This means that the 39 service stations (servers) of the queuing system will not be sufficient for the current load of the service workshop.
For the queuing system to be properly operable and the problem solvable, the service factor of the system must be less than 1 (ρ* < 1). From Equation (29), it is evident that this can be achieved in two ways:
  • Increase μ by increasing the number of working hours per day,
  • Reduce λ by not accounting for the 60,000 working hours performed for external clients. The workshops will service and repair only domestic buses.
The problem can also be solved by increasing the productivity of the service station (server). This can be performed in two ways:
  • Increase the productivity of the worker. This reduces the annual number of standard working hours required for repairs, servicing, and maintenance of the bus (which is not recommended as it may reduce the safety of the completed work),
  • Combine individual operations in servicing or repairing buses at each service station. This allows multiple workers to perform different tasks simultaneously at each service station, thereby reducing the time the bus spends in the service workshops.

3.3.1. Increase in the Number of Working Hours per Day

The possibility for the system to be solvable increases with the number of working hours per day. Instead of 12 h, 16 h will be worked (in two shifts).
Data:
k = 39; hdz = 60,000 h/year
d = 2; l = 252 days/year
m = 220; hd = 1053.6 h/year
m1 = 75; h = 525.8 h/year
m2 = 163; h220 = 115,896 h/year
hd1 = 1350 h/year; ta = 7.075 h
hd2 = 950 h/year; hdl = 291,800 h/year
λd = 65 visits/day; td = 16 h/day (The data that has changed:)
  • Arrival rate (for internal and external buses): λ = 81.83 visits/day
  • Service rate (service intensity) per service station:
μ = t d t a = 16 7.075 = 2.26   visits / day   ( The data that has changed )
  • Number of service stations (servers) in the queuing system: k = 39
The basic data (λ, μ, k) has been re-entered into a computer program for calculating a multi-server queuing system created in Microsoft Excel. The tabular calculation display is shown in Table 1.
Since the results W and W* are related to the workday, which has 16 working hours, the correct result is as follows:
W * = 0.08709 16 = 1.39   h = 1   h ,   23   min   and   31   s W = 0.52957 16 = 8.47   h = 8   h ,   28   min   and   23   s
Utilization of working time:
η = S k = 36.2079 39 = 0.928 = 92.8 %
The loss of profit, if the system contains an average of S = 36.2079 buses and an average of W = 8.47 h (the calculation is performed using Equation (28)), is:
J = 11117.18   EUR

3.3.2. Workshops Serve Only Domestic Buses

In this case, the arrival rate is reduced, and we have λ = λd per day. The 60,000 working hours for external customers (for buses that are not owned by the company) are not taken into account in the calculation.
Using the equations from Section 3.2, the following data is obtained:
k = 39; hdz = 0 h/year
d = 2; l = 252 days/year
m = 220; hd = 1053.6 h/year
m1 = 75; h = 525.8 h/year
m2 = 163; h220 = 115896 h/year
hd1 = 1350 h/year; ta = 7.075 h
hd2 = 950 h/year; hdl = 231,800 h/year
λ = λd = 65 visits/day; td = 12 h/year
μ = 1.7 visits/day
The basic data (λ, μ, k) have been inserted into a computer program for calculating the multi-server queuing system, and the following results were obtained:
Q = 42.9704681
S = 38.2352941
T = 81.2057622
W* = 0.66108412
W = 1.24931942
Since the results W and W* are related to a working day of 12 h, the correct result is as follows:
W * = 0.66108 12 = 7.93   h = 7   h   and   56   min W = 1.2493 12 = 8.47 = 14.991   h = 14   h   and   59   min
Utilization of working time:
η = S k = 38.2057 39 = 0.98 = 98 %
The loss of profit, if the system contains an average of S = 38.2057 buses and an average W = 14.991 h (calculated using Equation (28)), is as follows:
J = 20761.88   EUR

3.3.3. Increasing the Productivity of the Service Station (Server)

If the number of standard hours required for the repair of a bus hd (number of working hours per year) is reduced, the arrival rate λ also decreases. According to Equation (30), this makes the queuing system stable again (resulting in a finite queue).
The queuing system is analyzed by varying the number of working hours needed for repair, maintenance, and servicing of a single bus per year. This causes a change in the basic input parameters of the queuing system, which are then successively entered into the subprogram for calculating the multi-server queuing system. The equations from Section 3.2 are also used. The results are presented in Table 2 and Table 3.
Data:
  • Number of service stations (servers): k = 39
  • Number of workers per service station: d = 2
  • Number of company buses: m = 220
  • Number of city buses: m1 = 57
  • Number of suburban or intercity buses: m2 = 163
  • Workshop working hours: td = 12 h/day
  • Number of working hours performed for external clients: hdz = 60,000 h/year
  • Number of working days per year: l = 252 days
  • Profit loss if a bus is out of service: j = 580 EUR/day
In the case where the work in the maintenance workshops is reorganized in such a way that individual maintenance operations are combined at a single service station and three workers (previously two) work simultaneously at that station, the productivity of the service station increases by Cp = 50%. As seen in Table 2, in this case, a single visit of a bus to the maintenance workshop is reduced to ta = 4.7 h, and the waiting time for service is reduced to W* = 0.5831. Consequently, the loss of profit due to bus downtime in the maintenance workshops is only EUR 7680.
The diagram in Figure 4 shows how the duration of a single bus visit and the total time a bus spends in the system change depending on the average number of working hours per year per bus. The data is taken from Table 2 and Table 3.
If the average number of working hours for repairs, servicing, and maintenance of a bus in service workshops (hd) is reduced from 790 to 620 h per year, the duration of a single bus visit ta linearly decreases from 5.3 to 4.03 h. Consequently, the total time a bus spends in the service workshops W decreases from 19.8 to 4.1 h. However, this reduction is no longer linear. In this case, ta is reduced by 24%, while W is reduced by as much as 79%. As a result, the cost due to the bus being out of service is also reduced by 79%, amounting to only EUR 5239.49 (Table 2 and Table 3).

4. Discussion

The optimization of operations in the analyzed service workshops of a bus company is justified in terms of reducing production space (service workshops), as this increases the efficiency of space utilization with the same volume of work. If the company decides to eliminate 21 of the existing 60 service stations, the current system would no longer be able to maintain the same number of buses as before. Therefore, three potential solutions were proposed to enable the company to continue maintaining its fleet using the remaining 39 service stations.
The first solution, which involves increasing the daily working time from 12 to 16 h, would result in an average of 36.2 buses being present in the system for 8.47 h. This would lead to approximately EUR 11,117 in lost profit due to buses being out of operation (unable to transport passengers during this time). The average waiting time for service would be 1 h and 23 min.
The second solution keeps the working day at 12 h, as before, but limits service exclusively to the company’s own fleet (internal buses), discontinuing services for external clients and forfeiting the corresponding revenue. In this case, about 38 buses would be in the system for an average of 14.9 h, resulting in EUR 20,760 in losses due to idle buses. This outcome is less favorable, as the average waiting time for service increases to 7.56 h.
The third solution involves increasing the productivity of each service station by 50%. Instead of two workers per station, an additional worker is assigned so that three workers operate simultaneously. Tasks at the service station are reorganized by merging individual service operations. As a result, the total time a bus spends in the system is reduced to 4.7 h, and losses amount to only EUR 7680, as only 32.4 buses are on average unavailable for passenger transport during servicing. The average waiting time for service in this case is just 0.89 h.
The optimal solution is the third one, as it does not reduce the volume of work but significantly lowers production costs. Additionally, the losses due to buses being out of service are the smallest, and most importantly, the waiting time for service is drastically reduced.
Based on the analysis of the three proposed solutions for organizing work in the service workshops, the following additional conclusions can be made:
  • A high utilization of working hours does not necessarily lead to the best solution, as high utilization also increases waiting times for service (see Table 2 and Table 3). From this perspective, the first solution (increasing the number of working hours per day) is better than the second (servicing only internal buses).
  • The second solution, in which the company forfeits 60,000 working hours per year due to workshop downsizing (cost reduction), is not optimal. Why should workshops not also serve external clients if there is demand?
  • If the value of the system service factor ρ* is close to 1, even a small reduction in service time (ta) significantly reduces the waiting time for a bus to receive service. Therefore, it is more reasonable to optimize the service station workflow.
  • In the case of merging service operations at individual service stations, the throughput of the queuing system increases, and as a result, profit losses due to buses being out of service decrease.

Author Contributions

Conceptualization, S.T. and D.S.; methodology, S.T.; software, S.T.; validation, S.T. and D.S.; formal analysis, S.T.; investigation, S.T. and D.S.; resources, S.T.; data curation, S.T.; writing—original draft preparation, S.T.; writing—review and editing, S.T. and D.S.; visualization, S.T.; supervision, S.T. and D.S.; project administration, D.S.; funding acquisition, S.T. and D.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in the study are included in the article; further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Savsar, J. Modeling and simulation of maintenance operations at Kuwait public transport company. Kuwait J. Sci. 2013, 40, 115–129. [Google Scholar]
  2. Hangani, A.; Shafahi, Y. Bus maintenance systems and maintenance scheduling: Model formulations and solutions. Transp. Res. Part A Policy Pract. 2002, 36, 453–482. [Google Scholar] [CrossRef]
  3. Maze, T.H.; Cook, A.R. Theory and Practice of Transit Bus Maintenance Performance Measurement. Transp. Res. Rec. 1987, 1140, 18–29. [Google Scholar]
  4. Landowski, B. Method of modelling operation and maintenance processes in public transport systems using a certain class of stochastic processes. MATEC Web Conf. 2021, 332, 01005. [Google Scholar] [CrossRef]
  5. Xu, J.; Qiao, Q.; Wu, R.; Zhou, Z. Advanced maintenance cycle optimization of urban rail transit vehicles. Adv. Mech. Eng. 2019, 11, 1687814019827113. [Google Scholar] [CrossRef]
  6. Buyukkaramikli, N.; Ooijen, H.; Bertrand, J. Integrating inventory control and capacity management at a maintenance service provider. Ann. Oper. Res. 2015, 231, 185–206. [Google Scholar] [CrossRef]
  7. Han, Q.T.; Cao, W.J.; Zhang, Y. Research on Maintenance Resources Distribution Based on Queuing Theory. Appl. Mech. Mater. 2012, 239–240, 1428–1431. [Google Scholar] [CrossRef]
  8. Bebic, D.; Stazic, L.; Komar, I. Ships Shore Service Optimization Using the Queueing Theory. Int. J. Simul. Model. 2019, 18, 596–607. [Google Scholar] [CrossRef]
  9. Antoniol, G.; Cimitile, A.; Di Lucca, G.A.; Di Penta, M. Assessing staffing needs for a software maintenance project through queuing simulation. IEEE Trans. Softw. Eng. 2004, 30, 43–58. [Google Scholar] [CrossRef]
  10. Son, J. Developing a model for estimating delays at two-lane highway work zones. KSCE J. Civ. Eng. 1999, 3, 81–88. [Google Scholar] [CrossRef]
  11. Cassidy, M.J.; Haan, L.D. Proposed Model for Predicting Motorist Delays at Two-Lane Highway Work Zones. J. Transp. Eng. 1993, 119, 27–42. [Google Scholar] [CrossRef]
  12. Sihotang, E.; Sugito; Mustafid; Ispriyanti, D.; Prahutama, A.; Rachman, A. Analysis of queue and performance of automatic toll booths with a normal distribution (case study: Automatic booths toll gate muktiharjo). J. Phys. Conf. Ser. 2020, 1524, 012093. [Google Scholar] [CrossRef]
  13. Petrović, A.; Nikolić, M.; Bugarić, U.; Delibašić, B.; Lio, P. Controlling highway toll stations using deep learning, queuing theory, and differential evolution. Eng. Appl. Artif. Intell. 2023, 119, 105683. [Google Scholar] [CrossRef]
  14. Zahedieh, F.; Lee, C. Impacts of a Toll Information Sign and Toll Lane Configuration on Queue Length and Collision Risk at a Toll Plaza with a High Percentage of Heavy Vehicles. Vehicles 2024, 6, 1249–1267. [Google Scholar] [CrossRef]
  15. Wang, T.; Huang, L.; Tian, J.; Zhang, J.; Yuan, Z.; Zheng, J. Bus dwell time estimation and overtaking maneuvers analysis: A stochastic process approach. Transp. Res. Part E Logist. Transp. Rev. 2024, 186, 103577. [Google Scholar] [CrossRef]
  16. Yongzheng, K.; Aixin, C.; Zhen, Z. Optimization Research of Bus Stops that Are Based on Berths. In Proceedings of the 2015 International Conference on Electrical and Information Technologies for Rail Transportation; Lecture Notes in Electrical Engineering; Springer: Berlin/Heidelberg, Germany, 2016; Volume 378. [Google Scholar] [CrossRef]
  17. Wang, C.; Chen, W.; Xu, Y.; Ye, Z. Modeling Bus Capacity for Bus Stops Using Queuing Theory and Diffusion Approximation. Transp. Res. Rec. J. Transp. Res. Board 2021, 1524, 012093. [Google Scholar] [CrossRef]
  18. Sun, F.; Sun, L.; Sun, S.; Wang, D. Study on the Calculation Models of Bus Delay at Bays Using Queueing Theory and Markov Chain. Comput. Intell. Neurosci. 2015, 2015, 750304. [Google Scholar] [CrossRef]
  19. Liu, Z.; Ma, X.; Zhou, S.; Liu, X. Optimizing shared charging services at sustainable bus charging hubs: A queue theory integration approach. Renew. Energy 2024, 237, 121860. [Google Scholar] [CrossRef]
  20. Chen, W.; Qui, K.; Zhang, S.; Zhou, J.; Zhang, W. Queuing theory guided performance evaluation and energy optimization for a reconfigurable high speed device interconnected bus. Sustain. Comput. Inform. Syst. 2019, 22, 179–190. [Google Scholar] [CrossRef]
  21. Meng, F.; Pei, W.; Zhang, Q.; Zhang, Y.; Ma, B.; Li, L. Research on the capacity of charging stations based on queuing theory and energy storage scheduling optimization sharing strategy. J. Energy Storage 2024, 96, 112673. [Google Scholar] [CrossRef]
  22. Najafi, A.; Gao, K.; Parishwad, O.; Tsaousoglou, G.; Jin, S.; Yi, W. Integrated optimization of charging infrastructure, electric bus scheduling and energy systems. Transp. Res. Part D Transp. Environ. 2025, 141, 104664. [Google Scholar] [CrossRef]
  23. Pourvaziri, H.; Sarhadi, H.; Azad, N.; Afshari, H.; Taghavi, M. Planning of electric vehicle charging stations: An integrated deep learning and queueing theory approach. Transp. Res. Part E Logist. Transp. Rev. 2024, 186, 103568. [Google Scholar] [CrossRef]
  24. Wu, H.; Calderon, A.D. A Study on the Construction of Charging Stations on Freeways Using a Road Section Power Consumption Model. In Proceedings of the 8th International Conference on Green Energy and Applications (ICGEA), Singapore, 14–16 March 2024; pp. 72–79. [Google Scholar] [CrossRef]
  25. Kumar, N.; Kumar, T.; Nema, S.; Thakur, T. A comprehensive planning framework for electric vehicles fast charging station assisted by solar and battery based on Queueing theory and non-dominated sorting genetic algorithm-II in a co-ordinated transportation and power network. J. Energy Storage 2022, 49, 104180. [Google Scholar] [CrossRef]
  26. Saldarini, A.; Miraftabzadeh, S.M.; Brenna, M.; Longo, M. Strategic Approach for Electric Vehicle Charging Infrastructure for Efficient Mobility along Highways: A Real Case Study in Spain. Vehicles 2023, 5, 761–779. [Google Scholar] [CrossRef]
  27. Varshney, S.; Panda, K.P.; Gupta, G.; Shah, M.; Srinivas, B.A.; Bajaj, M.; Blazek, V.; Prokop, L. Stochastic modeling of electric vehicle infrastructure using queueing-theoretical approach. Results Eng. 2025, 25, 104149. [Google Scholar] [CrossRef]
  28. Sun, L.; Song, R. Improving Efficiency in Congested Traffic Networks: Pareto-Improving Reservations through Agent-Based Timetabling. Sustainability 2022, 14, 2211. [Google Scholar] [CrossRef]
  29. Wang, X.; Wu, X.; Liu, J. Optimization Models of Actuated Control Considering Vehicle Queuing for Sustainable Operation. Sustainability 2022, 14, 8998. [Google Scholar] [CrossRef]
  30. Wang, W.; Ji, Y.; Zhao, Z.; Yin, H. Simulation Optimization of Station-Level Control of Large-Scale Passenger Flow Based on Queueing Network and Surrogate Model. Sustainability 2024, 16, 7502. [Google Scholar] [CrossRef]
  31. Jia, W.; Huang, Y.; Zhao, Q.; Qi, Y. Modeling taxi drivers’ decisions at airport based on queueing theory. Res. Transp. Econ. 2022, 92, 101093. [Google Scholar] [CrossRef]
  32. Yang, M. Security Check Model Based on Queuing Theory. In Proceedings of the 7th International Conference on Education, Management, Information and Computer Science (ICEMC 2017), Shenyang, China, 16–18 June 2017. [Google Scholar] [CrossRef]
  33. Wen, S.W.; Tang, T.Q.; Zhang, J.; Qin, M.X.; Huang, H.J. Information-based taxi-passenger matching management in transportation hubs: A double-ended queuing perspective. Transp. Res. Part E Logist. Transp. Rev. 2025, 197, 104096. [Google Scholar] [CrossRef]
  34. Król, A.; Król, M. A Stochastic Simulation Model for the Optimization of the Taxi Management System. Sustainability 2019, 11, 3838. [Google Scholar] [CrossRef]
  35. Flesser, M.; Shalaby, A.; Friedrich, B. Integration of urban aerial cable cars into public transit: Operational capacity limits due to passenger queuing at stations. J. Public Transp. 2024, 26, 100094. [Google Scholar] [CrossRef]
  36. Drent, M.; Arts, J. Expediting in Two-Echelon Spare Parts Inventory Systems. Manuf. Serv. Oper. Manag. 2020, 23, 6. [Google Scholar] [CrossRef]
  37. Ademujimi, T.; Prabhu, V. Model-Driven Bayesian Network Learning for Factory-Level Fault Diagnostics and Resilience. Sustainability 2024, 16, 513. [Google Scholar] [CrossRef]
  38. Larson, R.C.; Odoni, A.R. Urban Operations Research. Prentice-Hall, New York 1981, Massachusetts Institute of Technology. Available online: https://web.mit.edu/urban_or_book/www/book/ (accessed on 11 April 2025).
  39. Benjamin, J.R.; Cornell, C.A. Probability, Statistics and Decision for Civil Engineers; McGraw-Hill, Cop.: New York, NY, USA, 1970. [Google Scholar]
  40. Bronson, R. Schaum’s Outline of Theory and Problems of Operations Research; McGraw-Hill, Cop.: New York, NY, USA, 1982. [Google Scholar]
  41. Pauše, Ž. Vjerojatnost (Informacija, Stohastični Procesi); Školska Knjiga: Zagreb, Croatia, 1985. [Google Scholar]
  42. Petrić, J.; Šarenac, L.; Kojić, Z. Operaciona Istraživanja II (Zbirka Rešenih Zadataka); Naučna Knjiga: Beograd, Serbia, 1984. [Google Scholar]
Figure 1. Multi-server Queueing System.
Figure 1. Multi-server Queueing System.
Vehicles 07 00082 g001
Figure 2. Layout of maintenance workshops with service stations distributed across three buildings.
Figure 2. Layout of maintenance workshops with service stations distributed across three buildings.
Vehicles 07 00082 g002
Figure 3. Model of the 60-server queuing system.
Figure 3. Model of the 60-server queuing system.
Vehicles 07 00082 g003
Figure 4. Dependence of the duration of a bus visit and the bus’s stay in the system on the normative repair hours for one bus.
Figure 4. Dependence of the duration of a bus visit and the bus’s stay in the system on the normative repair hours for one bus.
Vehicles 07 00082 g004
Table 1. Output from the computer program (in EXCEL) for calculating the queuing system.
Table 1. Output from the computer program (in EXCEL) for calculating the queuing system.
ρ=48.13529
ρ*=0.802254
nn!ρn(ρn)/n!Pnn.Pn
01111.29152× 10−160
11111.29152 × 10−160
2136.207964636.20796464.67632 × 10−154.67632 × 10−15
321311.016701655.50835038.46599 × 10−141.6932 × 10−13
4647,469.246297911.5410481.02179 × 10−123.06536 × 10−12
5241,718,764.78971,615.199559.24922 × 10−123.69969 × 10−11
612062,232,974.65518,608.12216.69791 × 10−113.34895 × 10−10
77202,253,329,3433,129,624.0884.04196 × 10−102.42518 × 10−9
8504081,588,469,09216,188,188.312.09073 × 10−91.46351 × 10−8
940,3202.95415 × 101273,267,668.679.46263 × 10−97.57011 × 10−8
10362,8801.06964 × 1014294,763,683.73.80692 × 10−83.42623 × 10−7
113,628,8003.87294 × 10151,067,279,3031.37841 × 1071.37841 × 10−6
1239,916,8001.40231 × 10173,513,091,9284.53721 × 10−74.99093 × 10−6
13479,001,6005.07749× 101810,600,159,0151.36903 × 10−61.64283 × 10−5
146,227,020,8001.83846× 102029,523,860,1853.81305 × 10−64.95697 × 10−5
158.7178 × 10106.65668 × 102176,357,063,1779.86163 × 10−60.000138063
161.3077 × 10122.41025 × 10231.84316 × 10112.38046 × 10−50.00035707
172.0923 × 10138.72702 × 10244.17106 × 10115.38699 × 10−50.000861918
183.5569 × 10143.15988 × 10268.88385 × 10110.0001147360.001950518
196.4024 × 10151.14413 × 10281.78703 × 10120.0002307980.00415437
201.2165 × 10174.14265 × 10293.40552 × 10120.0004398280.008356738
212.4329 × 10181.49997 × 10316.16535 × 10120.0007962640.015925289
225.1091 × 10195.43108 × 10321.06302 × 10130.001372910.028831115
231.124 × 10211.96648 × 10341.74954 × 10130.0022595580.049710285
242.5852 × 10227.12024 × 10352.75423 × 10130.0035571310.081814011
256.2045 × 10232.57809 × 10374.15521 × 10130.005366520.12879647
261.5511 × 10259.33475 × 10386.01807 × 10130.007772430.194310751
274.0329 × 10263.37992 × 10408.38085 × 10130.0108239950.281423872
281.0889 × 10281.2238 × 10421.1239 × 10140.0145153640.39191483
293.0489 × 10294.43114 × 10431.45336 × 10140.0187704210.525571789
308.8418 × 10301.60442 × 10451.8146 × 10140.0234358190.67963874
312.6525 × 10325.80929 × 10462.1901 × 10140.0282854430.848563291
328.2228 × 10332.10343 × 10482.55803 × 10140.0330373651.02415832
332.6313 × 10357.61608 × 10492.89441 × 10140.0373817421.196215749
348.6833 × 10362.75763 × 10513.17578 × 10140.0410156611.353516797
352.9523 × 10389.98481 × 10523.38201 × 10140.0436792231.485093584
361.0333 × 10403.6153 × 10543.49874 × 10140.0451867361.581535762
373.7199 × 10411.30903 × 10563.51895 × 10140.0454477711.636119739
381.3764 × 10434.73971 × 10573.44362 × 10140.0444748991.645571267
395.2302 × 10441.71615 × 10593.28122 × 10140.0423775151.610345573
392.0398 × 10466.21384 × 10603.04632 × 10140.0393436811.534403565
2.094 × 10466.39033 × 10603.79228 × 10150.48977917116.30935228
Q=7.1269197
S=36.207964
T=43.334884
W*0.0870942
W=0.5295720
Table 2. Results of a multi-server queuing system if the productivity of the workstation is increased- part 1.
Table 2. Results of a multi-server queuing system if the productivity of the workstation is increased- part 1.
hdhh220tahdlλμρ*Cp (%)Ct (%)
50025055,0003.3578170,000100.4553.57380.7207110.7252.5437
52026057,2003.4921174,40099.09093.43640.7394102.61550.6454
54027059,4003.6264178,80097.82833.30910.75895.111148.7472
56028061,6003.7607183,20096.65583.19090.776788.142946.8489
58029063,8003.895187,60095.56433.08090.795381.655244.9506
60030066,0004.0293192,00094.54552.97820.81475.643.0524
62031068,2004.1636196,40093.59242.88210.832769.935541.1541
64032070,4004.2979200,80092.69892.7920.851364.62539.2559
66033072,6004.4322205,20091.85952.70740.8759.636437.3576
68034074,8004.5665209,60091.06952.62780.888654.941235.4594
70035077,0004.7009214,00090.32472.55270.907350.514333.5611
72036079,2004.8352218,40089.62122.48180.925946.333331.6629
74037081,4004.9695222,80088.95582.41470.944642.378429.7646
76038083,6005.1038227,20088.32542.35120.963238.631627.8664
78039085,8005.2381231,60087.72732.29090.981935.076925.9681
78539386,3505.2717232,70087.58252.27630.986634.216625.4935
79039586,9005.3053233,80087.43962.26190.991233.367125.019
79539887,4505.3388234,90087.29852.24770.995932.528324.5444
79940087,8905.3657235,78087.18682.23640.999631.864824.1648
80040088,0005.3724236,00087.15912.23361.000531.724.0699
1054527101,1597.0755291,79281.82541.6961.237100
hd (h/year)—average number of working hours per bus; h (h/year)—average number of hours a bus spends on maintenance, servicing, and repair; in the workshops; h220 (h/year)—number of workshop hours occupied by 220 in-house buses; ta (h)—service time per one bus visit; hdl (h/year)—number of working hours completed in the workshops in one year; λ (arrivals/day)—arrival rate (intensity of arrival flow); μ (visits/day)—service rate (intensity of service per service station (server); ρ*—the system service factor; Cp (%)—percentage increase in workstation productivity; Ct (%)—percentage reduction in service time.
Table 3. Results of a multi-server queuing system if the productivity of the workstation is increased- part 2.
Table 3. Results of a multi-server queuing system if the productivity of the workstation is increased- part 2.
hdhd1hd2QSTW*WhJ
500640.6606450.83520.089328.108428.19780.01063.3680.72073471.19
520666.287468.86860.137428.838528.97390.01663.50870.73933715.293
540691.9134486.90210.207829.58429.77210.02543.65190.7853973.445
560717.5399504.93550.309630.29130.60070.03843.79910.77664248.655
580743.1663522.96890.456331.019231.47560.05733.95320.79534546.366
600768.7927541.00230.66631.746832.41290.08454.11390.8144873.141
620794.4191559.03570.965732.473633.43940.12384.28740.83285239.491
640820.0456577.06911.37333.201534.59890.18084.47880.85135663.221
660845.672595.10252.02533.92935.9540.26434.69630.86996171.386
680871.2984613.13592.956634.656137.61280.38954.95610.88866812.587
700896.9248631.16934.389235.383939.77320.58315.2840.90727680.474
720922.5513649.20276.713236.111342.82450.89885.7340.92598974.025
740948.1777667.236110.851536.839247.69071.46386.43340.944511212.62
760973.8041685.269619.603637.567657.17132.66337.76730.963216228.69
780999.4305703.30347.157238.293785.4516.450511.6890.981836501.66
7851005.837707.811366.22238.475104.6989.073214.3450.986554887.78
7901012.244712.3197105.5938.6575144.24814.49119.7960.9912104358.3
7951018.65716.828235.08238.8398273.92232.31537.6540.9958376938.6
7991023.776720.43472650.6338.98532689.61364.82370.190.999636386766
8001025.057721.3364
10541350950
hd (h/year)—average number of working hours per bus; hd1 (work h/year)—average number of working hours for repairs, servicing, and maintenance of a city bus; hd2 (work h/year)—average number of working hours for repairs, servicing, and maintenance of a suburban or intercity bus; Q—average number of buses waiting for service; S—average number of buses being serviced; T—average number of buses in the system (waiting + in service); W* (h)—average waiting time of a bus before service; W (h)—average time a bus spends in the system (waiting + service); J (EUR)—loss in profit if T buses spend W time in the queuing system.
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

Težak, S.; Sever, D. Optimization of Operations in Bus Company Service Workshops Using Queueing Theory. Vehicles 2025, 7, 82. https://doi.org/10.3390/vehicles7030082

AMA Style

Težak S, Sever D. Optimization of Operations in Bus Company Service Workshops Using Queueing Theory. Vehicles. 2025; 7(3):82. https://doi.org/10.3390/vehicles7030082

Chicago/Turabian Style

Težak, Sergej, and Drago Sever. 2025. "Optimization of Operations in Bus Company Service Workshops Using Queueing Theory" Vehicles 7, no. 3: 82. https://doi.org/10.3390/vehicles7030082

APA Style

Težak, S., & Sever, D. (2025). Optimization of Operations in Bus Company Service Workshops Using Queueing Theory. Vehicles, 7(3), 82. https://doi.org/10.3390/vehicles7030082

Article Metrics

Back to TopTop