Calculate power consumption to see if the node dies
问题 I am using Omnet++ and Inet 3.4.0 and I am trying to simulate power consumption and make the node dead after it's energy gets over. I tried IdealEnergySource model and SimpleEnergyStorage. but I could not figure out where to keep the parameter of the energy source. I tried in SimpleEnergyStorage.cc but could not find. Than you in advance 回答1: The Wireless08 tutorial from INET uses IdealEnergyStorage which has an infinite amount of energy. Therefore in that case a node will never be dead. To