The DAPP service has the goal of computing individualised power profiles for each user, in order to optimise EDN behaviour by enforcing the operational constraints computed by the EVT service (as for DAPP, such operational constraints consist in performing peak shaving on select EDN substations). Namely, if all residential users actually follow such individualised power profiles, the peak shaving decided by EVT will be actually obtained. In order to output power profiles which may be actually followed by residential users, the DAPP service also takes as input the users flexibility, i.e., how much energy each user is able to move within a day (load shifting). In the SmartHG ecosystem, flexibility is casted as the capacity of a battery to be installed at home (the greater the battery, the higher the flexibility, the higher the amount of energy the user may shift). In order to automatically drive battery charge/discharge, so as to keep the user demand within the bounds defined by the power profile, an EBR instance will have to run on each residential home.