|
35 | 35 |
|
36 | 36 |
|
37 | 37 | ### 🧩 Overview of Core Classes |
38 | | -| Class | Purpose | Key Features | |
39 | | -| ----------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | |
40 | | -| `species` | Represents a chemical species, radical or non-radical | Tracks identity, concentration, radical status, reactive functions, origin and products | |
41 | | -| `reaction` | Encodes a single chemical reaction with stoichiometry and type | Handles bimolecular/monomolecular logic, canonical fingerprinting, and directionality | |
42 | | -| `reactionRateDB` | Stores and queries rate constants (`k₀`, `Eₐ`) for known reaction types | Supports fingerprint lookups, priority ranks, redox heuristics, and confidence tagging | |
43 | | -| `mixture` | Container for species and reactions in a chemical system | Builds product and reaction networks automatically from a few initial species | |
44 | | -| `mixtureKinetics` | Numerical kinetic solver based on a `mixture` instance | Integrates ODEs, applies temperature & diffusion corrections, and returns time-resolved results | |
45 | | -| `lumped` | Groups multiple species under a shared name or tag (e.g., LOOH) | Supports species aliases, output simplification, and aggregate quantification | |
| 38 | ++---------------------+---------------------------------------------------------------+ |
| 39 | +| Class | Purpose | |
| 40 | ++=====================+===============================================================+ |
| 41 | +| `species` | Represents chemical species (radicals, peroxides, stable) | |
| 42 | ++---------------------+---------------------------------------------------------------+ |
| 43 | +| `reaction` | Canonical reaction with fingerprint and type inference | |
| 44 | ++---------------------+---------------------------------------------------------------+ |
| 45 | +| `reactionRateDB` | Registry of rate constants (k₀, Eₐ) searchable by fingerprint | |
| 46 | ++---------------------+---------------------------------------------------------------+ |
| 47 | +| `mixture` | Encodes physical/chemical system: species, V, A, T, kO₂, pO₂ | |
| 48 | ++---------------------+---------------------------------------------------------------+ |
| 49 | +| `mixtureKinetics` | Numerical integrator for the chemical system (`solve_ivp`) | |
| 50 | ++---------------------+---------------------------------------------------------------+ |
| 51 | +| `lumped` | Group of species for aggregate observables | |
| 52 | ++---------------------+---------------------------------------------------------------+ |
| 53 | +| `TKO2cycle` | Dynamic temperature and kO₂ definition for advanced scenarios | |
| 54 | ++---------------------+---------------------------------------------------------------+ |
46 | 55 |
|
47 | 56 |
|
48 | 57 | Author: Olivier Vitrac — olivier.vitrac@gmail.com |
|
0 commit comments