Expand description
Mass-action ODE analysis of models.
Such ODEs are based on the law of mass action familiar from chemistry and mathematical epidemiology. Here, however, we also consider a generalised version where we do not require that mass be preserved. This allows the construction of systems of arbitrary polynomial (first-order) ODEs.
Structs§
- Mass
Action Problem Data - Data defining an unbalanced mass-action ODE problem for a model.
- Petri
NetMass Action Analysis - Mass-action ODE analysis for Petri nets.
- Stock
Flow Mass Action Analysis - Mass-action ODE analysis for stock-flow models.
Enums§
- Direction
- The associated direction of a “flow” term. Note that this is opposite from the terminology of “input” and “output”, i.e. a flow A=>B gives rise to an incoming flow to B and an outgoing flow from A.
- Flow
Parameter - Parameters in the generated polynomial equations are undirected in the balanced case and directed in the unbalanced case.
- Mass
Conservation Type - There are three types of mass-action semantics, each more expressive than the previous:
- Rate
Granularity - When mass is not necessarily conserved, consumption/production rate parameters can be set either per transition or per place.
- Rate
Parameter - Depending on the rate granularity, the parameters are specified by different structures.
Functions§
- extend_
mass_ action_ scalars - Substitutes numerical rate coefficients into a symbolic mass-action system.
- into_
mass_ action_ analysis - Builds the numerical ODE analysis for a mass-action system whose scalars have been substituted.