Techno-economic analysis of self-consumption schemes and energy communities in Italy and Portugal | Synapse