Modeling a Lead-Acid Battery