Library Reference

AlgebraicMetabolism.dynamics_exprMethod
dynamics_expr(m::ReactionMetabolicNet)

Build the expression for a reaction net from the combinatorial data. The expression we want to build is equivalent to:

dxi = sum(μ[i,j] ⋅ γ[j] ⋅ prod(X[k]^f[j,k] for k in 1:N) for j in 1:N)

$\frac{d}{dt} X_i = \sum_j(\mu_{i,j} \cdot \gamma_j \cdot \prod_k X_k^f_{j,k}$

This formula evaluates the dynamics of the system.

source
AlgebraicMetabolism.dynamics_exprMethod
dynamics_expr(m::System)

Build the expression for an S-System from the combinatorial data. The expression we want to build is equivalent to:

$\frac{d}{dt} X_i = \alpha_i \prod_j X_j^{g_{i,j}} - \beta_i\prod_j X^{h_{i,j}}$

This formula evaluates the dynamics of the system.

source