Random Shutdowns. Unplug - Replug to start up

Hi there.

My 27” iMac 5K (A1419) has just started shutting down randomly. I did a terminal test and it looks like an SMC issue. Issue numbers all 0.

I reset the SMC to no avail.

Everything points to power supply failure but is there anything else I can check or reset before I replace it?

Thanx

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0

crwdns2947414:01crwdne2947414:0:

Restart your system and press the D ket to enter into diagnostics, see if it popped an error and let us know.

Reference: Mac startup key combinations

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0