 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
n |
Assumption:
only wireless interface consumes energy (i.e.,
|
|
internal
processing of messages etc. is “free”)
|
|
|
n |
NS2
has (simplistic) energy model: “The energy model in
|
|
|
|
a
node has a initial value which is the level of energy the
|
|
|
|
node
has at the beginning of the simulation. This is known
|
|
|
|
as
initialEnergy. It also has a given energy usage for every
|
|
|
|
packet
it transmits and receives. These are called txPower
|
|
|
|
and
rxPower”
|
|
|
n |
Default
IDLE energy consumption is zero, send/receive
|
|
|
|
costs
independent of packet size, unicast/broadcast, etc.
|
|