I wonder if it would be possible to replace the IGNORE in the
MCM-generated KPP file by the real composition. For example, the formula
of IPROPOL is C3H8O. The corresponding line in the #DEFVAR section of
the KPP file should be:
IPROPOL = 3C + 8H + O ;
The format conversion from C3H8O to 3C + 8H + O could be done with a
regexp like this:
Based on the discussion at https://github.com/wacl-york/mcm-web/issues/248, I'd like to make a feature request:
I wonder if it would be possible to replace the
IGNORE
in the MCM-generated KPP file by the real composition. For example, the formula ofIPROPOL
isC3H8O
. The corresponding line in the#DEFVAR
section of the KPP file should be:The format conversion from
C3H8O
to3C + 8H + O
could be done with a regexp like this:and then deleting the final
+
sign.