Next Article in Journal
Ranging with Frequency Dependent Ultrasound Air Attenuation
Previous Article in Journal
The Stream Exchange Protocol: A Secure and Lightweight Tool for Decentralized Connection Establishment
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Bayesian Method for Dynamic Origin–Destination Demand Estimation Synthesizing Multiple Sources of Data

1
School of Transportation and Civil Engineering, Nantong University, Se Yuan Road #9, Nantong 226019, China
2
Key Laboratory of Road and Traffic Engineering, Ministry of Education, Department of Traffic Engineering Tongji University, 4800 Cao’an Road, Shanghai 201804, China
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(15), 4971; https://doi.org/10.3390/s21154971
Submission received: 20 June 2021 / Revised: 10 July 2021 / Accepted: 17 July 2021 / Published: 21 July 2021
(This article belongs to the Topic Intelligent Transportation Systems)

Abstract

:
In this paper a Bayesian method is proposed to estimate dynamic origin–destination (O–D) demand. The proposed method can synthesize multiple sources of data collected by various sensors, including link counts, turning movements at intersections, flows, and travel times on partial paths. Time-dependent demand for each O–D pair at each departure time is assumed to satisfy the normal distribution. The connections among multiple sources of field data and O–D demands for all departure times are established by their variance-covariance matrices. Given the prior distribution of dynamic O–D demands, the posterior distribution is developed by updating the traffic count information. Then, based on the posterior distribution, both point estimation and the corresponding confidence intervals of O–D demand variables are estimated. Further, a stepwise algorithm that can avoid matrix inversion, in which traffic counts are updated one by one, is proposed. Finally, a numerical example is conducted on Nguyen–Dupuis network to demonstrate the effectiveness of the proposed Bayesian method and solution algorithm. Results show that the total O–D variance is decreasing with each added traffic count, implying that updating traffic counts reduces O–D demand uncertainty. Using the proposed method, both total error and source-specific errors between estimated and observed traffic counts decrease by iteration. Specifically, using 52 multiple sources of traffic counts, the relative errors of almost 50% traffic counts are less than 5%, the relative errors of 85% traffic counts are less than 10%, the total error between the estimated and “true” O–D demands is relatively small, and the O–D demand estimation accuracy can be improved by using more traffic counts. It concludes that the proposed Bayesian method can effectively synthesize multiple sources of data and estimate dynamic O–D demands with fine accuracy.

1. Introduction

Intelligent transportation systems (ITS) have been vigorously implemented in many cities around the world. The effectiveness of real-time traffic management strategies of ITS normally depends on reliable dynamic (i.e., time-dependent) origin–destination (O–D) demand estimation. In general, O–D demand matrices can be obtained either from household surveys or/and estimated by traffic counts. O–D demand obtained by household surveys is not only costly but also vulnerable to become outdated. Thus, the use of traffic counts to estimate O–D demand becomes attractive because it is cheap and easy to collect data and to implement.
There is a rich body of literature estimating static or dynamic O–D demand using link counts. In real applications, the number of links is usually far less than the number of O–D pairs, thus the O–D demand estimation problem based on link counts becomes an underspecified (or degenerate) problem that has no unique solution. Therefore, additional information is required to acquire a unique solution. In ITS, various types of sensors (GPS, blue tooth, video, automatic vehicle identification (AVI), plate scanning, etc.) are adopted to collect traffic data and to predict traffic state. By these sensors, link counts, intersection turning movements, flows, and travel time on links and partial paths can be collected.
According to the type of traffic data collected, sensors in this paper are categorized as follows. (a) Counting sensors: these sensors include inductive loop detectors, magnetic detectors, etc. Using these sensors, traffic characteristics such as speed, density, occupancy, and flow rates on a single lane or a set of lanes in the network can be measured. (b) Image/video sensors: based on these sensors, moving flows at an intersection or a link can be collected by taking images or videos. (c) Vehicle-ID sensors: these sensors include license plate readers, GPS, etc. By these sensors, vehicle IDs in the network can be identified, thus full or partial path-related information of vehicle can be inferred. For instance, GPS can be deployed on vehicles to track their route.
Although various sources of data can be used in O–D demand estimation, most studies tend to use just one source of data or combine it with link counts; very few studies synthesize multiple sources of data to estimate O–D demand. Synthesizing multiple sources of data is difficult because they are correlative and complementary to each other and thus cannot be simply combined together. Hence, the statistical correlations among them should be analyzed. Moreover, most studies do not make use of travel times (travel times on links or partial paths) in O–D estimation. This is because the connections between travel time and O–D demand cannot be measured directly. However, travel time data can often be collected much more easily (e.g., by vehicle-ID sensors) than the volume data (especially along a path or a partial path). For example, travel time of a path or a partial path can be derived by tracking the departure time and arrival time of several GPS-equipped vehicles. However, it is hard to get path traffic volume data since all the vehicles using the same path are difficult to track synchronously. Therefore, it is worthwhile to consider the travel time data in O–D demand estimation.
To bridge the gap above, this paper tries to synthesize multiple sources of data together, mainly including link counts, time-varying flows and travel time along partial observed paths, and turning movements at intersections, to estimate dynamic O–D demand. Specifically, we treat O–D demands as random variables satisfying multivariate normal distribution, and propose a Bayesian statistical model to estimate dynamic O–D demand by synthesizing these multiple sources of data. By solving the dynamic user equilibrium (DUE) problem based on an assumed prior O–D demand, the prior distribution (including a vector of expected values and a variance-covariance matrix) of all considered variables is estimated. The relationships among all variables are analyzed by variance-covariance matrices. By updating the assumed prior distribution of all variables using traffic counts, we establish the posterior distributions of all variables, based on which point estimation and probability confidence intervals are inferred to measure the intrinsic uncertainty. In the proposed Bayesian statistical model, we convert the observed sub-path travel time to several sub-path flows so as to incorporate sub-path travel time information in O–D estimation. Specifically, for a sub-path with a given departure time, we sample the normal distributed sub-path travel time to get arrival time for each user, and the mean of all the normal distributed sub-path travel times is equal to the observed sub-path travel time. By this sampling method we convert the sub-path travel time information to sub-path flows which is more appropriately analyzed in O–D estimation.
One challenge in solving the Bayesian statistical model is to update the traffic counts and calculate the posterior distribution of all variables, since it involves many matrix inversions during the calculation, especially on large-scale networks. To simplify the calculation, a stepwise algorithm that avoids matrix inversions is introduced to solve the proposed Bayesian statistical model. In this algorithm, the posterior distribution is estimated by sequentially updating traffic count one by one. In this process, matrix inversions are not needed since all matrices in the model degenerate to vectors or scalars.
The remainder of the paper is organized as follows. In Section 2, the related literature of O–D demand estimation methods are reviewed. Then, the Bayesian statistical method is briefly explained in Section 3. Section 4 proposes a Bayesian statistical model for dynamic O–D estimation, followed by a stepwise algorithm for solving the Bayesian model in Section 5. Numerical examples are provided in Section 6 to illustrate the proposed models and algorithm. Finally, some conclusions are given in Section 7.

2. Literature Review

2.1. Static O–D Demand Estimation

O–D demand estimation was studied extensively for static case. These methods can be classified as:
(1) Least squares [1,2] and generalized least squares (GLS) [3,4,5] methods. These methods are usually bi-level problems. The upper level is to minimize the weighted distances between the target and estimated O–D demands, and/or between the traffic counts and estimated traffic volumes; the lower level model is a static user equilibrium problem.
(2) Entropy concept-based methods [6]. The entropy concept measures the reasonableness and closeness to reality of an estimated O–D demand matrix. Subject to the prior O–D matrix, the probability distribution of O–D demand which best represents the current state of knowledge is the one with the maximum entropy.
(3) Maximum likelihood methods [7]. Assuming the elements of the prior O–D demand matrix are obtained from random variables with given probability distribution, these methods maximize the likelihood of the traffic counts conditional on the estimated O–D demand matrix and the prior O–D demand matrix.
(4) Bayesian inference and Bayesian network methods [8,9,10,11,12,13,14]. These methods treat traffic flow as random variables. Using observed traffic counts to update the assumed prior distribution, the posterior distribution of all variables is built based on Bayes’ theorem.
Overall, in order to obtain a unique solution, these methods usually use a prior matrix (or seed matrix). Since the accuracy of the O–D demand estimation is affected significantly by the prior matrix, some researchers proposed methods based on traffic counts only to estimate O–D demand [15,16].

