Skip to content

Commit b7712cb

Browse files
authored
Merge pull request #2707 from ReactionMechanismGenerator/fix/docs-wiki2website
[Docs] Update docs website with GitHub wiki info
2 parents 90ef305 + 676f5c1 commit b7712cb

File tree

11 files changed

+129
-50
lines changed

11 files changed

+129
-50
lines changed

documentation/source/theory/rmg/dynamics.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,31 +67,31 @@ for movement from surface to bulk core based on flux or dynamics criterion.
6767
Key Parameters for Dynamics Criterion and Surface Algorithm
6868
===========================================================
6969

70-
* **toleranceMoveEdgeReactionToCore**
70+
* ``toleranceMoveEdgeReactionToCore``
7171

7272
An edge reaction will be pulled directly into the bulk core if its dynamics number
7373
ever exceeds this value.
7474

75-
* **toleranceMoveEdgeReactionToSurface**
75+
* ``toleranceMoveEdgeReactionToSurface``
7676

7777
An edge reaction will be pulled into the surface if its dynamics number
7878
ever exceeds this value.
7979

80-
* **toleranceMoveEdgeReactionToCoreInterrupt**
80+
* ``toleranceMoveEdgeReactionToCoreInterrupt``
8181

8282
When any reaction's dynamics number exceeds this value the simulation will be interrupted.
8383

84-
* **toleranceMoveEdgeReactionToSurfaceInterrupt**
84+
* ``toleranceMoveEdgeReactionToSurfaceInterrupt``
8585

8686
When the dynamics number of any reaction that would be valid for movement to the surface
8787
exceeds this value the simulation will be interrupted
8888

89-
* **toleranceMoveSurfaceReactionToCore**
89+
* ``toleranceMoveSurfaceReactionToCore``
9090

9191
A surface reaction will be pulled into the bulk core if its dynamics number
9292
ever exceeds this value. Note this is done on the fly during simulation.
9393

94-
* **toleranceMoveSurfaceSpeciesToCore**
94+
* ``toleranceMoveSurfaceSpeciesToCore``
9595

9696
A surface species will be pulled into the bulk core if it's rate ratio
9797
ever exceeds this value. Note this is done on the fly during simulation.

documentation/source/theory/rmg/prune.rst

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,30 +12,30 @@ in order to achieve both low memory consumption and mechanism accuracy. Pruning
1212
Key Parameters in Pruning
1313
=========================
1414

15-
* toleranceKeepInEdge
15+
* ``toleranceKeepInEdge``
1616

17-
Any edge species to prune should have peak flux along the whole conversion course lower than toleranceKeepInEdge :math:`*` characteristic flux. Thus, larger values will lead to smaller edge mechanisms.
17+
Any edge species to prune should have peak flux along the whole conversion course lower than ``toleranceKeepInEdge`` :math:`*` characteristic flux. Thus, larger values will lead to smaller edge mechanisms.
1818

19-
* toleranceMoveToCore
19+
* ``toleranceMoveToCore``
2020

21-
Any edge species to enter core model should have flux at some point larger than toleranceMoveToCore :math:`*` characteristic flux Thus, in general, smaller values will lead to larger core mechanisms.
21+
Any edge species to enter core model should have flux at some point larger than ``toleranceMoveToCore`` :math:`*` characteristic flux. Thus, in general, smaller values will lead to larger core mechanisms.
2222

23-
* toleranceInterrupSimulation
23+
* ``toleranceInterruptSimulation``
2424

25-
Once flux of any edge species exceeds toleranceInterruptSimulation :math:`*` characteristic flux, dynamic simulation will be stopped.
25+
Once flux of any edge species exceeds ``toleranceInterruptSimulation`` :math:`*` characteristic flux, dynamic simulation will be stopped.
2626
Usually this tolerance will be set a very high value so that any flux's exceeding that means mechanism is too incomplete to continue
2727
dynamic simulation.
2828

29-
* maximumEdgeSpecies
29+
* ``maximumEdgeSpecies``
3030

3131
If dynamic simulation isn't interrupted in half way and total number of the edge species whose peak fluxes are higher than
32-
toleranceKeepInEdge :math:`*` characteristic flux exceeds maximumEdgeSpecies, such excessive amount of edge species with lowest peak fluxes will be pruned.
32+
``toleranceKeepInEdge`` :math:`*` characteristic flux exceeds ``maximumEdgeSpecies``, such excessive amount of edge species with lowest peak fluxes will be pruned.
3333

