ReactionMechanismGenerator / RMG-Py

Python version of the amazing Reaction Mechanism Generator (RMG).
http://reactionmechanismgenerator.github.io/RMG-Py/
Other
400 stars 228 forks source link

How do I generate a correct model using rmg? #2590

Closed liqiang4567 closed 10 months ago

liqiang4567 commented 11 months ago

Hello, I want to test the ability of RMG using the mechanism of RMG3.1.0 generating C12H26, I used the following input.py input, ran for 36 hours, generated 206 species and 2522 reactions, and it is not finished yet. Look at the species concentration change and nothing changes. When will the model be ready? What indicators should I look at?

image

input.txt

simulation_1_204.png simulation_1_204

liqiang4567 commented 11 months ago

I also have a question: this C12H26 conversion rate has repeatedly reached 0.8 or more (set the termination condition), why this model has not stopped?

image

image

JacksonBurns commented 10 months ago

Hi @liqiang4567 thanks for using RMG!

For the first question, RMG is just still running the reaction generation step and not yet completed. To get it to run faster, consider using multiple processes. You can check the documentation here: http://reactionmechanismgenerator.github.io/RMG-Py/users/rmg/running.html#input-flags the -n flag.

For the second question, terminationConversion only controls when a single simulation stops, not the overall model generation.

liqiang4567 commented 10 months ago

Thank you for your reply, then how to control the whole model generation stop

JacksonBurns commented 10 months ago

@liqiang4567 you may specify the maxNumSpecies value to control how many species are allowed, which you can set to a number that correlates to how long you want the simulation to run (like we do here: https://github.com/ReactionMechanismGenerator/RMG-Py/blob/main/test/regression/fragment/input.py#L82). You can also set the total allowed runtime in you call to RMG with the --walltime flag as shown in the documentation here: http://reactionmechanismgenerator.github.io/RMG-Py/users/rmg/running.html?highlight=wall+time. Hope this helps!

liqiang4567 commented 10 months ago

thank you for your reply

JacksonBurns commented 10 months ago

You are welcome! I will close this issue as completed for the time being. If something else comes up, please feel free to re-open this one or start a new issue!