FOUR COMMON FUNCTIONS OF ENERGY STORAGE SYSTEMS