Next Article in Journal
Energy Saving Optimization of Commercial Complex Atrium Roof with Resilient Ventilation Using Machine Learning
Previous Article in Journal
Optimizing Smart Campus Solutions: An Evidential Reasoning Decision Support Tool
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimising Urban Freight Logistics Using Discrete-Event Simulation and Cluster Analysis: A Stochastic Two-Tier Hub-and-Spoke Architecture Approach

Department of Mechanical Engineering, University of Canterbury, Kirkwood Ave, Christchurch 8140, New Zealand
*
Authors to whom correspondence should be addressed.
Smart Cities 2023, 6(5), 2347-2366; https://doi.org/10.3390/smartcities6050107
Submission received: 24 July 2023 / Revised: 27 August 2023 / Accepted: 30 August 2023 / Published: 4 September 2023
(This article belongs to the Section Smart Transportation)

Abstract

:
The transport of freight involves numerous intermediate steps, such as freight consolidation, truck allocation, and routing, all of which exhibit high day-to-day variability. On the delivery side, drivers usually cover specific geographic regions, also known as clusters, to optimise operational efficiency. A crucial aspect of this process is the effective allocation of resources to match business requirements. The discrete-event simulation (DES) technique excels in replicating intricate real-world operations and can integrate a multitude of stochastic variables, thereby enhancing its utility for decision making. The objective of this study is to formulate a routing architecture that integrates with a DES model to capture the variability in freight operations. This integration is intended to provide robust support for informed decision-making processes. A two-tier hub-and-spoke (H&S) architecture was proposed to simulate stochastic routing for the truck fleet, which provided insights into travel distance and time for cluster-based delivery. Real industry data were employed in geographic information systems (GISs) to apply the density-based spatial clustering of applications with noise (DBSCAN) clustering method to identify customer clusters and establish a truck plan based on freight demand and truck capacity. This clustering analysis and simulation approach can serve as a planning tool for freight logistics companies and distributors to optimise their resource utilisation and operational efficiency, and the findings may be applied to develop plans for new regions with customer locations and freight demands. The original contribution of this study is the integration of variable last-mile routing and an operations model for freight decision making.

1. Introduction

The field of freight logistics encompasses various sources of stochasticity, including freight consolidations, handling, and transport activities [1]. Notably, freight consignments exhibit substantial variability in terms of customer addresses and consignment attributes. Truck drivers are typically assigned to serve specific geographic regions, such as a set of suburbs or business areas within a given territory [2]. Therefore, truck routes exhibit diversity in activities on a day-to-day basis, which produces a need to achieve better cost optimisation and operational efficiencies [3].
While well-established territories often rely on historically developed and subjectively optimised delivery runs, the allocation of runs becomes a specific challenge when entering new territories. In such cases, a freight company might possess a list of potential customers and some indications of their freight demands, which are likely to be irregular. Consequently, decision making for freight companies to improve efficiency and reduce costs is important, such as devising an optimal truck allocation plan.
There are several tools that could support the decision making of freight companies. Geographic information systems (GISs) provide a powerful tool for capturing and analysing spatial data, including customer locations, road networks, and other relevant geographical features. By incorporating GISs into the logistics simulation process, researchers and practitioners can gain a comprehensive understanding of the spatial dynamics and optimise the allocation of resources accordingly.
In this context, discrete-event simulation (DES) proves to be a valuable technique for modelling the intricate and dynamic nature of logistics operations with stochasticity. By simulating the discrete events, such as truck allocation, vehicle movements, and delivery processes, DES allows for evaluating different scenarios and assessing their impact on key performance indicators (KPIs) such as delivery time, resource utilisation, and overall cost efficiency.
In the face of evolving market dynamics and growing customer expectations, contemporary freight companies find themselves under significant pressure to optimise their operational efficiency. In response to this challenge, the utilisation of advanced methodologies becomes crucial. Hence, the DES technique can offer a robust framework for dissecting and analysing complex operational processes. Although DES can mimic several aspects of real operations to facilitate decision making, it is difficult to simulate stochastic routing using this method. This paper proposes a two-tier H&S architecture to address the stochastic nature of freight truck routing to be integrated with a DES model for last-mile operational decision making. Compared to existing last-mile methods, the proposed method simulates real operational processes with more stochastic values and routes. Furthermore, this method provides potentially valuable pragmatic insights into the realm of business operations.

2. Literature Review

The development of urban cities calls for the optimisation of urban logistics systems to enhance efficiency and accommodate the needs of the growing population. Hence, digitalising last-mile delivery and implementing smart city logistics have emerged as prominent and highly discussed subjects. Smart city logistics require interdisciplinary knowledge, necessitating innovative advancements in logistics business practices and the integration of new technologies [4,5]. Moreover, to effectively assess and manage logistics systems, the development and application of more comprehensive metrics are imperative.
Last-mile modelling comprises a comprehensive range of elements, spanning from operations modelling and routing to clustering and structural analysis. Within the context of this study, the literature review segment embarked on an exploration of various facets. It firstly reviewed freight last-mile modelling techniques, followed by clustering and the H&S architecture.

2.1. Modelling Freight Last Mile

Various freight last-mile models have been created, including mathematical models, computer simulation models, and GIS-based models.

2.1.1. Vehicle Routing Problem

Existing mathematical techniques were applied to solve freight routing, called vehicle routing problems (VRPs). The variants of VPRs include the node routing problem (NRP) [6,7], travelling salesman problem (TSP) [8,9,10], arc routing problem (ARP) [11,12,13], rural postman problem (RPP) [14,15], and Chinese postman problem (CPP) [16,17,18]. Locations and routes are simplified as vertices, arcs (directed routes), and edges (undirected routes). These mathematical models have a prescribed objective function and constraints [19]. They are used to optimise the route in terms of travel time, travel distance, and transportation costs.
The benefit of using mathematical models is the model is easy to formulate. However, in order to reduce the complexity of calculation, mathematical models used to solve the problem need to make simplifications [20,21]. Furthermore, stochastic parameters and various systems and operations are difficult to incorporate into these models [22], so it can be challenging to represent real logistics cases.

2.1.2. Computer Simulation Techniques

Computer simulation techniques are applied to solve logistics problems. Typical techniques are discrete-event simulation (DES) and agent-based simulation (ABS). The main difference between them is that ABS takes into account individual behaviour, whereas DES structures the entire system [23]. These techniques can deal with stochastic randomness by using probability distributions and the Monte Carlo method and capture the detailed operational behaviour of systems. Therefore, the result can be more realistic and can reflect the variability of the system [24]. Hence, these simulation models tend to be more versatile than conventional mathematical models to describe complex systems [19].
DES has been applied to various areas of logistics. A DES model of a rail network in SIMUL 8 was designed by Marinov and Vigeas [25]. The rail network was decomposed into flat-shunted rail yards, rail freight terminals, railway double lines, and rail passenger stations. Automatic guided vehicles (AGVs) were evaluated in a production logistics system by DES [26]. The number, speed, and load capacity of AGVs and logistics buffers were optimised regarding resource allocation. Service network design was conducted by DES to include stochastic transportation times [27]. The vehicle routing problem was involved in estimating intermodal and unimodal transport in terms of costs and delays.
One approach used to simulate last-mile delivery across multiple clusters is to develop a DES model based on intersections [28]. Nevertheless, due to the effort involved in the development of the model, it is not well-suited for representing the intricate activities that occur within urban regions. A two-tier architecture was proposed to simulate freight operations for a large cluster incorporating cluster analysis [29]. The study outlines the methodology for modelling freight operations and how the cluster approach can be utilised to construct a DES model.
While computer simulation techniques are powerful, they have the limitation of being unable to conduct any geographical analysis. They need the delivery network to be predefined before building the simulation model; hence, they are unable to optimise geographic parameters.

