A framework for participation of prosumers in peer-to-peer energy trading and flexibility markets | Publicación