Modeling and verification of a lithium iron phosphate battery pack system for automotive applications