trasmission range


출처 : http://kr.blog.yahoo.com/myungjang


1. trasmission range를 제한하자

1.1 threshold.cc 를 컴파일
    ns-2.27/indep-utils/propagation 에서
        # g++ threshold.cc -o threshold

1.2 threshold 실행
    #./threshold -m TwoRayGround -r 0.95 1 실행결과 RXThresh_ 값으로

    1m : 0.000192278    
    5m : 7.69113e-06
    10m : 1.92278e-06
    25m : 3.07645e-07
    50m : 7.69113e-08
    75m : 3.41828e-08
    100m : 1.42681e-08
    125m : 5.8442e-09
    150m : 2.81838e-09
    175m : 1.52129e-09
    200m : 8.91754e-10
    225m : 5.56717e-10을 얻는다.
    250m : 3.65262e-10
    500m : 2.28289e-11
    1000m : 1.42681e-12

1.3 tcl 프로그램에추가
    Phy/WirelessPhy set RXThresh_ 3.07645e-07

[ns] A range question about NS2.......

Kimaya M. Sanzgiri 20040713033623.M6032@webmail5.hfu.edu.tw">kimaya at cs.ucsb.edu
Tue Jul 13 11:27:18 PDT 2004


You cannot directly assign the transmission range in terms of
distance. To control the transmission range, you need to adjust the
values of Pt_ and RXThresh_ variables.

Use indep-utils/propagation/threshold.cc under the ns-2 directory to see
what values of Pt_ and RXThresh_ lead to what transmission range. More
details can be obtained at http://www.isi.edu/nsnam/ns/doc/node221.html

To set a different transmission range for each node, my guess is that you
would need to hack the code so that different nodes can use different
values of Pt_/RXThresh_. I don't think such an option is directly
available in NS.

Hope that helps.
Kimaya


On Tue, 13 Jul 2004, [BIG5] ¾H¸U¼y wrote:

>
> Hi:
>
> I want to run a wireless model simulation.
> However, I coun't make sour how to assign the transmitting range.
> Could anyone tell me where I can assign it.......
>
> I have ever try to change the value of "RXThresh_" and "Pt", it is work,
> but it seem like environment parameter,
> that mean I can't given communicate range to each node particular.
>
> the "$mobilenode radius <r>" at chapter16 in ns_doc that I try have no any
> effect.
> Set the range drive me crazy....
>
> Sorry, my engligh is very poor, but I really hope someone can help me.
> It's very important to me. Thank you very much.
>
>
> ikaruga
>
>
> --
> Open WebMail Project (http://openwebmail.org/)
>
>


More information about the Ns-users mailing list


[ns] Pt_ and txPower in energy model

Michal Lewandowski tk_michal at wp.pl
Thu Jun 10 07:26:31 PDT 2004


Hello,

As I can see it, after reading the manual and few experiments, there is no
relation between them.

As you said, Pt_ is the antenna power, and it is used to set the distance,
for e.g.

Phy/WirelessPhy set Pt_ 7.214e-3

sets the antenna distance exactly at 100 m in FreeSpace and TwoRayGround
Propagation model. You can also set the distance when you set RXThresh_
(also can be done from tcl level), but you don't have to use it. (Pt_ and
RXTresh_ are defined in wireless-phy.cc file)



rxPower and txPower are used in Energy Model (Chapter 19 in ns_doc), witch
is a model of a battery (in for e.g. laptop). You can set the initial
battery capacity, and rxPower is the power used to receive a packet, and
txPower i one used to transmit a packet.



So, Pt_ and txPower are two different things, not related one to each other.



Best regards

Michal





----- Original Message -----
From: "Ping Ding" <dingping20004 at yahoo.com>
To: <ns-users at ISI.EDU>
Sent: Wednesday, June 09, 2004 1:34 AM
Subject: [ns] Pt_ and txPower in energy model


>
> Hi, all,
>
> In energy model, Pt_ is used to calculate Pr. And Pr is used to decide the
successful reciving the packet or not.
> txPower_ is the transmitting power. I think Pt_ and txPower are related.
Is it correct? What is the relation between Pt_ and txPower_. For example,
if Pt_ is 0.2818w then txPower_ is 0.6(transmission range is 250m). What are
the respective Pt_ and txPower when the transmission range is 40m, 60m, and
so on. Where can I find the related information?
>
> I appreciate your help.
> Ping
>
>
> ---------------------------------
> Do you Yahoo!?
> Friends. Fun. Try the all-new Yahoo! Messenger
>


More information about the Ns-users mailing list


[ns] Pt_ and txPower in energy model

Michal Lewandowski tk_michal at wp.pl
Fri Jun 11 09:06:59 PDT 2004


hi,
In ns you set the antenna transmit power by setting Pt_. This determines the
antenna range.

txPower and rxPower determines the energy usage for every packet antenna
transmites and receives.

Pt_ is defined in wireless-phy.cc

txPower and rxPower are defined in energy-model.cc and energy-model.h,
but they are not called txPower and rxPower but P_tx and P_rcv. They are the
transmitting and receiving power required by node's interface or PHY.

In energy-model.cc and energy-model.h there are also defined txtime and
rcvtime. txtime is time needed to transmit a packet, rcvtime - to receive a
packet. They are strictly related to packet's size.

When you multiply txPower (P_tx) and txtime you get the energy used to
transmit one packet. Analogically rxPower (P_rcv) and rcvtime.

I hope this will help you a little bit.
Best regards,
Michal


PS. I don't know why in my out.tr file field Ne is still -1.00000 even when
node energy is zero. Maybe somebody knows?



----- Original Message -----
From: "word" <word at osdp.is.tsukuba.ac.jp>
To: "Michal Lewandowski" <tk_michal at wp.pl>; <ns-users at ISI.EDU>
Sent: Friday, June 11, 2004 7:29 AM
Subject: Re: [ns] Pt_ and txPower in energy model


