Journal of Hebei University of Science and Technology (Jun 2019)

A battery model and its numerical method for the network simulator 3 (NS-3)

  • Rencheng JIN,
  • Feng ZHOU,
  • Yu LI

DOI
https://doi.org/10.7535/hbkd.2019yx03006
Journal volume & issue
Vol. 40, no. 3
pp. 233 – 241

Abstract

Read online

In order to solve the problem that the network simulator 3 (NS-3) cannot accurately simulate the battery information of the wireless sensor network (WSN) node, the LiIon battery model is used to calculate the output voltage of the available charge well (ACW) of the KiBaM battery model by combining the advantages of the LiIon battery model and the KiBaM battery model, then a KiBaM-LiIon battery model that can reflect the rate capacity effect and recovery effect of the battery, as well as the decrease of the output voltage with the decrease of remaining charge is proposed. For solving the ordinary differential equations without analytical solution in the model, an easy programming numerical solution based on the implicit Runge-Kutta method is proposed. Simulations and experiments show that the proposed model and its numerical solution can accurately predict the voltage and remaining charge at any time during battery use in NS-3, and have the advantage of low computational complexity. The proposed battery model and proposed numerical solution are not only applicable to NS-3, but also to other network simulators, which provides good technical support and guarantee for the research and development of WSN and mobile Ad-hoc networks (MANET).

Keywords