• No results found

4.2 Model predictive control strategy design and formulation

4.2.2 Traffic flow dynamics

This section details the description of the traffic flow dynamics. The main elements of the model used in this paper are links, origins, and nodes as illustrated in Figure 4.1.

The approach also includes the possibility to impose restrictions on the outflow at exits of the network, see e.g. link 2 in Figure 4.1. The description of the link dynamics fol-lows the LTM of Yperman [2007] which is briefly introduced in Section 4.2.2. In con-trast to that model a node model to connect the links is not explicitly included, since, the connection between links is an outcome of the optimization problem. Section 4.2.2 details the formulation of the LTM using linear state equations and constraints.

Brief introduction to the LTM

The LTM describes the link dynamics using two traffic states, namely, the cumulative inflowNiL,in(kc) (veh) and outflow NiL,out(kc) (veh) of every link i (-) in the network.

This is an advantage when compared to approaches that divide a link into segments which require much more traffic states to describe the link dynamics. More important may actually be that the numerical stability of these segment-based schemes requires a small time step due to the CFL condition. Since some segments are small, the simula-tion often needs to run with a small time step. Another advantage of the LTM is that it is capable of modelling all traffic regimes and specifically considers downstream and upstream propagating waves.

Figure 4.2 illustrates the description of the traffic dynamics in the LTM. It is assumed that the free-flow speed vifree (km/h) is known and constant, and that a vehicle cannot exit the link before the timetfreei (h) that it requires to travel through the link with the free-flow speed as illustrated by the trajectory of vehicle 6. Thus, the maximum link outflow depends on the link inflow in the past. In saturated regimes, the link outflow is equal to the saturation rate qsati (veh/h). Finally, in oversaturated regimes the wave

speed vishock (km/h) is included as illustrated by the wave that starts when vehicle 8 exits the link. Note that it takes a time tshocki (h) for the upstream propagating wave caused by spill back to travel through the link. Due to this, vehicle 14 can only enter the link a timetshocki (h) after vehicle 8 has exited the link. The implies that the maximum link inflow depends on the outflow of the link in the past.

Thus, in order to model the traffic dynamics using the LTM it is required to know the cumulative inflow and outflow in the past. For instance, free-flow dynamics can be modeled by assuring that the cumulative outflow at time t is not larger than the cumulative inflow at time t − tfreei in the past as illustrated in Figure 4.2. The next subsection will formally describe the traffic flow modelling.

Formulation of the LTM using linear state equations and constraints

The above mentioned dynamics are modelled using linear state update equations of the cumulative curves and linear constraints. In order to realize this, the control variables used are the effective fractions of green timebL,effi (kc) (-) used by the links, and the effective fractions of green timebO,effj (kc) (-) used by the origin queues. For a link, this is defined as the realized link outflowqrealizedi (kc) (veh/h) divided by the link saturation flow:

bL,effi (kc) = qrealizedi (kc)

qsati . (4.1)

By using the effective fractions it is possible to model the link dynamics using linear equations and include free flow travel times and upstream and downstream propagating waves by adding linear inequality constraints as detailed below. The optimization will take care of matching the outflows and inflows of links that are connected to each other so that the optimization problem is essentially serving as the node model.

The cumulative flow out of linki is updated as follows:

NiL,out(kc+ 1) = NiL,out(kc) + bL,effi (kc)qisatTc. (4.2) Note that this equation assumes that the link outflow is equal to the saturation rate.

However, the effective fraction of green timebL,effi (kc) used enables to limit the outflow when there is no queue. In this way, free-flow dynamics can be modelled using the following constraint:

NiL,out(kc+ 1) ≤ γic,freeNiL,in(kc− kc,freei + 2) + (1 − γic,free)NiL,in(kc− kic,free+ 1) , (4.3) where the number of time steps kic,free = ⌈tfreei /Tc⌉ (-), and the fraction γic,free = kc,freei − tfreei /Tc (-) the residual of a sampling time step that the free-flow travel time tfreei (h) is exceeded bykic,free. The mathematical operator⌈·⌉ rounds the argument of the function to the nearest integer that it higher than the argument of the function. The

