Problems with 802.11p. Delivery rate at 100%.

52 views
Skip to first unread message

nani...@gmail.com

unread,
Sep 22, 2021, 10:50:51 PM9/22/21
to Network Simulator 2 (NS2)
Hi. I'm having trouble simulating AODV with 802.11p.
I am using the Receiving threshold RXThresh_ is: 1.23942e-09. The traffic is UDP/CBR and there are 5 origins and destination. I noticed that the delivery rate is very close to 100%. 
My scenario is 1000x1000 with 50 nodes and 30km/h. The radius is 100m and the connection probability is very low but nevertheless in the simulation it gets 100%. If I don't use 802.11p, the delivery rate is as expected. I observed that without 802.11p, DIST_CST is 550m but with 802.11p this value is very large. What can it be?

Using NS-2.35

knudfl

unread,
Sep 23, 2021, 3:24:39 AM9/23/21
to Network Simulator 2 (NS2)
Hi.

Not easy to say, unless you upload the simulation file.tcl . But sometimes the simulation time must be longer or shorter than the examples you compare with, because of the different simulation behavior.
( And because of the sometimes unpredictable ns2 behavior.)

Not all examples will behave well with a contemporary OS. And some ex were originally for a 32bits OS.
(ns2 was considered obsolete after year ~2015, so the test for some examples is to run the files with an old "ns2 reference OS" = CentOS 6.10, both the 64bit version and the 32bit OS version.)

You can study the other  802.11p-ex :        802.11p-examples-06.19.tar.gz
https://drive.google.com/file/d/10_ql2MNEN3U9nsg4mQqmBlfzIjLfO75L/view?usp=sharing
 
There is more than one config file  "IEEE 802.11P"
ns-2.35/tcl/ex/802.11/IEEE802-11p.tcl
802.11p.tcl
802.11p-2.tcl 
802.11p-4.tcl
IEEE802-11p.tcl
IEEE802-11p-2008-10-29.tcl,  
..... where the last five are included in the above 802.11p-examples-06.19 package.

Please be aware of the examples with Propagation/Nakagami.

Dan Assis

unread,
Sep 23, 2021, 6:14:33 PM9/23/21
to ns-u...@googlegroups.com
Thank you for your reply. It's very strange. I am using NS on an Ubuntu 16.04 64 bit machine. I have attached the TCL file, tested with radii 100,200 and 300 meters. The delivery rate is close to 100% when I leave the PHY and MAC without the "Ext" works normally. I suspect it is the CSThresh_

Livre de vírus. www.avast.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-users/JiiTRBgA9ho/unsubscribe.
To unsubscribe from this group and all its topics, 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/30d08364-49d6-4e7b-9150-ccbe8f4dfa2bn%40googlegroups.com.
p-802.11p_aodv-10.tcl

knudfl

unread,
Sep 24, 2021, 6:43:38 AM9/24/21
to Network Simulator 2 (NS2)
Did you compare with other examples ?

The "year 2017 p-802.11p_aodv-10.tcl" miscellaneous tests :
$ awk -f PDR.awk AODV_10.tr
cbr s:25247 r:25227, r/s Ratio:0.9992, f:0
........... i.e. "20 packets dropped".

$ awk -f PDR__cbr+tcp.awk AODV_10.tr
cbr s:25247 r:25227, r/s Ratio:0.9992, f:0
tcp s:25247 r:25227, r/s Ratio:0.9992, f:0

$ awk -f Avg_Tput.awk AODV_10.tr
       startTime:  0
        stopTime:  49
    receivedPkts:  25227
   avgTput[kbps]:  2184.1

→ →
"Top 25 scripts" →
Reply all
Reply to author
Forward
0 new messages