Difference between Gibbs Free Energy and Exergy
Exergy is equal to the Gibbs free energy if you happen to be in the isothermal--isobaric ensemble $(N, P, T)$, i.e. in a closed system if the pressure $P$ and temperature $T$ are constant. This is indicated in Eq. 7 of the Wikipedia page for exergy.