[ns] Fwd: Need paper : interconnect optimization using ns2

2010-12-12 Thread Udit Kumar

 Hi Friends,

I need these three papers related to NS2, but I dont have access to them.

If someone is having these papers then please send me.

http://ieeexplore.ieee.org/Xplore/login.jsp?url=http%3A%2F%2Fieeexplore.ieee.org%2Fiel5%2F5445099%2F5451200%2F05451835.pdf%3Farnumber%3D5451835authDecision=-202


http://ieeexplore.ieee.org/Xplore/login.jsp?url=http%3A%2F%2Fieeexplore.ieee.org%2Fiel5%2F5487987%2F5489106%2F05489490.pdf%3Farnumber%3D5489490authDecision=-202

http://ieeexplore.ieee.org/Xplore/login.jsp?url=http%3A%2F%2Fieeexplore.ieee.org%2Fiel5%2F5487987%2F5489106%2F05489498.pdf%3Farnumber%3D5489498authDecision=-202


Thanks  Regards,
Udit Kumar


Re: [ns] How to parse wireless trace files..

2010-12-12 Thread Shaktijeet Mahapatra

 Hi all,

 I need to parse wireless trace files. Please either send an .awk file or
 suggest a way to parse wireless trace files.
 Explanation given in ns manual has been of little help.
 Thanks in advance.

 --
 Shaktijeet Mahapatra



[ns] How to access node ID in TCP model?

2010-12-12 Thread Mohammed Alenezi

Hi,

I'm working on TCP models and I'm edition tcp.cc andd tcp.h files.

 what I want to know, how do I access the node by its Id as I'm assigning in
tcl for each node a number (as you all know).

I tries to create an object from Node and access the variable nodeid_,
however the returned value was 0 which means that it creates new id.

Help or suggestion on this issue is highly appreciated.

Regards,
Mohammed


[ns] what does it means ???

2010-12-12 Thread El hadi Cherkaoui

Dear all ,

Please ca n someone explain me this error in NS2

-- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
    _o270: no target for slot 3
    _o270 type: Classifier/Addr
content dump:
classifier _o270
    0 offset
    22 shift
    1023 mask
    1 slots
        slot 5: _o271 (Classifier/Addr)
-- Finished standard no-slot{} default handler --


I can't find the object _o270 and _o271 so i can't understand where is the 
fault ???

I noted that I receive this error only when i have more then 2 mobile nodes.

Best regards

El hadi 




  


[ns] proper WSN CBR rate

2010-12-12 Thread Mariam Elansary


AlSalamo Aliokm

Dears,

1-  I wonder, how can I choose the proper value of the CBR rate? is 5.4Mb/s
is fine?

2-  Mac/802_11 vs Mac/802_15.4?

Here is my model:
---

Mac/802_11 set dataRate_11Mb;# 802.11 data 
transmission
rate
Mac/802_11 set basicRate_   1Mb ;# 802.11 basic 
transmission
rate 

Mac/802_11 set RTSThreshold_0   ;# bytes

set val(chan)   Channel/WirelessChannel ;# channel type
set val(ant)Antenna/OmniAntenna ;# antenna type
set val(propagation)Propagation/TwoRayGround;# propagation model
set val(netif)  Phy/WirelessPhy ;# network interface
type
set val(ll) LL  ;# link 
layer type
set val(ifq)Queue/DropTail/PriQueue ;# interface
queue type
set val(ifqlen) 100 ;# max 
packet
in ifq
set val(mac)Mac/802_11  ;# MAC type
set val(rp) AOMDV;# routing
protocol
set val(n) 100.0;# node 
number
set val(end)200.0   ;# simulation time 
[s]
set val(mobility)   Static  ;# mobility 
model
set val(traffic)Node-UDP;# data 
pattern
set val(dataStart)  10.0;# data start time
[s]
set val(dataStop)   [expr $val(end) - 10.0] ;# data stop time 
[s]
set val(seed)   1   ;# general 
pseudo-random sequence generator
set val(throughput) 5.4 ;# CBR rate (= 
5.4Mb/s)



   set cbr($src($i)) [new Application/Traffic/CBR]
$cbr($src($i)) attach-agent $udp($src($i))

$cbr($src($i)) set packetSize_ 52
$cbr($src($i)) set random_ false
$cbr($src($i)) set rate_ ??? Mb
-- 
View this message in context: 
http://old.nabble.com/proper-WSN-CBR-rate-tp30442016p30442016.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] proper WSN CBR rate

2010-12-12 Thread Mariam Elansary


