A mathematical model of charge and discharge for lead batteries in electric road vehicles