Representative model of lithium iron phosphate battery