34-
* minCoreSizeForPrune
34+
* ``minCoreSizeForPrune``
3535

3636
Ensures that a minimum number of species are in the core before pruning occurs, in order to avoid pruning the model when it is far away from completeness. The default value is set to 50 species.
3737

38-
* minSpeciesExistIterationsForPrune
38+
* ``minSpeciesExistIterationsForPrune``
3939

4040
Set the number of iterations an edge species must stay in the job before it can be pruned. The default value is 2 iterations.
4141

@@ -46,20 +46,20 @@ How Pruning Works
4646

4747
The goal of pruning is to delete those "useless" edge species. So "usefulness" should be defined and it's natural to have flux as a
4848
criterion for "usefulness". Since flux changes with reactant conversion, peak flux is chosen here to make decision of pruning or not.
49-
Every time pruning is triggered, edge species with peak flux lower than toleranceKeepInEdge :math:`*` characteristic flux will be deleted.
49+
Every time pruning is triggered, edge species with peak flux lower than ``toleranceKeepInEdge`` :math:`*` characteristic flux will be deleted.
5050

5151
.. figure:: fluxDiagramWithTolerance.png
5252

53-
However, pruning is not always triggered because of toleranceInterruptSimulation. As mentioned above, in order to prune, RMG needs to figure out
53+
However, pruning is not always triggered because of ``toleranceInterruptSimulation``. As mentioned above, in order to prune, RMG needs to figure out
5454
the peak flux of each edge species, which requires dynamic simulation to complete. If some run of dynamic simulation is terminated in half way
55-
by toleranceInterruptSimulation, pruning is rejected although there might be some edge species with peak fluxes lower than
56-
toleranceKeepInEdge :math:`*` characteristic flux. Since pruning requires to complete dynamic simulation, setting toleranceInterruptSimulation to be positive infinity,
57-
as an extreme case, means always enabling pruning. Another extreme case would be that it has same value as toleranceMoveToCore where
55+
by ``toleranceInterruptSimulation``, pruning is rejected although there might be some edge species with peak fluxes lower than
56+
``toleranceKeepInEdge`` :math:`*` characteristic flux. Since pruning requires to complete dynamic simulation, setting ``toleranceInterruptSimulation`` to be positive infinity,
57+
as an extreme case, means always enabling pruning. Another extreme case would be that it has same value as ``toleranceMoveToCore`` where
5858
no pruning occurs.
5959

60-
In summary, each run of dynamic simulation will proceed towards terminationConversion unless some flux exceeds
61-
toleranceInterruptSimulation :math:`*` characteristic flux.Following complete simulation is the pruning of edge species whose flux is not high enough be kept
62-
in the edge, which is followed by pruning of excessive amount of edge species to make sure total edge species number is no greater than maximumEdgeSpecies.
60+
In summary, each run of dynamic simulation will proceed towards ``terminationConversion`` unless some flux exceeds
61+
``toleranceInterruptSimulation`` :math:`*` characteristic flux. Following complete simulation is the pruning of edge species whose flux is not high enough be kept
62+
in the edge, which is followed by pruning of excessive amount of edge species to make sure total edge species number is no greater than ``maximumEdgeSpecies``.
6363

6464

6565

documentation/source/users/arkane/credits.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Developers: (rmg_dev@mit.edu)
2727
- Prof. Y.-P. Li
2828
- Dr. X. Dong
2929
- Dr. K.A. Spiekermann
30-
- Mr. H. Wu
30+
- H. Wu
3131
- Dr. E.E. Dames
3232
- Dr. Z.J. Buras,
3333
- Dr. N.M. Vandewiele

documentation/source/users/rmg/features.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,30 @@
44
Overview of Features
55
********************
66

7-
Thermodynamics estimation using group additivity.
7+
**Thermodynamics estimation using group additivity.**
88
Group additivity based on Benson's groups provide fast and reliable thermochemistry estimates. A standalone utility for estimating heat of formation, entropy, and heat capacity is also included.
99

10-
Rate-based model enlargement
10+
**Rate-based model enlargement.**
1111
Reactions are added to the model based on their rate, fastest first.
1212

13-
Rate-based termination.
13+
**Rate-based termination.**
1414
The model enlargement stops when all excluded reactions are slower than a given threshold.
1515
This provides a controllable error bound on the kinetic model that is generated.
1616

17-
Extensible libraries
17+
**Extensible libraries.**
1818
Ability to include reaction models on top of the provided reaction families.
1919

