AtChem / AtChem2

Atmospheric chemistry box-model for the MCM
MIT License
59 stars 22 forks source link

Compiling Error from MCM Website Extract Tool When Looping over Inputted RO2s #471

Closed bethechange closed 2 years ago

bethechange commented 2 years ago

Hi, when I use your MCM Website extract tool with various subsets (I tried this with the complete set; C1/C2/C3/benzene/toluene; C1/benzene) I get the following error. Thanks for either helping me pinpoint what I'm doing wrong or looking into this! -s

image

spco commented 2 years ago

Hi, it looks like this may be a matter of the order of lines in your MCM file.

To explain, each chemical species must be first introduced on the left-hand side (LHS) of a line in the .fac file, before it is ever used on the right-hand side (RHS) of one. So it looks like you may use NO on the RHS of a line without having previously used it on the LHS of another line. Can you confirm whether this is the case? If not, perhaps you'd be kind enough to send me your .fac file here?

If I've correctly diagnosed your case, then you should be able to fix it by reordering some of your lines.

rs028 commented 2 years ago

@bethechange did you check the options Include inorganic reactions? and Include generic rate coefficients? when you downloaded the subset from the MCM website?

bethechange commented 2 years ago

Yes :)

On Wed, Apr 20, 2022, 3:29 AM R. Sommariva @.***> wrote:

@bethechange https://github.com/bethechange did you check the options Include inorganic reactions? and Include generic rate coefficients? when you downloaded the subset from the MCM website?

— Reply to this email directly, view it on GitHub https://github.com/AtChem/AtChem2/issues/471#issuecomment-1103696441, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAWQNY4ZWXSYHGXKJIEHKTVF7E5ZANCNFSM5TUQOPBA . You are receiving this because you were mentioned.Message ID: @.***>

bethechange commented 2 years ago

Hi Sam, it seems I failed to upload the file. I've changes this to a .txt - hoping this one can be posted. mechanism_test.txt

-s

rs028 commented 2 years ago

Hi @bethechange can you have a look at the discussion on #451 and #470 for a solution to this problem.

bethechange commented 2 years ago

Thanks! Commenting out the excess reactions from 451 solved my problem.