“…They can interact directly with flexible assets or via end users, but must in any case receive their consent and can encounter many barriers [1]. In order to optimize this management, the aggregator must have knowledge of the distributed production, but also of consumer behavior, which is an active research field [2] and subject to many uncertainties. More and more individual Renewable Energy Sources (RES) generation are being implemented at the scale of buildings, or at the scale of energy communities.…”