Battery model parameter estimation using a layered technique: An example using a lithium iron phosphate cell