Hello Manish,
My understanding is that the two parameters are not related.
Pt_ defines the amount of power transmitted from the antenna
(Phy/WirelessPhy), and thus; it defines (together with the RXThresh_
parameter) the range of the mobile-node. And it is not used by the energy
model.
txpower defines how much power a mobile-node, as a whole, consumes when it
is transmitting, and it is the one used by the energy model.
For example; the PRO/Wireless 3945ABG card on my laptop can consume a
maximum power of 1.8 Watt while transmitting and a maximum of 1.4 Watt while
receiving. But the maximum transmitting power is 15 dBm ( ~ 31 mW) !
-- Waleed Tuffaha
On Wed, Jan 21, 2009 at 7:07 AM, manish chaturvedi wrote:
>
> Hi,
>
> I am trying to incorporate energy model in my NS2.33 simulation. I have
> some confusion between Pt_(used to set transmission range), and
> txpower(energy model parameter specifying enegy consumption in
> transmission). I need to know what is the relation between these values,
> and
> how can I calculate one(txpower) given the other(Pt_). I looked at some old
> discussions on this mailing list but could not make it from there. Please
> give information or point to some source of this information.
>
> Thanking you,Manish.
>