An Algorithm for Renewable Energy Communities Designing by Maximizing Shared Energy | IEEE Conference Publication | IEEE Xplore