RMG-database
RMG-database copied to clipboard
Missing Riedel Equation Parameters for Methanol
I was trying to run a uspto reaction with methanol as a solvent but it threw me an error like this
Filling in rate rules in kinetics families by averaging...
Traceback (most recent call last):
File "rmg.py", line 118, in
Could someone help me regarding how could i rectify the error for this I attached the input.py file i used for simulation input.txt
Hi @joel-brelson thank you for the report!
I can confirm that I was able to reproduce this error on RMG-Py v3.2.0 using the provided input. Unfortunately this will be difficult to solve quickly. If you take a look at this link to our database, we don't have the Riedel equation A, B, C, D, and E values for methanol, which are required for the backend simulator RMS. Now, this simulation does not use RMS so we may be able to skip this step (so this would be solved by ReactionMechanismGenerator/RMG-Py#2539, which we are still working on).
I've asked one of the other developers if we can skip this step so your simulation can proceed. I will follow up about that.
In the meantime, you can go your installation of RMG and open the RMG-database/input/solvation/libraries/solvent.py file and fill in some 'placeholder' values for A, B, C, D, and E for methanol, around line 1087 in the file. This should allow your simulation to run, but don't use any RMS-based reactors (stick to liquid reactor). Let me know if you need additional help with this!
Hello @JacksonBurns thanks for the reply the code ran without any errors after filling them with some placeholder values
Glad to hear it @joel-brelson! Keep in mind that the results may be unphysical with just placeholder values. If that is the case you may need to dig them up/estimate them somehow to get better results. We will also work on this from our end.
I'm going to update the title of this issue and move this issue to RMG-database, since this is a data issue.
This issue is caused when RMG attempts to pass non-existent Riedel parameters to RMS, which causes an error. However, in this case the user is not using an RMS reactor, so it does not make sense to raise the error in the first place. It should only come up if they actually need the parameters.
RMG PR https://github.com/ReactionMechanismGenerator/RMG-Py/pull/2631 would resolve this, since it avoids creating any RMS objects unless they are specifically requested.