CADETProcess.processModel.MassActionLawParticle.add_cross_phase_reaction#
- MassActionLawParticle.add_cross_phase_reaction(component_system, indices, coefficients, phases, k_fwd, k_bwd=1, is_kinetic=True, k_fwd_min=100, exponents_fwd_liquid=None, exponents_bwd_liquid=None, exponents_fwd_solid=None, exponents_bwd_solid=None)[source]#
Initialize individual cross-phase MAL reaction.
- Parameters:
- component_systemComponentSystem
Component system of the reaction.
- indiceslist
Component indices.
- coefficientslist
Stoichiometric coefficients in the same order of component indices.
- phaseslist
phase indices of the component. 0: liquid phase 1: solid phase
- 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_fwd_liquidlist, optional
Concentration exponents of the components in order of indices for forward reaction in liquid phase. If None is given, values are inferred from the stoichiometric coefficients. The default is None.
- exponents_bwd_liquidlist, optional
Concentration exponents of the components in order of indices for backward reaction in liquid phase. If None is given, values are inferred from the stoichiometric coefficients. The default is None.
- exponents_fwd_solidlist, optional
Concentration exponents of the components in order of indices for forward reaction in solid phase. If None is given, values are inferred from the stoichiometric coefficients. The default is None.
- exponents_bwd_solidlist, optional
Concentration exponents of the components in order of indices for backward reaction in solid phase. If None is given, values are inferred from the stoichiometric coefficients. The default is None.