Simulation results that ignore the sleep time at node A.
to test the validity of the Energy Model implemented in NS2, using a simple
topology comprised of two nodes A and B, as illustrated in Figure 14. Both
nodes are within the transmission range of each other.We choose the transmit,
receive and idle powers of 2 W, 1 W, and 1 W respectively.
Event Event No. times Total event Event power Total event
duration (s) event occurred
time (s) (W) energy (J)
SYNCPktTX 0.0102 4 0.0408 2 0.0816
SYNCPktRX 0.0102 3 0.0306 1 0.0306
RTSPktTX 0.011 1 0.011 2 0.022
RTSPktRX 0.011 1 0.011 1 0.011
CTSPktTX 0.011 1 0.011 2 0.022
CTSPktRX 0.011 1 0.011 1 0.011
DATAPktTX 0.043 2 0.086 2 0.172
DATAPktRX 0.043 1 0.043 1 0.043
ACKPktTX 0.011 1 0.011 2 0.022
ACKPktRX 0.011 1 0.011 1 0.011
Sleep 0.1432 9 1.2888 0 0
Idle NA NA 8.529939 1 8.529939
TOTAL 10.085139 8.956139
Table 2. Simulation results that account the sleep time at node A.
Although these values are exaggerated for the radio of a sensor node, it will
emphasize the energy problem we experienced in NS2.
Our simulations indicate about five seconds needed for node synchronization.
At time equal to eight seconds, a packet is generated from node A destined
to node B. Table 1 shows the simulation statistics gathered at node A.
Note that, although we have generated only one data packet from node A to
node B, the table indicates two data packets generated by node A.
Pages:
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187