Nonlinear Dynamic Model for Parameter Estimation of Li-Ion Batteries Using Supply–Demand Algorithm