Oregonator¶
Systems / ODEs / Chemical & biological systems
The Field–Körös–Noyes model of the Belousov–Zhabotinsky reaction — chemical relaxation oscillations.
Start here¶
import tsdynamics as ts
system = ts.systems.Oregonator()
traj = system.run(final_time=40.0, dt=0.005, seed=0)
ts.plot(traj)
traj.t contains the sample times and traj.y the state array; system.info shows the defaults. In a notebook the last line displays the plot. In a Python script, call .show() on it to open a window, or .save("trajectory.svg") to export it.
With an adaptive ODE solver, dt sets the output spacing; rtol and atol control local integration error. For a fixed-step solver, reduce dt to check numerical convergence.
This finite simulation illustrates one initial condition and view. The diagnostics below report their own inputs and observation windows.
Dynamics at the default parameters¶
Lyapunov exponents measure separation rates along an orbit. The Kaplan–Yorke dimension is derived from those rates, not a direct geometric measurement. Finite runs depend on the initial condition, transient and observation window; a value near zero needs a convergence check.
per time unit
leading exponents only
Method and evidence
Benettin QR tangent dynamics
Finite-time estimate, not a convergence certificate. Only the leading directions were computed.
Settings
{
"backend": "jit",
"k": 1,
"final_time": 400.0,
"transient": 100.0,
"dt": 0.1,
"ic": [
0.1,
0.1,
0.1
],
"rtol": 1e-09,
"atol": 1e-12,
"solver": "bdf"
}
Preparation
{
"seed": 1473790093,
"ic_policy": "declared/in-basin start, else seeded small ball",
"spectrum_scope": "The stiff full variational frame fails at practical QR intervals with both native BDF and the independent SciPy-BDF reference. Only the feasible leading BDF rate is measured here."
}
Estimator runtime in the recorded environment: 0.2364 s.
state-dependent
0 stable · 3 unstable · 0 marginal / undetermined
Method and evidence
A seeded numerical search, not a completeness proof. Stability means linear asymptotic stability. Marginal/nonhyperbolic roots have no nonlinear stability verdict from this linearisation.
max Re(eigenvalue) for flows; max |multiplier| - 1 for maps. Boundary band: 1e-7 * max(1, max |eigenvalue|).
Settings
{
"method": "newton",
"n_seeds": 80,
"seed": 0
}
Estimator runtime in the recorded environment: 0.0286 s.
Recorded parameters and software
{
"parameters": {
"q": 0.0002,
"f": 1,
"mu": 1e-06,
"epsilon": 0.01
},
"parameter_expressions": {},
"state_dimension": 3,
"explicit_time": false,
"library_version": "6.0.3",
"python": "3.14.8",
"numpy": "2.4.4",
"scipy": "1.17.1",
"protocol_version": 1
}Definition¶
Parameters¶
| Symbol | Default | Role |
|---|---|---|
q |
0.0002 |
scaled rate-constant ratio of the bromide-consuming steps |
f |
1 |
stoichiometric factor for catalyst regeneration (bifurcation parameter) |
mu |
1e-06 |
timescale-separation parameter (stiffness) |
epsilon |
0.01 |
timescale-separation parameter (stiffness) |
State variables: x, y, z
Explore further¶
- Lyapunov spectra and Kaplan–Yorke dimension — measure separation rates, then check convergence with a longer run.
- Fixed points and stability — find the equilibria or fixed points that organize the dynamics.
- Plotting and export — choose components, style a figure, or save it for a paper.
- Find a compatible analysis with
ts.analysis.find(system)orts.analysis.find(traj).
Reference¶
Field & Noyes (1974), J. Chem. Phys. 60, 1877-1884
doi:10.1063/1.1681288