2.1.3. Geographic Information System

GIS is a tool that can be used to manage and analyse a large set of spatial data. It has aided in solving various logistics problems, including hub location problems [30], emergency logistics distribution [31], urban logistics system design [2], CO2 emissions reduction of distribution [32], and logistics process monitoring [33]. Clustering analyses were also conducted by taking advantage of GISs to display larger spatial data [34,35,36]. Specifically, it has been used to develop a last-mile delivery model by solving the TSP algorithm [28].
However, there are some limitations of GIS-based last-mile delivery models, particularly their requirement for deterministic input data. They cannot accommodate variability or stochasticity. Although the method can show routes, the variability of freight operations is difficult to include, such as random customer locations and freight demands, as this potentially results in different routes each day. While this is somewhat true of the adaptability of real driver behaviour, it is unhelpful when considering routes over a longer period of time, such as a year’s operation. In addition, other important freight operations, including freight consolidation and pickup-and-delivery (PUD) activities, are unable to be incorporated into the model.

2.2. Clustering Methods

Clustering analysis is important to freight transport modelling since the models involve the distribution of customer locations. To analyse a group of homogeneous locations and simplify the network, clustering methods are used to partition and differentiate locations. The clustering method has been used in different disciplines to group data points such as biology [37], medicine [38], chemistry [39], and computer science [40].
Clustering methods have been applied to logistics problems in group locations. The most common methods are density-based clustering and K-means clustering. The density-based clustering method works by sensing areas of points that are more concentrated or sparse [41]. The outlier points excluded from the part of a cluster are labelled as noise. Additionally, the time of the points can also be used to find potential groups of points that cluster in a given space and time. This approach relies on unsupervised machine learning clustering algorithms, which autonomously discern patterns by considering the spatial proximity and distance between neighboring points. There are several algorithms of this method, including density-based spatial clustering of applications with noise (DBSCAN) [42], hierarchical density-based spatial clustering of applications with noise (HDBSCAN) [43], and ordering points to identify the clustering structure (OPTICS) [44]. Density-based clustering has been applied to select providers for healthcare manufacturers [45] and cluster areas for crowdsourcing [46].
The Euclidean clustering method is similar to the density-based clustering method, as both methods consider Euclidean distances in their processes. However, there are notable distinctions between the two approaches. While the density-based clustering method delineates distances based on circular regions, the Euclidean clustering method calculates distances between individual data points [47]. Consequently, the density-based clustering method yields clusters of varying sizes, while the Euclidean clustering method produces clusters of more uniform sizes with reduced noise. Nevertheless, the presence of noise impacts the formation of clusters.
Consequently, the density-based clustering method is particularly valuable in scenarios characterised by fluctuating cluster densities, irregular geometries, and the need for robust noise point identification. In contrast, Euclidean methods find applicability in situations where clusters are anticipated to exhibit consistent sizes and spherical shapes, especially when the number of clusters is either predetermined or can be reliably estimated. In freight logistics, the considerable diversity in customer locations results in varying cluster densities, shapes, and sizes. In such cases, the employment of the density-based clustering method proves to be more advantageous and appropriate.
The K-means clustering method is a centroid-based clustering method. Centroids are initially deployed and data points are assigned based on the sum of distances [48]. The goal of K-means is to group similar data points and assign them to clusters, where each cluster is represented by its centroid. Applications of the K-means algorithm include clustering restaurants around distribution centres [49], hub location optimisation [50], urban freight loading bay management [51], and locating urban facilities [52]. One significant disadvantage of the K-means clustering method is that similarity is not considered in the development of clusters [53].
In comparison with the density-based clustering method, the K-means clustering technique strives to minimise inter-data distances and finds its relevance in situations where clusters are expected to display consistent sizes and shapes. Therefore, within the context of freight logistics, the density-based clustering method emerges as a more appropriate choice for accommodating data variations.

2.3. Hub and Spoke Architecture

The H&S architecture has been used to describe urban freight transport. It is occasionally combined with clustering analysis. The benefits of applying a clustering algorithm to freight delivery models are that customer locations can be represented as clusters in an H&S architecture, with corresponding truck allocation plans. In an H&S architecture, hubs refer to warehouse points and are connected by travel routes, which are simplified as spokes. The H&S architecture has been applied to structure logistics systems; for example, freight line-haul transport [54,55], intra-city metro logistics [56], retail distribution systems [57], and parcel mail delivery [58,59]. A genetic-based fuzzy C-means clustering method was applied to develop an H&S model for an underground logistics system [60]. These models are mathematic models that were used to optimise systems in terms of lead times, truck utilisation rates, and transportation costs. Last-mile routes formulated by these models are deterministic. However, in practical freight operations, routes are stochastic in last-mile delivery.
However, there is little to no use of this structure in simulating the last-mile route. This is probably because many last-mile delivery problems have an approximately homogenous distribution of addresses, so it is difficult to distinguish any structure. Also, last-mile delivery is notoriously for the day-to-day variability of addresses and consignment attributes of weight and volume. Hence, there is a need to formulate a last-mile delivery model with stochastic parameters.

2.4. Gaps in Modelling Last-Mile Delivery

Modelling urban last-mile delivery operations has historically been challenging. The existing H&S-based mathematical models and GIS-based models have been designed to address specific delivery scenarios with a large number of deterministic values, and are easy to construct and useful in specific cases. However, real-world freight operations are far more complex, and these simplified models prove inadequate for informed decision making by freight companies [61]. The complexity arises from the massive and unpredictable nature of customer locations, with high day-to-day variability of both addresses and the weight (or volume) of consignments.
Although computer simulation techniques such as DES have been employed to simulate freight logistics for decision making, the geographic question—namely the variability in routing—is problematic in these techniques. Consequently, there arises a need to develop a method that can support computer simulation techniques for running last-mile simulations while incorporating stochastic routing variables to facilitate more effective decision making about truck allocation.
The proposed method integrates the two-tier H&S architecture with a DES model. This integration—which has otherwise not been shown in the literature—enables the incorporation of extensive stochastic operational and route values, facilitating a more comprehensive and realistic representation of complex operational scenarios. Consequently, the proposed integration establishes a framework for logistics that aligns with the intricate demands of modern large-scale logistics operations.

3. Method

3.1. Research Objective

The objective of this study was to develop a routing architecture integrating a DES last-mile delivery model for a city scale to capture the variability in operations and support decision making. The method is intended to either optimise current freight operations or evaluate operations for new territories.

3.2. Context

