A 3-dimensional model of internal charging simulation