MODELING AND GRID CONNECTION DESIGN OF ENERGY STORAGE CELLS