A new programme is exploring how neighbours can share and use energy more efficiently together.