CADETProcess.processModel.MassActionLaw.add_reaction

CADETProcess.processModel.MassActionLaw.add_reaction#

MassActionLaw.add_reaction(component_system, indices, coefficients, k_fwd, k_bwd=1, is_kinetic=True, k_fwd_min=100, exponents_fwd=None, exponents_bwd=None)[source]#

Initialize individual Mass Action Law Reaction.

Parameters:
component_systemComponentSystem

Component system of the reaction.

indiceslist of int

Component indices.

coefficientsnp.ndarray

Stoichiometric coefficients in the same order of component indices.

k_fwdfloat

Forward reaction rate.

k_bwdfloat, optional

Backward reaction rate. The default is 1.

is_kineticbool, optional

If False, reaction rates are scaled up to approximate rapid equilibriums. The default is True.

k_fwd_minfloat, optional

Minimum value of foward reaction rate in case of rapid equilbrium. The default is 100.

exponents_fwdlist of float, optional

Concentration exponents of the components in order of indices for forward reaction. If None is given, values are inferred from the stoichiometric coefficients. The default is None.

exponents_bwdlist of float, optional

Concentration exponents of the components in order of indices for backward reaction. If None is given, values are inferred from the stoichiometric coefficients. The default is None.