Essays on renewable energy communities - Soeiro, Susana Teixeira (2022)