Another way to calculate it is if there are 17921 transactions in 679 blocks in the last 24 hours, that's 26.4 transactions per block. The difficulty at time of writing is 223130858736, which means that it takes 22kwh for one transaction assuming a Ryzen 5950x at 21000 hashes per second drawing 200 watts
That's a pretty big discrepancy...
Looking at the block reward, 198.92usd / 26.4 transactions / .141usd per kwh = 53 kwh
Are there any other ways to calculate the energy cost? Am I forgetting to factor something? Which method is most accurate? Will the energy cost change? If so, how and why?