interpretation of this constraint is that the cumulative outflow curve should always lie below the cumulative inflow curve shifted with the free-flow travel time as illustrated by the dashed line named ‘Maximum Outflow’ in Figure 4.2. Note that kc,freei ≥ 2 to guarantee CFL conditions. In the case that link i is at an exit of the network, a constraint is introduced to limit the maximum outflowqout,maxi (kc) (veh/h) out of that link:

bL,effi (kc)qsati ≤ qiout,max(kc) ∀i ∈ IExit, (4.4) where the set IExit is the set of exit links. This maximum outflow is modeled as an external disturbance to the process so that, for instance, the impact of a (temporal) bottleneck on the traffic flow at an exit of the network can be included.

The cumulative inflow to linki is updated using:

NiL,in(kc+ 1) = NiL,in(kc)+ X

iusIiin



ηius,i(kc)bL,effi (kc)qisatTc



+ . . . (4.5)

X

j∈Jiin



ηj,i(kc)bO,effj (kc)qjcapTc

 ,

where the setIiinis the set of links directly upstream of linki and the set Jiinis the set of origins directly upstream of linki. The fraction ηius,i(kc) indicates the turn fraction form linkiusto linki, and the fraction ηj,i(kc) (-) indicates the turn fraction form origin j to link i. In order to model upstream propagating waves, the following constraint is used:

NiL,in(kc+ 1) ≤ γic,shockNiL,out(kc− kshocki + 2) + . . . (4.6) (1 − γic,shock)NiL,out(kc− kshocki + 1) + Nimax

with the number of vehiclesNimax(veh) the maximum number of vehicles that can fit in a link – i.e., the link length multiplied with the jam density – the number of time stepskc,shocki = ⌈tshocki /Tc⌉ (-) , and the fraction γic,shock = kc,shocki − tshocki /Tc(-) the residual of a sampling time-step that the upstream propagating wave travel timetshocki (h) is exceeded by kc,shocki . It should hold thatkc,shocki ≥ 2 in order to guarantee CFL conditions. This constraint limits the inflow as indicated with the dashed line named

‘Maximum Inflow’ in Figure 4.2.

Origins are modelled as vertical queues as illustrated in Figure 4.1. The cumulative inflowNjO,in(kc) to origin j is updated as follows:

NjO,in(kc+ 1) = NjO,in(kc) + qjin(kc)Tc. (4.7) The cumulative outflowNjO,out(kc+ 1) out of origin j is updated using:

NjO,out(kc+ 1) = NjO,out(kc) + bO,effj (kc)qjcapTc, (4.8)

which should satisfy:

NjO,out(kc+ 1) ≤ NjO,in(kc+ 1) . (4.9)

Apart from these dynamical update equations and constraints, constraints on the con-trol signals should be added:

0 ≤ bL,effi (kc) ≤ 1 , (4.10) 0 ≤ bO,effj (kc) ≤ 1 , (4.11)

X

i∈Iyconflict

bL,effi (kc) ≤ 1 , (4.12)

where the setIyconflictis the sety of signals which are in conflict with each other. The first two constraints make sure that the effective fractions are bounded between0 and 1 while the third constraint makes sure that the green time is distributed over conflicting links. Note that clearance times between conflicts may be modeled by limiting the sum of the green-fractions of the conflicting links to be less than 1. These constraints essentially serve as the node model. To see this, note that in the original LTM model of Yperman [2007] the green times that are given may result in a violation of constraints (4.3) and (4.6). Hence, a node model is required to determine the transition flows from one link to another so that the constraints are not violated. In the approach proposed in this paper, the model is re-written as an optimization model where the effective fractions of green time are optimized so that the constraints (4.3) and (4.6) cannot be violated. Note that this can be seen as a modification of the generic class of first order node models proposed by Tamp`ere et al. [2011] where instead of maximizing the node outflows, the total network outflows are maximized subject to supply and demand constraints of the nodes.

The statexc,Li (kc) ∈ RnL,si ,1of linki is given as:

xc,Li (kc) = . . . (4.13)

h

NiL,out(kc) . . . NiL,out(kc− kic,shock) NiL,in(kc) . . . NiL,in(kc− kic,free)i where nL,si = kc,shocki + kic,free + 2 is the length of the vector. Similarly, the state xc,Oj (kc) ∈ RnO,sj ,1of an origin has the following structure:

xc,Oj (kc) =NjO,out(kc) NjO,in(kc)

, (4.14)

wherenO,sj = 2 is the length of the vector.