STATCOM AND ENERGY STORAGE SYSTEM IN SUBSTATION