rmgpy.pdep.me.
generateFullMEMatrix
()¶Generate the full master equation matrix for the network.
Throughout this document we will utilize the following terminology:
The isomers are the configurations for which we must model the energy states. We designate \(p_i(E, J, t)\) as the population of isomer \(i\) having total energy \(E\) and total angular momentum quantum number \(J\) at time \(t\). At long times, statistical mechanics requires that the population of each isomer approach a Boltzmann distribution \(b_i(E, J)\):
We can simplify by eliminating the angular momentum quantum number to get
Let us also denote the (time-dependent) total population of isomer \(i\) by \(x_i(t)\):
The two molecules of a reactant or product channel are free to move apart from one another and interact independently with other molecules in the system. Accordingly, we treat these channels as fully thermalized, leaving as the only variable the total concentrations \(y_{n\mathrm{A}}(t)\) and \(y_{n\mathrm{B}}(t)\) of the molecules \(\mathrm{A}_n\) and \(\mathrm{B}_n\) of reactant channel \(n\). (Since the product channels act as infinite sinks, their populations do not need to be considered explicitly.)
Finally, we will use \(N_\mathrm{isom}\), \(N_\mathrm{reac}\), and \(N_\mathrm{prod}\) as the numbers of isomers, reactant channels, and product channels, respectively, in the system.
The governing equation for the population distributions \(p_i(E, J, t)\) of each isomer \(i\) and the reactant concentrations \(y_{n\mathrm{A}}(t)\) and \(y_{n\mathrm{B}}(t)\) combines the collision and reaction models to give a linear integro-differential equation:
A summary of the variables is given below:
Variable | Meaning |
---|---|
\(p_i(E, J, t)\) | Population distribution of isomer \(i\) |
\(y_{n\mathrm{A}}(t)\) | Total population of species \(\mathrm{A}_n\) in reactant channel \(n\) |
\(\omega_i(T, P)\) | Collision frequency of isomer \(i\) |
\(P_i(E, J, E', J')\) | Collisional transfer probability from \((E', J')\) to \((E, J)\) for isomer \(i\) |
\(k_{ij}(E, J)\) | Microcanonical rate coefficient for isomerization from isomer \(j\) to isomer \(i\) |
\(f_{im}(E, J)\) | Microcanonical rate coefficient for association from reactant channel \(m\) to isomer \(i\) |
\(g_{nj}(E, J)\) | Microcanonical rate coefficient for dissociation from isomer \(j\) to reactant or product channel \(n\) |
\(b_n(E, J, t)\) | Boltzmann distribution for reactant channel \(n\) |
\(N_\mathrm{isom}\) | Total number of isomers |
\(N_\mathrm{reac}\) | Total number of reactant channels |
\(N_\mathrm{prod}\) | Total number of product channels |
The above is called the two-dimensional master equation because it contains two dimensions: total energy \(E\) and total angular momentum quantum number \(J\). In the first equation (for isomers), the first pair of terms correspond to collision, the second pair to isomerization, and the final pair to association/dissociation. Similarly, in the second equation above (for reactant channels), the pair of terms refer to dissociation/association.
We can also simplify the above to the one-dimensional form, which only has \(E\) as a dimension:
The equations as given are nonlinear, both due to the presence of the bimolecular reactants and because both \(\omega_i\) and \(P_i(E, E')\) depend on the composition, which is changing with time. The rate coefficients can be derived from considering the pseudo-first-order situation where \(y_{n\mathrm{A}}(t) \ll y_{n\mathrm{B}}(t)\), and all \(y(t)\) are negligible compared to the bath gas \(\mathrm{M}\). From these assumptions the changes in \(\omega_i\), \(P_i(E, E')\), and all \(y_{n\mathrm{B}}\) can be neglected, which yields a linear equation system.
Except for the simplest of unimolecular reaction networks, both the one-dimensional and two-dimensional master equation must be solved numerically. To do this we must discretize and truncate the energy domain into a finite number of discrete bins called grains. This converts the linear integro-differential equation into a system of first-order ordinary differential equations:
The diagonal matrices \(\mathrm{K}_{ij}\) and \(\mathrm{F}_{in}\) and the vector \(\mathrm{g}_{ni}\) contain the microcanonical rate coefficients for isomerization, association, and dissociation, respectively:
The matrices \(\mathbf{M}_i\) represent the collisional transfer probabilities minus the rates of reactive loss to other isomers and to reactants and products:
The scalars \(h_n\) are simply the total rate coefficient for loss of reactant channel \(n\) due to chemical reactions:
The interested reader is referred to any of a variety of other sources for alternative presentations, of which an illustrative sampling is given here [Gilbert1990] [Baer1996] [Holbrook1996] [Forst2003] [Pilling2003].
[Gilbert1990] | R. G. Gilbert and S. C. Smith. Theory of Unimolecular and Recombination Reactions. Blackwell Sci. (1990). |
[Baer1996] | T. Baer and W. L. Hase. Unimolecular Reaction Dynamics. Oxford University Press (1996). |
[Holbrook1996] | K. A. Holbrook, M. J. Pilling, and S. H. Robertson. Unimolecular Reactions. Second Edition. John Wiley and Sons (1996). |
[Forst2003] | W. Forst. Unimolecular Reactions: A Concise Introduction. Cambridge University Press (2003). |
[Pilling2003] | M. J. Pilling and S. H. Robertson. Annu. Rev. Phys. Chem. 54, p. 245-275 (2003). doi:10.1146/annurev.physchem.54.011002.103822 |