ENERGY STORAGE SYSTEM MODELING