Skip to content

AtmosphericRegime

Systems / ODEs / Climate & geophysics

Two coupled oscillators with widely spaced frequencies whose timescale separation drives intermittent bursts between quasi-stationary weather regimes.

continuous · ODE3 dimensionsintermittent

Start here

Python
import tsdynamics as ts

system = ts.systems.AtmosphericRegime()
traj = system.run(final_time=20.0, dt=0.01, 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.

state projection (x, y, z); playback follows arc length, not physical speed. Interactive: drag to rotate; use the play/pause control in the viewer.

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.

Lyapunov spectrum
Finite-time / numerical estimate
$+0.01858,\; +0.01536,\; -1.096$
per time unit
Method and evidence

Benettin QR tangent dynamics

Finite-time estimate, not a convergence certificate. All state-space directions were computed.

Settings

{
  "backend": "jit",
  "k": 3,
  "final_time": 400.0,
  "transient": 100.0,
  "dt": 0.1,
  "ic": [
    -0.04914909103493808,
    -0.02320969350810591,
    0.01430825199527368
  ],
  "rtol": 1e-09,
  "atol": 1e-12,
  "solver": "rk45"
}

Preparation

{
  "seed": 902524161,
  "ic_policy": "declared/in-basin start, else seeded small ball"
}

Estimator runtime in the recorded environment: 0.0148 s.

Kaplan–Yorke dimension
Finite-time / numerical estimate
$D_{KY} = 2.031$
Method and evidence

Kaplan–Yorke interpolation of the recorded spectrum

Lyapunov dimension estimate; equality with a fractal or information dimension requires additional dynamical assumptions.

Settings

{
  "backend": "jit",
  "k": 3,
  "final_time": 400.0,
  "transient": 100.0,
  "dt": 0.1,
  "ic": [
    -0.04914909103493808,
    -0.02320969350810591,
    0.01430825199527368
  ],
  "rtol": 1e-09,
  "atol": 1e-12,
  "solver": "rk45"
}
Divergence ∇·f
Symbolic
$\nabla\!\cdot f = \alpha z - \beta y + \mu_{1} + 2 \mu_{2} + \sigma y$
state-dependent
Equilibria / fixed points
Finite-time / numerical estimate
2 equilibria found
0 stable · 2 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.0677 s.

Recorded parameters and software
{
  "parameters": {
    "alpha": -2.0,
    "beta": -5.0,
    "mu1": 0.05,
    "mu2": -0.01,
    "omega": 3.0,
    "sigma": 1.1
  },
  "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

\[ \begin{aligned} \dot{x} &= \mu_{1} x + \sigma x y \\ \dot{y} &= \alpha y z + \beta z^{2} + \mu_{2} y + \omega z - \sigma x^{2} \\ \dot{z} &= - \alpha y^{2} - \beta y z + \mu_{2} z - \omega y \end{aligned} \]

Parameters

Symbol Default Role
alpha -2 quadratic slow–fast coupling coefficient
beta -5 quadratic slow–fast coupling coefficient
mu1 0.05 linear growth/damping of the slow mode
mu2 -0.01 linear growth/damping of the fast oscillator
omega 3 natural frequency of the fast oscillator
sigma 1.1 bilinear slow–fast feedback strength

State variables: x, y, z

Explore further

Reference

Tuwankotta (2006), Int. J. Non-Linear Mech. 41, 180-191
doi:10.1016/j.ijnonlinmec.2005.02.007

BibTeX
BibTeX
@misc{atmosphericregime,
  title = {AtmosphericRegime system},
  note = {Tuwankotta (2006), Int. J. Non-Linear Mech. 41, 180-191},
  doi = {10.1016/j.ijnonlinmec.2005.02.007}
}