Christchurch city is the business area under consideration, and is the largest city on the South Island of New Zealand. There are various residential and industrial areas in this city. The city encompasses a diverse range of residential and industrial zones, contributing to its dynamic nature. Consequently, freight consignments in this area exhibit substantial daily fluctuations in demand. The business mode was investigated, known as less-than-container-load (LCL), wherein consignments from various customers are consolidated onto a single truckload. This consolidation is then efficiently carried out using milk runs within the urban area pickup or delivery. Typically, the number of consignments handled ranges between 10 and 15 per truckload. The transportation process involves morning freight deliveries to expedite dock clearance, followed by afternoon freight pickups. Consequently, it is expected that the duration of the delivery run should ideally remain within a 2-h timeframe. In practice, the research team had access to one quarter’s actual delivery data for the whole city, including the allocated runs. The data for each quarter exhibit similar patterns of customers, thereby providing adequate insights for analysis.

3.3. Two-Tier H&S architecture

In order to capture variability in truck routing for various clusters and accommodate the inherent structure of DES, the routes need to be represented by a simplified architecture. A two-tier H&S architecture was developed to simulate the variable truck routes for each cluster by fluctuating route distances. The delivery route was partitioned into two tiers for the entire H&S architecture, as illustrated in Figure 1. The first-tier spans from the depot to each cluster centre, while the second tier extends from the cluster centre to each customer. Specifically, the hubs in this architecture refer to cluster centres rather than physical logistics hubs.
To compute the first-tier distance ( D f ) , the cluster mean centre should be determined first [29]. Subsequently, the second-tier distance ( D s ) for each customer location exhibits a stochastic nature, which can be computed by multiplying the Euclidean distance ( D e ) between the cluster centre and the customer locations by a factor R. Hence, the total travel distance ( D t o t a l ) for the journey can be computed as:
D t o t a l = 2 × D f + D s ( i ) i N
D s i = R × D e ( i ) i N
The R-value is introduced to adjust the total second-tier distance and approximate the actual delivery distance. To determine the R-value, a TSP simulation technique can be optimised to simulate delivery routes and calculate the total route distance ( D t ). By using Equation (3), the hypothetical second-tier distance ( D m ) can be computed, and Equation (4) can then be employed to determine a suitable R-value based on a single TSP simulation.
D m = D t 2 × D f
R = D m D s

3.4. Approach

The first stage was to use GIS methods to determine delivery clusters at a city level. This was then followed by the development of a two-tier H&S architecture, which was then implemented in DES. The modelling process includes multiple stages as Figure 2 shows.
Stage 1: Customer locations based on the consignment data were identified by using ArcGIS® Pro (version 3.0.1) software. DBSCAN clustering technique was applied to determine distinct clusters. Through several iterations, adjustments were made to refine the clustering results. The DBSCAN results were evaluated based on two criteria: ensuring that cluster size is not excessively large and that cluster shapes align with the requirements of the H&S model. Hence, the initial clustering results were adapted considering freight attributes such as weight, volume, and geographic considerations.
Stage 2: The cluster centres were identified to calculate the first-tier and second-tier distances. The second-tier distances were fitted into gamma distributions.
Stage 3: A truck allocation plan was defined based on clustering results. The principle was to match the appropriate trucks to the expected freight volume and weight for efficient delivery based on the freight demand for each cluster and the capacities of the available trucks.
Stage 4: TSP simulations were conducted for each cluster based on customer locations. The results were used to calculate the R-values for adjusting the two-tier H&S architecture. The R-values were fitted into normal distributions.
Stage 5: A two-tier H&S architecture was developed and integrated with a DES model, which represents the freight operations, to conduct stochastic simulation. Operational data, consignment data, and truck speeds were input into the DES model.

3.5. Determining Clustering Methods in ArcGIS

There are multiple density-based clustering methods, including DBSCAN, HDBSCAN, and OPTICS; see Table 1. All three methods were attempted, and DBSCAN was selected based on the following criteria. Firstly, geographical consistency and cluster shape are crucial, as clusters should exhibit clear partitioning and concentration. In addition, it is important that consignment fulfilment requirements are met, i.e., clusters must cover specific suburbs rather than having overlapping runs. Furthermore, operational simplicity is another key factor, as the clustering method should be able to handle a large number of location points and adjust according to real freight operations.
The ‘number of data points’ corresponds to the data points on the map, whereas the concept of the ‘minimum number of data points’ pertains to clusters that contain fewer data points than this designated threshold. Clusters falling below this minimum data point count are designated as noise due to their inability to form a substantial grouping worthy of classification as a cluster. Alternatively, these smaller clusters may be merged with neighboring clusters, facilitating adherence to the stipulated minimum data point count criterion.
The ‘search distance’ parameter serves the purpose of seeking out the ‘number of data points’ within a specified range. This entails identifying data points that fall within a certain proximity of a given reference point, contributing to the determination of the data point count within the specified distance.

4. Results

4.1. Clustering for Christchurch City

One-quarter of consignment locations were input and identified by ArcGIS® Pro (version 3.0.1). The clustering analysis was executed for the whole city using DBSCAN, with iterations being conducted to decide the cluster results. A changing set of values for input parameters (minimum number of data points and search distance) was used. The ‘minimum number of data points’ refers to customer locations (addresses). Table 2 indicates the parameters used for cluster determination. The initial iteration ( N m i n = 20 , R s e a r c h = 2000 ) yielded four clusters. One of these clusters was dislocated from all the others, and hence retained as an independent cluster. The remaining three clusters were then reanalysed in Iteration 2 ( N m i n = 250 , R s e a r c h = 1250 ) , where these parameters were determined by a trial-and-error process. The objective was to produce clusters that were geographically distinct. Repetition of this process resulted in the progressive identification of clusters; see Figure 3.
After the four iterations of clustering, the residual noise points—addresses that had not been assigned to a cluster—were manually assigned to the nearest clusters. Clustering results for the whole of Christchurch city at the end of this process are shown in Figure 4.
The nine independent clusters represent a number of suburb areas grouped together considering the proximity of noise points to the initially designated clusters. The consignment demands for clusters are shown in Table 3.
The suburbs are allocated based on the results from DBSCAN and the noise points around the cluster. The cluster sizes vary depending on the business volumes (weight, volume, and shipments) for individual suburb areas. From the study, Cluster 6, 7, and 8 have relatively high numbers of shipments per day. Also, the average weight and volume are higher for these clusters. Cluster 2, 5, and 9 have moderate levels of shipments per day. The average weight and volume are also moderate for these clusters. For Cluster 1, 3, and 4, the number of shipments per day is only 2, 8, and 9, respectively, which is not a sustainable solution. The average weight and volume are the lowest for these clusters.
Although the DBSCAN method was used for city clustering, it provided only a basic level of cluster formation. Limitations were small clusters, mixed clusters, and a lack of incorporation of route realities. Thus, further manual judgment was required to arrive at practical results, as shown next.

4.2. Modified Clustering Results

Considering freight demand and geographical distribution, modifications of the initial clustering results were conducted. Clusters were further regrouped considering the density of consignments in a particular area. Clusters 1 and 9 were grouped into Cluster A, and Cluster 3 and 4 were merged into Cluster C. As shown in Figure 5, seven clusters were formed with cluster mean centres, namely A, B, C, D, E, and G. This was executed to manage clusters and achieve better control of route efficiencies and workload balancing.
Figure 6 presents the adjusted clustering results, which have been integrated into the two-tier H&S architecture within the Arena® (version 16.2) DES software for simulation purposes. The corresponding consignment demands are shown in Table 4.

4.3. Truck Allocation

