Can some one tell me how is energy consumption in WSN calculated. The nodes can be in transmitting or receiving or idle or in sleep ? Also how is the energy consumed by the entire network calculated ? Thanks
Zahir, I can get the remaining power from a variable in NetSim. The question is how do I figure out how much was used for transmission, reception, idle etc.
When i make experiment using NS-3, the parameters, such as transmission power, idle power and receiving can be setup. you just need to record the numbers of sent packets and receiving packet at each node. after the simulation is completed, You can calculate the energy for sending packets: transmission power*(packet size/ transmission rate)* packet number. Similar to receiving energy consumption. as for energy on idle state and sleeping state, you just record the total time of idle state and you can calculate them.