Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pruning crashes with surface reactions #64

Open
kblondal opened this issue Mar 1, 2019 · 1 comment
Open

Pruning crashes with surface reactions #64

kblondal opened this issue Mar 1, 2019 · 1 comment

Comments

@kblondal
Copy link

kblondal commented Mar 1, 2019

I am trying to generate a mechanism for propane catalytic combustion with equivalence ratio 0.5 (2% propane, 20% O2, 78% N2 inlet composition), using a reactor at 1500K. The run crashes with the following end message:

    After model enlargement:
    The model core has 134 species and 2064 reactions
    The model edge has 6474 species and 23086 reactions


Saving current model core to Chemkin file...
Chemkin file contains 1879 reactions.
Chemkin file contains 214 reactions.
Saving annotated version of Chemkin files...
Chemkin file contains 1879 reactions.
Chemkin file contains 214 reactions.
Saving current model core to HTML file...
Updating RMG execution statistics...
    Execution time (DD:HH:MM:SS): 00:01:48:30
    Memory used: 1699.19 MB

Attempting to prune...
Pruning 6348 species whose rate ratios against characteristic rate did not exceed the minimum threshold of 0.05
Pruning species Ar(22)
Pruning species CH3CHNH2(136)
Pruning species CH2NH(112)

[more pruning...]

Garbage collector: collected 464089 objects.
Conducting simulation of reaction system 1...
Error: Model core reactions:
Error: Too many to print in detail
Making seed mechanism...
Traceback (most recent call last):
  File "rmg.py", line 173, in <module>
    main()
  File "rmg.py", line 167, in main
    rmg.execute(**kwargs)
  File "/home/kblondal/Code/Cat/RMG-Py/rmgpy/rmg/main.py", line 745, in execute
    conditions = self.rmg_memories[index].get_cond()
  File "rmgpy/solver/base.pyx", line 564, in rmgpy.solver.base.ReactionSystem.simulate
    cpdef simulate(self, list coreSpecies, list coreReactions, list edgeSpecies,
  File "rmgpy/solver/base.pyx", line 663, in rmgpy.solver.base.ReactionSystem.simulate
    self.initializeModel(coreSpecies, coreReactions, edgeSpecies, edgeReactions, surfaceSpecies, surfaceReactions,
  File "rmgpy/solver/surface.pyx", line 171, in rmgpy.solver.surface.SurfaceReactor.initializeModel
    reactionsOnSurface[index] = 1
IndexError: Out of bounds on buffer access (axis 0)

What could be causing this?

@rwest
Copy link
Collaborator

rwest commented Mar 1, 2019 via email

@rwest rwest changed the title Propane+O2+N2 run crashes Pruning crashes with surface reactions Mar 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants