INTELLIGENT CONTROL FOR COORDINATING DISTRIBUTED ENERGY STORAGE