State Of Charge Estimation For Advanced Batteries: Reduced Order Electrochemical Modeling With Error Compensation