Abstract
As a result of the lack of access to efficient public transit in suburban areas, residents often have to use their own vehicles to commute either within the area, to neighboring regions, or to a public transit hub (PTH). Thanks to information and communication technologies, on-demand transit (ODT) is a potential solution being proposed and considered by transit agencies. Although ODT has shown the potential to enhance transit level of service, its efficiency depends on different parameters such as demand spatial and temporal distribution or the configuration of the service. In this study, we propose a novel configuration for an ODT service and apply it to the first part of a commuter’s trip, or the commuter’s “first mile.” The proposed configuration depends on the availability of smart devices installed at bus stops. Passengers request their rides via smart devices and receive real-time and personalized information about their ride requests to travel to a PTH. The proposed ODT service is modeled with the Simulation of Urban Mobility or SUMO simulation framework. To evaluate the performance of the ODT service, it is applied to the city of Terrebonne in Quebec, Canada. The proposed service is compared with existing bus transit operating in the area as well as a door-to-PTH service. The results of the comparison analysis reveal that the proposed ODT service may result in a significant 36% reduction in total travel time as well as a 41% reduction in detour time compared with the existing bus transit service. A detailed sensitivity analysis is also conducted to capture the impacts of different parameters, variables, and dispatching algorithms on the service performance.
As a result of low population density in suburban areas, operating extensive fixed-route bus transit (FRT) can be expensive (
Over the last decade, rapid advancements in communication and information technology has enabled transit agencies to introduce innovative transportation services for both urban and suburban areas (
However, despite the promising outcomes reported in these studies, there are still some limitations. For instance, from the simulation perspective, some studies have built a grid network rather than considering real-world instances (
Based on this, in this study, we present a novel system for an ODT service leveraging smart devices installed at bus stops for local communication with passengers and for providing them with real-time information. Prototypes of these smart devices, developed by the smart bus stop manufacturer, BusPas, Inc., have been installed at bus stops in Montreal and Laval, Canada (
The contributions of this paper include:
Proposing an innovative system for ODT service that takes advantage of the capabilities of smart devices installed at bus stops.
Conducting a simulation of the proposed ODT service for the first-mile trip and implementing it in a real-world suburban area.
Evaluating the performance of the proposed service by comparing it with the existing bus transit system operating in the area as well as a door-to-PTH service.
Conducting an extensive sensitivity analysis on different service parameters and variables.
It is important to note that we assume the proposed ODT service has the same fare as that of the current bus transit service operating in the region. By adopting this assumption, the proposed ODT service with the same level of affordability offers more accessibility than the current bus transit service.
The rest of the paper is as follows. In the literature review section, we survey the literature on ODT and shared mobility services. In the section on methodology, we explain the different components of the proposed system and the simulation environment. We then present the results of the proposed service and compare them with the existing public transportation services in the section on implementation and results. In the last section, we conclude the paper and propose some directions for future research.
Literature Review
In this section, we briefly review the literature related to ODT and shared mobility services to assess their performance and then provide a discussion to highlight the contributions of this study.
Inturri et al. (
Calabro et al. (
Yoon et al. (
Alsaleh and Farooq (
Burstlein and Farooq (
In the context of shared mobility, there is extensive literature that has addressed the problem from different aspects such as trip time window, objective function, system structure, and so forth. For system structure, the majority of studies have used a centralized approach for designing a shared mobility system (
Research Contribution
One of the main problems with the existing bus transit service is poor accessibility to the bus because of the low frequency of buses in suburban areas. Bus transit agency revenue depends on ridership levels, and, thus, in areas where population density is low, it is not cost-effective to operate a service or increase the frequency of buses. When bus transit is highly accessible in suburban areas, passengers are willing to use it even if they have to walk a short distance to reach the bus stop. However, in a door-to-PTH service, passengers will experience a long waiting time and detour time, which decreases its attractiveness and service level. Another major issue is that during off-peak hours, there are very few passengers inside the buses. ODT or micro-mobility services can be used and operated instead of buses to reduce capital and operating costs.
Some previous studies have suggested designated locations to pick up passengers, whereas others have suggested passengers are picked up where requested (
Some studies have used grid networks to simulate the ODT (
Methodology
In this section, we begin by describing the different components of our proposed ODT service. Next, we present the framework of the ODT service. Following that, in the simulation setup section, we introduce the study area and discuss the simulation settings.
Service Components
Our proposed ODT service consists of the following components:

Smart City Network (SCiNe) and some key features.
Service Framework
Figure 2 illustrates the framework of our proposed ODT service, different elements, and their interactions with each other. In this service, passengers are required to make it to a bus stop equipped with a SCiNe

On-demand transit (ODT) service conceptual model.
The real-time data received from the vehicles and SCiNes are transmitted to the dispatching algorithm. The dispatching algorithm plays a crucial role as the main decision maker in the ODT services. First, it is responsible for dynamically matching passengers to available vehicles by taking different parameters into account such as passenger wait time and detour time.
Moreover, it examines the spatial/temporal proximity of passengers to serving two or more passengers simultaneously whenever possible. In the allocation of vehicles to passengers, it considers vehicle availability, the proximity of passenger location, and the expected duration of the trip. Once a vehicle is assigned to a passenger, the algorithm determines the optimal route for a vehicle to reach a bus stop and pick up the passenger. To select the best route, it takes real-time traffic conditions, distance, and estimated travel time into account.
The output of the dispatching algorithm includes the assignment of vehicles to passengers, the schedule of vehicles to serve passengers, and the routing of the vehicles to reach different locations. Passengers receive personalized information through the SCiNes, which includes the identity (ID) of the vehicles they have been assigned along with the estimated waiting time. Vehicles also receive information on the passengers who need to be served and the bus stop locations.
Simulation Setup
To model and evaluate our proposed ODT service, we use the Simulation of Urban Mobility (SUMO) environment, which is an open-source, microscopic, and continuous traffic simulation package. In the following, we will explain the study area and various simulation settings.
Study Area
Terrebonne is a suburb of Montreal, located in southwestern Quebec, Canada (Figure 3a). According to the 2021 Canadian Census, Terrebonne has a population of 119,944 with a land area of 153.76 km2 and a population density of 780.1 people per square kilometer, making it Montreal’s third-largest suburb. Terrebonne is served by a bus transit service that connects its residents to several metro stations in Laval as well as Montreal. This service is operated by the Réseau de transport métropolitain. The Terrebonne terminus, as seen in Figure 3b, is located in the western part of the city and acts as a vital PTH, serving local residents traveling from/to Terrebonne. To simulate the ODT service, it is assumed that all passengers travel to the terminus as the first-mile trip.

The geographic location of Terrebonne and Terminus. (
Simulation Inputs
Various inputs are required to model the ODT, including the transportation network, ODT demand data, and the ODT fleet of vehicles. As passengers place their ride requests at bus stops, bus stop network data are also essential, which includes bus stop ID, location, and precise position in the street. These data are necessary for coordinating pickups, assigning vehicles accurately, and planning routes in the ODT service. The study period in this study is 2 h from 7:00 to 9:00 a.m.
Transportation Network
The transportation network data for the network of Terrebonne is created using Open Street Map that includes essential geographical and network elements such as road segments, intersections, traffic signals, lane configurations, and speed limits. As passengers request rides at bus stops within Terrebonne, detailed information about the bus stop network is needed. To provide this necessary information, we use the General Transit Feed Specification data format.
ODT Demand
As a result of the lack of access to real data of bus transit users in Terrebonne, the required demand for the ODT service is simulated in a manner that mimics the behavior of actual users. The Poisson distribution is used to model the stochasticity of passengers arriving at bus stops. To accurately consider variations in demand within a time period, different temporal distribution patterns are created and tested. For the spatial distribution of the demand, since the study area is mainly residential, the demand is evenly distributed across the network.
ODT Fleet
The fleet of vehicles for the proposed ODT system is generated and distributed randomly across the network. Once each vehicle drops off its assigned passengers at the terminus, it remains idle there, waiting for the next request(s). There is only a single type of vehicle in each simulation scenario. The initial capacity of the vehicles is assumed to be four. However, to address the impact of vehicle capacity on the performance of the ODT, it will change in different scenarios. All of the vehicles exist in the network from the beginning until the end of the simulation.
Dispatching Algorithm
There are different dispatching algorithms available in SUMO, each tailored to different spatial and temporal scenarios. As the type of the dispatching algorithm can affect the performance of the ODT, different SUMO dispatching algorithms, including “greedy,”“greedyShared,” and “routeExtension” will be tested in this study. The “greedy” algorithm runs on a first come, first served basis, which assigns passengers to the closest vehicle (with regard to travel time). In “greedyShared” algorithm, a vehicle is allowed to pick up another passenger while en route to deliver the first passenger, whereas in the “routeExtension” algorithm a vehicle can pick up any passenger along its route (
Vehicle Routing
The default algorithm in SUMO for the routing of vehicles in the network is the Dijkstra algorithm, based on the shortest path or the minimum cost path between two nodes in a weighted graph.
Implementation and Results
To evaluate the performance of the proposed ODT service, it was compared with the existing bus transit service operating in Terrebonne as well as with a door-to-PTH service that picks up passengers from the location of their requests. Moreover, a detailed sensitivity analysis was conducted to assess the impact of different parameters and variables on the service. To do so, various scenarios were created by varying demand levels, fleet size, study period, and dispatching algorithms. For the ODT and door-to-PTH, average total travel time, average waiting time, and average detour time were measured, whereas for the existing bus transit, the two indicators of average total travel time and average detour time were measured. Average total travel time includes both waiting time and in-vehicle time. It is worth mentioning that to measure indicators associated with the existing bus transit, we made requests to the Google Maps API.
Tables 1 and 2 present the results of the simulation that compares the ODT service with the existing bus transit. This simulation was conducted for two different study periods of 7:00 to 8:00 a.m. and 7:00 to 9:00 a.m. on July 21, 2023. The initial values for fleet size and demand level are 50 and 200, respectively.
Results for 60-Min Simulations
Results for 120 -Min Simulations
According to Tables 1 and 2, the average total travel time in the ODT service is significantly shorter than that of the bus transit service. This significant difference was expected because, in bus transit, passengers may be required to change the bus lines, walk portions of the route to reach another bus stop, and wait for the bus. We assumed that passengers using bus transit in suburban areas check bus arrival time before going to the bus stop. Given this assumption, we considered an average waiting time of 3 min for bus transit users. In the ODT service, passengers benefit from significantly reduced total travel time compared with bus transit. Additionally, there is no need for transit changes, making it more convenient. Based on data provided by Google Maps for bus transit, our analysis revealed a noteworthy observation: the bus frequency between 8:00 and 9:00 a.m. is lower than that for the preceding hour, from 7:00 to 8:00 a.m. The reason for this discrepancy is the typical early morning departure pattern of suburban commuters. The majority of commuters start their journey early to ensure they arrive at their destination on time. According to the results, the availability of bus transit services varies significantly according to the time of day at which passengers commence their journeys.
As can be seen in Tables 1 and 2, with a fixed
In the simulation of the ODT service, two sets of scenarios with different vehicle capacities were considered: four and seven. According to the results, both sets of simulations showed a very slight difference in waiting times and total travel times in most scenarios. This shows that when the spatial and temporal distribution of passengers remain the same, utilizing vehicles with higher capacity necessarily cannot improve the level of service. Therefore, for planning purposes to run a new service, realizing the spatial and temporal distribution of the residents is crucially important. It can enhance the level of service for passengers while reducing the operating costs for transit agencies and urban planning organizations.
Additionally, we simulated a door-to-PTH service, in which passengers were assumed to be picked up from their homes, and compared it with ODT as well as with existing bus transit. The results for a fleet size of 50 with a capacity of four are presented in Table 3. According to the table, it is evident that waiting time and overall total travel time of the door-to-PTH scenarios are, as expected, higher than those for ODT services but lower than for bus transit.
Results for Door-to-PTH Simulation
Based on a 60-Min simulation, Figures 4, 5, and 6 illustrate the distribution of total travel time for ODT services for fleet sizes of 25, 50, and 75 as well as for bus transit service. The plots demonstrate that as passenger numbers increase, the distribution for ODT services becomes skewed to the right, indicating longer travel times. Moreover, for a fixed demand level in the ODT service, increasing fleet size leads to a skewing of the distribution to the left. Comparisons between Figures 4b and 5a as well as Figures 5c and 7b illustrate this. In each case, the passenger number is the same with different fleet sizes. In contrast, the total travel time for the bus transit is relatively consistent. Considering that bus transit plans are not subject to daily fluctuations in passenger numbers, this stability should be expected.

Comparison of total travel time distribution for on-demand transit (ODT) service versus bus transit with a fleet size of 25 in a 60-min scenario: (

Comparison of total travel time distribution for on-demand transit (ODT) service versus bus transit with a fleet size of 50 in a 60-min scenario: (

Comparison of total travel time distribution for on-demand transit (ODT) service versus bus transit with a fleet size of 75 in a 60-min scenario: (

Comparison of average total travel time (
Figure 7 showcases the average total travel time and waiting time for different SUMO ride-matching algorithms, including “greedy,”“greedyShared,” and “routeExtension” for a 60-min scenario. When the number of passengers is small, all three algorithms behave similarly, but as the number of passengers increases, the “greedy” algorithm becomes less efficient. The rationale behind this lies in the design of “greedyShared” and “routeExtension,” which are specifically tailored to manage shared services. As a result, they are more advantageous when the demand level is high because they can serve more than one passenger simultaneously. In contrast, the “greedy” algorithm allocates each passenger to a single vehicle based on the closest travel time, serving only one passenger at a time. In comparing “greedyShared” and “routeExtension,” there is no obvious difference in performance, as they both behave similarly even when the number of passengers increases.
In Figure 8, it can be seen that, for a fixed number of passengers, the distribution of route length traveled by vehicles becomes more skewed to the left as the fleet size increases. The reason for this is that with a larger fleet size, more vehicles are available to serve the same number of passengers, causing the vehicles to have a preference for shorter routes, contributing to skewing the distribution of route lengths to the left. As a result, determining an optimal fleet size becomes critical in various scenarios, as it can result in increased efficiency, improved service quality, reduced congestion, and a reduction in environmental impact.

Route length distribution for different fleet size and demand level: (
Conclusion
This study introduced a novel framework for ODT services, for which simulations were then applied to address the first-mile problem in suburban areas, where there is only a single PTH. The proposed framework uses smart devices (SCiNes) installed at bus stops that are equipped with an edge-computing functionality. Moreover, they are capable of transmitting data and providing passengers with real-time information. Passengers are required to request their rides through SCiNes at bus stops. This local communication between passengers and SCiNes eliminates the need for mobile phones or applications.
To simulate the proposed ODT service, we implemented it in the SUMO simulation environment. Terrebonne, a suburb of Montreal, Canada, was chosen as the study area. To assess the performance of the ODT service, it was compared with the existing bus transit service in Terrebonne as well as a door-to-PTH service. Google API was used to obtain travel times associated with the current bus transit service. Moreover, to capture the impact of different parameters and variables on service performance, different scenarios were created by varying demand levels, fleet sizes, fleet capacity, study periods, and dispatching algorithms. Different indicators were measured, including passenger wait time, total travel time, and detour time.
The simulation results suggest that the ODT service showed a significant reduction in total travel time compared with the bus transit service. For instance, at the normal demand level
We expect that this study will be useful for the design and operations of ODT services in areas with low population density. Moreover, the proposed service could be useful for the first-mile problem in both urban and suburban areas, where the number of destinations is limited.
One of the limitations of this study is the lack of access to actual transit use data for Terrebonne. Having access to such data would help to better parametrize the simulations and lead to more realistic scenarios.
There are several potential directions for future research. The data we used in this study were based on simulated data. Utilizing real-world data on the spatial and temporal distribution of passengers across the network enables the testing of more informative scenarios, yielding results that are easily usable for policymakers and transit planners. Moreover, the smart devices at the core of this system have many capabilities and potential, not all of which are discussed here, that could be used to develop additional scenarios or ODT system functionalities. Exploring these capabilities would offer very interesting research opportunities that can be evaluated within the simulation environment. For example, a fully distributed system could be developed based on these smart devices that could participate in dispatching passengers and assigning vehicles. Such services have the potential to be highly scalable and efficient, especially in congested networks in which thousands of passengers need to be dispatched during a very short period of time.
Footnotes
Acknowledgements
The authors express sincere gratitude to BusPas, Inc., for their unwavering support and commitment to this research endeavor. The invaluable assistance they provided played a pivotal role in the success and advancement of this project.
Author Contributions
The authors confirm contribution to the paper as follows: study conception and design: Seyed Mehdi Meshkani, Siavash Farazmand, Nizar Bouguila, and Zachary Patterson; data collection: Seyed Mehdi Meshkani, Siavash Farazmand; analysis and interpretation of results: Seyed Mehdi Meshkani, Siavash Farazmand, Nizar Bouguila, and Zachary Patterson; draft manuscript preparation: Seyed Mehdi Meshkani, Siavash Farazmand, Nizar Bouguila, and Zachary Patterson. All authors reviewed the results and approved the final version of the manuscript.
Declaration of Conflicting Interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This research was supported by Mitacs Accelerate Program project IT18048 with BusPas, Inc., of Montreal.
