Using the Gibbs energy change