Disaster area model

65 views
Skip to first unread message

Sampad Banik

unread,
Nov 8, 2018, 1:51:34 PM11/8/18
to Network Simulator 2 (NS2)
what is the basic command for Disaster area model in bonnmotion? I can't run...

knudfl

unread,
Nov 8, 2018, 6:29:15 PM11/8/18
to Network Simulator 2 (NS2)
Found a usable command example ....

./bm -f emer2 DisasterArea -n 111 -x 275 -y 250 -p 20 -a 1 -g 140 -r 3 -e 6 -q 3 -d 300 -i 5000 -j 1 -b 20,190,20,174,56,190,56,174,38,174,56,182,1,20,17 -b 66,110,92,110,66,60,92,60,79,110,79,60,2,15,0 -b 20,190,20,174,56,150,56,174,38,174,56,182,1,20,17 -b 75,200,75,170,225,200,225,170,75,182,140,170,0,20,15 -b 160,15,160,55,200,15,200,55,270,0,130,0,160,25,200,25,4,30,25 -b 40,10,65,10,65,35,40,35,50,10,50,11,3,6,0 -o 230,200,230,140,270,200,270,140

.... The files emer2.changes 75B, emer2.movements.gz 59.1kB, emer2.params 804B were created.

Besides that, it is almost impossible to construct a usable command by reading the documentation, bonnmotion-3.0.1/doc/README.pdf  ... or other bonnmotion info.

knudfl

unread,
Nov 8, 2018, 7:06:29 PM11/8/18
to Network Simulator 2 (NS2)
A second command is used to create the "ns2 movement file"

First command in this example
$ ./bm -f disast2 DisasterArea -n 111 -x 275 -y 250 -p 20 -a 1 -g 140 -r 3 -e 6 -q 3 -d 300 -i 5000 -j 1 -b 20,190,20,174,56,190,56,174,38,174,56,182,1,20,17 -b 66,110,92,110,66,60,92,60,79,110,79,60,2,15,0 -b 20,190,20,174,56,150,56,174,38,174,56,182,1,20,17 -b 75,200,75,170,225,200,225,170,75,182,140,170,0,20,15 -b 160,15,160,55,200,15,200,55,270,0,130,0,160,25,200,25,4,30,25 -b 40,10,65,10,65,35,40,35,50,10,50,11,3,6,0 -o 230,200,230,140,270,200,270,140

The second command is :
$ ./bm NSFile -f disast2bm NSFile -f disast2
... The files    disast2.ns_movements  241,8kB,    disast2.ns_params 74B are created.
`disast2.ns_movements´ is attached.



On Thursday, November 8, 2018 at 7:51:34 PM UTC+1, Sampad Banik wrote:
disast2.ns_movements.txt

Sampad Banik

unread,
Nov 10, 2018, 12:44:56 AM11/10/18
to ns-u...@googlegroups.com
here what -b means and how you set the numbers of it?

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.

knudfl

unread,
Nov 10, 2018, 2:33:42 AM11/10/18
to Network Simulator 2 (NS2)
My previous post says :   "... the documentation, bonnmotion-3.0.1/doc/README.pdf "

I guess, you can read a PDF ....

Quote :
Contents
6.4 Disaster Area model (“DisasterArea”) . . . . . page 8
    →  →  →    ↓
 
 Tactical areas can be defined with the -b parameter
following a list of coordinates for the area (separated by “,”).
The last three values in this list are type, wanted groups
and transportgroups.

.... Other things to read may be found in this search :
Reply all
Reply to author
Forward
0 new messages