ESS predictive maintenance