The function of battery simulation cabinet