Data:
R, a set of n road Ids considered within the emissions-controlled area. VRS, variable road speed factor. RMS
, Road Maximum |
Speed.
, target vehicle’s speed. |
Result: Vehicles adjust its current speed to the
. |
1 for
each roadId
R
do
|
2 update RSD
reading; |
3 compute avrg(RSD
);/* Updated every 15 minutes. |
4 if
avrg RSD
AQG
then
|
5
|
6 generate AQE message;/* AQE messages include roadId, roadLoc, |
and VRS factor. |
7 RSUs broadcast AQE messages;/* I2V communication. |
8 end
|
9 end
|
/* Vehicles Premises. |
10 if
AQE message received
then
|
11 if
then
|
12 from AQE message GET roadId, roadLoc, VRS factor; |
13 if
then
|
14
;/* Set current vehicle′s speed to the
|
target speed on roadId (
). |
15 end
|
16 if
then
|
17 forward AQE message/* V2V communication, see Fig. 2. |
18 end
|
19 end
|
20 end
|