[ns] Values to be set in the TCL file to make the transmission range 100m

2006-04-12 Thread jeevesh sharma

Hi friends,
 What are the values to be set in the TCL file to make 
the transmission range 100m. In some mail i got some pointer for this 
but i am not getting them clearly. There i have to set Pt_ variable to 
a 
fixed value. Is it the only value I have to change? or it need some 
more changes. Then what is the use of values written below other than 
Pt_.
   
  CPThresh_ 10.0
CSThresh_ 1.559e-11
RXThresh_ 3.652e-10
Rb_ 2.0e6
Pt_ 0.2818
freq_ 914e+6
L_ 1.0
Please help me. Thanks a lot.
   
  jeevesh kumar
   



-
 Jiyo cricket on Yahoo! India cricket
Yahoo! Messenger Mobile Stay in touch with your buddies all the time.


Re: [ns] Values to be set in the TCL file to make the transmission range 100m

2006-04-12 Thread Qasim Raza Iqbal

Hi Jeevash

There are two method to do it.

Method a)
You calculate the RxThreshold using a small program written in C called
threshold.cc locayed in the folder ns-2.29/indep-utils/propogation/

compile the file as  g++ threshold.cc

then run the program /a.out with the required distance you want to transmit.

In this case the transmit power remains the same as 0.2818 (default 250m)
and also the Carrier Sense Threshold (CSThresh) will remain 550+ but the
nodes that are 100+ meter away will drop the packages that they receive
considering it an error.

Method b) You only change the Pt_ value to 7.214e-3 , This will set the
maximum transmission range of the node to 100m.

so you can choose which option you want to go for

I hope this helps

regards




 Hi friends,
  What are the values to be set in the TCL file to make
 the transmission range 100m. In some mail i got some pointer for this
 but i am not getting them clearly. There i have to set Pt_ variable to
 a
 fixed value. Is it the only value I have to change? or it need some
 more changes. Then what is the use of values written below other than
 Pt_.

   CPThresh_ 10.0
 CSThresh_ 1.559e-11
 RXThresh_ 3.652e-10
 Rb_ 2.0e6
 Pt_ 0.2818
 freq_ 914e+6
 L_ 1.0
 Please help me. Thanks a lot.

   jeevesh kumar




 -
  Jiyo cricket on Yahoo! India cricket
 Yahoo! Messenger Mobile Stay in touch with your buddies all the time.



Kind regards

Qasim Raza Iqbal
PhD Candidate,
ACNRG Lab N504,  Office N505
Adaptive Communications Networks Research Group,
School of Engineering And Applied Science
Aston University
Birmingham  B4 7ET
United Kingdom
http://www.ee.aston.ac.uk/research/acrg/index.html




Re: [ns] Values to be set in the TCL file to make the transmission range 100m

2006-04-12 Thread Sasan Sahraei

transmission range defined internally by distCST_

the transmission range is suppose to be calculated using the parameted
below (as you mentioned) and propagation model however by looking at the
Wireless Physical code, the propagation model is not implemented yet and
thus the result is as -1 which is wrong.

so in 2.29 I had no choice to define it as a fix variable myself - still
not sure if this is an accurate simualtion. but to explain it, I am
setting energy levels and rx/tx power values to make the simulation more
accurate.

if you look at it from real life view point, devices (based on an initial
energy and type of MAC layer pawer consumption) do have a initial fix
transmission range

am I correct?

Sasan



 Hi friends,
  What are the values to be set in the TCL file to make
 the transmission range 100m. In some mail i got some pointer for this
 but i am not getting them clearly. There i have to set Pt_ variable to
 a
 fixed value. Is it the only value I have to change? or it need some
 more changes. Then what is the use of values written below other than
 Pt_.

   CPThresh_ 10.0
 CSThresh_ 1.559e-11
 RXThresh_ 3.652e-10
 Rb_ 2.0e6
 Pt_ 0.2818
 freq_ 914e+6
 L_ 1.0
 Please help me. Thanks a lot.

   jeevesh kumar




 -
  Jiyo cricket on Yahoo! India cricket
 Yahoo! Messenger Mobile Stay in touch with your buddies all the time.





Re: [ns] Values to be set in the TCL file to make the transmission range 100m

2006-04-12 Thread Daniel Mahrenholz

Sasan Sahraei schrieb:
 transmission range defined internally by distCST_

   
This is only the maximum assumed interference range for a propagation 
model and will be used to speed up the calculation of packet receivers.

 the transmission range is suppose to be calculated using the parameted
 below (as you mentioned) and propagation model however by looking at the
 Wireless Physical code, the propagation model is not implemented yet and
 thus the result is as -1 which is wrong.

   
You have various implemented propagation models (e.g. FreeSpace, 
TwoRayGround, Shadowing). Maybe you just look at the base class for all 
propagation models.

The transmission range is defined by the antennas of the transmitter AND 
the receiver, the transmission power, signal attenuation, modulation 
scheme (which results in different receiver sensitivities / RX 
treshhold) and so on. It is nothing you can compute solely by looking on 
the transmitter.

Just as a little example: two laptops equiped with usual WLAN interface 
adapters may have a transmission range of 300m in an open area. But with 
good external antennas you can boost this whithout amplification up to 
150km (http://www.wifi-shootout.com/).

As a personal advice for every WLAN simulation - use the Shadowing (or 
better) propagation model if possible. I can provide ready to use 
parameter sets for different environments if necessary.

Daniel.