2.2. Dynamic O–D Demand Estimation

Estimating dynamic O–D demand is more complicated than the static O–D case due to its time-varying characteristic. Some studies straightforwardly extend methods for static case to the dynamic case using time-dependent link counts. For example, to estimate dynamic O–D demand, Cascetta et al. [17] proposed a GLS method based on a simplified assignment model. Following Cascetta et al. [16], several researchers extended CLS methods for dynamic O–D demand estimation [18,19,20]. For example, Guo et al. [20] proposed a least square method to estimate dynamic O–D matrix using radio frequency identification data. In addition, state space models are also frequently used based on the state vector indicating the unknown O–D demand [21,22,23].
Note that most existing methods for dynamic O–D demand estimation problem are characterized by a bi-level optimization structure. The upper-level problem is to minimize two deviation functions: (1) the distances between observed and estimated time-dependent traffic counts and (2) the distances between the prior and estimated dynamic O–D demand matrices. The lower-level problem is the dynamic user equilibrium (DUE) problem. To solve such a bi-level optimization problem, researchers proposed various algorithms/methods, such as advanced parallel evolutionary algorithm [24], gradient approximation method [25,26], guided genetic algorithm [27], cluster-wise simultaneous perturbation stochastic approximation algorithm [28], etc.
Meanwhile, single-level formulations have also been proposed for the dynamic O–D demand estimation problem. For instance, based on variational inequalities (VI), Nie and Zhang [29] formulated a single-level formulation utilizing the dynamic link-path incidence relationships in a generic projection-based VI solution framework. Lundgren and Peterson [30] proposed a heuristic algorithm by adapting the projected gradient method based on a single level reformulation.

2.3. O–D Demand Estimation Using Multiple Sources of Data

Due to the development in real-time sensing technologies, a variety of sensors can be used to collect different types of traffic data, including time-dependent link flows, turning movements at intersections, and full or partial path flows and path travel time.
Turning movements at intersections are normally detected by image/video sensors. Intersection turning movements provide more information on users’ travel behavior and usage of network topologies than link counts. Several studies estimate O–D demand by using turning movements at intersections. For instance, Yang et al. [31] proposed a neural network approach to estimate dynamic O–D demand using node-based traffic counts. Using both turning movements and link counts, Alibabai and Mahmassani [32] presented a bi-level optimization method for dynamic O–D demand estimation, and Lu et al. [33] proposed a Kalman filter approach to estimate dynamic O–D demand.
To estimate O–D demand, path-based information is more desirable because it can fully reflect users’ route choice behavior and network topology. However, path information cannot be fully detected, so researchers normally make use of observed flows or data on partial path, which can be captured by GPS, mobile phone, plate scanning, AVI, etc. [34,35,36,37,38,39]. For instance, to estimate static O–D demand, Hu et al. [35] proposed link-based and path-based models to estimate O–D demand based on traffic counts by vehicle detector sensors and license plate recognition. In the dynamic case, Yang et al. [37] proposed two GLS models formulated as single-level optimization problems based on both probe vehicle trajectories and link counts. Krishnakumari et al. [38] proposed a method without dynamic network loading using measured flows and speeds. Cao et al. [39] estimated day-to-day dynamic O–D demand based on connected vehicle trajectories and automatic vehicle identification data.
In real application, observing partial path or sub-path flow could be difficult and costly. However, path-based travel time can be observed much more easily and thus can be used in O–D estimation. For example, Dixon and Rilett [40] applied the GLS method proposed by Cascetta et al. [17] to estimate the link-flow proportions based on the observed travel time. Based on local link marginal travel time evaluation by adapting the method proposed by Ghali and Smith [41], Qian and Zhang [42] extended the single-level O–D demand estimation framework proposed by Nie and Zhang [3] to utilize travel time measurements.
Except for the above measurements, O–D demand is also estimated by using other types of traffic information. For instance, since speed and density provide the best representation of traffic congestion, some researchers made use of these traffic measures to estimate dynamic O–D demand [43,44,45]. Recently, mobile phone data are used by some researchers to infer O–D trips [46,47,48].
In the literature, although various sources of data can be used in O–D demand estimation, as shown in Table 1, most studies tend to use just one source of data, or combine it with link counts; very few studies synthesize multiple sources of data together to estimate O–D demand. In addition, travel times (travel times on links or partial paths) are rarely used in O–D estimation. Statistical methods which have been frequently used in static O–D estimation are also rarely adopted in dynamic case. Providing variability information of the traffic flow estimation is the most important advantage of statistical methods. Normally, other methods give only the particular values of the O–D and link flows, while statistical methods could also provide the corresponding probability intervals. Although variability information is important in real applications, it is difficult to capture this information in dynamic O–D demand estimation due to the time-varying characteristic. In Zhu et al. [49], heterogeneous sensor deployment strategies were proposed for dynamic O–D demand estimation. Based on the Bayesian method adopted in Zhu et al. [49], this paper tries to synthesize multiple sources of data, mainly including link counts, time-varying flows and travel time along partial observed paths, and turning movements at intersections, to estimate dynamic O–D demand. Variability information of the traffic flow estimation can also be provided by using the proposed Bayesian method.

3. Bayesian Statistical Method

In this section, some background of Bayesian statistical method are illustrated and how the information can be updated using the Bayesian statistical method is described.
The Bayesian statistical method is a suitable method for combining prior (historical) information and sample information. Bayesian inference and Bayesian network methods have been used frequently to solve a wide variety of practical problems [50,51,52,53,54,55]. These methods have also been applied widely to solve the O–D demand estimation problem [8,9,10,11,12,13,14,16]. In a Bayesian statistical method, variables are not fixed; rather, they are random variables satisfying given probability distributions. A Bayesian statistical method usually updates the prior distribution by using sample information in order to obtain the posterior distribution p ( θ | X ) , based on Bayes theorem as follows:
p ( θ | X ) = f ( X | θ ) p ( θ )   f ( X | θ ) p ( θ ) d θ
where p ( θ ) specifies the prior probability density function of parameter θ. In this paper θ refers to a set of random variables, including dynamic O–D demand, time-dependent path and sub-path flows, turning movements at intersections and link flows. In Equation (1), f ( X | θ ) is the likelihood of observation X , including partial observed time-varying sub-path flows, turning movements at intersection, and link counts; f ( X | θ ) p ( θ ) d θ is simply the marginal density of X , which does not depend on the value of θ .
Once p ( θ | X ) is identified, we can obtain the point estimation θ ˜ by solving the following maximum posterior density planning:
θ ˜ = arg   max θ p ( θ | X )
In a transportation network with modest size, it is difficult to calculate the posterior distribution due to the multidimensional integral over the feasibility domain. Normally, Metropolis–Hastings algorithms are used to calculate the posterior distribution [10,12]. These algorithms normally need a large number of samples and are heuristic methods.
Because traffic flows are treated as random variables in the Bayesian statistical method, we make the following assumption on their distributions:
Assumption. 
The time-dependent traffic demands between all O–D pairs are assumed to follow multivariate normal (MVN) distributions.
Previous studies [56,57] made similar assumptions. Note that a normal distribution for traffic flows is reasonable, because their probabilities can be treated as success rate among repeating a large number of independent Bernoulli experiments in which the users randomly make travel decisions. Moreover, the prior and posterior distributions are conjugate in the case of multivariate normal distribution. If the posterior distribution is in the same family as the prior probability distribution, they are called conjugate distributions. A Bayesian statistical method often works with conjugate priors such that their associated posteriors belong to the same families. It is noteworthy that the normal distribution allows negative travel demands in theory, which is not realistic. However, such an issue could be mitigated if the model is calibrated carefully to fit the observed data well.
Specifically, if θ is normally distributed with mean μ θ and variance-covariance Σ θ , calculating the posterior distribution p ( θ | X ) is to calculate the posterior mean μ θ | X = x and variance-covariance Σ θ | X = x , which can be obtained by using the following updating equations [8,14]:
μ θ | X = x = μ θ + Σ θ X Σ X X 1 ( x μ X )
Σ Y Z | X = x = Σ Y Z Σ Y X Σ X X 1 Σ X Z
where Y and Z both refer to the components of θ ; μ X and Σ X X are the mean vector and variance-covariance matrix of observation X ; Σ θ X is the variance-covariance matrix of θ and X ; Σ Y Z is the variance-covariance matrix of Y and Z ; Σ Y X is the variance-covariance matrix of Y and X ; Σ X Z is the variance-covariance matrix of X and Z ; and x is the actual observed value of X . Note that the posterior mean μ θ | X = x depends on x , but the posterior variance-covariance Σ Y Z | X = x does not.
In addition, in case of multivariate normal distribution, the posterior mean μ θ | X = x is equal to the optimal θ ˜ of the maximum posterior density planning (2); that is, we can take the posterior mean μ θ | X = x as the point estimation of θ .

