Skip to content

Commit

Permalink
Merge pull request #1738 from ReactionMechanismGenerator/muq2
Browse files Browse the repository at this point in the history
Update global uncertainty module to work with MUQ 2
  • Loading branch information
amarkpayne authored Dec 10, 2019
2 parents c46befa + 2d5332a commit 0d63c33
Show file tree
Hide file tree
Showing 10 changed files with 625 additions and 28,545 deletions.
14 changes: 9 additions & 5 deletions documentation/source/users/rmg/input.rst
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,8 @@ an uncertainty options block in the input file::
globalNumber=5,
terminationTime=None,
pceRunTime=1800,
pceErrorTol=None,
pceMaxEvals=None,
logx=True
)

Expand Down Expand Up @@ -827,11 +829,13 @@ parameters.

Finally, there are a few miscellaneous options for global uncertainty analysis. The ``terminationTime`` applies for the
reactor simulation. It is only necessary if termination time is not specified in the reactor settings (i.e. only other
termination criteria are used). The ``pceRunTime`` sets the time limit for fitting the PCE to the output surface.
Longer run times allow more simulations to be performed, leading to more accurate results. The ``logx`` option toggles
the output parameter space between mole fractions and log mole fractions. Results in mole fraction space are more
physically meaningful, while results in log mole fraction space can be directly compared against local uncertainty
results.
termination criteria are used). For PCE generation, there are three termination options: ``pceRunTime`` sets a time
limit for adapting the PCE to the output, ``pceErrorTol`` sets the target L2 error between the PCE model and the true
output, and ``pceMaxEvals`` sets a limit on the total number of model evaluations used to adapt the PCE.
Longer run time, smaller error tolerance, and more model evaluations all contribute to more accurate results at the
expense of computation time. The ``logx`` option toggles the output parameter space between mole fractions and log mole
fractions. Results in mole fraction space are more physically meaningful, while results in log mole fraction space can
be directly compared against local uncertainty results.

**Important Note:** The current implementation of uncertainty analysis assigns values for input parameter
uncertainties based on the estimation method used by RMG. Actual uncertainties associated with the original data sources
Expand Down
1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ dependencies:
- matplotlib >=1.5
- mopac
- mpmath
- muq2
- networkx
- nose
- numdifftools
Expand Down
24,624 changes: 0 additions & 24,624 deletions ipython/data/pdd_model/chem_annotated.inp

This file was deleted.

359 changes: 0 additions & 359 deletions ipython/data/pdd_model/input.py

This file was deleted.

Loading

0 comments on commit 0d63c33

Please sign in to comment.