Closed alongd closed 1 year ago
Here is one possible confusion, speculated without testing:
Normally a pressure dependent and a pressure independent reaction do NOT need to be marked as duplicates in the final chemkin file, because the pressure dependent reaction will be O2 + CH3 (+M) <=> CH3O + O (+M)
in chemkin form, and the normal Arrhenius would be O2 + CH3 <=> CH3O + O
. Although RMG thinks they're duplicates (and has them marked as such) it would output the chemkin file without DUPLICATE
tags, as they look different to chemkin. RMG thinks that PDepArrhenius is a type of pressure dependence, and thus outputs your two chemkin reactions (one Arrhenius and one PDepArrhenius) without DUPLICATE
tags. However, the chemkin syntax for PLOG reactions is to write it without the (+M), and thus it looks the same as the Arrhenius version, and would require DUPLICATE
tags.
If this turns out to be the problem, perhaps rename the issue something like "Duplicate reactions are not marked correctly when one is PDepArrhenius"
Right, PLOG syntax is without the (+M), I agree that this looks like the source of the problem.
This issue is being automatically marked as stale because it has not received any interaction in the last 90 days. Please leave a comment if this is still a relevant issue, otherwise it will automatically be closed in 30 days.
The DUP markings work, for example, for the reaction
O + H2 <=> H + OH
when imported from the KlippensteinH2O2 library, where it is defined as MultiArrhenius, andduplicate = True
:However, in my case, I created a new library from an RMG run which had dups. In that library the reactions are defined seperately, yet the
duplicate
label is set toTrue
:Generating a mechanism using that library results in an error message from the Chemkin pre-processor of undeclared duplicates.
Is there a way to define PLOG and Arrhenius kinetics in the same library entry? Or should this be changed in the way RMG handles DUPs from libraries?
I attach the library (called xo1247R). reactions.txt dictionary.txt