Model-Based State Of Health Estimation/Residual Useful Life Prediction Of Pba And Li-Ion Batteries