Investigation and modeling of the nonlinear behavior for lithium-ion batteries