[BonnMotion] TLW mobility model

Alexander Bothe bothe at informatik.uos.de
Tue Jun 11 18:34:35 CEST 2019


Dear Daniel,

looks like the current implementation of the TLW model ignores the x and
y parameters and uses s instead to set both dimensions. So, specifying s
as 1000 results in your requested scenario space of 1000m x 1000m.

Therefore, using
bm -f TLW0 TLW -d 3600 -n 1 -R 6311 -a 1.5401133655865746 -b
0.8990860035786055 -s 1000 -m 0 -M 1200 -l 10 -L 100 -c 2

and

bm IntervalFormat -f TLW0 -s -l 1

results in a node, that stays within the scenario area:
0 0.0 179.0 848.0
0 1.0 178.39999999999998 847.4
0 2.0 177.8 846.8000000000001
0 3.0 177.2 846.1999999999999
0 4.0 176.6 845.6
0 5.0 175.99999999999997 844.9999999999999
0 6.0 175.4 844.4000000000001
0 7.0 174.8 843.8
0 8.0 174.2 843.2
0 9.0 173.6 842.5999999999999
0 10.0 173.00000000000003 842.0
0 11.0 172.4 841.4
0 12.0 171.8 840.8000000000001
0 13.0 171.2 840.2
0 14.0 170.6 839.6
0 15.0 170.0 839.0
0 16.0 169.4 838.4
0 17.0 168.8 837.8
0 18.0 168.2 837.1999999999999
...

Since others may have the same issue, I also forward this conversation
to the BM mailing list. You can subscribe here:
https://list.serv.uni-osnabrueck.de/mailman/listinfo/bonnmotion

Kind regards,
 Alexander

-- 
University of Osnabrück         Tel.:   +49-541-969-7165
Institute of Computer Science   Fax:    +49-541-969-2799
Wachsbleiche 27  Room: 50/402a  E-mail: bothe at informatik.uos.de
D-49090 Osnabrück, Germany      http://cs.uos.de/bothe/

>
> To: info at bonnmotion.net
> 
> Dear all,
> 
> I am trying to use TLW mobility model. The command I have used to generate
> the model looks like as follows:
> 
> bm -f TLW0 TLW -d 3600 -x 1000 -y 1000 -n 1 -R 6311 -a 1.5401133655865746
> -b 0.8990860035786055 -s 3600 -m 0 -M 1200 -l 10 -L 100 -c 2
> bm  IntervalFormat -f TLW0 -s -l 1
> 
> The problem is that I want to restrict the movements of the node (I only
> use one node) to scenario limits 1000 x 1000 (2D scenario). However, it
> seems that it starts out of the scenario.
> 
> The .IF file looks like as follows;
> 
> 0 0.0 180.0 2348.0
> 0 1.0 179.4 2347.3999999999996
> 0 2.0 178.8 2346.8
> 0 3.0 178.2 2346.2
> 0 4.0 177.6 2345.6
> 0 5.0 177.0 2344.9999999999995
> 0 6.0 176.4 2344.4
> 0 7.0 175.8 2343.8
> 0 8.0 175.2 2343.2
> 0 9.0 174.6 2342.6
> 0 10.0 174.0 2342.0
> 0 11.0 173.4 2341.4
> 0 12.0 172.8 2340.8
> 0 13.0 172.2 2340.2
> 0 14.0 171.6 2339.6
> 0 15.0 171.0 2339.0
> 0 16.0 170.4 2338.4
> 0 17.0 169.8 2337.8
> 0 18.0 169.2 2337.2
> 0 19.0 168.6 2336.6
> 
> ...
> 
> Any suggestions?
> 
> Thank so much,
> Daniel
> 


More information about the BonnMotion mailing list