Demystification of the Gouy-Stodola theorem of thermodynamics for closed systems | Synapse