MODELING THE ENERGY STORAGE SYSTEMS IN THE POWER SYSTEM STUDIES