Comparison between iron phosphate and lithium batteries