Several functional factors were considered for the allocation of resources, including freight average and maximum demands, truck capacities, filling rate, workload balancing for business requirements, and real-world operational constraints. Based on the practical truck fleet, two types of LCL trucks were considered. The first one is the regular truck, with a capacity of 27 t and 48 m3. The second is the truck with a trailer with a capacity of 54 t and 96.1 m3. One float truck was allocated to serve all clusters to level off the daily variations in the freight business. The detailed explanation of the truck allocation for each cluster is as follows.
The average daily total weight and volume for clusters A and B are sufficient for being accommodated by one regular truck each. However, the maximum weight or volume is sometimes beyond the capacity. The truck with a trailer was allocated to deal with variations. In addition, there are several open roads in these two areas, which are appropriate for the truck with a trailer.
For clusters C and D, the average daily demand is lower than the capacity of the regular truck. Therefore, one regular truck was allocated to each cluster. The excess volume would be carried by the floater. As these two clusters are mainly residential areas, the truck with a trailer is inappropriate for the road conditions.
For clusters E and F, two regular trucks were allocated to each cluster, respectively, to handle the demand. The truck with a trailer was not chosen because these two clusters are business areas. Long trucks have constraints in these areas.
For cluster G, four regular trucks were selected to cope with the large demand. In addition, this cluster is located in the industrial area and near the depot so the regular trucks can provide a rapid response rather than big trucks.
Table 5 presents the truck allocation for clusters.
Based on the allocation result, a total of 12 regular trucks of varying capacities and 1 float truck for the potential excess shipments were allocated for an average of 248 shipments per day.

4.4. Developing a Two-Tier H&S Architecture

The parameters for the H&S network were obtained using ArcGIS® Pro (version 3.0.1) software, which employed the ‘near’ function to calculate the linear distances between the mean centre and each customer address, as well as the distance between the depot and the mean centre. The result of this process produced ten groups of R values (see Equation (2)), which represented the variability in R as a probability distribution. For this study, the normal distribution was chosen due to its compatibility with positive R values and its lower bound per [29]. The spoke distances were established by using gamma distributions.
The daily average shipments for each cluster were used to determine the number of consignments considered, as it was deemed the most reliable instance for each cluster on a day-to-day basis. However, distribution fitting methods could be utilised for larger samples to determine the optimal distribution. A delivery run was simulated using the daily average number of shipments for each cluster. Ten sets of random consignment addresses were generated for each cluster, with each set corresponding to the average consignment number.
Using the ‘Near’ function in ArcGIS® Pro (version 3.0.1), the linear distance between the mean centre and each customer address for each of the seven clusters was calculated. Finally, optimised routes for each set were generated using the ‘Find Routes’ function, which determines the shortest path used to visit each address and provides driving directions, information about the visited address, route paths, travel time, and distance. The value of R is defined as the ratio of the last-mile distance obtained from the ‘Find Routes’ function (TSP) and the second-tier linear distances obtained from the ‘Near’ function. To determine the extent of variability of actual and second-tier distances across different clusters, a statistical analysis of R values was conducted using the normal distribution method for all clusters. Table 6 indicates the parameters for the H&S model.

4.5. Discrete-Event Simulation

4.5.1. Architecture of DES Model

The freight delivery model for Christchurch city was built from the clusters developed from ArcGIS® Pro (version 3.0.1) and then implemented in a simulation model using Arena® (version 16.2) software. The total distance travelled by each truck was divided into a three-segment path for simplification: from the depot to the mean centre of each cluster, from the mean centre of the cluster to each customer address, and finally from the mean centre to the warehouse depot. Arena® uses graphic block diagram models to represent the logical flow of job entities. A high-level view of the hub–spoke model is shown in Figure 5.

4.5.2. Input Data

Poisson distributions for consignment numbers were obtained by fitting, and normal distributions of R values and gamma distributions of last-mile distance for clusters were as above. Trucks were defined based on the allocation plan. The truck speed was considered the same for all trucks, which is 30.6 km/h according to the real GPS data. Simulation input parameters are shown in Table 7.

4.5.3. Implementation

The DES model was divided into two modules, truck allocation and first-tier delivery, and the second-tier delivery. The architecture of the truck allocation and first-tier delivery is shown in Figure 7.
The module of the second tier for each cluster is similar. Figure 8 illustrates the second-tier delivery for cluster A.

4.5.4. Simulation Results

The simulation was performed for 100 replications, each representing a day’s worth of consignments. For each replication, a random number of consignments and a random last-mile distance were generated. The KPI results of the simulation are presented in Table 8.
The travel distance per truck encompasses both the forward and return distances originating from the depot. The travel time for Cluster C is large due to its considerable distance from the depot and the largest cluster size. The travel times for the rest of the clusters are around 1 h. Based on the simulation results, the average residual shipment number for the city (over all the clusters) is 17, which means that these consignments cannot be delivered by the regular trucks and would require the use of floater trucks. One floater truck should be sufficient for handling these remaining shipments.
The results also show that the trucks serving Cluster C have the longest travel distance and time, as this cluster is the furthest from the depot. On the other hand, trucks serving Clusters F and G have shorter travel distances and time because they are closer to the depot. Based on this information, it may be possible to reduce the number of trucks used for these two clusters and have another delivery round, which could potentially save transportation costs.

5. Discussion

5.1. Comparison with Current Truck Allocation

The predicted number of trucks is smaller than the current number. In the actual delivery operations for the Christchurch city area, there are 18 trucks serving the city. The comparison of daily consignment weight and volume between the current truck allocation and the proposed truck allocation is shown in Table 9.
The proposed truck allocation plan reduced the overall number of regular trucks and floater trucks while increasing the utilisation of freight weight and volume for each individual truck. The standard deviation indicates a more balanced distribution of freight among the trucks, suggesting a greater similarity in the assignment of freight loads to each truck. The reduction in the overall number of trucks has the potential to significantly mitigate the company’s operating expenses, leading to substantial cost savings.
The delivery approach adopted by the freight company was variable in nature and the distribution map appears to be flexible with multiple overlaps and is not limited to serving specific areas. Further analysis of this situation revealed that a clustering method in such a context is hardly plausible due to the high variability in the current distribution strategy. Nominally, each driver is allocated to one suburb, and some suburbs (such as the central city) may have two drivers allocated. However, the actual allocations show extensive overlap. In particular, many suburbs are serviced by multiple drivers, up to six in some cases. Some of these deliveries are outliers, which implies that the driver was filling in capacity.
Even so, the operational model of the freight company is much more one of overlapping provision than strict geographic territorialism [62]. Presumably, this strategy gives the organisation redundancy against driver non-availability, and surges in workload [63].

5.2. Implications

