DSRC - VANET

50 views
Skip to first unread message

science computer

unread,
Oct 11, 2023, 8:07:28 AM10/11/23
to Network Simulator 2 (NS2)
Hi! I patch DSRC file but I didn't find dsrc_tcl at all 
Is any one passed by this prblm can help me ?

knudfl

unread,
Oct 11, 2023, 11:15:45 AM10/11/23
to Network Simulator 2 (NS2)
Hi.
The file example singleBroadcast.tcl, line 34 :
set val(ifq)        Queue/DSRC

Command examples ..............
$ ns singleBroadcast.tcl 1000 40 10 400
$ ns singleBroadcast.tcl 10000 40 10 400
$ ns singleBroadcast.tcl 10000 40 10 4000
$ ns singleBroadcast.tcl 10000 40 10 4000 0.1
$ ns singleBroadcast.tcl 10000 40 10 1100 0.1

( My test build ns-2.35, year 2017 used  Vanet-Wave1609.r2_ns235.patch
https://drive.google.com/file/d/1zoQySfPXJ5G0BijcAA876yjV5R3ef6AL/view?usp=sharing )

Simulation example ........
$ ns235-vanet-wave-64 singleBroadcast.tcl 1000 40 10 400
mod Index is 1000
# of cars is 40
TCL Payload Size is: 10 bytes
comRange is: 400 meters
Used Transmission Power is: 1.17967541074257 mW
num_nodes is set 40
INITIALIZE THE LIST xListHead
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5,  distCST_ = 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540
458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123
348274797826204144723168738177180919299881250404026184124858368.0
SORTING LISTS ...DONE!
NS EXITING...

Abdisa Duguma

unread,
Oct 11, 2023, 11:19:14 AM10/11/23
to ns-u...@googlegroups.com
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/fac7060c-6645-4d18-b1ee-a012a4e50547n%40googlegroups.com.

science computer

unread,
Oct 11, 2023, 1:50:47 PM10/11/23
to Network Simulator 2 (NS2)
Thank's Sir
Reply all
Reply to author
Forward
0 new messages