Physical Based Modeling And Simulation Of Lifepo₄ Secondary Batteries