Legal measures to aid profitability for energy communities and their participants | IEEE Conference Publication | IEEE Xplore