Abstract
In recent years, several countries have evaluated the formation of energy communities to better utilize distributed energy resources (DER) installed near medium-voltage grids. Clustering algorithms have been used to form DER groups, but without considering the stochasticity inherent to distributed generation (DG) and electrical demand. Additionally, energy communities can increase the res…