Degree of Freedom Analysis on Reacting SystemsEdit
If we have N different molecules in a system, we can write N mass balances or N mole balances, whether a reaction occurs in the system or not. The only difference is that in a reacting system, we have one additional unknown, the molar extent of reaction, for each reaction taking place in the system. Therefore each reaction taking place in a process will add one degree of freedom to the process.
Unfortunately, life is not ideal, and even if we want a single reaction to occur to give us only the desired product, this is either impossible or uneconomical compared to dealing with byproducts, side reactions, equilibrium limitations, and other non-idealities.
Independent and Dependent ReactionsEdit
When you have more than one reaction in a system, you need to make sure that they are independent. The idea of independent reactions is similar to the idea of linear independence in mathematics.
Lets consider the following two general parallel competing reactions:
We can represent each of the reactions by a vector of the coefficients:
By definition a set of vectors is only linearly independent if the equation:
where K1 and K2 are constants only has one solution: .
Lets plug in our vectors:
Since all components must add up to 0, the following system follows:
Obviously, the last three equations imply that unless c = d = 0 and e2 = 0, and thus the reactions are independent.
Linearly Dependent ReactionsEdit
There is one rule to keep in mind whenever you are checking for reaction dependence or independence, which is summarized in the following box.
Therefore, if the following reaction could occur in the same system as the two above:
then it would not be possible to analyze all three reactions at once, since this reaction is the sum of the first two. Only two can legitimately be analyzed at the same time.
All degree of freedom analyses in this book assume that the reactions are independent. You should check this by inspection or, for a large number of reactions, with numerical methods.
Extent of Reaction for Multiple Independent ReactionsEdit
When you are setting up extents of reaction in a molecular species balance, you must make sure that you set up one for each reaction, and include both in your mole balance. So really, your mole balance will look like this:
for all k reactions. In such cases it is generally easier, if possible, to use an atom balance instead due to the difficulty of solving such equations.
In many cases (actually, the majority of them), a given reaction will be reversible, meaning that instead of reacting to completion, it will stop at a certain point and not go any farther. How far the reaction goes is dictated by the value of the equilibrium coefficient. Recall from general chemistry that the equilibrium coefficient for the reaction is defined as follows:
Here [A] is the equilibrium concentration of A, usually expressed in molarity for an aqueous solution or partial pressure for a gas. This equation can be remembered as "products over reactants" .
Usually solids and solvents are omitted by convention, since their concentrations stay approximately constant throughout a reaction. For example, in an aqueous solution, if water reacts, it is left out of the equilibrium expression.
Often, we are interested in obtaining the extent of reaction of an equilibrium reaction when it is in equilibrium. In order to do this, first recall that:
and similar for the other species.
Rewriting this in terms of molarity (moles per volume) by dividing by volume, we have:
Or, since the final state we're interested in is the equilibrium state,
Solving for the desired equilibrium concentration, we obtain the equation for equilibrium concentration of A in terms of conversion:
Similar equations can be written for B, C, and D using the definition of extent of reaction. Plugging in all the equations into the expression for K, we obtain:
At equilibrium for liquid-phase reactions only
Using this equation, knowing the value of K, the reaction stoichiometry, the initial concentrations, and the volume of the system, the equilibrium extent of reaction can be determined.
By convention, gas-phase equilibrium constants are given in terms of partial pressures which, for ideal gasses, are related to the mole fraction by the equation:
If A, B, C, and D were all gases, then, the equilibrium constant would look like this:
In order to write the gas equilibrium constant in terms of extent of reaction, let us assume for the moment that we are dealing with ideal gases. You may recall from general chemistry that for an ideal gas, we can write the ideal gas law for each species just as validly as we can on the whole gas (for a non-ideal gas, this is in general not true). Since this is true, we can say that:
Plugging this into the equation for above, we obtain:
Similar equations can be written for the other components. Plugging these into the equilibrium constant expression:
Gas Phase Ideal-Gas Equilibrium Reaction at Equilibrium
Again, if we know we are at equilibrium and we know the equilibrium coefficient (which can often be found in standard tables) we can calculate the extent of reaction.
Special Notes about Gas ReactionsEdit
You need to remember that In a constant-volume, isothermal gas reaction, the total pressure will change as the reaction goes on, unless the same number of moles are created as produced. In order to show that this is true, you only need to write the ideal gas law for the total amount of gas, and realize that the total number of moles in the system changes.
This is why we don't want to use total pressure in the above equations for K, we want to use partial pressures, which we can conveniently write in terms of extent of reaction.
Notice that all of the above equilibrium equations depend on concentration of the substance, in one form or another. Therefore, if there are species present that don't react, they may still have an effect on the equilibrium because they will decrease the concentrations of the reactants and products. Just make sure you take them into account when you're calculating the concentrations or partial pressures of each species in preparation for plugging into the equilibrium constant.
Example Reactor Solution using Extent of Reaction and the DOFEdit
It always helps to draw a flowchart:
There are four independent unknowns: the total mass (mole) flowrate out of the reactor, the concentrations of two of the exiting species (once they are known, the forth can be calculated), and the extent of reaction.
Additionally, we can write four independent equations, one on each reacting substance. Hence, there are 0 DOF and this problem can be solved.
Let's illustrate how to do it for this relatively simple system, which illustrates some very important things to keep in mind.
First, recall that total mass is conserved even in a reacting system. Therefore, we can write that:
Now, since component masses aren't conserved, we need to convert as much as we can into moles so we can apply the extent of reaction.
Let's use the mole balance on oxygen to find the extent of reaction, since we know how much enters and how much leaves. Recall that:
where a is the stoichiometric coefficient for A. Plugging in known values, including a = 8 (from the reaction written above), we have:
Now let's apply the mole balances to the other species to find how much of them is present:
- (note it's + instead of - because it's being generated rather than consumed by the reaction)
Finally, the last step we need to do is find the mass of all of these, and divide by the total mass to obtain the mass percents. As a sanity check, all of these plus 25 kg of oxygen should yield 100 kg total.
- Mass out = 1080 moles * 0.034 kg\mole = 36.72 kg
- Mass out = 97.66 moles * .284 kg\mole = 27.74 kg
- Mass out = 586 moles * 0.018 kg\mole = 10.55 kg
Sanity check: 36,72 + 27.74 + 10.55 + 25 (oxygen) = 100 kg (total), so we're still sane.
Hence, we get:
Example Reactor with EquilibriumEdit
Solution: First, draw a flowchart of what we're given.
Since all of the species are dissolved in water, we should write the equilibrium constant in terms of molarity:
We use initial molarities of A and B, while we are given mass percents, so we need to convert.
Let's first find the number of moles of A and B we have initially:
Now, the volume contributed by the 100kg of 16% B solution is:
Since adding the A contributes 5L to the volume, the volume after the two are mixed is .
By definition then, the molarities of A and B before the reaction occurs are:
In addition, there is no C or D in the solution initially:
According to the stoichiometry of the reaction, . Therefore we now have enough information to solve for the conversion. Plugging all the known values into the equilibrium equation for liquids, the following equation is obtained:
This equation can be solved using Goalseek or one of the numerical methods in appendix 1 to give:
Since we seek the amount of compound C that is produced, we have:
- Since , this yields