Semi-impirical battery aging model for LTO and LFP chemistries