hey everyone I am trying to simulate a test scenario composed of 3 wireless nodes, node 0 is sending to node 1 & 2 and then node 2 moves out of range Each wireless node has a transmission range of 40m. Therefore I had to change the default 250m transmission range to 40m by using the manual guidelines where I had to compile threshold.cc to get the value of Rx threshold corresponding to 40m and that's what I got when specifying the propagation model as Shadowing
distance = 40 propagation model: Shadowing... Selected parameters: transmit power: 0.281838 frequency: 9.14e+08 transmit antenna gain: 1 receive antenna gain: 1 system loss: 1 path loss exp.: 2 shadowing deviation: 4 close-in reference distance: 1 receiving rate: 0.1 Receiving threshold RXThresh_ is: 3.91229e-07 but when I specify these numbers in my tcl . the packets are still received at a range above 40m and also my distCST_ is really a huge and not a reasonable number distCST_=179769313486231570814527423731704356798070567525844 996598917476803157260780028538760589558632766878171540458953 514382464234321326889464182768467546703537516986049910576551 282076245490090389328944075868508455133942304583236903222948 165808559332123348274797826204144723168738177180919299881250 404026184124858368.0 That's how I specified my constrains Phy/WirelessPhy set CSThresh_ 2.64161e-08 Phy/WirelessPhy set RXThresh_ 2.64161e-08 Phy/WirelessPhy set Pt_ 0.281838 Propagation/Shadowing set pathlossExp_ 2.0 Propagation/Shadowing set std_db_ 4.0 Propagation/Shadowing set dist0_ 1.0 Propagation/Shadowing set seed_ 0 can anyone plz help me out ... P.s I am using ns2.35 on Ubuntu thanx in advance
