STATE OF HEALTH ESTIMATION OF BATTERIES IN AN ENERGY STORAGE SYSTEM