An overview of battery simulation