Text this: High capacity life PO4 battery model with consideration on nonlinear capacity effects