olm.calcite.createPalmerInterpolationFunctions

olm.calcite.createPalmerInterpolationFunctions(impure=True)[source]

Creates interpolation functions for kinetic rate constants using linear interpolation from Table from Palmer (1991). PCO2 is interpolated linearly in log space, since it spans several orders of magnitude. Primarily intended for internal use by palmerRate() and palmerFromSolution().

Parameters:
impureboolean

Whether to use the table values for impure calcite (True) or pure calcite (False). Impure calcite is more representative of typical limestone. (default = True)

Returns:
(palmer_k1, palmer_C_Cs_T, palmer_n)tuple

Interpolation functions for k1, C_Cs_T, and n.