Le Comunità energetiche: lo scenario internazionale e le normative in atto