Let us assume that the network has seven nodes (n1-n7) and n1 be source node and n7 be destination node as shown in the Fig 5. Here, NT indicates the transmission power and NE indicates the energy level. We are measuring energy in the scale of 0-1 and the transmission power is also measured from 0-1. If a node n1 wants to send the message to n7, then there are three possible paths form the source to destination. The proposed model will choose path 3(n1n7n4) due to the following reasons:
First, the proposed model selects a route with the weak nodes having maximum residual battery capacity among all mobile nodes.
Secondly, if all the nodes contain equal battery capacity, then the proposed algorithm chooses a node with the minimum transmission power.
Thirdly, if all the nodes take equal transmission power, then the proposed algorithm chooses a path with the minimum number of hops to reach the destination.