Hi,
I am doing wireless simulation in ns2 with about 700 moving nodes. at  time
t = 0 simulation start and at t= 270 a node start raising a message small in
size periodically after every 0.4 seconds. This message is heard by
nearby(upto 300 meters) till about t=780 seconds. After that no one is able
to hear it though there are many nodes around. please can any one help.


the configuration are given below

LL set mindelay_                50us
LL set delay_                   25us
LL set bandwidth_               0       ;# not used

Agent/Null set sport_           0
Agent/Null set dport_           0

Agent/CBR set sport_            0
Agent/CBR set dport_            0

Queue/DropTail/PriQueue set Prefer_Routing_Protocols    1

# unity gain, omni-directional antennas
# set up the antennas to be centered in the node and 1.5 meters above it
Antenna/OmniAntenna set X_ 0
Antenna/OmniAntenna set Y_ 0
Antenna/OmniAntenna set Z_ 1.5
Antenna/OmniAntenna set Gt_ 1.0
Antenna/OmniAntenna set Gr_ 1.0

# Initialize the SharedMedia interface with parameters to make
# it work like the 914MHz Lucent WaveLAN DSSS radio interface
Phy/WirelessPhy set CPThresh_ 10.0
Phy/WirelessPhy set CSThresh_ 1.559e-11
Phy/WirelessPhy set RXThresh_ 3.652e-10
Phy/WirelessPhy set Rb_ 2*1e6
# This is for 250
set opt(rr) 250
Phy/WirelessPhy set Pt_ 0.60
Phy/WirelessPhy set freq_ 914e+6
Phy/WirelessPhy set L_ 1.0

# =====================================================================
# This puts in only the headers that we need.
# =====================================================================
remove-all-packet-headers
add-packet-header IP
#add-packet-header CBR
add-packet-header Common
#add-packet-header SLC
add-packet-header HDCtransport
#add-packet-header AODV
add-packet-header Flags
add-packet-header LL
add-packet-header Mac

# ======================================================================
# Main Program
# ======================================================================

#
# Initialize Global Variables
#


*and node configuration is*
*
*
*
*
*$ns_ node-config -adhocRouting $opt(adhocRouting) \
                 -llType $opt(ll) \
                 -macType $opt(mac) \
                 -ifqType $opt(ifq) \
                 -ifqLen $opt(ifqlen) \
                 -antType $opt(ant) \
                 -propType $opt(prop) \
                 -phyType $opt(netif) \
                 -channel $chan_1_ \
                 -topoInstance $wtopo \
                 -agentTrace OFF \
                 -routerTrace OFF \
                 -macTrace ON \
                 -movementTrace ON \
                 -EotTrace OFF



I made changes in Phy/WirelessPhy set Pt_ 0.60  by setting the value of Pt_
as 0.29 but it didnot help me. also I tried to put initialEnergy in node
config section above with higher valu that also did not make any difference.



Regards,
Mozaffar
*

Reply via email to