CADETProcess.processModel.CrossPhaseReaction#

class CADETProcess.processModel.CrossPhaseReaction(is_kinetic, stoich_liquid, stoich_solid, k_fwd, k_bwd, k_fwd_min, exponents_fwd_liquid, exponents_fwd_solid, exponents_bwd_liquid, exponents_bwd_solid, exponents_fwd_liquid_modsolid, exponents_fwd_solid_modliquid, exponents_bwd_liquid_modsolid, exponents_bwd_solid_modliquid)[source]#

Bases: Structure

Helper class to store information about cross-phase Mass Action Law reactions.

Attributes:
component_systemComponentSystem

The component system of the reaction.

stoich_liquidndarray

An array of stoichiometric coefficients of the components in the liquid phase.

stoich_solidndarray

An array of stoichiometric coefficients of the components in the solid phase.

exponents_fwd_solid_modliquidndarray

An array of concentration exponents of the components in the solid phase for the forward reaction in the liquid phase.

exponents_bwd_solid_modliquidndarray

An array of concentration exponents of the components in the solid phase for the backward reaction in the liquid phase.

exponents_fwd_liquid_modsolidndarray

An array of concentration exponents of the components in the liquid phase for the forward reaction in the solid phase.

exponents_bwd_liquid_modsolidndarray

An array of concentration exponents of the components in the liquid phase for the backward reaction in the solid phase.

is_kineticbool

A boolean flag indicating whether the reaction is kinetic or not.

k_fwdfloat

The forward reaction rate.

k_bwdfloat

The backward reaction rate.

exponents_fwd_liquidndarray

An array of concentration exponents of the components in the liquid phase for the forward reaction.

exponents_bwd_liquidndarray

An array of concentration exponents of the components in the liquid phase for the backward reaction.

exponents_fwd_solidndarray

An array of concentration exponents of the components in the solid phase for the forward reaction.

exponents_bwd_solidndarray

An array of concentration exponents of the components in the solid phase for the backward reaction.

exponents_bwd_liquid#

Descriptor for NumPy arrays whose size may depend on other instance attributes.

exponents_bwd_liquid_modsolid#

Descriptor for NumPy arrays whose size may depend on other instance attributes.

exponents_bwd_solid#

Descriptor for NumPy arrays whose size may depend on other instance attributes.

exponents_bwd_solid_modliquid#

Descriptor for NumPy arrays whose size may depend on other instance attributes.

exponents_fwd_liquid#

Descriptor for NumPy arrays whose size may depend on other instance attributes.

exponents_fwd_liquid_modsolid#

Descriptor for NumPy arrays whose size may depend on other instance attributes.

exponents_fwd_solid#

Descriptor for NumPy arrays whose size may depend on other instance attributes.

exponents_fwd_solid_modliquid#

Descriptor for NumPy arrays whose size may depend on other instance attributes.

is_kinetic#

Parameter descriptor constrained to boolean values.

Notes

This class also supports casting integers 0 and 1 to their boolean equivalents.

k_bwd#

Parameter descriptor for unsigned floating-point parameters.

property k_eq: float#

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

k_fwd#

Parameter descriptor for unsigned floating-point parameters.

k_fwd_min#

Parameter descriptor for unsigned floating-point parameters.

property n_comp: int#

int: Number of components.

stoich_liquid#

Descriptor for NumPy arrays whose size may depend on other instance attributes.

stoich_solid#

Descriptor for NumPy arrays whose size may depend on other instance attributes.