> hello,
> I am confusing by the same question of the transmit power.
> I have seen the energymodel.h and energymodel.cc,
> I have not found the txPower defination there.
> If I want to change the transmit power, I used to change Pt_, but as you
> said it is not right. I confused.
> eagerly expect your help.
> sincerely
> word
> ----- Original Message -----
> From: "Michal Lewandowski" <tk_michal at wp.pl>
> To: "Ping Ding" <dingping20004 at yahoo.com>; <ns-users at ISI.EDU>
> Sent: Thursday, June 10, 2004 11:26 PM
> Subject: Re: [ns] Pt_ and txPower in energy model
>
>
> >
> > Hello,
> >
> > As I can see it, after reading the manual and few experiments, there is
no
> > relation between them.
> >
> > As you said, Pt_ is the antenna power, and it is used to set the
distance,
> > for e.g.
> >
> > Phy/WirelessPhy set Pt_ 7.214e-3
> >
> > sets the antenna distance exactly at 100 m in FreeSpace and TwoRayGround
> > Propagation model. You can also set the distance when you set RXThresh_
> > (also can be done from tcl level), but you don't have to use it. (Pt_
and
> > RXTresh_ are defined in wireless-phy.cc file)
> >
> >
> >
> > rxPower and txPower are used in Energy Model (Chapter 19 in ns_doc),
witch
> > is a model of a battery (in for e.g. laptop). You can set the initial
> > battery capacity, and rxPower is the power used to receive a packet, and
> > txPower i one used to transmit a packet.
> >
> >
> >
> > So, Pt_ and txPower are two different things, not related one to each
> other.
> >
> >
> >
> > Best regards
> >
> > Michal
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "Ping Ding" <dingping20004 at yahoo.com>
> > To: <ns-users at ISI.EDU>
> > Sent: Wednesday, June 09, 2004 1:34 AM
> > Subject: [ns] Pt_ and txPower in energy model
> >
> >
> > >
> > > Hi, all,
> > >
> > > In energy model, Pt_ is used to calculate Pr. And Pr is used to decide
> the
> > successful reciving the packet or not.
> > > txPower_ is the transmitting power. I think Pt_ and txPower are
related.
> > Is it correct? What is the relation between Pt_ and txPower_. For
example,
> > if Pt_ is 0.2818w then txPower_ is 0.6(transmission range is 250m). What
> are
> > the respective Pt_ and txPower when the transmission range is 40m, 60m,
> and
> > so on. Where can I find the related information?
> > >
> > > I appreciate your help.
> > > Ping
> > >
> > >
> > > ---------------------------------
> > > Do you Yahoo!?
> > > Friends. Fun. Try the all-new Yahoo! Messenger
> > >
> >
> >
>
>


More information about the Ns-users mailing list



[ns] regarding AODV and range

Kenneth Nielsen kenneth at daimi.au.dk
Thu Jul 15 03:09:18 PDT 2004


Hi Xavi,

I believe that a node's default trasmission range is 250 meters.
ou can change the transmission range with the following tcl-statement.

Phy/WirelessPhy set Pt_ = 7.214e-4; # 100 meters

Some other transmission ranges are:
Pt_ = 8.5872e-4; # 40 meters
Pt_ = 0.2819; # 250 meters

Regards,
Kenneth Nielsen

----- Original Message -----
From: <XAVIERMM3 at telefonica.net>
To: <ns-users at ISI.EDU>
Sent: Thursday, July 15, 2004 11:16 AM
Subject: [ns] regarding AODV and range


>
> Hi all,
>
> I'm trying simulate several scenarios but I have one problem. I don't
> know how to set the maximum distance between nodes. I mean, If my grid
> is 500 x 500 and I place the node A in (1,3) and node B in (200,200)
> how do I know whether they're in range one another? How do I know
> where to place the nodes in the X and Y axis in order to allow them
> communicate?
>
> Thanks a lot
>
> Xavi
>
>


More information about the Ns-users mailing list
2007/03/14 23:52 2007/03/14 23:52
TAG
Trackback address :: http://4ellene.net/tt/trackback/1131
  1. Culinary school and colorado springs.

    Tracked from Culinary school oakland ca. 2008/07/04 22:01  삭제

    Nyc culinary school. Florida culinary school. New culinary school missouri. Culinary school seattle. Culinary school 2006. Johnson and wales culinary school. California school of culinary arts. Culinary school tarrant dallas. Santa fe culinary school.

  2. Ephedrine products.

    Tracked from How to make meth from ephedrine hcl. 2008/07/08 07:36  삭제

    Ephedrine ephedra. Ephedrine phpbb forum.

  3. No faxing 1 hour payday loans.

    Tracked from Hour payday loans. 2008/08/03 13:30  삭제

    Hour cash loans quick payday cash loan. Guaranteed instant deposit in 1 hour payday loans. One hour payday loans. One hour payday loans no faxing.

  4. Phentermine.

    Tracked from Phentermine information. 2008/08/04 03:23  삭제

    Phentermine 37.5mg. Discount phentermine. Phentermine. Phentermine side effects. Phentermine 37.5. Buy no phentermine prescription. Phentermine ingredient.

Comments List

  1. girl peeing 2008/05/23 04:48

  2. teen boy wanking it 2008/05/23 05:26

  3. gina s breasts 2008/05/23 05:34

  4. mens see through thongs 2008/05/23 07:30

  5. midlands escort 2008/05/24 00:44

  6. vibrator movie 2008/05/24 00:52

  7. sidi doha boots review 2008/05/24 01:20

  8. gothic metal bed 2008/05/24 01:31

Write a comment.

[로그인][오픈아이디란?]