Exergy Balance: Closed Systems