A Five-Parameter Analytical Curvefit Model for Open-Circuit Voltage Variation with State-of-Charge of a Rechargeable Battery