Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
INTRODUCTION
There has been growing interest in urban mesh networks in recent times. A mobility
model dictates how the users move within a given service area. We propose a mobility
model that aims at finding out the optimal path from a source to a destination in a given
city map. In this paper we simulate a city’s map and study the movement of the users in
such a service area. The optimal path is found out with respect to the time taken to reach
from the source to destination and not the distance traversed in the path so taken.
varies according to both, the type of path taken and the vehicle. But it also depends on the
current traffic density of the path (street/highway). Any street/highway has a maximum
limit to the number of vehicles that can move through that street/highway, beyond which
any vehicle will not be able to move at its peak speed through that street/highway. The
speed of the vehicle decreases depending on the number of vehicles in excess of the
maximum limit, in the street/highway. The speed decreases according to the following
function:
THE MOBILITY MODEL
On the first day (i.e.,the first run) all users have zero knowledge and zero confidence,i.e.,
none of the users has any idea about which route to take to reach her destination. So all
users take a path randomly. As a user reaches a node she looks for the path she should take,
from her knowledge. If her knowledge is insufficient, she again takes a path randomly from
that node. When she encounters another user in her way, she checks whether that user has a
better knowledge than her. If yes, then she refreshes her knowledge and consequently her
confidence also increases according to the function given by (B). In this way by interacting
with other users, she reaches her destination following a route. It might also happen that
she does not reach her destination on the first day. A day is simulated by running a nested
loop consisting of three loops. The outer loop runs for 24 times, the loop within it runs for
60 times and the innermost loop also runs for 60 times. As the control comes out of the
outermost loop it marks the end of one day (i.e., end of one run). The next day she starts
her journey again following the route she knows. If she had not reached her destination on
the previous day she starts her journey afresh with zero knowledge and zero confidence.
Again she might encounter a user who has a better knowledge and thus her knowledge gets
bettered and confidence gets increased. In this way, all users find the best possible route (in
terms of time taken) from their respective sources to destinations. At the end of each day
(i.e., each run) we find out the following parameters:
1. Average Time Taken
2. The number of users that have reached their destination
3. The time at which the last person reaches her destination.
.(b) MODIFICATION OF THE SERVICE
AREA:
We have now obtained an environment where the users have sufficient knowledge.
They can move from their respective sources to destinations in a desirable time. Now, if we
remove a path (street or highway) between any two nodes, it will affect the movement of a
user that path forms a segment of the the route taken by her. She will now have to look for
an alternate path to reach her destination. Here, she again looks for a known path from her
knowledge, which can be taken. If she cannot find one, she randomly takes a path and
interacts with more knowledgeable users to refresh her knowledge so that a new and
effective route to her destination is obtained. Thus when the service area is disturbed, the
user can adapt to the change.
The user moves along the path by hopping from one node to another. The next node is
calculated randomly if the user does not possess enough knowledge to complete the trip on
his own, or the next node is looked up from the acquired knowledge.
In both the cases the user is moved according to the following algorithm
Move(D)
{
/* d -> The destination node */
Get C = CurrentNode
Get S = Speed(C, D)
Get distance = GetDistance (C,D);
Get capacity = GetCapacity(C,D);
Get P = GetPeopleActuallyOnRoad(C,D);
if(excess_car <= 0)
return counter
/* if there are excess car on the road then the delay increases */
Get a = 250/time;
Get delay = (excess_car * excess_car)/ (4 * a );
counter = int (distance/speed * 60 * 60);
counter = counter + delay;
return counter;
}
We observe that for each pair of source-destination the number of users moving from that
source to destination and the number of users succeeding in reaching the destination is
same,i.e., 100% users find a route from their source to destination. If we compare the total
time taken in covering the optimal route and the average time for the users moving from
the given source to given destination, we find that time_opt < time_avg which should also
be the case from the practical point of view. The fraction of users taking the optimal path is
observed to be varying. In some cases it is quite high while in others it is low. Finally, we
observe the optimal route. If
Average time take for we see the distance traversed
1Source-1Destination Vs No. of persons in following this route, it
3560 might not be the shortest.
There might be a route
Average time taken in
3500
in seconds
3450
3400
3350
3300
0 500 1000 1500 2000 2500
No. of persons
Fig 4: In case of 1 source and two destinations, the source node remains 11
while the destination nodes are 2 and 16
Average time take for
2Source-2Destination Vs No. of persons
3850
3800
Average time taken in
3750
3700
seconds
3650
3600
3550
3500
3450
3400
0 500 1000 1500 2000 2500
No. of persons
Fig 5. In case of two sources and two destinations, the source nodes are 30, 11 while
the destination nodes are 2 and 16
APPLICATION:
Traffic Monitering in a City: Any person in a given city can be guided to her
destination if she is not aware of the route. Again if any road in the city is closed, the
alternate routes can also be found out. The model can also be utilized for dynamic solutions
to any traffic problem in a city. Suppose a road is blocked during a particular time of the
day, then any user can be guided to an alternate path for that period of time till normalcy
resumes. Again if we consider a particular road of a city which is one-way during
particular times of the day, then any user who wishes to take such a road can be guided
according to the time of the day at which she wants to take the road. The traffic guidance to
the people of a city can thus be provided through an automated system. This will help save
time and provide an efficient traffic guidance system.
We presented a mobility model with the details of trip generation and route generation,
which works for any arbitrary service area layout. The proposed mobility model generates
realistic trips and trip routes. The model can be useful for extracting the user movement
profiles, which are highly regular for majority of user as population increases
exponentially. Trip routes can be summarized and used for better prediction of user
location, which can reduce location management cost. This prediction can be useful in
allocating resource (ex. bandwidth) for certain users who access real-time data requiring
high QOS.
The approach can be extended for use in pico-cellular environment. In pico-cell
environment, details of street and highway layout are to be stored in the form of graphs i.e.
the entire service area is modeled in the form of two level graphs. The actual shortest path
within a cell can be obtained using the Djikstra algorithm.