About the European regulation category

On European sustainability regulation such as CSRD, SFDR, CBAM, etc.

Hi! What would be the best way to generate ESRS E1 data points for MWh and share of renewable energy, nuclear energy and fossil energy, as well as share of self-generated vs purchased energy? The SECR report seems to include at least some of these, is it reliable tool for generating this data? How does the SECR report calculate these figures? Mainly, does it take into account the mix in country average or residual mix or does it only count energy that’s marked “green” as renewable? Is there any way of generating the data for nuclear with the current tools?