# source_terms#

Functions

 `butler_volmer_conc`(phase, X, n, i0_ref, ...) Calculates the rate, slope and intercept of the Butler-Volmer kinetic model based on concentration to be used in mass transfer algorithms. `butler_volmer_voltage`(phase, X, n, i0_ref, ...) Calculates the rate, slope and intercept of the Butler-Volmer kinetic model based on voltage to be used in electron conduction algorithms. `exponential`(phase, X[, A1, A2, A3, A4, A5, A6]) Calculates the rate, as well as slope and intercept of the following function at the given value of X: `general_symbolic`(phase, eqn, x, **kwargs) A general function to interpret a sympy equation and evaluate the linear components of the source term. `linear`(phase, X[, A1, A2]) Calculates the rate, as well as slope and intercept of the following function at the given value of `X`: `logarithm`(phase, X[, A1, A2, A3, A4, A5, A6]) Calculates the rate, as well as slope and intercept of the following function at the given value of X: `natural_exponential`(phase, X[, A1, A2, A3, ...]) Calculates the rate, as well as slope and intercept of the following function at the given value of X: `natural_logarithm`(phase, X[, A1, A2, A3, A4, A5]) Calculates the rate, as well as slope and intercept of the following function at the given value of X: `power_law`(phase, X[, A1, A2, A3]) Calculates the rate, as well as slope and intercept of the following function at the given value of X: `standard_kinetics`(phase, X, prefactor, exponent) Calculates the rate, as well as slope and intercept of the following function at the given value of `X`: