Distributed optimization in energy communities: a focus on flexibility provision | Publicación