20-
Pressure-dependent reaction networks.
20+
**Pressure-dependent reaction networks.**
2121
Dissociation, combination, and isomerization reactions have the potential to have rate coefficients that are dependent on both temperature and pressure, and RMG is able to estimate both for networks of arbitrary complexity with a bounded error.
2222

23-
Simultaneous mechanism generation for several conditions.
23+
**Simultaneous mechanism generation for several conditions.**
2424
Concurrent generation of a reaction mechanism over multiple temperature and pressure conditions.
2525
Mechanisms generated this way are valid over a range of reaction conditions.
2626

27-
Dynamic simulation to a target conversion or time.
27+
**Dynamic simulation to a target conversion or time.**
2828
Often the desired simulation time is not known *a priori*, so a target conversion is preferred.
2929

30-
Transport properties estimation using group additivity
30+
**Transport properties estimation using group additivity.**
3131
The Lennard-Jones sigma and epsilon parameters are estimated using empirical correlations (based on a species' critical properties and acentric factor).
3232
The critical properties are estimated using a group-additivity approach; the acentric factor is also estimated using empirical correlations.
3333
A standalone application for estimating these parameters is provided, and the output is stored in CHEMKIN-readable format.

documentation/source/users/rmg/input.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -647,9 +647,9 @@ this is more likely to kick out species RMG might otherwise have added to core.
647647

648648
Advanced Setting: Taking Multiple Species At A Time
649649
----------------------------------------------------
650-
Taking multiple objects (species, reactions or pdepNetworks) during a given simulation can often decrease your overall model generation time
650+
Taking multiple objects (``Species``, ``Reaction`` or ``PDepNetwork``) during a given simulation can often decrease your overall model generation time
651651
over only taking one. For this purpose there is a ``maxNumObjsPerIter`` parameter that allows RMG to take
652-
that many species, reactions or pdepNetworks from a given simulation. This is done in the order they trigger their respective criteria.
652+
that many ``Species``, ``Reaction`` or ``PDepNetwork`` from a given simulation. This is done in the order they trigger their respective criteria.
653653

654654
You can also set ``terminateAtMaxObjects=True`` to cause it to terminate when it has the maximum
655655
number of objects allowed rather than waiting around until it hits an interrupt tolerance. This
@@ -669,6 +669,14 @@ For example ::
669669
Note that this can also result in larger models, however, sometimes these larger models (from taking more than one
670670
object at a time) pick up chemistry that would otherwise have been missed.
671671

672+
673+
Advanced Settings: Other
674+
----------------------------------------------------
675+
- ``dynamicsTimeScale``: The time before which the dynamics criterion cannot be used to bring reactions into the model. This is useful because the math behind the dynamics criterion breaks down as ``t`` approaches 0, thus restricting the use of the dynamics criterion until later times may reduce the number of junk species/reactions added to the model.
676+
677+
- ``ignoreOverallFluxCriterion``: Causes RMG to use the given flux criterion only for determining if a ``PDepNetwork`` should be explored and not whether species should enter the model. Lets you run pressure dependence alongside the dynamics criterion without the flux criterion.
678+
679+
672680
.. _ontheflyquantumcalculations:
673681

674682
On the fly Quantum Calculations
@@ -1033,7 +1041,7 @@ It is now possible to concatenate different model and simulator blocks into the
10331041

10341042
There must be the same number of each of these blocks (although only having one simulator block and many model blocks is enabled as well) and RMG will enter each stage these define in the order they were put in the input file.
10351043

1036-
To enable easier manipulation of staging a new parameter in the model block was developed maxNumSpecies that is the number of core species at which that stage (or if it is the last stage the entire model generation process) will terminate.
1044+
To enable easier manipulation of staging a new parameter in the model block was developed ``maxNumSpecies`` that is the number of core species at which that stage (or if it is the last stage the entire model generation process) will terminate.
10371045

10381046
For example ::
10391047

documentation/source/users/rmg/installation/anacondaDeveloper.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ Installation by Source Using Anaconda Environment for Unix-based Systems: Linux
127127
python-jl replace/with/path/to/rmg.py input.py
128128

129129
You may now use RMG-Py, Arkane, as well as any of the :ref:`Standalone Modules <modules>` included in the RMG-Py package.
130+
For more information about using conda, please check out the `conda user guide <https://conda.io/projects/conda/en/latest/user-guide/getting-started.html>`_.
130131

131132

132133
Debugging

documentation/source/users/rmg/installation/anacondaUser.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Binary Installation Using Anaconda for Unix-Based Systems: Linux and Mac OSX
1515

1616
conda activate rmg_env
1717

18+
For more information about using conda, please check out the `conda user guide <https://conda.io/projects/conda/en/latest/user-guide/getting-started.html>`_.
19+
1820
#. You may now run an RMG test job. Save the `Minimal Example Input File <https://raw.githubusercontent.com/ReactionMechanismGenerator/RMG-Py/master/examples/rmg/minimal/input.py>`_
1921
to a local directory. Use the terminal to run your RMG job inside that folder using the following command ::
2022

documentation/source/users/rmg/kinetics.rst

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Kinetics Estimation
66
This section gives in-depth descriptions of algorithms used for determining
77
kinetic parameters. For general usage of the kinetic database see :ref:`kineticsDatabase`.
88

9+
10+
911
Priority of Kinetic Databases
1012
-----------------------------
1113
When multiple sources are available for kinetic parameters, the following priority
@@ -49,27 +51,27 @@ parameters
4951

5052
The rank of 0 is assigned to kinetics that are generally default values for top level nodes
5153
that we have little faith in. It is never used in generation and its value will in fact be overriden
52-
by averages of its child nodes, which generates an averaged rate rule with rank 11.
54+
by averages of its child nodes, which generates an averaged rate rule with rank 10.
5355

5456
Only non-zero rules are used in generation. A rank of 1 is assigned to the most trustworthy kinetics, while a rank of 10 is considered very poor.
5557
Thus, a rate rule of rank 3 will be given priority over a rate rule of rank 5.
5658

57-
Short Glossary:
59+
**Short Glossary:**
5860

59-
FCI (Full Configuration Interaction): Exact solution to Schrodinger equation within the chosen basis
61+
**FCI (Full Configuration Interaction):** Exact solution to Schrodinger equation within the chosen basis
6062
set and Born-Oppenheimer approximation; possible for about 12 electrons with reasonably sized basis set
6163
(cost grows factorially with number of electrons).
6264

63-
Wn (Weizmann-n): Composite methods often with sub-kJ/mol accuracies; W1 is possible for about 9 heavy
65+
**Wn (Weizmann-n):** Composite methods often with sub-kJ/mol accuracies; W1 is possible for about 9 heavy
6466
atoms; W1 aims to reproduce CCSD(T)/CBS; W4 aims to reproduce CCSDTQ5/CBS.
6567

66-
HEAT (High Accuracy Extrapolated ab inito thermochemistry): Sub-kJ/mol accuracies; essentially
68+
**HEAT (High Accuracy Extrapolated ab inito thermochemistry):** Sub-kJ/mol accuracies; essentially
6769
CCSDTQ with various corrections; similar in cost to Wn.
6870

69-
CBS (Complete Basis Set): Typically obtained by extrapolating to the complete basis set limit,
71+
**CBS (Complete Basis Set):** Typically obtained by extrapolating to the complete basis set limit,
7072
i.e., successive cc-pVDZ, cc-pVTZ, cc-pVQZ, etc. calculations with some extrapolation formula.
7173

72-
CCSD(T)-F12: Coupled cluster with explicit electron correlation; chemical accuracy (1 kcal/mol)
74+
**CCSD(T)-F12:** Coupled cluster with explicit electron correlation; chemical accuracy (1 kcal/mol)
7375
possible with double-zeta basis sets.
7476

7577
Kinetic Families
@@ -113,3 +115,19 @@ up to more and more general nodes. In the worst case, the root nodes may be used
113115

114116
A :ref:`Full List of the Kinetics Families <kinetics_families_db>` in RMG is available.
115117

118+
Reverse Rates
119+
-------------
120+
Rates in the reverse direction are calculated from the forward rate (as defined by the family)
121+
and the equilibrium constant (as calculated from thermodynamic parameters).
122+
123+
Reaction Comments
124+
-----------------
125+
Reaction comments are saved by RMG to the ``chem_annotated.inp`` Chemkin input file.
126+
These comments contain information about the source of the reaction rate and are read by RMG when
127+
loading the Chemkin file. These comments are compiled from many different locations in the code.
128+
129+
Comments attached to the kinetics attribute of the entry used are included first.
130+
These can occur if there is a comment hard-coded in the kinetics database, or if the rate rule was
131+
derived from a training reaction, in which case ``From Training reaction # for rate rule ##``
132+
is automatically added. Then, comments describing the match are added based on the details of
133+
how the kinetics were estiamted. Finally, additional metadata about the reaction type are included.

0 commit comments

Comments
 (0)