i want to know that how can i calculate energy consumption of whole wireless sensor network, and individual sensor nodes in omnet++ without using simulation models for example castalia,INet or Mixim etc. is there any standard method or formula to calculate energy consumption in wireless sensor networks, if so then please share it with me.
Thanks in Advance