AI AND EDGE COMPUTING FOR DISTRIBUTED ENERGY STORAGE SYSTEMS