Modeling lithium-ion battery states plays a crucial role in supporting engineering education, yet applying existing models in the classroom poses challenges. This paper presents an electrochemical/thermodynamic analytical model with 19 parameters for hard-pack lithium-ion batteries, providing efficient and compact MATLAB code as an instructional tool for engineering education. The paper elucidates the mechanisms of electrochemical/thermodynamic behavior evolution in lithium-ion batteries under thermal abuse and develops a state evaluation model...