I'm developing a routing protocol where route will be selected based on least consumed energy... for this I need to know the energy consumpion of each sensor mote in the topology...So I need a way to calculate or predict the energy consumption of a sensor node