AlSalamo Aliokm

Dears,

1-  I wonder, how can I choose the proper value of the CBR rate? is 5.4Mb/s
is fine?

2-  Mac/802_11 vs Mac/802_15.4?

Here is my model:
---

Mac/802_11 set dataRate_11Mb;# 802.11 data 
transmission
rate
Mac/802_11 set basicRate_   1Mb ;# 802.11 basic 
transmission
rate 

Mac/802_11 set RTSThreshold_0   ;# bytes

set val(chan)   Channel/WirelessChannel ;# channel type
set val(ant)Antenna/OmniAntenna ;# antenna type
set val(propagation)Propagation/TwoRayGround;# propagation model
set val(netif)  Phy/WirelessPhy ;# network interface
type
set val(ll) LL  ;# link 
layer type
set val(ifq)Queue/DropTail/PriQueue ;# interface
queue type
set val(ifqlen) 100 ;# max 
packet
in ifq
set val(mac)Mac/802_11  ;# MAC type
set val(rp) AOMDV;# routing
protocol
set val(n) 100.0;# node 
number
set val(end)200.0   ;# simulation time 
[s]
set val(mobility)   Static  ;# mobility 
model
set val(traffic)Node-UDP;# data 
pattern
set val(dataStart)  10.0;# data start time
[s]
set val(dataStop)   [expr $val(end) - 10.0] ;# data stop time 
[s]
set val(seed)   1   ;# general 
pseudo-random sequence generator
set val(throughput) 5.4 ;# CBR rate (= 
5.4Mb/s)



   set cbr($src($i)) [new Application/Traffic/CBR]
$cbr($src($i)) attach-agent $udp($src($i))

$cbr($src($i)) set packetSize_ 52
$cbr($src($i)) set random_ false
$cbr($src($i)) set rate_ ??? Mb
-- 
View this message in context: 
http://old.nabble.com/proper-WSN-CBR-rate-tp30442018p30442018.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] what does it means ???

2010-12-12 Thread Teerawat Issariyakul


Hi,

The no-slot error occurs since you did not configure the classifier
properly. In particular, you ask NS2 to send a packet to a non-existing
object.

For more information, please read the following post:

http://www.ns2ultimate.com/post/520626807/classifier-no-slot-error

Best Wishes,

Teerawat Issariyakul
http://www.ns2ultimate.com/
http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417
http://twitter.com/T_Bear
http://www.t-issariyakul.blogspot.com
http://www.ece.ubc.ca/~teerawat





On 12/12/2010, El hadi Cherkaoui e_cherka...@yahoo.fr wrote:


Dear all ,

Please ca n someone explain me this error in NS2

-- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
    _o270: no target for slot 3
    _o270 type: Classifier/Addr
content dump:
classifier _o270
    0 offset
    22 shift
    1023 mask
    1 slots
        slot 5: _o271 (Classifier/Addr)
-- Finished standard no-slot{} default handler --


I can't find the object _o270 and _o271 so i can't understand where is the 
fault ???

I noted that I receive this error only when i have more then 2 mobile nodes.

Best regards

El hadi 




  




[ns] Why caculationof distCST_ changed in wirelessPhyExt (ns2.34)

2010-12-12 Thread vitacai shun

Hi,

I am still confused on  the carrier sense threshold.

1. CS_thresh
   CS_thresh is too large by default value (6.31e-12, 802.11a),  the
corresponding range is 168.3m , which equals to transmission range.


2. distCST_  is the carrier sensing range , but it is caculated according
to  powermonitorthresh,  ( )as in channel.cc:

Phy/WirelessPhyExt set PowerMonitorThresh_  1.259e-13
distCST_ = 447 m

 if (dynamic_castWirelessPhyExt*(tifp)) {
   WirelessPhyExt *wifp = (WirelessPhyExt *)tifp;
   distCST_ = wifp-getDist(wifp-getPowerMonitorThresh(),
wifp-getPt(), wifp-getAntennaRxGain(), wifp-getAntennaTxGain(),
   highestZ , highestZ, wifp-getL(),
   wifp-getLambda());


Re: [ns] sleep node in WPAN

2010-12-12 Thread Subha Uthayaraj

Hi all,

I want to make set of nodes to be active and others in sleep state. I added
following codes to node configuration:

  -initialEnergy 1 \

-rxPower 0.3 \

-txPower 0.3 \

-set_node_sleep 1 \

but this code makes all nodes enter into sleep mode after initial energy has
gone.

What should i add to make particular nodes to sleep?

Thanks in advance.

-- 
Regards,
Subha