In LT Spice, if you alt/click on a power supply, it graphs the power output. It gets the sign correct, negative power dissipation.
It sometimes helps to add a lowpass filter to the supply output so current spikes don't make radical power excursions, but that doesn't affect the result.