Case study of electric and DHW energy communities in a Mediterranean district. (May 2023)