--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To post to this group, send email to omn...@googlegroups.com.
To unsubscribe from this group, send email to omnetpp+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/omnetpp?hl=en.
for visualizing the interferance distance in OMNeT++/MiXim, you can
just put **.drawMaxIntfDist = true
in omnetpp.pp (the configuration file).
interfDistance = pow(waveLength * waveLength * pMax
/ (16.0*M_PI*M_PI*minReceivePower),
1.0 / alpha);
But, this is the interference distance (a maximum value which is fixed
once it is computed) and is not
the tramission range.
The radio model is not an “on/off” mechanism, right ?
I'm also interested to know how we can compute the maximum tranmissin
range value. I have been still
searching for the answer... and am still confused on computing this
value as many others do :
here: http://groups.google.com/group/omnetpp/browse_thread/thread/9bdac5a90f76f8e0#
or
http://groups.google.com/group/omnetpp/browse_thread/thread/89744f97e371cf13
...
Could anyone explain clearly how to compute the maximum value of the
tranmission range by using
the free space path loss formula http://en.wikipedia.org/wiki/Free-space_path_loss,
please ?
Thanks in advance :)
Regards,
Oudam
On 1 juin, 15:25, amal abdelkarim <abdelkrim.a...@gmail.com> wrote:
> hi,
> i'm not using inetmanet , that's my problem, instead i'm using mixim.
>
> 2011/6/1 Rudolf Hornig <rudolf.hor...@gmail.com>
>
> > On additional tip: AbstractRadioExtended::updateDisplayString() does this
> > in the INETMANET project. Check how it is done.
>
> > Rudolf
>
> *Amal Abdelkarim éléve ingénieur*
> *à l'école nationale des sciences de l'informatique ENSI*
>
> interfDistance = pow(waveLength * waveLength * pMax
> / (16.0*M_PI*M_PI*minReceivePower),
> 1.0 / alpha);
> Could anyone explain clearly how to compute the maximum value of the
> tranmission range by using
> the free space path loss formula http://en.wikipedia.org/wiki/Free-space_path_loss,
> please ?
Theoretically it is just the formula you reported. In practice, it
depends on the settings you're using (power, sensitivity, PER
tables...). Usually I use a scenario similar to the one I paste below
and a corresponding ANF to check the max distance.
ciao,
leonardo.
[Config TestDistance]
# See anf file for evaluating the max transmission distance
# at various transmitting power level.
# Sensitivity values from:
# http://www.smarteq.se/4.1b27248111ee6cfde1e800011072.html
# @54Mbps sensitivity is -67db for some nics
# @11Mbps it is around -82
#**.wlan.radio.berTableFile="per_table_80211g_Trivellato.dat"
description = "Nodes diverging"
*.numHosts = ${nn = 2}
sim-time-limit = 1000s
repeat = 1
**.mobility.rng-0 = 1
**.wlan[*].mac.rng-0 = 2
#debug-on-errors = true
**.constraintAreaWidth = 1000m
**.constraintAreaHeight = 1000m
**.debug = false
**.coreDebug = false
**.host*.**.channelNumber = 0
**.wlan[*].radio.bitrate = 54Mbps
**.wlan[*].radio.transmitterPower = ${transmissionPower =
2,3,5,10,50,100,200,500}mW
**.wlan[*].radio.thermalNoise = -110dBm
**.wlan[*].radio.sensitivity = -95dBm
**.wlan[*].radio.pathLossAlpha = 2
**.wlan[*].radio.snirThreshold = 4dB
**.host*.routingProtocol = "OLSR"
# mobility
**.host[0].mobilityType = "NullMobility"
**.host[1].mobilityType = "LinearMobility"
**.mobility.initFromDisplayString = false
**.host*.mobilityType = "NullMobility"
**.host[0].mobility.initialX = 10m
**.host[0].mobility.initialY = 10m
**.host[1].mobility.initialX = 10m
**.host[1].mobility.initialY = 10m
**.host[1].mobility.speed = 1mps
**.host[*].udpApp[0].typename = "UDPBasicBurst"
**.host[*].numUdpApps = 1
#**.host[0].udpApp[0].destAddresses = "255.255.255.255"
**.host[0].udpApp[0].destAddresses = "host[1]"
**.host[*].udpApp[0].destAddresses = ""
**.host[*].udpApp[0].localPort = 1234
**.host[*].udpApp[0].destPort = 1234
**.host[*].udpApp[0].messageLength = 1400B
**.host[*].udpApp[0].messageFreq = 1s
**.host[*].udpApp[0].burstDuration = 1000s
**.host[*].udpApp[0].sleepDuration = 0s
**.host[*].udpApp[0].stopTime = -1s
**.host[*].udpApp[0].startTime = 5s
**.host[*].udpApp[0].delayLimit = 5s
--
Leonardo Maccari, Post-doc researcher@University of Trento
Tel: +39 0461 285323, project website: www.pervacy.eu
Ok I'll express it better...
What I meant is that theoretically you can use the same formula you use
to calculate interference for calculating pathloss but then,
communication range changes with the kind of radio you're using. As far
as I've seen with Inet there are a few different ways of doing it (fixed
minimum snir, table..) so it is easier to test it than to calculate it.
Now this is true with Inet, I see now you're using Mixim which I don't
know but i guess it works the same.
ciao,
leonardo.
**.maxDistance = 100m
Set the transmission distance to 100 meters
See the examples. The mobility model is selected in the ini file, for example
**.host*.mobilityType = "LinearMobility"
--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There are several examples in in the inet framework, you can use them