Prosumers are households that are both producers and consumers of electricity. A prosumer has a grid-connected decentralized production unit (DPU) and makes two types of exchanges with the grid: energy imports when the local production is insufficient to match the local consumption and energy...