Mathematical Modeling of the Lead-Acid Battery for Automotive Applications