Data driven State-of-Health monitoring of Lithium Ion battery used for micro-grid optimization