Читать книгу Handbook of Intelligent Computing and Optimization for Sustainable Development - Группа авторов - Страница 234

6.4.6 Energy Calculation

Оглавление

Energy calculation is the amount of energy used from source to destination node. Read the energy from the excel file and it measures the energy from source node to zone scatter node (num1) then from zone scatter node to destination scatter node (num2) and at the end from destination scatter to destination node (num3). To find the final count of energy, we sum up all the forms of energy num = num1 + num2 + num3. To find the percentage of energy lost in the whole procedure is x = (num/N)*100. We also find out the energy used at each node for delivery packet from source to destination node.


Figure 6.15 Mesh formation.


Figure 6.16 Minimum spanning tree.


Figure 6.17 Throughput vs. delivery ratio.

Handbook of Intelligent Computing and Optimization for Sustainable Development

Подняться наверх