Logistics practitioners can leverage the DBSCAN clustering method in various ways within an academic context. One potential application involves utilising the method to develop an optimised network for a new business area. By providing a list of potential customers within a previously unexplored region, the cluster method can estimate the necessary fleet size and associated resource requirements. Additionally, it can generate valuable insights regarding delivery performance indicators, such as the time taken to complete each delivery round. These metrics play a critical role as it is typically imperative to clear the dock of all consignments within a single day, minimising the need to carry excessive workloads forward to subsequent days.
Freight logistics companies and distributors could consider clustering analysis and the DES approach presented in this work as a basis for resource planning and cost-controlling measures for large freight business models. Business owners and drivers could consider developing delivery groups, route planning, and improving operational efficiencies by adopting the findings from this work. Logistic managers could use the results from the work to effectively manage a dynamic operation setup and lower costs to improve resource utilisation. This research work attempts to solve real-life freight logistics problems for Christchurch city by using density-based clustering analysis and the DES approach.
To adequately address the clustering problem, in effect, a combination of the DBSCAN method and additional manual processing and judgements was required to reach feasible and improved results. The DBSCAN method produced good clusters when considering distance as the prime variable. However, it was ineffective from the perspective of driver workload (number of consignments). For example, some clusters had only 2 consignments per day, whereas others had up to 81 consignments per day. This is impractical for real operations of truck allocation, and is also an inefficient use of trucks. Consequently, it was necessary to manually regroup by merging small clusters into nearest other clusters. It may also be necessary to split excessively large clusters, though another solution is to allocate more than one truck, as here. The DBSCAN algorithm implicitly assumes that a truck is an infinitely flexible resource—it does not take into account that trucks are of fixed capacity and that the filling rate (utilisation) needs to be high for economic reasons. Such intervention in the DBSCAN results would be necessary each time the consignment profile changed radically. Nonetheless, human intervention is relatively easy to perform—the total time including the GIS processing would be several hours of human effort. Hence, the method may be less suitable where there is high variability in the consignment profile. It is inevitable that human judgements will have a subjective element.

5.3. Limitations

One limitation of the study is that the trucks were assumed to travel at the same speed. This is a reasonable simplifying assumption for an urban region where the roads are all of the same speed limits and congestion is homogenous. In practice, variations across a city are expected, e.g., certain trucks may have better capabilities to optimise trunk routes, which could result in different speeds. In principle, a cluster model could be developed to accommodate different speeds on the routes. A GIS model can be leveraged to establish these parameters, as demonstrated in a previous study [28].
The DBSCAN algorithm needs human inventions to achieve practical results due to the nature of the mechanism. Hence, the clustering results could be improved by incorporating more constraints in the future.

5.4. Future Work

There are some areas that could be explored in future work. The study revealed that further optimisation could be performed based on more practical constraints for each cluster, such as road and traffic conditions, parking issues, and driver availability. Due to the development of urban cities, these constraints hold considerable relevance in shaping efficient freight operations. Another area is to explore the use of alternative transportation modes, such as drones or autonomous vehicles, for enhancing last-mile delivery efficiency. This avenue could be further explored by subjecting the simulation model to various scenarios. This could involve assessing the feasibility and cost-effectiveness of integrating these modes into the existing truck-based delivery system. Additionally, the model could be extended to include environmental considerations, such as carbon emissions and air quality, to support sustainable transportation planning. The application of emerging modes could facilitate smart city logistics, thereby fostering comprehensive urban development.

6. Conclusions

This study introduces a two-tier H&S architecture to address route variability and integrate with a DES model for operational decision making. The operations simulation component of the approach has proven to be particularly useful, providing insights into the travel distance and time associated with the delivery operations. This information can serve as a foundation for future efforts aimed at enhancing the efficiency of delivery operations. The DBSCAN clustering method was employed to derive customer clusters and facilitate the truck allocation plan. By employing the proposed architecture, clusters of customers can be efficiently assigned to drivers and simulated with an operations model, thereby improving resource allocation and operational efficiency.
The integration of spatial analysis, stochastic modelling, and simulation techniques offers practical benefits for logistics practitioners seeking to establish optimised delivery networks and truck allocation in new territories. This research contributes to the field by providing a methodological framework that can be readily applied in real-world logistics scenarios, leading to improved resource allocation, reduced costs, and enhanced operational performance.

Author Contributions

Conceptualisation, Z.L. and D.P.; methodology, Z.L. and D.P.; software, Z.L. and G.P.; validation, Z.L.; formal analysis, Z.L.; investigation, Z.L.; resources, Z.L. and D.P.; data curation, Z.L.; writing—original draft preparation, Z.L., D.P. and G.P.; writing—review and editing, Z.L., D.P. and Y.Z.; visualisation, Z.L. and D.P.; supervision, Z.L., D.P. and Y.Z.; project administration, Z.L. and D.P.; funding acquisition, Z.L. and D.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Callaghan Innovation New Zealand, grant number MAIN1901/PROP-69059-FELLOW-MAIN, and by Transport Research Scholarship from the Ministry of Transport New Zealand.

Institutional Review Board Statement

This study was conducted in accordance with the Declaration of Helsinki and approved by the University of Canterbury Human Ethics Committee (protocol code HEC 2020/65/LR-PS, 9 November 2020).

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

Not applicable.

Acknowledgments

