Improving Travel Time Reliability with Variable Speed Limits Alexander Hammerl, Ravi Seshadri, Thomas Kjær Rasmussen, Otto Anker Nielsen Abstract This paper analyzes the use of variable speed limits to optimize travel time reliability for commuters. The investigation focuses on a traffic corridor with a bottleneck subject to the capacity drop phenomenon. The optimization criterion is a linear combination of the expected value and standard deviation of average travel time, with traffic flow dynamics following the kinematic wave model (Lighthill, 1955; Richards, 1956). We develop two complementary models to optimally set variable speed limits: In the first model, daily peak traffic demand is conceptualized as a stochastic variable, and the resulting model is solved through a three-stage optimization algorithm. The second model is based on deterministic demand, instead modeling bottleneck capacity as a stochastic process using a stochastic differential equation (SDE). The practical applicability of both approaches is demonstrated through numerical examples with empirically calibrated data. Journal: Transportation Research Part B † † highlights: Optimization of variable speed limits to balance expected travel times and their deviations Threshold-based control strategy for stochastic peak demand using variational methods Stochastic MPC formulation with capped Ornstein–Uhlenbeck model for capacity fluctuations Simulation-based validation on I-880N showing significant reduction in travel time variability 1 Introduction Variable Speed Limit (VSL) systems are dynamic traffic management tools that adjust posted speed limits in response to real-time traffic conditions through overhead or roadside display signs. A review paper by Khondaker and Kattan (2015b) summarizes the operational benefits of traditional VSL applications as follows: improved safety, prevention of traffic breakdown, and increase of throughput at bottlenecks. The latter two are possible due to the capacity drop phenomenon, where the maximum flow rate at an active bottleneck can drop below the theoretical capacity once congestion sets in ( Banks (1990) , Hall and Agyemang-Duah (1991) , Cassidy and Bertini (1999) , Bertini and Leal (2005) ) - a reduction that VSL systems can help prevent by strategically slowing down approaching traffic. Modern VSL control strategies are based on predictive modeling of traffic behavior (e.g. Bertini et al. (2006) , Papageorgiou et al. (2008) , Carlson et al. (2010a) , Carlson et al. (2010c) , Carlson et al. (2010b) , Carlson et al. (2011) , Weikl et al. (2013) , Chen et al. (2014) , Carlson et al. (2014) , Jin and Jin (2015) , Khondaker and Kattan (2015a) , Zhang et al. (2018) ). They employ a closed-loop feedback control mechanism to continuously update predictions and control actions based on new traffic data. These predictions typically rely on either macroscopic traffic flow models (c.f. Lighthill and Whitham (1955) , Richards (1956) , Payne (1971) ) or microscopic models of car-following behavior (c.f. Bando et al. (1995) , Treiber et al. (2000) , Helbing (2001) ). Much less attention has been paid to the potential of VSL systems for improving travel time reliability. Travel time reliability, typically measured by its standard deviation or variance, represents a significant factor in commuter route choice. While some empirical studies suggesting travelers value predictability nearly as highly as average travel time, all studies confirm its substantial importance ( Li et al., 2010 ; Ramezani and Geroliminis, 2012 ; Prato et al., 2014 ; Seshadri and Srinivasan, 2017 ; Prakash et al., 2018 ; Saedi et al., 2020 ) . To our knowledge, the optimization of VSL systems to improve travel time reliability has not been investigated in existing literature. This paper addresses this research gap and develops methods for specifically optimizing VSL strategies for travel time reliability. Our primary contributions are as follows: first, we formulate a novel bi-objective optimization framework that explicitly balances mean travel time against travel time variability, extending traditional VSL approaches that focus solely on throughput maximization or mean travel time minimization. This framework captures commuters’ risk-averse route choice behavior directly in the control objective. Second, we develop two complementary stochastic models to capture different sources of uncertainty in traffic systems: a discrete stochastic programming formulation for day-to-day demand variations and a continuous-time stochastic differential equation model for within-day capacity fluctuations. Both models lead to computationally tractable solution algorithms - the demand uncertainty model reduces to a one-dimensional threshold search problem despite its infinite-dimensional nature, while the capacity uncertainty model yields a convex stochastic model predictive control formulation solvable in real-time. Additionally, we provide theoretical insights into the structure of optimal policies. We prove that under demand uncertainty, the optimal VSL strategy exhibits an elegant threshold structure that partitions traffic conditions into distinct control regimes, which significantly simplifies implementation. The remainder of this paper is organized as follows. Section 2 presents the kinematic wave model with capacity drop that forms the foundation of our analysis. Section 3 develops the stochastic demand model, deriving the threshold-based optimal control policy through variational methods and presenting the Model Predictive Control implementation. Section 4 formulates the alternative model with stochastic capacity variations, employing an Ornstein-Uhlenbeck process to capture bottleneck capacity fluctuations and deriving the corresponding stochastic MPC formulation. Both sections include numerical validation using empirically calibrated parameters from Interstate 880 in California. Finally, Section 5 concludes with a discussion of practical implications and directions for future research. 2 A Kinematic Wave Model of Capacity Drop The contemporary formulation of the LWR theory can be summarized as follows (see e.g. Jin (2021) ): The rate of change in the total number of vehicles contained in any road segment [x_{1},x_{2}] where x_{2}>x_{1} is equal to the net flow of vehicles out of the segment, i.e. \frac{d}{dt}\int_{x_{1}}^{x_{2}}k(x,t)\,dx=-\left[q(x,t)\right]_{x_{1}}^{x_{2}}, (1) If k and q are differentiable functions, the expression simplifies to the partial differential equation \frac{\partial k}{\partial t}+\frac{\partial q}{\partial x}=0. (2) In addition to 1 , the LWR theory assumes the existence of a functional relationship between q and k under differentiable conditions: q(x,t)=Q(x,k(x,t)), (3) where Q is a concave, non-negative function that is equal to zero at k=0 and at the jam density k=k_{j} . Flow and density are related to the cumulative flow N(x,t) as follows: q(x,t)=\frac{\partial N}{\partial t}(x,t),\quad k(x,t)=-\frac{\partial N}{\partial x}(x,t) (4) In cases where k has a discontinuity at (x,t) , known as a shockwave, the shockwave’s speed u is specified as: u=\frac{[q]}{[k]}=\frac{q_{2}-q_{1}}{k_{2}-k_{1}}. (5) The third variable, the average speed , is defined as v=\frac{q}{k} . On substituting equation 2 into 3 , we obtain \frac{\partial k}{\partial t}+\frac{dQ}{dk}\cdot\frac{\partial k}{\partial x}=0, (6) It is important to note that customary solutions of the LWR model do not solve the coupled system of equations 1 and 3 . Instead, they solve equation 6 , which applies the fundamental diagram only at points where traffic variables are differentiable in both space and time. At discontinuities, solutions require supplementary entropy conditions to guarantee uniqueness. For comprehensive treatments of entropy solutions in traffic flow modeling, readers may consult Lebacque (1996) , Ansorge (1990) and Jin et al. (2009) . We assume that all considered instances are well-posed in the sense of ( Daganzo (2005a) , Daganzo (2005b) , Daganzo (2006) ), i.e., every point in the solution domain is intersected by at least one kinematic wave. Under this assumption, the physically correct solution for N(x,t) is uniquely determined by identification of the path from the boundary to (x,t) along which the minimum solution for N(x,t) is obtained ( Daganzo (2005a) , Newell (1993) ). The formulation of additional entropy solutions is not necessary. If a solution exists for k(x,t) and q(x,t) , it is also unique. We proceed by defining the demand and supply functions by \displaystyle d(k) \displaystyle=q\left(\min\{k,k_{c}\}\right), \displaystyle s(k) \displaystyle=q\left(\max\{k,k_{c}\}\right). Traffic moves along a road segment of length l , which ends in a bottleneck with a maximum capacity q_{bn} . When congestion forms at the bottleneck, its discharge capacity decreases by \Delta percent. We model capacity drop according to the phenomenological approach by Jin et al. (2015) : q(l,t)=\begin{cases}d(l^{-},t),&d(l^{-},t)\leq s(0^{+},t)\\ \min\{s(l^{+},t),q_{bn}^{*}\},&d(l^{-},t)>s(l^{+},t)\end{cases} (7) where q_{bn}^{*}=(1-\Delta)\cdot q_{bn} is the dropped capacity. Theoretical explanations for the capacity drop phenomenon (see e.g. Hall and Agyemang-Duah (1991) , Jin (2017) , Jin and Laval (2018) , Khoshyaran and Lebacque (2015) , Wada et al. (2020) ) primarily attribute the problem to drivers’ bounded acceleration when exiting congested zones. Jin (2017) demonstrates that the capacity drop model governed by 7 is formally equivalent to a behavioral kinematic wave representation of capacity drop with bounded acceleration inside a continuous lane drop bottleneck, except for the solution in a short acceleration zone immediately downstream of the bottleneck. The travel time \tau(t) for a vehicle entering the segment at time t is described by: \tau(t)=\inf\{T\geq 0:N(l,t+T)>N(0,t)\}. (8) 3 Variable Speed Limits and Stochastic Demand In this section, we determine variable speed limits via a time-stepped optimization that, at each decision time t_{k} , uses only the information available up to t_{k} . We consider unidirectional traffic flow along a homogeneous corridor without entry or exit ramps. Figure 1 depicts the schematic geometry of the analyzed road section. Figure 1 : Schematic representation of the analyzed corridor with VSL control at the upstream boundary and bottleneck at the downstream end. The objective balances the day-to-day mean and variability of the per-vehicle average travel time: \min J:=\alpha\,\mathbb{E}[\mathcal{T}_{\text{avg}}]+(1-\alpha)\,\text{Std}[\mathcal{T}_{\text{avg}}],\qquad\alpha\in[0,1], (9) where the average travel time per vehicle is defined as \mathcal{T}_{\text{avg}}=\frac{\mathcal{T}}{\mathcal{Q}}, with the total daily travel time and total admitted flow given by \mathcal{T}=\int_{0}^{T}\int_{0}^{\ell}k(x,t;q_{p}^{0})\,dx\,dt,\qquad\mathcal{Q}=\int_{0}^{T}q(0,t;q_{p}^{0})\,dt. Here, q(0,t;q_{p}^{0}) denotes the admitted inflow at the upstream boundary, k(x,t;\allowbreak q_{p}^{0}) the traffic density, \ell the corridor length, T the optimization horizon, and q_{p}^{0} represents the stochastic parameter (e.g., demand uncertainty) from which the randomness in \mathcal{T}_{\text{avg}} arises. 3.1 Computing the Minimum Total Travel Time In the first optimization step, the minimum achievable average travel time is determined for a given realization of the stochastic parameter q_{p}^{0} . For each fixed value of q_{p}^{0} , the boundary inflow profile q(0,t;q_{p}^{0}) is deterministic and can take an arbitrary functional form. The control strategy is calibrated to minimize the average travel time for this specific realization. Since the total admitted flow is fixed by the inflow profile, minimizing the average travel time is equivalent to minimizing the total travel time, which in turn corresponds to maximizing the downstream flow q(\ell,t) at every time t . We define N^{+}(l,t) as the number of vehicles that would pass position l by time t without a bottleneck, and q^{+}(l,t) as the corresponding flow. According to the variational formulation of kinematic wave theory developed by Daganzo (2005a) , the curve N^{+}(l,t) can be determined by N^{+}(l,t)=\min_{t_{0}\leq t}\left\{N(0,t_{0})+f^{*}(\frac{l}{t_{0}-t})\cdot\frac{l}{t-t_{0}}\right\}, where f^{*}(p) denotes the Legendre-Fenchel transform of the fundamental diagram, f^{*}(p)=\sup_{k}\{q(k)-k\cdot p\}. For the important class of concave speed-density relationships, Hammerl et al. (2024) note that the correct solution always corresponds to the kinematic wave that emanates last from the upstream end of the corridor. The actual vehicle count N_{\text{min}}(l,t) is determined using q^{+}(l,t) as arrival rate and q(l,t) as departure rate in a D/D/1 queue with service rate q_{\text{bn}} (c.f. Newell (1993) ), as illustrated in Figure 2 . The minimum total travel time is then: \mathcal{T}_{\text{min}}(q_{p}^{0})=\int_{0}^{N}\left(N^{-1}_{\text{min}}(l,t)-N^{-1}_{\text{min}}(0,t)\right)\,dt, the minimum average travel time is then given by \mathcal{T}_{\text{min},\text{avg}}(q_{p}^{0})=\frac{\mathcal{T}_{\text{min}}(q_{p}^{0})}{N(0,T)}. (10) Figure 2 : Graphical determination of N(l,t) for given N^{+}(l,t) . 3.2 Solving the Variational Minimization Problem In the second stage, we solve the stochastic variational optimization problem ( 9 ) subject to the additional constraint: \mathcal{T}_{\text{avg}}(q_{p})\geq\mathcal{T}_{\text{min},\text{avg}}(q_{p})\quad\forall q_{p}\in\text{supp}(\varphi). To solve ( 9 ), we first discretize the support of the probability distribution, which is then extended to a solution for continuous distributions by considering the corresponding limit for n\to\infty : \text{supp}(\varphi)=\{q_{p}^{0},q_{p}^{1},\dots,q_{p}^{n}\}. For this discrete case, the problem can be formulated as a quadratic optimization problem with constraints using Lagrange multipliers: \begin{split}\mathcal{L}(\mathcal{T}_{\text{avg}}(q_{p}^{1}),\dots,\mathcal{T}_{\text{avg}}(q_{p}^{n}),&\lambda_{1},\dots,\lambda_{n})=\;\alpha\sum_{i=1}^{n}p(q_{p}^{i})\,\mathcal{T}_{\text{avg}}(q_{p}^{i})\\ &+(1-\alpha)\sqrt{\sum_{i=1}^{n}p(q_{p}^{i})\left(\mathbb{E}[\mathcal{T}_{\text{avg}}]-\mathcal{T}_{\text{avg}}(q_{p}^{i})\right)^{2}}\\ &+\sum_{i=1}^{n}\lambda_{i}\left(\mathcal{T}_{\text{min},\text{avg}}(q_{p}^{i})-\mathcal{T}_{\text{avg}}(q_{p}^{i})\right)\end{split} (11) Without loss of generality, we choose the indices so that the lower bounds are monotonically increasing, i.e., \mathcal{T}_{\text{avg}}({\text{min}}(q_{p}^{i}))\leq\mathcal{T}_{\text{avg}}({\text{min}}(q_{p}^{i+1})) for all i . Since both the mean and standard deviation are convex in their components, the unique critical point of the function is a minimum. The lower bounds of the individual decision variables are always constants; therefore, the optimization program ( 11 ) satisfies the linearity constraint qualification. Consequently, the unique minimum of the program satisfies the Karush-Kuhn-Tucker (KKT) conditions. The KKT conditions of the Lagrangian are as follows: 1. Stationarity: The partial derivatives of the Lagrangian with respect to \mathcal{T}_{\text{avg}}(q_{p}^{i}) must vanish: \frac{\partial\mathcal{L}}{\partial\mathcal{T}_{\text{avg}}(q_{p}^{i})}=\alpha\cdot\frac{\partial\mathbb{E}[\mathcal{T}_{\text{avg}}]}{\partial\mathcal{T}_{\text{avg}}(q_{p}^{i})}+(1-\alpha)\cdot\frac{\partial\text{Std}[\mathcal{T}_{\text{avg}}]}{\partial\mathcal{T}_{\text{avg}}(q_{p}^{i})}-\lambda_{i}=0,\quad\forall i. (12) 2. Complementary slackness: The Lagrange multipliers must satisfy: \lambda_{i}\cdot\big(\mathcal{T}_{\text{min}}(q_{p}^{i})-\mathcal{T}_{\text{avg}}(q_{p}^{i})\big)=0,\quad\forall i. (13) 3. Primal Feasibility: The decision variables must satisfy: \mathcal{T}_{\text{avg}}(q_{i}^{p})\geq\mathcal{T}_{\min}(q_{i}^{p}),\quad\forall i. 4. Dual Feasibility: The Lagrange multipliers must be non-negative: \lambda_{i}\geq 0,\quad\forall i. Computing the partial derivatives explicitly, we obtain: \frac{\partial\mathbb{E}[\mathcal{T}_{\text{avg}}]}{\partial\mathcal{T}_{\text{avg}}(q_{p}^{i})}=p(q_{p}^{i}), and using the chain rule: \frac{\partial\text{Std}[\mathcal{T}_{\text{avg}}]}{\partial\mathcal{T}_{\text{avg}}(q_{p}^{i})}=\frac{p(q_{p}^{i})\big(\mathcal{T}_{\text{avg}}(q_{p}^{i})-\mathbb{E}[\mathcal{T}_{\text{avg}}]\big)}{\text{Std}[\mathcal{T}_{\text{avg}}]}. Substituting into ( 12 ) yields: \alpha\cdot p(q_{p}^{i})+(1-\alpha)\cdot p(q_{p}^{i})\cdot\frac{\mathcal{T}_{\text{avg}}(q_{p}^{i})-\mathbb{E}[\mathcal{T}_{\text{avg}}]}{\text{Std}[\mathcal{T}_{\text{avg}}]}-\lambda_{i}=0,\quad\forall i. From the dual feasibility conditions, we obtain: \displaystyle\lambda_{i}=p_{i}\cdot\left(\alpha+(1-\alpha)\frac{\mathcal{T}_{\text{avg}}(q_{p}^{i})-\mathbb{E}[\mathcal{T}_{\text{avg}}]}{\text{Std}[\mathcal{T}_{\text{avg}}]}\right)\geq 0. (14) We now establish that the solution to the discretized optimization problem exhibits an elegant threshold structure, which significantly reduces the computational complexity by transforming the high-dimensional optimization into a simple search for a single threshold value. Proposition 3.1 (Structure of Optimal Solution) . The optimal solution to the discrete optimization problem ( 11 ) exhibits a threshold structure. When ordering the indices by ascending values of \mathcal{T}_{\min}(q_{p}^{i}) , there exists a critical index j^{*} such that: 1. For all i\leq j^{*} : \mathcal{T}_{\text{avg}}(q_{p}^{i})=\mathcal{T}^{*} for some constant \mathcal{T}^{*}>\mathcal{T}_{\min}(q_{p}^{i}) , 2. For all i>j^{*} : \mathcal{T}_{\text{avg}}(q_{p}^{i})=\mathcal{T}_{\min}(q_{p}^{i}) (constraint is binding). Moreover, the threshold value satisfies: \mathcal{T}^{*}=\mathbb{E}[\mathcal{T}^{*}]-\frac{\alpha}{1-\alpha}\cdot\mathrm{Std}[\mathcal{T}^{*}]. (15) Proof. First, we establish that if constraint i^{*} is binding, then all subsequent constraints must also be binding. Let \lambda_{i^{*}}>0 . From ( 14 ): \lambda_{i^{*}}=p_{i^{*}}\cdot\left(\alpha+(1-\alpha)\cdot\frac{\mathcal{T}_{\min}(q_{p}^{i^{*}})-\mathbb{E}[\mathcal{T}_{\text{avg}}]}{\mathrm{Std}[\mathcal{T}_{\text{avg}}]}\right)>0. This implies: \alpha+(1-\alpha)\cdot\frac{\mathcal{T}_{\min}(q_{p}^{i^{*}})-\mathbb{E}[\mathcal{T}_{\text{avg}}]}{\mathrm{Std}[\mathcal{T}_{\text{avg}}]}>0. Since \mathcal{T}_{\min}(q_{p}^{i^{*}+1})\geq\mathcal{T}_{\min}(q_{p}^{i^{*}}) , we have: \lambda_{i^{*}+1}\geq p_{i^{*}+1}\cdot\left(\alpha+(1-\alpha)\frac{\mathcal{T}_{\min}(q_{p}^{i^{*}})-\mathbb{E}[\mathcal{T}_{\text{avg}}]}{\text{Std}[\mathcal{T}_{\text{avg}}]}\right)>0, hence \mathcal{T}_{\text{avg}}(q_{p}^{i^{*}+1})=\mathcal{T}_{\min}(q_{p}^{i^{*}+1}) . Next, we prove that all non-binding entries are equal. Suppose for contradiction that there exist i,j\leq j^{*} with \mathcal{T}_{\text{avg}}(q_{p}^{i})>\mathcal{T}_{\text{avg}}(q_{p}^{j}) . Consider the perturbation: \tilde{\mathcal{T}}(q_{p}^{i})=\mathcal{T}_{\text{avg}}(q_{p}^{i})-\varepsilon\cdot\frac{p_{j}}{p_{i}+p_{j}},\quad\tilde{\mathcal{T}}(q_{p}^{j})=\mathcal{T}_{\text{avg}}(q_{p}^{j})+\varepsilon\cdot\frac{p_{i}}{p_{i}+p_{j}}. This preserves the mean but reduces the standard deviation, yielding J(\tilde{\mathcal{T}})0,\\ \min\left\{s(k(0,t)),D(t)\right\},&\text{if }\ell(t)=0.\end{cases} (20) State variables and dynamics. Let the horizon be discretized into N equal time–steps of length \Delta t=1\,\text{min} . Denote by \displaystyle L_{k} \displaystyle\;[\text{veh}] queue length at the link entrance, \displaystyle D_{k} \displaystyle\;[\text{veh\textperiodcentered h}] \displaystyle\text{cumulative total delay up to step }k, \displaystyle V_{k} \displaystyle\;[\text{veh}] \displaystyle\text{cumulative vehicles admitted up to step }k, where k=0,\dots,N and L_{0}=D_{0}=V_{0}=0 . The queue evolves according to L_{k+1}=\max\!\bigl\{L_{k}+u_{k}-q_{bn}\Delta t,\;0\bigr\}, with u_{k} the vehicles admitted during step k . The total delay now consists of two components: D_{k+1}=D_{k}+L_{k}\,\Delta t+\frac{u_{k}}{3600}\left(\tau_{k}(u_{k},d_{k})-T_{0}\right),\qquad V_{k+1}=V_{k}+u_{k}, where \tau_{k}(u_{k},d_{k}) is the expected travel time on the link in minutes for vehicles admitted at step k , and T_{0} is the free-flow travel time. The term \frac{u_{k}}{3600}(\tau_{k}-T_{0}) accounts for the additional link traversal delay due to reduced speed, which is calculated as the inverse of the control speed v_{k} . Delay - budget trajectory The total excess delay that still satisfies the target average travel time T_{\text{tar}} is D_{\text{tot}}=\frac{T_{\text{tar}}-T_{0}}{60}\,V_{N}^{\max},\qquad V_{N}^{\max}=\sum_{k=0}^{N-1}d_{k}, where d_{k} is the exogenous demand in veh per step. We spread this “delay budget" over the horizon via D_{k}^{\max}=D_{\text{tot}}\left(\tfrac{k}{N}\right)^{\gamma},\qquad\gamma>0, (21) where the exponent \gamma controls the temporal distribution of delay tolerance: larger values of \gamma concentrate more of the delay budget to vehicles arriving near the peak of demand, smaller values give relatively more slack to off-peak arrivals near the beginning or end of the horizon. Per - step optimisation problem (MPC view) Given the current state (L_{k},D_{k}) and demand d_{k} , choose the largest admissible inflow u_{k}^{\star}=\underset{u\in\mathcal{U}_{k}}{\arg\max}\;u\quad\text{s.t.}\quad\tilde{D}_{k+1}(u)\leq D_{k+1}^{\max}, (22) where \mathcal{U}_{k}=[u^{\min},\;u^{\max}],\qquad u^{\min}=5800\,\Delta t,\quad u^{\max}=\min\{d_{k},\;C\Delta t\}, (23) and \tilde{D}_{k+1}(u)=D_{k}+L_{k}\,\Delta t+\frac{u}{3600}\left(\tau_{k}(u,d_{k})-T_{0}\right)+\max\{L_{k}+u-C\Delta t,\,0\}\Delta t is the predicted delay one step ahead if metering rate u is applied. Note that \tilde{D}_{k+1}(u) remains monotonic in u , so problem (2) reduces to a binary feasibility test: u_{k}^{\star}=\begin{cases}u^{\max},&\text{if }\tilde{D}_{k+1}(u^{\max})\leq D_{k+1}^{\max},\\[6.0pt] u^{\min},&\text{otherwise}.\end{cases} (24) Speed limit derivation The MPC algorithm determines the metering rate q_{m}=u_{k}^{\star}/\Delta t , not the speed limit directly. To translate the metering rate into a speed limit at the upstream end of the link, we determine the speed as \mathbf{v}_{c,k}=\frac{Q(k^{+})}{k^{+}},\qquad\text{where }k^{+}\text{ is the largest value satisfying }Q(k^{+})=q_{m}. Control implementation Algorithm (3) is executed every minute. If the instantaneous demand d_{k} is below u^{\min} , then u_{k}^{\star}=d_{k} (no throttling is needed). The resulting metering trajectory ensures the travel-time target is met, while guaranteeing that the metering rate does not fall below the soft floor u^{\min} , except when demand is insufficient. 3.4 Calibration of Model Parameters In this section, we conduct numerical calculations to evaluate the proposed control algorithm. Parameter selection is based on empirical data from a 9.0 km section of Interstate 880 northbound in the San Francisco metropolitan area, just upstream of the Washington Avenue off-ramp bottleneck. Data were collected from 18 detectors along the corridor. The road geometry and congestion formation mechanisms are detailed in Muñoz and Daganzo (2002) , and the calibration method follows Hammerl et al. (2024) ; Hammerl et al. (2025) . For the estimation of upstream demand, we focus our parameter estimation on the evening rush hour (6:30-9:30 PM). To estimate the upstream boundary condition, we first approximate time-flow measurements from the upmost detector using the following deterministic piecewise linear function: f(t)=\begin{cases}at+b&\text{for }t\leq t_{p},\\ ct+d&\text{for }t>t_{p},\end{cases} where t represents hours after 6:30 PM (e.g., t=2.5 for 9 PM), subject to the following constraints: \displaystyle a \displaystyle\geq 0\quad\text{(non-negative slope in first segment)}, \displaystyle b \displaystyle\geq 0\quad\text{(non-negative intercept)}, \displaystyle c \displaystyle\leq 0\quad\text{(negative slope in second segment)}, \displaystyle at_{p}+b \displaystyle=ct_{p}+d\quad\text{(continuity at breakpoint $t_{p}$)}. The parameters (a,b,c,d,t_{p}) were simultaneously estimated using Sequential Least Squares Programming (SLSQP): f(t)=\begin{cases}447.23t+5795.46&\text{for }t\leq 1.5,\\ -620.37t+7708.81&\text{for }t>1.5.\end{cases} (25) To model the stochasticity of the boundary flow, we consider the daily peak value of the upstream boundary flow q(0,t) as a normally distributed random variable \mathcal{N}(\mu,\sigma^{2}) . From the standard deviation of the daily maximum flows of the most upstream detector, a value of 191.17 was estimated for this parameter of the upstream boundary flow. For the model parameters, we use the values \mu=6620 and \sigma=191 . We estimate the resulting stochastic function for the upstream flow such that the flow q(0,t) matches the deterministic average values from Equation 25 at times t=0 and t=5 , that is, we impose the condition that q(0,0)=5571.84 and q(0,4)=5227.33 hold with probability one. This yields the following formula: f(x)=\begin{cases}\displaystyle\left(\frac{q_{p}-5795.46}{1.5}\right)x+5571.84&\text{if }0\leq x\leq 1.5,\\[10.0pt] \displaystyle\left(\frac{5227.33-q_{p}}{1.5}\right)x+\left(q_{p}-2\cdot\frac{5847.7-q_{p}}{1.5}\right)&\text{if }1.50 a scalar feedback gain. The obtained metering rate is converted to a posted speed limit via the static relation 27 and is bounded below by v_{\min}=40\;\mathrm{km/h} ; if q_{m}(t)\geq d(t) the sign displays the free-flow speed v_{\mathrm{f}}=112\;\mathrm{km/h} . A kinematic FIFO constraint l/v_{c}(t+\!\Delta t)\;\geq\;l/v_{c}(t)-\Delta t (with link length l=9.34\;\mathrm{km} ) prevents backward moving shocks at the entrance. For every minute step k let T_{k} denote the random total travel time constructed from \tau_{q} in ( 45 ) and the cruise time l/v_{c}(t_{k}) . The horizon cost is J(K)\;=\;\sum_{k=0}^{N-1}d_{k}\,\Bigl(\alpha\,\mathbb{E}[T_{k}]+(1-\alpha)\,\mathrm{Std}[T_{k}]\Bigr)\,\Delta t. (33) A uniform grid of n=60 points in [K_{\min},K_{\max}] yields step - free motion of J and executes in \mathcal{O}(10^{-1}\text{ s}) on standard hardware. All constraints (queue dynamics, capped capacity, FIFO condition) remain linear or second - order cone, so the resulting SMPC is solved by OSQP/SCS in well under 0.2\text{ s} for a 3 h horizon. 4.1.2 Travel Time Calculation The discharge capacity at the downstream bottleneck is described by a capped Ornstein–Uhlenbeck (OU) process, which evolves according to the stochastic differential equation \displaystyle d\widetilde{C}_{t} \displaystyle=\kappa\bigl(c_{\max}-\widetilde{C}_{t}\bigr)\,dt+\sigma\,dW_{t}, (34) \displaystyle C_{t} \displaystyle=\min\bigl\{\widetilde{C}_{t},c_{\max}\bigr\}, (35) where c_{\max}=6\,240\;\mathrm{veh/h} serves simultaneously as the long-run mean and the upper reflecting barrier. Equation ( 34 ) models mean-reverting Gaussian fluctuations; the projection in ( 35 ) eliminates unrealistically high capacity spikes observed with an unconstrained OU. For a vehicle entering the link at t_{0} , denote M(u)\;=\;\int_{t_{0}}^{t_{0}+u}C_{s}\,ds the cumulative discharge over the interval [t_{0},t_{0}+u] . Write a:=c_{\max}-C_{0} and \delta:=\sigma/\sqrt{4\pi\kappa}, where \kappa is the mean-reversion rate. To obtain the pointwise mean of the capped OU, let the uncapped OU at lag s\geq 0 be (see e.g. Øksendal (2003) ) \widetilde{C}_{t_{0}+s}\sim\mathcal{N}\!\bigl(m_{s},v_{s}\bigr),\quad m_{s}=c_{\max}-a\,e^{-\kappa s},\;v_{s}=\frac{\sigma^{2}}{2\kappa}\bigl(1-e^{-2\kappa s}\bigr),\quad a:=c_{\max}-C_{0}. Put d_{s}:=(c_{\max}-m_{s})/\sqrt{v_{s}} and denote by \Phi and \varphi the standard normal CDF and PDF. By the law of total expectation, we split the event \{\widetilde{C}_{t_{0}+s}2\cdot\theta ) typically applies in horizons of practical interest, hence the waiting-time u covers several reversion times of the OU the integral M(u) . Consequently, M(u) behaves approximately as a Brownian motion with constant drift c_{\max}-\delta and linear variance growth \operatorname{Var}[M(u)]\approx\sigma^{2}u (cf. ( 43 )). Wald (1947) showed that the hitting time of such a drift–diffusion process to a fixed threshold {B} follows an inverse-Gaussian distribution \mathrm{IG}\!\left(\smash{\frac{B}{c_{\max}-\delta}},\smash{\frac{B^{2}}{\sigma^{2}}}\right). Hence \mathbb{E}[\tau_{q}]=\frac{B}{c_{\max}-\delta},\qquad\operatorname{Var}[\tau_{q}]\approx\frac{B\,\sigma^{2}}{(c_{\max}-\delta)^{3}}. (45) Equations ( 39 )-( 45 ) enter directly into the stochastic MPC cost without further approximation. Cassidy and Bertini (1999) report empirical observations of oscillatory capacity fluctuations at a freeway bottleneck under congested conditions, with a typical period of approximately 5 minutes and an amplitude of about 5% of the uncongested bottleneck capacity. To reflect these characteristics, we calibrated the parameters of the stochastic process to \kappa=0.2\;\mathrm{min}^{-1} , \mu=6240\;\mathrm{veh/h} , and \sigma=139.5 . 4.2 Numerical Experiments Let K^{\star} denote the gain that minimizes the chosen objective function J(K) over the tested grid. Typical outcomes for the optimal gain are: \alpha r K^{\star} [h -1 ] VSL window (min) 0.75 0.25 \approx 0.022 \sim 100 , floor 50 – 55 km/h 0.50 0.50 \approx 0.045 \sim 125 , floor 40 – 45 km/h For a trapezoidal upstream demand following formula 25 , figures 5 and 6 visualize the temporal evolution of the variable speed limit and the expected travel time at departure for a specific realization of the time-dependent bottleneck capacity. A larger standard - deviation weight elongates the active speed - limit phase and deepens the restriction, while a mean - dominated objective relaxes control earlier. Figure 5 : Stochastic evolution of capacity, VSL, and travel time, \alpha=0.75 . Figure 6 : Stochastic evolution of capacity, VSL, and travel time, \alpha=0.5 . 5 Conclusions This study set out to investigate whether VSL control can be tailored to enhance the travel time reliability of commuters rather than merely to reduce mean travel time. Building on the kinematic - wave framework and the capacity - drop mechanism, we formulated two complementary optimization models: (i) a three - stage stochastic programme in which daily peak inflow is random, and (ii) a stochastic model - predictive controller that treats the downstream bottleneck capacity as a capped OU process. In each case the objective blended the expected value and the standard deviation of average travel time, converting drivers’ risk–sensitive routing preferences into a mathematically tractable control target. Efficient solution procedures - a scalar root - finding problem for Model 1 and a grid search embedded in a second - order - cone MPC for Model 2 - enable real - time implementation on standard hardware. The numerical experiments, calibrated with detector data from a 9km stretch of I - 880N, confirm three key insights. First, when demand is the dominant uncertainty, the optimal strategy exhibits a threshold structure: 1. When demand is the dominant source of uncertainty, the optimal policy follows a travel-time-floor rule . Equations 15 and 29 elegantly reveal that a single threshold T^{\star} partitions the realized days into two regimes: (1) Low-demand days ( \bar{T}_{\min}