New tools for understanding rapid transitions: insights from Exergy and Useful Work Analysis