We wish to thank Mainfreight Ltd., in particular, Shaun Morrow, for generous assistance and support. We also extend our appreciation to Callaghan Innovation New Zealand and the Ministry of Transport New Zealand for funding and support.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Huang, L.J. The key technology research for logistics vehicle monitoring system based on GPS. In Proceedings of the 4th International Conference on Intelligent System and Applied Material, GSAM 2014, Taiyuan, China, 23–24 August 2014; Trans. Tech. Publications Ltd.: Bäch, Switzerland, 2014. [Google Scholar] [CrossRef]
  2. Sgura Viana, M.; Delgado, J.P.M. City Logistics in historic centers: Multi-Criteria Evaluation in GIS for city of Salvador (Bahia Brazil). Case Stud. Transp. Policy 2019, 7, 772–780. [Google Scholar] [CrossRef]
  3. Wang, J.-Y.; Xu, H.-C. Transportation route optimization with cost object in China. Clust. Comput. 2016, 19, 1489–1501. [Google Scholar] [CrossRef]
  4. Pan, S.; Zhou, W.; Piramuthu, S.; Giannikas, V.; Chen, C. Smart city for sustainable urban freight logistics. Int. J. Prod. Res. 2021, 59, 2079–2089. [Google Scholar] [CrossRef]
  5. Kong, X.T.R.; Yang, X.; Peng, K.L.; Li, C.Z. Cyber physical system-enabled synchronization mechanism for pick-and-sort ecommerce order fulfilment. Comput. Ind. 2020, 118, 103220. [Google Scholar] [CrossRef]
  6. Aliahmadi, S.Z.; Barzinpour, F.; Pishvaee, M.S. A fuzzy optimization approach to the capacitated node-routing problem for municipal solid waste collection with multiple tours: A case study. Waste Manag. Res. 2020, 38, 279–290. [Google Scholar] [CrossRef]
  7. Salazar-Aguilar, M.A.; Langevin, A.; Laporte, G. The synchronized arc and node routing problem: Application to road marking. Comput. Oper. Res. 2013, 40, 1708–1715. [Google Scholar] [CrossRef]
  8. Kumar, A. Improved Genetic Algorithm to Solve Small Scale Travelling Salesman Problem. In Proceedings of the 2020 International Conference on Intelligent Computing and Control Systems, ICICCS 2020, Madurai, India, 13–15 May 2020. [Google Scholar] [CrossRef]
  9. Agrawal, M.; Jain, V. Applying Improved Genetic Algorithm to Solve Travelling Salesman Problem. In Proceedings of the 2nd International Conference on Inventive Research in Computing Applications, ICIRCA 2020, Coimbatore, India, 15–17 July 2020. [Google Scholar] [CrossRef]
  10. Silva, B.C.H.; Fernandes, I.F.C.; Goldbarg, M.C.; Goldbarg, E.F.G. Quota travelling salesman problem with passengers, incomplete ride and collection time optimization by ant-based algorithms. Comput. Oper. Res. 2020, 120, 104950. [Google Scholar] [CrossRef]
  11. Zbib, H.; Laporte, G. The commodity-split multi-compartment capacitated arc routing problem. Comput. Oper. Res. 2020, 122, 104994. [Google Scholar] [CrossRef]
  12. Amini, A.; Tavakkoli-Moghaddam, R.; Ebrahimnejad, S. A bi-objective transportation-location arc routing problem. Transp. Lett. 2020, 12, 623–637. [Google Scholar] [CrossRef]
  13. Padungwech, W.; Thompson, J.; Lewis, R. Effects of update frequencies in a dynamic capacitated arc routing problem. Networks 2020, 76, 522–538. [Google Scholar] [CrossRef]
  14. Campbell, J.F.; Corberan, Á.; Plana, I.; Sanchis, J.M.; Segura, P. Solving the length constrained K-drones rural postman problem. Eur. J. Oper. Res. 2021, 292, 60–72. [Google Scholar] [CrossRef]
  15. Benavent, E.; Corberan, Á.; Lagana, D.; Vocaturo, F. The periodic rural postman problem with irregular services on mixed graphs. Eur. J. Oper. Res. 2019, 276, 826–839. [Google Scholar] [CrossRef]
  16. Afanasev, V.A.; van Bevern, R.; Tsidulko, O.Y. The Hierarchical Chinese Postman Problem: The slightest disorder makes it hard, yet disconnectedness is manageable. Oper. Res. Lett. 2021, 49, 270–277. [Google Scholar] [CrossRef]
  17. Siloi, I.; Carnevali, V.; Pokharel, B.; Fornari, M.; Di Felice, R. Investigating the Chinese postman problem on a quantum annealer. Quantum Mach. Intell. 2021, 3, 3. [Google Scholar] [CrossRef]
  18. Majumder, S.; Kar, S.; Pal, T. Uncertain multi-objective Chinese postman problem. Soft Comput. 2019, 23, 11557–11572. [Google Scholar] [CrossRef]
  19. Altiok, T.; Melamed, B. Chapter 1—Introduction to Simulation Modeling. In Simulation Modeling and Analysis with ARENA; Altiok, T., Melamed, B., Eds.; Academic Press: Burlington, VT, USA, 2007; pp. 1–10. ISBN 978-0-12-370523-5. [Google Scholar] [CrossRef]
  20. Robinson, S. Successful Simulation: A Practical Approach to Simulation Projects; McGraw-Hill: London, UK; New York, NY, USA, 1994; ISBN 0077076222. [Google Scholar]
  21. Bianchi, L.; Dorigo, M.; Gambardella, L.M.; Gutjahr, W.J. A survey on metaheuristics for stochastic combinatorial optimization. Nat.Comput. 2009, 8, 239–287. [Google Scholar] [CrossRef]
  22. Dessouky, M.M.; Leachman, R.C. A Simulation Modeling Methodology for Analyzing Large Complex Rail Networks. Simulation 1995, 65, 131–142. [Google Scholar] [CrossRef]
  23. Kogler, C.; Rauch, P. Discrete event simulation of multimodal and unimodal transportation in the wood supply chain: A literature review. Silva Fenn. 2018, 52, 9984. [Google Scholar] [CrossRef]
  24. Marinov, M.; Viegas, J. A simulation modelling methodology for evaluating flat-shunted yard operations. Simul. Model. Pract. Theory 2009, 17, 1106–1129. [Google Scholar] [CrossRef]
  25. Marinov, M.; Viegas, J. A mesoscopic simulation modelling methodology for analyzing and evaluating freight train operations in a rail network. Simul. Model. Pract. Theory 2011, 19, 516–539. [Google Scholar] [CrossRef]
  26. Li, G.; Yang, S.; Xu, Z.; Wang, J.; Ren, Z.; Li, G. Resource allocation methodology based on object-oriented discrete event simulation: A production logistics system case study. CIRP J. Manuf. Sci. Technol. 2020, 31, 394–405. [Google Scholar] [CrossRef]
  27. Elbert, R.; Muller, J.P. Analyzing the Influence of Costs and Delays on Mode Choice in Intermodal Transportation by Combining Sample Average Approximation and Discrete Event Simulation. In Proceedings of the 2019 Winter Simulation Conference, WSC 2019, National Harbor, MD, USA, 8–11 December 2019; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2019. [Google Scholar] [CrossRef]
  28. Lyu, Z.; Pons, D.; Zhang, Y.; Ji, Z. Freight Operations Modelling for Urban Delivery and Pickup with Flexible Routing: Cluster Transport Modelling Incorporating Discrete-Event Simulation and GIS. Infrastructures 2021, 6, 180. [Google Scholar] [CrossRef]
  29. Lyu, Z.; Pons, D.; Chen, J.; Zhang, Y. Developing a Stochastic Two-Tier Architecture for Modelling Last-Mile Delivery and Implementing in Discrete-Event Simulation. Systems 2022, 10, 214. [Google Scholar] [CrossRef]
  30. Shahparvari, S.; Nasirian, A.; Mohammadi, A.; Noori, S.; Chhetri, P. A GIS-LP integrated approach for the logistics hub location problem. Comput. Ind. Eng. 2020, 146, 106488. [Google Scholar] [CrossRef]
  31. Qi, C.; Fang, J.; Sun, L. Implementation of emergency logistics distribution decision support system based on GIS. Clust. Comput. 2019, 22, 8859–8867. [Google Scholar] [CrossRef]
  32. Schroder, M.; Cabral, P. Eco-friendly 3D-Routing: A GIS based 3D-Routing-Model to estimate and reduce CO2-emissions of distribution transports. Comput. Environ. Urban Syst. 2019, 73, 40–55. [Google Scholar] [CrossRef]
  33. Yu, Y.-W.; Jung, H.; Bae, H. Integrated GIS-Based Logistics Process Monitoring Framework with Convenient Work Processing Environment for Smart Logistics. ETRI J. 2015, 37, 306–316. [Google Scholar] [CrossRef]
  34. Kazmi, S.S.A.; Ahmed, M.; Mumtaz, R.; Anwar, Z. Spatiotemporal Clustering and Analysis of Road Accident Hotspots by Exploiting GIS Technology and Kernel Density Estimation. Comput. J. 2020, 65, 155–176. [Google Scholar] [CrossRef]
  35. Liu, M.; Liu, M.; Li, Z.; Zhu, Y.; Liu, Y.; Wang, X.; Tao, L.; Guo, X. The spatial clustering analysis of COVID-19 and its associated factors in mainland China at the prefecture level. Sci. Total Environ. 2021, 777, 145992. [Google Scholar] [CrossRef]
  36. Xu, H.; Croot, P.; Zhang, C. Discovering hidden spatial patterns and their associations with controlling factors for potentially toxic elements in topsoil using hot spot analysis and K-means clustering analysis. Environ. Int. 2021, 151, 106456. [Google Scholar] [CrossRef]
  37. Johnson, S.C. Hierarchical clustering schemes. Psychometrika 1967, 32, 241–254. [Google Scholar] [CrossRef] [PubMed]
  38. Si, J.; Tian, Z.; Li, D.; Zhang, L.; Yao, L.; Jiang, W.; Liu, J.; Zhang, R.; Zhang, X. A multi-modal clustering method for traditonal Chinese medicine clinical data via media convergence. CAAI Trans. Intell. Technol. 2023, 8, 390–400. [Google Scholar] [CrossRef]
  39. Basak, S.C.; Magnuson, V.R.; Niemi, G.J.; Regal, R.R. Determining structural similarity of chemicals using graph-theoretic indices. Discret. Appl. Math. 1988, 19, 17–44. [Google Scholar] [CrossRef]
  40. Faizan, M.; Zuhairi, M.F.; Ismail, S.; Sultan, S. Applications of Clustering Techniques in Data Mining: A Comparative Study. Int. J. Adv. Comput. Sci. Appl. 2020, 11, 146–153. [Google Scholar] [CrossRef]
  41. Kriegel, H.-P.; Kröger, P.; Sander, J.; Zimek, A. Density-based clustering. WIREs Data Min. Knowl. Discov. 2011, 1, 231–240. [Google Scholar] [CrossRef]
  42. Ester, M.; Kriegel, H.-P.; Sander, J.; Xu, X. A density-based algorithm for discovering clusters in large spatial databases with noise. In Proceedings of the Second International Conference on Knowledge Discovery and Data Mining, Portland, OR, USA, 2–4 August 1996; pp. 226–231. [Google Scholar]
  43. Campello, R.J.G.B.; Moulavi, D.; Sander, J. Density-Based Clustering Based on Hierarchical Density Estimates; Springer: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
  44. Ankerst, M.; Breunig, M.M.; Kriegel, H.-P.; Sander, J. OPTICS: Ordering points to identify the clustering structure. SIGMOD Rec. 1999, 28, 49–60. [Google Scholar] [CrossRef]
  45. Tu, L.; Lv, Y.; Zhang, Y.; Cao, X. Logistics service provider selection decision making for healthcare industry based on a novel weighted density-based hierarchical clustering. Adv. Eng. Inform. 2021, 48, 101301. [Google Scholar] [CrossRef]
  46. Li, Z.; Li, Y.; Lu, W.; Huang, J. Crowdsourcing Logistics Pricing Optimization Model Based on DBSCAN Clustering Algorithm. IEEE Access 2020, 8, 92615–92626. [Google Scholar] [CrossRef]
  47. Pires, M.; Couto, P.; Santos, A.; Filipe, V. Obstacle Detection for Autonomous Guided Vehicles through Point Cloud Clustering Using Depth Data. Machines 2022, 10, 332. [Google Scholar] [CrossRef]
  48. Li, Y.; Chu, X.; Tian, D.; Feng, J.; Mu, W. Customer segmentation using K-means clustering and the adaptive particle swarm optimization algorithm. Appl. Soft Comput. 2021, 113, 107924. [Google Scholar] [CrossRef]
  49. Zhou, Y.; Xie, R.; Zhang, T.; Holguin-Veras, J. Joint Distribution Center Location Problem for Restaurant Industry Based on Improved K-Means Algorithm with Penalty. IEEE Access 2020, 8, 37746–37755. [Google Scholar] [CrossRef]
  50. Gocer, F.; Sener, N. Spherical fuzzy extension of AHP-ARAS methods integrated with modified k-means clustering for logistics hub location problem. Expert Syst. 2022, 39, e12886. [Google Scholar] [CrossRef]
  51. Letnik, T.; Farina, A.; Mencinger, M.; Lupi, M.; Božičnik, S. Dynamic management of loading bays for energy efficient urban freight deliveries. Energy 2018, 159, 916–928. [Google Scholar] [CrossRef]
  52. Javadi, M.; Shahrabi, J. New spatial clustering-based models for optimal urban facility location considering geographical obstacles. J. Ind. Eng. Int. 2014, 10, 54. [Google Scholar] [CrossRef]
  53. Barnes, A.E.; Laughlin, K.J. Investigation of methods for unsupervised classification of seismic data. SEG Technical Program Expanded Abstracts 2002; Society of Exploration Geophysicists: Salt Lake City, UT, USA, 2002; pp. 2221–2224. [Google Scholar]
  54. An, Y.; Zhang, Y.; Zeng, B. The reliable hub-and-spoke design problem: Models and algorithms. Transp. Res. Part B Methodol. 2015, 77, 103–122. [Google Scholar] [CrossRef]
  55. Lin, C.-C. The integrated secondary route network design model in the hierarchical hub-and-spoke network for dual express services. Int. J. Prod. Econ. 2010, 123, 20–30. [Google Scholar] [CrossRef]
  56. Zhao, L.; Zhou, J.; Li, H.; Yang, P.; Zhou, L. Optimizing the design of an intra-city metro logistics system based on a hub-and-spoke network model. Tunn. Undergr. Space Technol. 2021, 116, 104086. [Google Scholar] [CrossRef]
  57. Greasley, A.; Assi, A. Improving “last mile” delivery performance to retailers in hub and spoke distribution systems. J. Manuf. Technol. Manag. 2012, 23, 794–805. [Google Scholar] [CrossRef]
  58. Lee, J.-H.; Moon, I. A hybrid hub-and-spoke postal logistics network with realistic restrictions: A case study of Korea Post. Expert Syst. Appl. 2014, 41, 5509–5519. [Google Scholar] [CrossRef]
  59. Arbabi, H.; Nasiri, M.M.; Bozorgi-Amiri, A. A hub-and-spoke architecture for a parcel delivery system using the cross-docking distribution strategy. Eng. Optim. 2021, 53, 1593–1612. [Google Scholar] [CrossRef]
  60. Hu, W.; Dong, J.; Hwang, B.-G.; Ren, R.; Chen, Z. Network planning of urban underground logistics system with hub-and-spoke layout: Two phase cluster-based approach. Eng. Constr. Archit. Manag. 2020, 27, 2079–2105. [Google Scholar] [CrossRef]
  61. Macharis, C.; Meers, D.; Lier, T.V. Modal choice in freight transport: Combining multi-criteria decision analysis and geographic information systems. Int. J. Multicriteria Decis. Mak. 2015, 5, 355–371. [Google Scholar] [CrossRef]
  62. Ducret, R.; Lemarié, B.; Roset, A. Cluster Analysis and Spatial Modeling for Urban Freight. Identifying Homogeneous Urban Zones Based on Urban Form and Logistics Characteristics. Transp. Res. Procedia 2016, 12, 301–313. [Google Scholar] [CrossRef]
  63. Lyu, Z.; Pons, D.; Zhang, Y.; Ji, Z. Minimum Viable Model (MVM) Methodology for Integration of Agile Methods into Operational Simulation of Logistics. Logistics 2022, 6, 37. [Google Scholar] [CrossRef]
