CADETProcess.processModel.Reaction

Contents

CADETProcess.processModel.Reaction#

class CADETProcess.processModel.Reaction(is_kinetic, stoich, k_fwd, k_bwd, k_fwd_min, exponents_fwd, exponents_bwd)[source]#

Helper class to store information about individual Mass Action Law Reactions.

This class represents an individual reaction within a MAL model, and stores information about the reaction’s stoichiometry, rate constants, and concentration exponents. It is used to create a ReactionScheme object, which contains information about all of the reactions in the MAL model.

Attributes:
component_systemComponentSystem

Component system of the reaction.

k_fwdfloat

Forward reaction rate.

k_bwdfloat

Backward reaction rate.

is_kineticbool

Flag indicating whether the reaction is kinetic (i.e., whether the reaction rates are explicitly defined) or whether the reaction is assumed to be at rapid equilibrium.

k_fwd_minfloat

Minimum value of the forward reaction rate in case of rapid equilibrium.

exponents_fwdlist of float

Concentration exponents of the components in order of indices for forward reaction.

exponents_bwdlist of float

Concentration exponents of the components in order of indices for backward reaction.

stoichnp.ndarray

Stoichiometric coefficients of the components in the reaction.

n_compint

int: Number of components.

k_eqfloat

float: Equilibrium constant (Ratio of forward and backward reaction).

Methods

check_required_parameters()

Verify if all required parameters are set.