Closed kasal2010 closed 1 month ago
As the error message indicates, there are duplicate equations. Can you show us what they look like, e.g. eqn<3713> and eqn<3714>?
Hi Rolf, The eqn 3713 and 3714 have same reactants, but different products and rates. Please kindly see it below.
{3713.} C65NO36CHO = C4H9CHO + HO2 + CO + NO2 : J(56)*10 ;
{3714.} C65NO36CHO = HO2 + CO + C4H9CHO + NO2 : J(15) ;
When you sort the products of eqn<3713> and eqn<3714>, you can see that these reactions are exactly identical. Unfortunately, MCM splits it into two, and KPP does not allow duplicate equations. As a solution, you can merge them into one by simply adding the rate constants:
C65NO36CHO = C4H9CHO + HO2 + CO + NO2 : J(56)*10 + J(15) ;
Tagging @kilicomu, who is the maintainer of the MCM. I know there is a new updated version in the works so maybe this issue will be fixed soon.
I'll have a chat with somebody about this and get back to you.
The problem of the duplicate equations needs to be solved in the MCM, not in KPP. Please take a look at the issue on the MCM github repo here:
https://github.com/wacl-york/mcm-web/issues/246
@kasal2010: I'm also currently trying to run the complete MCM in KPP. I had to increase some limits inside KPP. If you are interested, please take a look at the mcm branch in the KPP repo:
@kasal2010 @RolfSander: Is this still a problem? We have added suppport for the MCM in KPP 3.1.1.
This issue can be closed here. In any case, it was something for the MCM, not for KPP:
wacl-york/mcm-web#246
Dear all, I tried to parse the full version of mcmv3.3.1, which is download from the mcm website, by kppv2.2.3. But the program stopped with an error. Does anybody know how to fix this error? Plese kindly check the code and output below.