Figure 1. Two-tier H&S architecture.
Figure 1. Two-tier H&S architecture.
Smartcities 06 00107 g001
Figure 2. Modelling process.
Figure 2. Modelling process.
Smartcities 06 00107 g002
Figure 3. Progressive refinement of the cluster model. (a) Iteration 1 identified a geographically distinct Cluster 1, which was retained. The rest of the data (blue dots) were reclustered in the next iteration. (b) Iteration 2 identified four more Clusters 2–5, and a residual that was reclustered. (c) Iteration 3 identified Cluster 6. (d) Iteration 4 identified Clusters 7–9.
Figure 3. Progressive refinement of the cluster model. (a) Iteration 1 identified a geographically distinct Cluster 1, which was retained. The rest of the data (blue dots) were reclustered in the next iteration. (b) Iteration 2 identified four more Clusters 2–5, and a residual that was reclustered. (c) Iteration 3 identified Cluster 6. (d) Iteration 4 identified Clusters 7–9.
Smartcities 06 00107 g003
Figure 4. DBSCAN clustering method for Christchurch city.
Figure 4. DBSCAN clustering method for Christchurch city.
Smartcities 06 00107 g004
Figure 5. Modified clustering results with the cluster centres for Christchurch city. Compared to the previous figure, some clusters have been grouped, and the total number of clusters has been reduced.
Figure 5. Modified clustering results with the cluster centres for Christchurch city. Compared to the previous figure, some clusters have been grouped, and the total number of clusters has been reduced.
Smartcities 06 00107 g005
Figure 6. Simulation diagram for the two-tier H&S architecture in Arena® (version 16.2) simulation software.
Figure 6. Simulation diagram for the two-tier H&S architecture in Arena® (version 16.2) simulation software.
Smartcities 06 00107 g006
Figure 7. Truck allocation and first tier of H&S delivery.
Figure 7. Truck allocation and first tier of H&S delivery.
Smartcities 06 00107 g007
Figure 8. Second tier of H&S delivery for cluster A.
Figure 8. Second tier of H&S delivery for cluster A.
Smartcities 06 00107 g008
Table 1. Comparison of density-based clustering methods.
Table 1. Comparison of density-based clustering methods.
Clustering MethodsAttributes Parameters
DBSCANClusters have the same densityMinimum number of data points and search distance
HDBSCANDensity is varied for clustersMinimum number of data points
OPTICSThe reachability plot is defined to vary density for clustersMinimum number of data points, search distance, and cluster sensitivity
Table 2. Parameters for iterations.
Table 2. Parameters for iterations.
Iteration Number Input Parameter: Minimum Number of Data Points per Cluster N m i n Input Parameter: Search Distance R s e a r c h Resulting Number of Clusters N c l u s t e r s
12020004
225012505
35028028
415028019
Table 3. Consignment demands for initial clustering results.
Table 3. Consignment demands for initial clustering results.
Cluster ID Total Consignment Number Average Consignment Number per DayAverage Total Weight per Day (t) Max Total Weight per Day (t)Average Total Volume per Day (m3) Max Total Volume per Day (m3)
16920.42.42.522.4
21802207.623.525.280.0
351983.417.88.139.7
470693.016.110.129.4
516342113.049.034.7103.6
637094613.829.949.1100.2
731974016.553.449.8104.9
863658145.2120.0123.6283.1
916762114.451.836.0137.3
Table 4. Consignment results for modified clustering results.
Table 4. Consignment results for modified clustering results.
Cluster ID Total Consignment Number Average Consignment Number per Day Average Total Weight per Day (t) Max Total Weight per Day (t)Average Total Volume per Day (m3) Max Total Volume per Day (m3)
A17452314.854.238.5159.7
B1802207.623.525.280.0
C1225176.433.918.269.1
D16342113.049.034.7103.6
E37094613.829.949.1100.2
F31974016.553.449.8104.9
G63658145.2120.0123.6283.1
Table 5. Truck allocation based on clustering results.
Table 5. Truck allocation based on clustering results.
Cluster IDRegular TruckTruck with Trailer
A-1
B-1
C1-
D1-
E2-
F2-
G4-
Table 6. Parameters for H&S model.
Table 6. Parameters for H&S model.
Cluster ID Average Total Distance by TSP (km)Distance from Depot to Cluster Centre (km) Total Distance by H&S Model (km)Mean R-Value R-Value Std DevGamma Distribution for Spoke Distances
A33.53.259.60.5080.091GAMMA (481.265, 4.931)
B39.76.155.90.6300.061GAMMA (326.818, 6.847)
C59.910.878.50.6760.044GAMMA (923.190, 3.731)
D40.711.455.80.5450.072GAMMA (239.600, 6.503)
E42.37.342.30.7260.087GAMMA (383.468, 3.051)
F20.53.420.50.6060.140GAMMA (345.955, 3.472)
G22.31.036.40.5910.077GAMMA (211.819, 8.171)
Table 7. Simulation input parameters.
Table 7. Simulation input parameters.
Cluster ID Daily Consignment NumberTruck Consignment Capacity
A POISSON (26.212)23
B POISSON (26.576)20
C POISSON (18.569)17
D POISSON (24.545)21
E POISSON (55.773)46
F POISSON (48.091)40
GPOISSON (96.152)81
Table 8. Simulation results for KPIs.
Table 8. Simulation results for KPIs.
ClustersAverage Travel Distance per Truck (km)Average Travel Time per Truck (h)
Cluster A32.91.1
Cluster B40.41.3
Cluster C58.01.9
Cluster D39.91.3
Cluster E30.91.0
Cluster F21.20.7
Cluster G25.40.8
Table 9. Comparison of current truck allocation and proposed truck allocation.
Table 9. Comparison of current truck allocation and proposed truck allocation.
Truck IDCurrent Daily Average Total Consignment Weight (t)Proposed Daily Average Total Consignment Weight (t)Current Daily Average Total Consignment Volume (m3)Proposed Daily Average Total Consignment Volume (m3)
15.914.823.038.5
25.37.619.425.2
312.36.429.318.2
45.613.017.534.7
55.46.918.224.6
60.86.94.124.6
76.28.2519.224.9
81.48.257.424.9
98.311.328.330.9
1011.211.331.130.9
115.411.319.430.9
129.611.313.430.9
135.9-16.2-
147.8-20.9-
157.3-18.1-
161.1-6.0-
173.5-13.1-
1814.3-34.6-
Average6.59.818.828.3
Std dev3.62.68.25.3
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

Lyu, Z.; Pons, D.; Palliparampil, G.; Zhang, Y. Optimising Urban Freight Logistics Using Discrete-Event Simulation and Cluster Analysis: A Stochastic Two-Tier Hub-and-Spoke Architecture Approach. Smart Cities 2023, 6, 2347-2366. https://doi.org/10.3390/smartcities6050107

AMA Style

Lyu Z, Pons D, Palliparampil G, Zhang Y. Optimising Urban Freight Logistics Using Discrete-Event Simulation and Cluster Analysis: A Stochastic Two-Tier Hub-and-Spoke Architecture Approach. Smart Cities. 2023; 6(5):2347-2366. https://doi.org/10.3390/smartcities6050107

Chicago/Turabian Style

Lyu, Zichong, Dirk Pons, Gilbert Palliparampil, and Yilei Zhang. 2023. "Optimising Urban Freight Logistics Using Discrete-Event Simulation and Cluster Analysis: A Stochastic Two-Tier Hub-and-Spoke Architecture Approach" Smart Cities 6, no. 5: 2347-2366. https://doi.org/10.3390/smartcities6050107

Article Metrics

Back to TopTop