Skip to content

Conversation

@kspieks
Copy link
Contributor

@kspieks kspieks commented Dec 9, 2021

This small PR adds 2000K to the list of default temperatures used when doing an ArrheniusBM fit. This is relevant because the previous values only went up to 1500K, which forces our rate rules to extrapolate for any system that is operating above 1500K. Thanks to @davidfarinajr for identifying this issue as discussed in RMG-database PR 550.

It also adds a unit test for our ArrheniusBM class

@kspieks kspieks requested a review from davidfarinajr December 9, 2021 20:56
@kspieks kspieks self-assigned this Dec 9, 2021
@kspieks kspieks changed the title Arrheniusbm Allow ArrheniusBM Fitting up to 2000K for RMG-database Rate Trees Dec 9, 2021
Copy link
Contributor

@davidfarinajr davidfarinajr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @kspieks and thanks for adding the unit tests as well! While we are adding tests for ArrBM here, could you also add a test for get_activation_energy? Looks like you added test for most of the other ArrBM methods 🙏 . I think get_activation_energy is important to test since we use it in RMG to covert ArrBM rules to Arr. Thanks!

@kspieks
Copy link
Contributor Author

kspieks commented Dec 10, 2021

Good point thanks! Just added a test for get_activation_energy.

davidfarinajr
davidfarinajr previously approved these changes Dec 10, 2021
Many systems of interest can be above 1500K so it is important to fit our rate rules to higher temperatures
@davidfarinajr
Copy link
Contributor

Looks good! I just rebased since it was out-of-date. I'll merge when test pass this go around

@davidfarinajr davidfarinajr self-requested a review December 10, 2021 22:32
@kspieks
Copy link
Contributor Author

kspieks commented Dec 10, 2021

Ah sorry forgot to rebase. Thank you!

@davidfarinajr davidfarinajr merged commit e5e4b4e into main Dec 11, 2021
@davidfarinajr davidfarinajr deleted the arrheniusbm branch December 11, 2021 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants