IN SITU ELECTRONICS AND COMMUNICATIONS FOR INTELLIGENT ENERGY STORAGE