Automating the Parameter Estimation of a Battery Model