A Clustering Algorithm for Connected Entities in a Transactive Energy System for Optimal Battery Usage | IEEE Conference Publication | IEEE Xplore