Introduction to Chemical Reaction Equilibrium
Contents
Introduction to Chemical Reaction Equilibrium#
Introduction#
Chemical reactions are at the center of chemical engineering. The ability to transform molecular reaction events into valuable products is the defining component of the discipline. Chemical reactions are everywhere, from traditional processes, such as the manufacturing of plastics, to biological applications, such as the manufacturing of the COVID-19 mRNA vaccine.
In this lecture, we look at chemical reactions from the energy perspective. In particular, we relate the extent of reaction to the Gibbs energy minimum for both closed and open systems. We start with defining a theoretical picture of the Gibbs energy in the presence of chemical reactions and then apply this theory to a single gas and liquid phase reaction in a closed system. We then extend these ideas to open systems with multiple coupled reactions.
In this lecture, we will:
Develop a Theory for closed systems describing the Gibbs energy of a system with chemical reactions
Develop expressions for the Vapor-phase equilibrium constant and Liquid-phase equilibrium constant
Develop tools for computing extent of reaction for Closed systems and multiple coupled reactions and Open systems and multiple coupled reactions
Theory for closed systems#
Suppose we have a well-mixed closed system, i.e., no flow into or from the system that has species set \(\mathcal{M}\). For chemical reactions in this system, the differential change in the Gibbs energy can be written as the sum of the partial molar Gibbs energies (what we call G-bar) at constant T,P:
where \(d\hat{G}\) denotes the differential change in the total Gibbs energy for the reaction mixture (units: kJ), \(\bar{G}_{i}\) denotes the partial molar Gibbs energy for chemical component \(i\) (units: kJ/mol) and \(dn_{i}\) denotes the differential change in the number of mols of chemical component \(i\). From classical thermodynamics, we know that the partial molar Gibbs energy for chemical species \(i\) is given by:
where \(G_{i}^{\circ}\) denotes the Gibbs energy for pure component \(i\) at a reference state, and \(\hat{a}_{i}\) denotes the ratio of fugacities (mixture at reaction T,P/pure component \(i\) at reference conditions); the fugacity models are the same expressions that we developed in our discussion of phase equilibrium.
However, let’s assume the general case in which we could have either phase. In this case, we substitute the expression for the partial molar Gibbs energy (Eqn. (79)) into the total Gibbs energy expression (Eqn. (78)) and collect terms:
At equilibrium, \(d\hat{G} = 0\) which gives the equilibrium condition:
Definition 34 (Chemical reaction equilibrium condition)
Suppose we have a well-mixed system with species set \(\mathcal{M}\) in which one or more chemical reactions in the reaction set \(\mathcal{R}\) are occurring. Further, the system is at constant temperature and pressure.
Then, this system is at equilibrium (or the minimum energy-steady-state for an open system) when the differential change in the total Gibbs energy is zero:
where \(G^{\circ}_{i}\) denotes the Gibbs energy for pure component \(i\) at a reference state, \(\hat{a}_{i}\) denotes the ratio of fugacity, \(dn_{i}\) denotes the differential change in the number of moles of component \(i\), \(R\) denotes the ideal gas constant and \(T\) denotes the system temperature.
Definition 34 is theoretically important, but a few items must be addressed to make it actionable. First, let’s compute the change in the number of moles. The differential change in the number of moles of component \(i\) is related to the extent of the reaction. Suppose we have a reaction set \(\mathcal{R}\), then we can write \(dn_{i}\) as:
where \(\sigma_{ir}\) denotes the stoichiometric coefficient for component \(i\) in reaction \(r\), and \(d\epsilon_{r}\) represents the differential change in the extent of the reaction for reaction \(r\). Let’s consider a single reaction; thus, the reaction set \(\mathcal{R}\) contains only one element (say reaction 1), and the differential change in the moles of component \(i\) is given by:
Substituting Eqn. (82) into Eqn. (81) and dividing by \(d\epsilon_{1}\) gives:
which can be rearranged to give the expression:
Equation (83) can be further simplified to give an expression for the reaction equilibrium constant:
Definition 35 (Equilibrium constant)
Consider a single chemical reaction in a well-mixed system with species set \(\mathcal{M}\) at constant temperature and pressure. Then, at equilibrium, the total Gibbs energy is given by:
where \(\hat{a}_{i} = \hat{f}_{i}/f_{i}\). Equation (84) can be re-written in terms of the equilibrium constant \(K\):
which gives the familiar expression:
Example#
Vapor-phase equilibrium constant#
The vapor phase fugacity for compnent \(i\) in chemical species set \(\mathcal{M}\) is given by:
where \(y_{i}\) denotes the mole fraction of component \(i\), \(\hat{\phi}_{i}\) denotes the fugacity coefficient for component \(i\), Subsituiting the vapur phase fugacity into Eqn. (84) gives using a standard pressure \(P^{\circ}\) as the single component reference state gives:
Definition 36 (Ideal Gas Phase Equilibrium Constant)
Suppose we have a single gas phase reaction occurring in a well-mixed closed chemical reactor containing species set \(\mathcal{M}\). Further, suppose the gas phase is ideal. Then, the ideal gas phase equilibrium constant is given by:
where \(\sigma_{1}\) denotes the sum of the stoichiometric coefficients for reaction 1, \(y_{i}\) denotes the mole fraction of component \(i\), and \(\sigma_{i1}\) represents the stoichiometric coefficient for component \(i\) in reaction 1.
Extent and the gas-phase equilibrium constant#
In the case of vapor phase reactions, the extent of the reaction is related to the equilibrium constant through the mole fraction. Consider a single gas phase reaction with extent \(\epsilon_{i}\) (units: mol). We know from the definition of the gas phase mole fraction for component \(i\) (in a system with species set \(\mathcal{M}\)) given by:
that moles of component \(i\) are related to the extent of the reaction:
where \(n^{\circ}_{i}\) is the number of moles of component \(i\) initially (before the reaction), \(\sigma_{i1}\) denotes the stoichiometric coefficient for component \(i\) in reaction \(1\), and \(\epsilon_{1}\) denotes the extent of reaction 1. Substituting the moles of component \(i\) into the mole fraction expression gives:
Observation 27 (Ideal gas phase equilibrium constant in terms of the extent)
Substituting the mole fraction given in Eqn. (87) into the ideal vapor phase equilibrium constant in Eqn. (86) gives an expression that relates the equilibrium constant with the extent of the reaction:
The system pressure will also be a function of the extent of the reaction. Thus, we need an equation of state (EOS) that relates the moles in a system to the pressure.
Liquid-phase equilibrium constant#
The liquid phase fugacity for component \(i\) in chemical species set \(\mathcal{M}\) is given by:
where \(x_{i}\) denotes the liquid mole fraction of component \(i\), \(\hat{\gamma}_{i}\) denotes the activity coefficient for component \(i\) (describes liquid phase non-ideality) and \(f^{l}_{i}\) denotes the reference fugacity for pure component \(i\) in the liquid phase. Substituting the fugacity into the equilibrium expression (and canceling the reference states) gives:
Definition 37 (Ideal Liquid Phase Equilibrium Constant)
Suppose we have a single liquid phase reaction occurring in a well-mixed closed chemical reactor containing species set \(\mathcal{M}\). Further, suppose the liquid phase is ideal. Then, the ideal liquid phase equilibrium constant is given by:
where \(x_{i}\) denotes the mole fraction of component \(i\) in the liquid and \(\sigma_{i1}\) denotes the stoichiometric coefficient for component \(i\) in reaction 1.
Extent and the liquid-phase equilibrium constant#
In the case of liquid phase reactions, the extent of the reaction is related to the equilibrium constant through the mole fraction. Consider a single liquid phase reaction with extent \(\epsilon_{i}\) (units: mol). We know from the definition of the liquid phase mole fraction for component \(i\) (in a system with species set \(\mathcal{M}\)) given by:
that the moles of component \(i\) are related to the extent of the reaction:
where \(n^{\circ}_{i}\) is the number of moles of component \(i\) initially (before the reaction), \(\sigma_{i1}\) denotes the stoichiometric coefficient for component \(i\) in reaction \(1\), and \(\epsilon_{1}\) denotes the extent of reaction 1. Substituting the moles of component \(i\) into the mole fraction expression gives:
Observation 28 (Ideal liquid phase equilibrium constant in terms of the extent)
Substituting the mole fraction given in Eqn. (89) into the ideal liquid phase equilibrium constant in Eqn. (88) gives an expression that relates the equilibrium constant with the extent of the reaction:
for a single ideal liquid phase reaction.
Closed systems and multiple coupled reactions#
Suppose we have the species set \(\mathcal{M}\) and the reaction set \(\mathcal{R}\) in a closed system. For multiple reactions in a closed system, the total Gibbs energy expression:
becomes:
where the number of mol for species i is given by:
The quantity \(\Delta{G}^{\circ}_{j}\) denotes the Gibbs energy of reaction for reaction j (units: kJ/mmol), and \(\hat{a}_{i}\) denotes the ratio of fugacity for component i. In an ideal liquid solution \(\hat{a}_{i}\) reduces to:
where \(x_{i}\) denotes the mole fraction of component i in the liquid. For an ideal gas phase reaction, \(\hat{a}_{i}\) reduces to:
where \(y_{i}\) denotes the mole fraction of component i in the gas.
Solution approach#
To estimate the \(\mathcal{R}\times{1}\) equilibrium extent vector, we need to solve a constrained optimization problem. In particular, we minimize the Gibbs energy expression given in Eqn. (90), subject to constraints. Our decision variables (what we are looking for) are the extents of reaction \(\epsilon_{i},\forall{i}\in\mathcal{R}\) while the constraints are bounds on each extent \(\epsilon_{i}\in\left[0,\star\right],\forall{i}\) and physical constants on the number of moles \(n_{i}\geq{0},\forall{i}\) (the number of moles must be non-negative).
Example#
Open systems and multiple coupled reactions#
For an open system, instead of thinking about the equilibrium extent \(\epsilon\), we’ll compute the open extent of reaction \(\dot{\epsilon}\) (units: mol/t) that gives the lowest energy. The Gibbs energy for the species set \(\mathcal{M}\) in a well-mixed open system is given by:
where \(\hat{G}\) is the overall open Gibbs energy (units: energy/time), \(\bar{G}_{i}\) is the partial molar Gibbs energy for component \(i\) (units: energy/mol), and \(\dot{n}_{i}\) denotes the species mole flow rate of component \(i\) (units: mole/time). Substituting the partial molar Gibbs energy Eqn (79) into the open Gibbs expression gives two terms:
where \(\hat{a}_{i}\) is the ratio of fugacity for component \(i\), \(G_{i}^{\circ}\) denotes the Gibbs energy for pure component \(i\) at the reference state and \(\dot{n}_{i}\) denotes the species mole flow rate for component \(i\).
From our previous discussion of species mole balances equations, we know the relationship between the number of moles of species \(i\) and the open extent of reaction \(\dot{\epsilon}_{j}\) in a well-mixed system at steady-state:
where we partitioned the stream set into streams entering the system \(\mathcal{S}^{+}\) and steams exiting the system \(\mathcal{S}^{-}\).
Summary#
In this lecture, we looked at chemical reactions from the energy perspective. In particular, we related the extent of reaction to the Gibbs energy minimum for both an open and closed system. We started by defining a theoretical picture of the Gibbs energy in the presence of chemical reactions and then applied this theory to a single gas and liquid phase reaction. Finally, we explored the case of open systems and multiple coupled reactions.
In particular, in this lecture we:
Developed a Theory for closed systems describing the Gibbs energy of a system with chemical reactions
Developed expressions for the Vapor-phase equilibrium constant and Liquid-phase equilibrium constant
Developed tools for computing extent of reaction for Closed systems and multiple coupled reactions and Open systems and multiple coupled reactions