4. Model Formulation

In this section, we derive the formulation of the Bayesian statistical model for the dynamic O–D estimation. Since multiple sources of data are considered, we first analyze relationships among traffic flows between different sources of data.

4.1. Relationships among Time-Dependent Traffic Flows

4.1.1. O–D Demand and Path Flow

Denote d i , t as the flow of O–D pair i at departure time t , f i , k , t as the number of users between O–D pair i choosing path k at departure time t , and p i , k , t as the proportion of users between O–D pair i at departure time t choosing path k .
According to the conservation law, f i , k , t can be obtained by:
f i , k , t = p i , k , t d i , t
Define vectors D , F i , F as follow:
D = [ d 1 , 1 , d 1 , 2 , , d 1 , t , , d i , 1 , d i , 2 , d i , t time-dependent demand of O–D   i , ] T
F i = [ f i , 1 , 1 , f i , 1 , 2 , , f i , 1 , t , , f i , k , 1 , f i , k , 2 , , f i , k , t time-dependent flow of path k from O–D   i , ] T
F = [ F 1 T , F 2 T , , F i T , ] T
where D is the vector consists of all considered time-dependent O–D demand, F i is the vector consists of all time-dependent path flows between O–D pair i , and F is the vector consists of all time-dependent path flows.
Define a m × s matrix P i , t , where m refers to the number of paths for O–D pair i at departure time t , s equals the dimension of D, then the (k, j) element P i , t ( k , j ) of P i , t is defined by:
P i , t ( k , j ) = { p i , k , t , i f   j = ( i 1 ) | T | + t 0 , o t h e r w i s e
where | T | denotes the number of time intervals.
Define matrix P as follows:
P = [ P 1 , 1 T , P 1 , 2 T , , P 2 , 1 T , P 2 , 2 T , , P i , 1 T , P i , 2 T , ] T
Then the time-dependent path flows satisfy the following flow conservation condition:
F = P D

4.1.2. O–D Demand, Path Flow, and Sub-Path Flow

Define f s u b , j , τ a , τ d as the flow along sub-path j with departure time τ d at the start node and arrival time τ a at the tail node, φ i , k , t , j , τ a , τ d as the proportion of users between path k of O–D pair i with departure time t choosing sub-path j with arrival time τ a and departure time τ d .
The time-dependent sub-path flow can be derived from the time-dependent path flow as follows:
f s u b , j , τ a , τ d = i k t φ i , k , t , j , τ a , τ d f i , k , t
Define vectors φ i , j , τ a , τ d   φ j , τ a , τ d , φ and F s u b as follows:
F s u b = [ f s u b , 1 , 1 , 1 , f s u b , 1 , 2 , 1 , , f s u b , j , 1 , 1 , f s u b , j , 2 , 1 , f s u b , j , τ a , τ d time-dependent flow of sub-path j , ] T
φ i , j , τ a , τ d = [ φ i , 1 , 1 , j , τ a , τ d , φ i , 1 , 2 , j , τ a , τ d , , φ i , k , 1 , j , τ a , τ d , φ i , k , 2 , j , τ a , τ d , , φ i , k , t , j , τ a , τ d , ]
φ j , τ a , τ d = [ φ 1 , j , τ a , τ d , φ 2 , j , τ a , τ d , , φ i , j , τ a , τ d , ]
φ = [ φ 1 , 1 , 1 T , φ 1 , 2 , 1 T , , φ j , 1 , 1 T , φ j , 2 , 1 T , ] T
where F s u b is the vector consists of all considered time-dependent sub-path flow and φ is the corresponding proportion vector. φ i , j , τ a , τ d is the vector consists of the proportions of users between all time-dependent paths of O–D pair i choosing sub-path j with arrival time τ a and departure time τ d . φ j , τ a , τ d is the vector consists of the proportions of users between all time-dependent paths of all O–D pairs choosing sub-path j with arrival time τ a and departure time τ d .
Then consider the error term; a linear relationship between the O–D demand vector D , the path flow vector F and the sub-path flow vector F s u b is assumed to be:
F s u b = φ F + ε = φ P D + ε
where ε = ( ε 1 , ε 2 , ) are mutually independent random variables with zero mean.
However, sometimes we can only observe the time-dependent sub-path travel time rather than the sub-path flow. In order to make use of the observed sub-path travel time, we convert these observed travel times to time-dependent sub-path flows.
Denote t ¯ j , τ d as the observed mean travel time of sub-path j with departure time τ d at the start node. Then for sub-path j with departure time τ d , the random travel time t j , τ d is expressed as:
t j , τ d = t ¯ j , τ d + γ j , τ d
where γ j , τ d is the random term and is assumed to be normal distributed with zero mean and variance λ t ¯ j , τ d , where λ is the coefficient of variation.
Since we cannot obtain the true time-dependent sub-path flow, we assume that the total flow of sub-path j with departure time τ d is equal to the prior (or historical) flow, which can be obtained by solving the dynamic user equilibrium problem based on the prior time-dependent O–D demand. For each user, since the travel time is random, it can be obtained by random sampling from the normal distribution N ( t ¯ j , τ d , λ t ¯ j , τ d ) . Finally, by sorting out the travel time of all users, we can derive the flows of sub-path j with different arrival time, which can be treated as the observed time-dependent sub-path flows.

4.1.3. O–D Demand, Path Flow, and Intersection Turning Movements

Each node (intersection) turning movement can be treated as a sub-path with three nodes: the upstream node, the intersection node, and the downstream node. The arrival time and departure time at the upstream and downstream nodes cannot be observed. The departure time at the considered intersection can be inferred as follows.
Define s j a , b , τ as the number of users traveling from upstream node a to downstream node b connected by node j with departure time τ at node j , and ϕ i , k , t , j a , b , τ   as the proportion of users between path k of O–D pair i with departure time t at the origin node of O–D pair i traveling from upstream node a to downstream node b connected by node j at time τ , where a N u and b N d , N u is the set of upstream nodes of node j and N d is the set of downstream nodes of node j .
The time-dependent turning movement can be derived from the time-dependent path flow as follows:
s j a , b , τ = i k t ϕ i , k , t , j a , b , τ f i , k , t
Define a column vector S j , τ as the set of turning movements at node j with departure time τ and a row vector ϕ i , k , t , j , τ as the set of the proportions of users between path k with departure time t of O–D pair i choosing the corresponding turning movement at node j with departure time τ . Then vectors ϕ i , j , τ , ϕ j , τ , ϕ and S are expressed as follows:
S = [ S 1 , 1 , S 1 , 2 , S j , 1 , S j , 2 , , S j , τ , time-dependent turning movements at node j , ] T
ϕ i , j , τ = [ ϕ i , 1 , 1 , j , τ , ϕ i , 1 , 2 , j , τ , , ϕ i , k , 1 , j , τ , ϕ i , k , 2 , j , τ , ϕ i , k , t , j , τ , ]
ϕ j , τ = [ ϕ 1 , j , τ , ϕ 2 , j , τ , , ϕ i , j , τ , ]
ϕ = [ ϕ 1 , 1 T , ϕ 1 , 2 T , , ϕ j , 1 T , ϕ j , 2 T , ϕ j , τ T , , ] T
where S is the vector consists of all considered time-dependent turning movements and ϕ is the corresponding proportion vector. ϕ i , j , τ is the vector consists of the proportions of users between all time-dependent paths of O–D pair i related to the turning movements at node j with departure time τ . ϕ j , τ is the vector consists of the proportions of users between all time-dependent paths of all O–D pairs related to the turning movements at node j with departure time τ .
Considering the error term, similarly, a linear relationship between the O–D demand vector D , the path flow vector F , and the turning movement vector S is assumed to be:
S = ϕ F + η = ϕ P D + η
where η = ( η 1 , η 2 , , ) are mutually independent random variables with zero mean.

4.1.4. O–D Demand, Path Flow, and Link Flow

Define v j , τ as the flow of link j at time τ , and Ψ i , k , t , j , τ as the proportion of users between path k of O–D pair i with departure time t choosing link j at time τ .
The time-dependent link flow can be derived from the time-dependent path flow as follows:
v j , τ = i k t Ψ i , k , t , j , τ f i , k , t
Define vectors Ψ i , j , τ , Ψ j , τ , Ψ and V as follows:
V = [ v 1 , 1 , v 1 , 2 , v j , 1 , v j , 2 , , v j , τ , time-dependent flow of link j , ] T
Ψ i , j , τ = [ Ψ i , 1 , 1 , j , τ , Ψ i , 1 , 2 , j , τ , Ψ i , k , 1 , j , τ , Ψ i , k , 2 , j , τ , , Ψ i , k , t , j , τ , , ]
Ψ j , τ = [ Ψ 1 , j , τ , Ψ 2 , j , τ , , Ψ i , j , τ , ]
Ψ = [ Ψ 1 , 1 T , Ψ 1 , 2 T , , Ψ j , 1 T , Ψ j , 2 T , , Ψ j , τ , , ] T
where V is the vector consists of all considered time-dependent link flows and Ψ is the corresponding proportion vector. Ψ i , j , τ is the vector consists of the proportions of users between all time-dependent paths of O–D pair i choosing link j with departure time τ . Ψ j , τ is the vector consists of the proportions of users between all time-dependent paths of all O–D pairs choosing link j with departure time τ .
Considering the error term, a linear relationship between the O–D demand vector D , the path flow vector F , and the sub-path flow vector V is assumed to be:
V = Ψ F + ξ = Ψ P D + ξ
where ξ = ( ξ 1 , ξ 2 , ) are mutually independent random variables with zero mean.

4.2. Updating Observed Information

According to Equations (11), (17), (24), and (30), the whole set of random variables considered in our model can be described by the linear expression:
( D F F s u b S V ) = ( I 0 0 0 P 0 0 0 φ P I 0 0 ϕ P 0 I 0 Ψ P 0 0 I ) ( D ε η ξ )
Note that P , φ , ϕ , and Ψ can be obtained by solving the dynamic user equilibrium (DUE) problem based on the prior O–D demand. According to assumptions introduced in Section 2, if D are multivariate normal random variables with mean E ( D ) and variance Σ D , the expected value (vector) of all random variables E ( D , F , F s u b , S , V ) is
( E E ( D ) E ( F ) ( F s u b ) E ( S ) E ( V ) ) = ( I 0 0 0 P 0 0 0 φ P I 0 0 ϕ P 0 I 0 Ψ P 0 0 I ) ( E ( D ) E ( ε ) E ( η ) E ( ξ ) )
The variance-covariance matrix Σ ( D , F , F s u b , S , V ) is:
Σ ( D , F , F s u b , S , V ) = ( Σ D Σ D P T Σ D ( φ P ) T Σ D ( ϕ P ) T Σ D ( Ψ P ) T P Σ D P Σ D P T P Σ D ( φ P ) T P Σ D ( ϕ P ) T P Σ D ( Ψ P ) T φ P Σ D φ P Σ D P T φ P Σ D ( φ P ) T + D ε φ P Σ D ( ϕ P ) T φ P Σ D ( Ψ P ) T ϕ P Σ D ϕ P Σ D P T ϕ P Σ D ( φ P ) T ϕ P Σ D ( ϕ P ) T + D η ϕ P Σ D ( Ψ P ) T Ψ P Σ D Ψ P Σ D P T Ψ P Σ D ( φ P ) T Ψ P Σ D ( ϕ P ) T Ψ P Σ D ( Ψ P ) T + D ξ )
where D ε , D η , D ξ are the variance matrixes of ε ,   η and ξ respectively.
Given Equations (32) and (33), we can update the mean and the variance-covariance matrix of variables based on multiple sources of traffic counts using Equations (3) and (4). The observed variables include observed time-dependent O–D pair demand, path flows, sub-path flows, intersection turning movements, and link counts.

5. A Stepwise Algorithm

In a real-sized transportation network, the numbers of links, paths, and O–D pairs are usually very large, so the dimensions of some variance-covariance matrices in Equations (3) and (4) could be very large, which makes the proposed model difficult to solve. Specifically, if the matrix size is large, matrix inversion involved in Equations (3) and (4) is difficult to compute, and sometimes the matrix may not be reversible at all. To simplify the model, we propose to use a stepwise method to solve the Bayesian model as shown in Figure 1:
Step 1: Initialization. From historical data, we obtain the prior distribution of time-dependent O–D demand with mean E ( D ) and variance Σ D . The variance Σ D is d i a g ( α E ( D ) ) , where α is the coefficient of variation. Define n as the iteration number and set n = 0 .
Step 2: Given the mean E ( D ) of time-dependent O–D demand, obtain the choice proportion matrices P , φ , ϕ , and Ψ by solving the DUE problem.
Step 3: Calculate the mean and variance-covariance matrix of time-dependent O–D demand, path flows, sub-path flows, intersection turning movements, and link counts based on Equations (31) and (32).
Step 4: If the time-dependent sub-path travel time is observed without knowing sub-path flows, convert the observed sub-path travel time to time-dependent sub-path flow as follows. Otherwise go to Step 5.
Step 4.1: If the observed mean travel time of sub-path j with departure time τ d is t ¯ j , τ d and the prior total flow of sub-path j with departure time τ d is f s u b , j , τ d (obtained by Step 2), sample the normal distribution N ( t ¯ j , τ d , λ t ¯ j , τ d ) for f s u b , j , τ d iterations, and the sampled f s u b , j , τ d random numbers are treated as the travel time for each user.
Step 4.2: The departure time at the start node of the considered sub-path for each user is the same since they are given, then by sorting out the sampled travel time for each user with the same arrival time at the tail node of the considered sub-path, several time-dependent sub-path flows can be derived and these flows can be treated as the observed variables and go to Step 5.
Step 5: Update the mean and variance-covariance matrices of time-dependent O–D demand, path flows, sub-path flows, intersection turning movements, and link counts based on the observed data using Equations (3) and (4).
Step 6: Convergence test. Set n = n + 1 . If n = n m a x or i t [ E ( d i , t ) E ( d i , t ) ] 2 < ω then stop, where E ( d i , t ) is the updated mean flow of O–D pair i with departure time t , ω is a small number to control convergence, and n m a x is the maximum iteration number. Return the updated mean and variance-covariance matrices of time-dependent O–D demand, path flows, sub-path flows, intersection turning movements, and link flows, based on which the point estimation and the corresponding probability intervals will be identified. Otherwise, continue to Step 7.
Step 7: Update the mean and variance of time-dependent O–D demand:
E ( d i , t ) = ρ E ( d i , t ) + ( 1 ρ ) E ( d i , t )
Σ D = d i a g ( α E ( D ) )
where ρ ,   0 < ρ < 1 is a relaxation factor. Then go to Step 2.
In this algorithm, given a seed (prior) O–D demand matrix, an updated O–D demand matrix can be obtained based on the Bayesian statistical method. In each iteration, the choice proportion matrices P , φ , ϕ , and Ψ are fixed. Since these proportion matrices vary with the O–D demand matrix, they will also be updated when an updated O–D demand matrix is derived. The algorithm goes to the next iteration based on the updated O–D demand matrix and choice proportion matrices. In Step 5, we update observed variables one by one. In this case, according to Equations (3) and (4), we do not need to calculate the inverse of a matrix because these matrices degenerates to column vectors or scalars. Specifically, Σ θ X , Σ Y Z ,   Σ Y X , Σ X Z are column vectors and Σ X X degenerates to a scalar. Then the number of calculations needed in Step 5 is linear in the dimensions of E ( D , F , F s u b , S , V ) and Σ ( D , F , F s u b , S , V ) . Because most calculations are involved in Step 5, the computational time of the proposed algorithm in each iteration is linear in the size of number of links, turning movements and sub-paths in the network.

6. Numerical Example

In this section, we demonstrate the proposed method and algorithm using Nguyen–Dupuis network as shown in Figure 2, which has been frequently used in the literature to verify methods related to transportation network modeling including the O–D demand estimation problem [29,34]. It consists of 13 nodes and 38 bidirectional links. Six nodes {12, 1, 4, 8, 2, 3} are terminal nodes, which could be either origins or destinations. Vehicles can travel from left to right (from origins {12, 1, 4} to destinations {8, 2, 3}) or from right to left (from origins {8, 2, 3} to destinations {12, 1, 4}). Therefore, in total there are 18 O–D pairs. The O–D matrix is time-dependent with 15-min intervals and the number of time intervals is six. Demand for each O–D pair at each departure time is 30 in the seed matrix. We suppose the “true” O–D demand matrix is known, which is generated from the seed matrix randomly. The observed data are assumed to be collected by sensors in the network. Specifically, we assign the “true” matrix in the network by DUE method and place sensors in the network to obtain the sensor data, which collect travel time on 4 sub-paths, time-dependent turning movements at 18 intersections and time-dependent link counts on 30 links. These sensor data, as tabulated in Table 2, Table 3 and Table 4, serve as our observed data. In such a manner the observed data are consistent with the “true” matrix and assignment method in the model. We then try to estimate time-dependent O–D demand reversely from the observed data to match the “true” matrix. The DUE method is a standalone procedure in the model, which can be solved by off-the-shelf traffic software. In this paper, we used a dynamic assignment and simulation model—DYNASMART-P 1.3.0—to solve DUE.
To measure the performance of the proposed Bayesian method and the algorithm, three aggregate measures were used: the percentage root-mean-square error (%RMSE), the mean absolute error (MAE) and Theil’s inequality coefficient U [58] for traffic counts, to measure the fit between estimated and observed traffic counts:
RMSE = 1 N n = 1 N ( y n e s t y n o b s ) 2 1 N n = 1 N y n o b s × 100 %
MAE = 1 N n = 1 N | ( y n e s t y n o b s ) |
U = 1 N n = 1 N ( y n e s t y n o b s ) 2 1 N n = 1 N ( y n e s t ) 2 + 1 N n = 1 N ( y n o b s ) 2
where N is the number of measurements, y n e s t is the estimated measurement, and y n o b s is the observed measurement. Note that the value of U is between zero and one. U = 0 implies a perfect fit between the estimated and observed measurements, while U = 1 indicates the worst possible fit.
Similarly, to measure the fit between estimated and “true” O–D demand, three measures were used as following:
OD _ RMSE = 1 M m = 1 M ( d m e s t d m o b s ) 2 1 M m = 1 M d m o b s × 100 %
MAE = 1 N n = 1 N | ( y n e s t y n o b s ) |
U = 1 N n = 1 N ( y n e s t y n o b s ) 2 1 N n = 1 N ( y n e s t ) 2 + 1 N n = 1 N ( y n o b s ) 2
where M is the number of O–D pairs, d m e s t is the estimated O–D demand, and d m o b s is the “true” O–D demand.
Starting from the seed matrix and the sensor data, the time-dependent O–D demand is estimated by the procedure introduced in Section 5. The value of α in Step 1 is 0.5, λ in Step 4.1 is 1.0, and ρ in Step 7 is 0.1.
The total O–D variance is the sum of variance of each time dependent O–D demand. Figure 3 shows how the total O–D variance changes within one iteration after the traffic count is updated one by one. It shows that the total O–D variance is decreasing with each added and updated traffic count. Smaller variance means lower uncertainty in the estimation, so updating each traffic count can improve accuracy of O–D estimation. Figure 3 also indicates that more traffic counts can lead to lower variance of the dynamic O–D demand estimation, since more updated information can be used to improve the O–D estimation. Because traffic counts are updated one by one in the proposed algorithm, when new traffic data come in, there is no need to resolve the Bayesian statistical model from scratch, there is just the need to continue to update the procedure with the additional traffic data. In real-world applications, we can measure the quality of traffic data by analyzing the resultant variance of the dynamic O–D demand estimation, so as to determine whether to add additional traffic data in the procedure or not.
Figure 4 illustrates how the measures of traffic count performance change at each iteration. It shows that three measures of performance have similar trends and they are all decreasing by iterations (although there are small fluctuations). This indicates that the proposed method normally can identify a solution that reduces the total error of traffic counts compared to that of last iteration. There are 30 iterations shown in Figure 4, till which the three measures of performance become flat. Noticeably, after 30 iterations, %RMSE has been reduced from around 36% to 6%, MAE has been reduced from around 51.00 to 7.00, and Theil’s inequality coefficient U has been reduced substantially from the initial value 0.25 to 0.035. These results demonstrate the high quality of the proposed Bayesian method for dynamic O–D demand estimation.
Table 2, Table 3 and Table 4 show the relative errors between the estimated and observed sub-path travel time, node turning movements, and link flows respectively. Note that the relative errors of almost 50% traffic counts are less than 5%, and the relative errors of 85% traffic counts are less than 10%. Note that relative errors of traffic counts with high values are small. Specifically, for the sub-path travel time, the relative errors are all small and less than 5%. For the node turning movement, relative errors of about 80% estimation are less than 10%. For the link counts, about 80% of the relative errors are less than 10% and over 50% of them are less than 5%. These results indicate that not only is the total error of the estimation obtained by the proposed Bayesian method reduced significantly (as also shown by Figure 4), but also the errors for each type of traffic counts are small. This demonstrates that the proposed Bayesian method can synthesize multiple sources of data well and provide good estimation.
In the literature, some methods used to estimate dynamic O–D demand can also have high estimation accuracy [36,37,38], and the accuracy is normally related to the error between the “true” and estimated O–D demand. However, traffic flows including the “true” O–D demand normally have high uncertainty in reality, and these methods cannot provide estimation information related to the uncertainty. As a statistical method, the proposed method can provide not only the point estimates (i.e., expected values), but also the variances, which represent the associated uncertainty for the corresponding O–D demand. Based on the expected values and variances, we can obtain the posterior distribution of the time-dependent O–D demand. According to the posterior distribution, the confidence intervals for each O–D demand can be identified. In summary, the proposed Bayesian statistical method can provide not only point estimates of dynamic O–D demand with high accuracy, but also the corresponding statistical information to capture the uncertainty and improve the reliability of the estimates.
Based on the posterior distribution of the time-dependent O–D demand, Figure 5 shows the 95% confidence intervals for each time-dependent O–D demand estimates. Note that because most variances are small, the lengths of the 95% confidence intervals are also small, which means low uncertainty involved in the estimated O–D demand. It can be seen that the length of intervals for some O–D demand estimates are much smaller than lengths of others. This is because according to the traffic assignment proportions of traffic counts (i.e., φ , ϕ , and Ψ in Equation (31)), some O–D pairs have much more traffic counts related to them. In such a case, the corresponding variance and length of confidence interval could be small since there is more information to update them and reduce the variability. In fact, if we have more observed traffic counts, the variances will be even smaller and the resultant O–D demand estimates will have even lower uncertainty (as demonstrated by Figure 3). This gives a hint to determine which links, nodes, and/or paths need to be observed when estimating traffic flows by the Bayesian method; that is, the network sensor location problem. We can locate sensors on a set of links, nodes, and/or paths which lead to lower uncertainty of the dynamic O–D demand estimation [51].
Table 5 shows the values of three measures (as shown in Equations (39)–(41)) related to the performance of O–D demand estimates. According to the three measures, it can be seen that the total error between the estimated and “true” O–D demands is relatively small. For example, the resultant OD_U is around 0.1. It also can be seen that the errors between the estimated and “true” O–D demands in some time intervals are larger than errors in other time intervals. This is because in those time intervals with larger errors, only a few traffic counts are related to the O–D pairs in the considered time intervals. Thus, the precision of the O–D demand estimates is much lower.
To further study the impact of the number of traffic counts on the precision of the O–D demand estimates, take the O–D demand estimates in time interval 2 for example. Table 6 compares performance of O–D demand estimates with different number of traffic counts related to the considered time interval. For the purpose of comparison, only traffic counts on links are considered in Table 6. When users from an O–D pair in time interval 2 use a link collecting traffic counts, traffic count on this link is treated as related to the O–D pair in time interval 2. From Table 6, it can be seen that when the number of related traffic counts increases, the error between the estimated and “true” O–D demands decreases, as demonstrated by the changes of the three measures’ values. Thus, if we have more observed traffic counts, the errors will be even smaller and the resultant O–D demand estimates have even higher accuracy, as was highly expected. In summary, according to Figure 5 and Table 6, more observed traffic counts can lead to lower uncertainty and higher precision of O–D demand estimates.

7. Conclusions

To estimate dynamic O–D demand, a Bayesian method was proposed in this paper. The method can synthesize multiple sources of data, including link counts, turning movements at intersections, sub-path flows, and/or sub-path travel time. Demand between each O–D pair at each departure time is assumed to satisfy normal distribution. By solving the DUE problem based on a prior O–D demand, the prior distribution of the considered variables can be obtained, including a vector of expected values and variance-covariance matrix. The relationships among all sources of data and all time dependent O–D demands can be established by variance-covariance matrices. By updating traffic counts, the posterior distribution of all variables can be built based on the prior distribution. According to the posterior distribution, both point estimation and the corresponding confidence intervals can be identified. The connection among link counts, turning movements at intersections, sub-path flows, and O–D demand can be obtained by the corresponding traffic assignment proportions. The connection between sub-path travel time and O–D demand cannot be established directly, therefore we convert each observed sub-path travel time to several sub-path flows to incorporate the travel time measurement in dynamic O–D estimation.
Updating the traffic count usually requires computing matrix inversion, which is rather involved even on a network with a modest size. To avoid matrix inversion, a stepwise algorithm is developed for solving the proposed Bayesian method. In this algorithm, the traffic count is updated one by one in each iteration. Thus, matrix inversions are avoided since matrices in the proposed Bayesian statistical model degenerate to column vectors or even scalars. Moreover, since we update a traffic count at a time, when additional traffic counts are observed, we just need to proceed to update the extra traffic counts and do not need to resolve the Bayesian statistical model from the scratch.
The results of the numerical example based on the Nguyen–Dupuis network shows that the total variability of O–D demand decreases with each added traffic count. More traffic counts can lead to smaller variance of the dynamic O–D demand, which means updating each traffic count can reduce the uncertainty in the O–D estimation. Using the proposed algorithm, the total deviations between estimated and observed traffic counts decreases at each iteration, as supported by three measures of performance. After a few iterations, the three measures all decrease to small values and become flat, which implies a good fit between estimated and observed traffic counts. Moreover, the source-specific deviations between estimated and observed traffic counts are small too. This demonstrates the proposed Bayesian method can synthesize multiple sources of data well. It also implies that more traffic counts lead to lower uncertainty of the O–D demand estimates, resulting in a more accurate estimation.
Although normal distribution assumption of traffic flows is reasonable in some cases, sometimes this assumption is not in accordance with reality, especially when the traffic volume is low. Thus, in future research, it is worthwhile to relax the multivariate normal distribution assumption for the prior time-dependent O–D demands. Moreover, in the proposed Bayesian statistical model, the method of considering sub-path travel times is an approximate method. Hence, it is worthwhile to further investigate a more effective method in order to incorporate sub-path travel times in dynamic O–D demand estimation. Last but not least, additional experiments can be performed to evaluate the performance of the proposed model and algorithm in various larger or real transportation networks.

Author Contributions

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

Funding

This research was funded by the Humanities and Social Science Foundation of the Ministry of education in China, grant numbers 18YJCZH274, the Science and Technology Project of Jiangsu Province, China, grant numbers BK20190926, the Science and Technology Project of Zhejiang Province grant numbers, 2021C01011, the Fundamental Research Funds for the Central Universities, grant numbers 22120210251 and 22120210252, the Social Science Fund of Jiangsu Province, grant numbers 20GLC015, and the Natural Science Foundation of the Jiangsu Higher Education Institutions of China, grant numbers 19KJB580003.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

The authors are grateful for comments made by anonymous referees.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Cascetta, E.; Nguyen, S. A unified framework for estimating or updating origin/destination matrices from traffic counts. Transp. Res. Part B 1988, 22, 437–455. [Google Scholar] [CrossRef]
  2. Doblas, J.; Benitez, F.G. An approach to estimating and updating origin-destination matrices based upon traffic counts preserving the prior structure of a survey matrix. Transp. Res. Part B 2005, 39, 565–591. [Google Scholar] [CrossRef]
  3. Nie, Y.; Zhang, H.M. A relaxation approach for estimating origin-destination trip tables. Netw. Spat. Econ. 2010, 10, 147–172. [Google Scholar] [CrossRef]
  4. Caggiani, L.; Ottomanelli, M.; Sassanelli, D. A fixed point approach to origin–destination matrices estimation using uncertain data and fuzzy programming on congested networks. Transp. Res. Part C 2013, 28, 130–141. [Google Scholar] [CrossRef]
  5. Shao, H.; Lam, W.H.K.; Sumalee, A.; Hazelton, M.L. Estimation of mean and covariance of stochastic multi-class OD demands from classified traffic counts. Transp. Res. Part C 2015, 59, 92–110. [Google Scholar] [CrossRef] [Green Version]
  6. Xie, C.; Kockelman, K.M.; Waller, S.T. A maximum entropy-least squares estimator for elastic origin–destination trip matrix estimation. Transp. Res. Part B 2011, 45, 1465–1482. [Google Scholar] [CrossRef]
  7. Parry, M.; Hazelton, M.L. Estimation of origin–destination matrices from link counts and sporadic routing data. Transp. Res. Part B 2012, 46, 175–188. [Google Scholar] [CrossRef]
  8. Maher, M.J. Inferences on trip matrices from observations on link volumes: A Bayesian statistical approach. Transp. Res. Part B 1983, 17, 435–447. [Google Scholar] [CrossRef]
  9. Hazelton, M.L. Inference for origin–destination matrices: Estimation, prediction and reconstruction. Transp. Res. Part B 2001, 35, 667–676. [Google Scholar] [CrossRef]
  10. Hazelton, M.L. Statistical inference for transit system origin-destination Matrices. Technometrics 2010, 52, 221–230. [Google Scholar] [CrossRef]
  11. Perrakis, K.; Karlis, D.; Cools, M.; Janssens, D.; Vanhoof, K.; Wets, G. A Bayesian Approach for Modeling Origin–Destination Matrices. Transp. Res. Part A 2012, 46, 200–212. [Google Scholar] [CrossRef] [Green Version]
  12. Wei, C.; Asakura, Y. A Bayesian approach to traffic estimation in stochastic user equilibrium networks. Transp. Res. Part C 2013, 36, 446–459. [Google Scholar] [CrossRef]
  13. Castillo, E.; Menéndez, J.M.; Sánchez-Cambronero, S. Traffic estimation and optimal counting location without path enumeration using Bayesian networks. Comput. Aided Civ. Infrastruct. Eng. 2008, 23, 189–207. [Google Scholar] [CrossRef]
  14. Castillo, E.; Menéndez, J.M.; Sánchez-Cambronero, S. Predicting traffic flow using Bayesian networks. Transp. Res. Part B 2008, 42, 482–509. [Google Scholar] [CrossRef]
  15. Dey, S.; Winter, S.; Tomko, M. Origin–Destination Flow Estimation from Link Count Data Only. Sensors 2020, 20, 5226. [Google Scholar] [CrossRef] [PubMed]
  16. Cheng, L.; Zhu, S.; Chu, Z.; Cheng, J. A Bayesian Network Model for Origin-Destination Matrices Estimation Using Prior and Some Observed Link Flows. Discret. Dyn. Nat. Soc. 2014, 2014, 192470. [Google Scholar] [CrossRef]
  17. Cascetta, E.; Inaudi, D.; Marquis, G. Dynamic estimators of origin–destination matrices using traffic counts. Transp. Sci. 1993, 27, 363–373. [Google Scholar] [CrossRef]
  18. Sherali, H.D.; Park, T. Estimation of dynamic origin–destination trip tables for a general network. Transp. Res. Part B 2001, 35, 217–235. [Google Scholar] [CrossRef]
  19. Bierlaire, M.; Crittin, F. An efficient algorithm for real-time estimation and prediction of dynamic OD tables. Oper. Res. 2004, 52, 116–127. [Google Scholar] [CrossRef] [Green Version]
  20. Guo, J.; Liu, Y.; Li, X.; Huang, W.; Cao, J.; Wei, Y. Enhanced least square based dynamic OD matrix estimation using Radio Frequency Identification data. Math. Comput. Simul. 2019, 155, 27–40. [Google Scholar] [CrossRef]
  21. Feng, Y.; Sun, J.; Chen, P. Vehicle trajectory reconstruction using automatic vehicle identification and traffic count data. J. Adv. Transp. 2015, 49, 174–194. [Google Scholar] [CrossRef]
  22. Rao, W.; Wu, Y.J.; Xia, J.; Ou, J.; Kluger, R. Origin-destination pattern estimation based on trajectory reconstruction using automatic license plate recognition data. Transp. Res. Part C 2018, 95, 29–46. [Google Scholar] [CrossRef]
  23. Yang, J.; Sun, J. Vehicle path reconstruction using automatic vehicle identification data: An integrated particle filter and path flow estimator. Transp. Res. Part C 2015, 58, 107–126. [Google Scholar] [CrossRef]
  24. Kattan, L.; Abdulhai, B. Non iterative approach to dynamic traffic origin-destination estimation using parallel evolutionary algorithms. Transp. Res. Rec. 2006, 1964, 201–210. [Google Scholar] [CrossRef]
  25. Balakrishna, R.; Ben-Akiva, M.E.; Koutsopoulos, H.N. Time-dependent origin-destination estimation without assignment matrices. In Transport Simulation: Beyond Traditional Approaches; Chung, E., Dumont, A.G., Eds.; EPFL Press: Lausanne, Switzerland, 2008; pp. 201–213. [Google Scholar]
  26. Cipriani, E.; Florian, M.; Mahut, M.; Nigro, M. A gradient approximation approach for adjusting temporal origin–destination matrices. Transp. Res. Part C 2011, 19, 270–282. [Google Scholar] [CrossRef]
  27. Huang, S.; Sadek, A.W.; Guo, L. A computational-based approach to estimating travel demand in large-scale microscopic traffic simulation models. J. Comput. Civ. Eng. 2012, 27, 78–86. [Google Scholar] [CrossRef]
  28. Tympakianaki, A.; Koutsopoulos, H.N.; Jenelius, E. c-SPSA: Cluster-wise simultaneous perturbation stochastic approximation algorithm and its application to dynamic origin–destination matrix estimation. Transp. Res. Part C 2015, 55, 231–245. [Google Scholar] [CrossRef]
  29. Nie, Y.M.; Zhang, H.M. A variational inequality approach for inferring dynamic origin–destination travel demands. Transp. Res. Part B 2008, 42, 635–662. [Google Scholar] [CrossRef]
  30. Lundgren, J.T.; Peterson, A. A heuristic for the bilevel origin–destination-matrix estimation problem. Transp. Res. Part B 2008, 42, 339–354. [Google Scholar] [CrossRef] [Green Version]
  31. Yang, H.; Akiyama, T.; Sasaki, T. Estimation of time-varing origin-destination flows from traffic counts: A neural network approach. Math. Comput. Model. 1998, 27, 323–334. [Google Scholar]
  32. Alibabai, H.; Mahmassani, H. Dynamic Origin-Destination Demand Estimation Using Turning Movement Counts. Transp. Res. Rec. 2009, 2085, 39–48. [Google Scholar] [CrossRef]
  33. Lu, Z.; Rao, W.; Wu, Y.; Guo, L.; Xia, J. A Kalman filter approach to dynamic OD flow estimation for urban road networks using multi-sensor data. J. Adv. Transp. 2014, 49, 210–227. [Google Scholar] [CrossRef]
  34. Castillo, E.; Jiménez, P.; Menéndez, J.M.; Nogal, M. A Bayesian method for estimating traffic flows based on plate scanning. Transp 2013, 40, 173–201. [Google Scholar] [CrossRef]
  35. Hu, S.R.; Peeta, S.; Liou, H.T. Integrated Determination of Network Origin-Destination Trip Matrix and Heterogeneous Sensor Selection and Location Strategy. IEEE Trans. Intell. Transp. Syst. 2015, 17, 195–205. [Google Scholar] [CrossRef]
  36. Zhou, X.; Mahmassani, H.S. Dynamic OD demand estimation using automatic vehicle identification data. IEEE Trans. Intell. Transp. Syst. 2006, 7, 105–114. [Google Scholar] [CrossRef]
  37. Yang, X.; Lu, Y.; Hao, W. Origin-Destination Estimation Using Probe Vehicle Trajectory and Link Counts. J. Adv. Transp. 2017, 2017, 1–18. [Google Scholar] [CrossRef]
  38. Krishnakumari, P.; van Lint, H.; Djukic, T.; Cats, O. A data driven method for OD matrix estimation. Transp. Res. Part C 2020, 113, 38–56. [Google Scholar] [CrossRef] [Green Version]
  39. Cao, Y.; Tang, K.; Sun, J.; Ji, Y. Day-to-day dynamic origin–destination flow estimation using connected vehicle trajectories and automatic vehicle identification data. Transp. Res. Part C 2021, 129. in press. [Google Scholar] [CrossRef]
  40. Dixon, M.P.; Rilett, L.R. Real-time OD estimation using automatic vehicle identification and traffic count data. Comput. Aided Civ. Infrastruct. Eng. 2002, 17, 7–21. [Google Scholar] [CrossRef]
  41. Ghali, M.O.; Smith, M.J. A model for the dynamic system optimum traffic assignment problem. Transp. Res. Part B 1995, 29, 155–170. [Google Scholar] [CrossRef]
  42. Qian, Z.; Zhang, H.M. Computing individual path marginal cost in networks with queue spillbacks. Transp. Res. Rec. 2011, 2263, 9–18. [Google Scholar] [CrossRef]
  43. Balakrishna, R. Off-Line Calibration of Dynamic Traffic Assignment Models. Ph.D. Thesis, Massachusetts Institute of Technology, Cambridge, MA, USA, 2006. [Google Scholar]
  44. Lu, C.C.; Zhou, X.; Zhang, K. Dynamic origin–destination demand flow estimation under congested traffic conditions. Transp. Res. Part C 2013, 34, 16–37. [Google Scholar] [CrossRef]
  45. Ma, W.; Qian, Z. Estimating multi-year 24/7 origin-destination demand using high-granular multi-source traffic data. Transp. Res. Part C 2018, 96, 96–121. [Google Scholar] [CrossRef] [Green Version]
  46. Mamei, M.; Bicocchi, N.; Lippi, M.; Mariani, S.; Zambonelli, F. Evaluating Origin–Destination Matrices Obtained from CDR Data. Sensors 2019, 19, 4470. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  47. Iqbal, M.S.; Choudhury, C.F.; Wang, P.; González, M.C. Development of origin–destination matrices using mobile phone call data. Transp. Res. Part C 2014, 40, 63–74. [Google Scholar] [CrossRef] [Green Version]
  48. Lauren, A.; Jiang, S.; Murga, M.; González, M.C. Origin–destination trips by purpose and time of day inferred from mobile phone data. Transp. Res. Part C 2015, 58, 240–250. [Google Scholar]
  49. Zhu, S.; Guo, Y.; Chen, J.; Li, D.; Cheng, L. Integrating Optimal Heterogeneous Sensor Deployment and Operation Strategies for Dynamic Origin-Destination Demand Estimation. Sensors 2017, 17, 1767. [Google Scholar] [CrossRef] [Green Version]
  50. Huang, Y.; Shao, C.S.; Wu, B.; Beck, J.L.; Li, H. State-of-the-art review on Bayesian inference in structural system identification and damage assessment. Adv. Struct. Eng. 2019, 22, 1329–1351. [Google Scholar] [CrossRef]
  51. Beck, J.L. Bayesian system identification based on probability logic. Struct. Control Health Monit. 2010, 17, 825–847. [Google Scholar] [CrossRef]
  52. Green, P.L.; Cross, E.J.; Worden, K. Bayesian system identification of dynamical systems using highly informative training data. Mech. Syst. Signal. Process. 2015, 56–57, 109–122. [Google Scholar] [CrossRef] [Green Version]
  53. Zhu, Z.; Zhu, S.; Zheng, Z.; Yang, H. A generalized Bayesian traffic model. Transp. Res. Part C 2019, 108, 182–206. [Google Scholar] [CrossRef]
  54. Tang, Y.; Huang, S. Assessing seismic vulnerability of urban road networks by a Bayesian network approach. Transp. Res. Part D 2019, 77, 390–402. [Google Scholar] [CrossRef]
  55. Tang, T.; Zhu, S.; Guo, Y.; Zhou, X.; Cao, Y. Evaluating the safety risk of rural roadsides usinga Bayesian network method. Int. J. Environ. Res. Public Health 2019, 16, 1166. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  56. Lam, W.H.K.; Shao, H.; Sumalee, A. Modeling Impacts of Adverse Weather Conditions on a Road Network with Uncertainties in Demand and Supply. Transp. Res. Part B 2008, 42, 890–910. [Google Scholar] [CrossRef]
  57. Shao, H.; Lam, W.H.K.; Sumalee, A.; Chen, A.; Hazelton, M.L. Estimation of Mean and Covariance of Peak Hour Origin–Destination Demands from Day-to-Day Traffic Counts. Transp. Res. Part B 2014, 68, 52–75. [Google Scholar] [CrossRef]
  58. Toledo, T.; Koutsopoulos, H.N.; Ben-Akiva, M. Integrated driving behavior modeling. Transp. Res. Part C 2007, 15, 96–112. [Google Scholar] [CrossRef]
Figure 1. The stepwise method to solve the Bayesian model.
Figure 1. The stepwise method to solve the Bayesian model.
Sensors 21 04971 g001
Figure 2. The Nguyen–Dupuis network.
Figure 2. The Nguyen–Dupuis network.
Sensors 21 04971 g002
Figure 3. Total O–D variance after updating each traffic count in one iteration.
Figure 3. Total O–D variance after updating each traffic count in one iteration.
Sensors 21 04971 g003
Figure 4. Measures of performance after each iteration.
Figure 4. Measures of performance after each iteration.
Sensors 21 04971 g004
Figure 5. Confidence intervals of 95% for O–D demand estimates.
Figure 5. Confidence intervals of 95% for O–D demand estimates.
Sensors 21 04971 g005
Table 1. Studies on O–D demand estimation using multiple sources of data.
Table 1. Studies on O–D demand estimation using multiple sources of data.
ReferencesCaseTraffic CountsVariability Information
Link FlowNode Turning MovementsPartial Path FlowLink Travel TimePath Travel Time
[31]Dynamic×××××
[32,33]Dynamic××××
[34]Static×××
[35]Static××××
[36,37,38,39]Dynamic××××
[40]Dynamic××××
[42]Dynamic××××
This paperDynamic×
Table 2. Observed and estimated sub-path travel time.
Table 2. Observed and estimated sub-path travel time.
Sub-PathDeparture TimeObservedEstimatedRelative Error (%)Sub-PathDeparture TimeObservedEstimatedRelative Error (%)
5-6-7-817.57.450.675-9-10-1127.57.342.13
5-6-7-8354.833.45-9-10-11477.11.43
Table 3. Observed and estimated node turning movements.
Table 3. Observed and estimated node turning movements.
Turning MovementDeparture TimeObservedEstimatedRelative Error (%)Turning MovementDeparture TimeObservedEstimatedRelative Error (%)
2-11-10063688.007-6-53362725.00
10-6-1214151.2124.907-6-12440.72448.06
3-11-1019182.079.817-6-54127.26120.025.69
2-11-1011241326.452-11-7457.92638.77
7-6-5239402.562-11-10473.4274.341.25
7-11-3250476.007-6-12570.8675.76.83
3-11-1023532.676.667-6-55108.25105.872.20
2-11-1021381412.172-11-1055253.663.19
10-6-12335362.867-6-12634.6332.755.43
Table 4. Observed and estimated link flows.
Table 4. Observed and estimated link flows.
LinkDeparture TimeObservedEstimatedRelative Error (%)LinkDeparture TimeObservedEstimatedRelative Error (%)
8-120143.06138.283.343-133140.09147.185.06
5-90161163.111.313-134142.35150.565.77
3-130139163.4217.575-641401421.43
4-50137146.56.936-54179.26176.591.49
12-81154.26161.944.987-84167.251538.52
8-121189.81192.391.368-75159.23166.014.26
5-91285282.80.0812-85216.47194.1310.32
9-51240260.618.598-125186.88189.591.45
8-122147.23147.960.501-125195.59172.3811.87
12-12136160.0417.683-13693.3496.433.31
5-92339.94337.660.6712-86141.67121.2114.44
9-52322.75311.923.358-126128.86138.797.71
1-12399.6788.7310.9812-16107.41111.693.99
5-93284.45309.138.685-66212519.05
9-53100.9697.643.299-13635.11343.16
Table 5. Comparison between estimated and true O–D demand.
Table 5. Comparison between estimated and true O–D demand.
Time Interval%OD_RMSEOD_MAEOD_U
022.17%8.360.11
134.97%13.000.18
231.42%11.530.16
329.22%11.770.15
415.07%5.530.07
523.20%9.290.11
Total25.30%9.420.12
Table 6. Performance of O–D demand estimates with different number of traffic counts (time interval = 2).
Table 6. Performance of O–D demand estimates with different number of traffic counts (time interval = 2).
Number of Related Traffic Counts%OD_RMSEOD_MAEOD_U
433.69%12.870.18
831.55%11.660.17
1221.04%8.090.11
1618.95%7.760.10
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Yu, H.; Zhu, S.; Yang, J.; Guo, Y.; Tang, T. A Bayesian Method for Dynamic Origin–Destination Demand Estimation Synthesizing Multiple Sources of Data. Sensors 2021, 21, 4971. https://doi.org/10.3390/s21154971

AMA Style

Yu H, Zhu S, Yang J, Guo Y, Tang T. A Bayesian Method for Dynamic Origin–Destination Demand Estimation Synthesizing Multiple Sources of Data. Sensors. 2021; 21(15):4971. https://doi.org/10.3390/s21154971

Chicago/Turabian Style

Yu, Hang, Senlai Zhu, Jie Yang, Yuntao Guo, and Tianpei Tang. 2021. "A Bayesian Method for Dynamic Origin–Destination Demand Estimation Synthesizing Multiple Sources of Data" Sensors 21, no. 15: 4971. https://doi.org/10.3390/s21154971

APA Style

Yu, H., Zhu, S., Yang, J., Guo, Y., & Tang, T. (2021). A Bayesian Method for Dynamic Origin–Destination Demand Estimation Synthesizing Multiple Sources of Data. Sensors, 21(15), 4971. https://doi.org/10.3390/s21154971

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

Article Metrics

Back to TopTop