12.07.2015 Views

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

[other-optio<strong>ns</strong>] are used to specify parameters other than their default values. For the shadowing model there is anecessary parameter, -r , which specifies the r<strong>at</strong>e of correct reception <strong>at</strong> the distance. Becausethe communic<strong>at</strong>ion range in the shadowing model is not an ideal circle, an inverse Q-function [29] is used to calcul<strong>at</strong>e thereceiving threshold. For example, if you want 95% of packets can be correctly received <strong>at</strong> the distance of 50m, you cancompute the threshold bythreshold -m Shadowing -r 0.95 50Other available values of [other-optio<strong>ns</strong>] are shown below-pl -std -Pt -fr -Gt -Gr -L -ht -hr -d0 18.5 Comm<strong>and</strong>s <strong>at</strong> a glanceFollowing is a list of comm<strong>and</strong>s for propag<strong>at</strong>ion models.$<strong>ns</strong>_ node-config -propType This comm<strong>and</strong> selects in the simul<strong>at</strong>ion. the can bePropag<strong>at</strong>ion/FreeSpace, Propag<strong>at</strong>ion/TwoRayGround or Propag<strong>at</strong>ion/Shadowing$<strong>ns</strong>_ node-config -propI<strong>ns</strong>tance $propThis comm<strong>and</strong> is another way to utilize a propag<strong>at</strong>ion model. $prop is an i<strong>ns</strong>tance of the .$sprop_ seed This comm<strong>and</strong> seeds the RNG. $sprop_ is an i<strong>ns</strong>tance of the shadowing model.threshold -m [other-optio<strong>ns</strong>] distanceThis is a separ<strong>at</strong>e program <strong>at</strong> ~<strong>ns</strong>/indep-utils/propag<strong>at</strong>ion/threshold.cc, which is used to compute the receiving threshold fora specified communic<strong>at</strong>ion range.191

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!