Many theoretical derivation of the energy model requires extensive simulation in Internet of Things (IoT). Network Simulator 3 (ns-3) provides a simulation platform for various experimental studies including energy ha...Many theoretical derivation of the energy model requires extensive simulation in Internet of Things (IoT). Network Simulator 3 (ns-3) provides a simulation platform for various experimental studies including energy harvest.However, the function of charge schedule and wireless energy transfer model is not yet implemented. To address this problem, in this paper we propose an extension to ns-3 for simulating mobile charging with wireless energy transfer.First, we utilize a WET Harvest Class to harvest energy from the environment and a Charge Schedule Class for the mobile charger to choose the optimal node charging in the charging request queue in ns-3. Second, we use Charge Energy Model to judge what the mobile charger will do next when the energy of current node is higher or lower than energy threshold. Evaluation results show that our improvements are feasible and helpful with charge schedule and energy model in ns-3.展开更多
文摘Many theoretical derivation of the energy model requires extensive simulation in Internet of Things (IoT). Network Simulator 3 (ns-3) provides a simulation platform for various experimental studies including energy harvest.However, the function of charge schedule and wireless energy transfer model is not yet implemented. To address this problem, in this paper we propose an extension to ns-3 for simulating mobile charging with wireless energy transfer.First, we utilize a WET Harvest Class to harvest energy from the environment and a Charge Schedule Class for the mobile charger to choose the optimal node charging in the charging request queue in ns-3. Second, we use Charge Energy Model to judge what the mobile charger will do next when the energy of current node is higher or lower than energy threshold. Evaluation results show that our improvements are feasible and helpful with charge schedule and energy model in ns-3.