modelBasicReaction
basic declaration of a reaction
Extends from ADGenKinetics.Derivatives.Interfaces.dynamic.Dimension.ReactionDimension (Dimension and structure of a reaction).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | NS (from ReactionDimension) | 1 | number of substrates |
| Units.StoichiometricCoef[NS] | n_S (from ReactionDimension) | ones(NS) | stoichiometry of all subtrates |
| Integer | NP (from ReactionDimension) | 1 | number of products |
| Units.StoichiometricCoef[NP] | n_P (from ReactionDimension) | ones(NP) | stoichiometry of all products |
| Integer | NG | # of gradients |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| ADGenKinetics.Derivatives.Interfaces.ChemicalPort_S[NS] | rc_S | connection to substrates | |
| ADGenKinetics.Derivatives.Interfaces.ChemicalPort_P[NP] | rc_P | connection to product |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Units.VolumetricReactionRate | v | reaction rate | |
| Real | g_v | gradients of v |