Skip to content

ExcitableCell

Systems / ODEs / Chemical & biological systems

The Chay conductance model of a bursting pancreatic β-cell — fast spiking gated by a slow Ca²⁺ wave, with period doubling and chaos across the beating–bursting transition.

continuous · ODE3 dimensionsbursting

Start here

Python
import tsdynamics as ts

system = ts.systems.ExcitableCell()
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 component over time (t, v); playback follows recorded sample order. 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.4923,\; -0.000161,\; -29.14$
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.04074873656017595,
    0.0622692189011195,
    0.007145030649112716
  ],
  "rtol": 1e-09,
  "atol": 1e-12,
  "solver": "rk45"
}

Preparation

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

Estimator runtime in the recorded environment: 0.2755 s.

Kaplan–Yorke dimension
Finite-time / numerical estimate
$D_{KY} = 2.017$
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.04074873656017595,
    0.0622692189011195,
    0.007145030649112716
  ],
  "rtol": 1e-09,
  "atol": 1e-12,
  "solver": "rk45"
}
Divergence ∇·f
Symbolic summary
$- gl - kc \rho$ (constant part of $\nabla\!\cdot f$)
constant part shown — state-dependent remainder omitted (too large)
Method and evidence

constant part shown — state-dependent remainder omitted (too large)

Equilibria / fixed points
Finite-time / numerical estimate
1 equilibria found
0 stable · 1 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.0684 s.

Recorded parameters and software
{
  "parameters": {
    "gi": 1800,
    "gkc": 11,
    "gkv": 1700,
    "gl": 7,
    "kc": 0.183333,
    "rho": 0.27,
    "vc": 100,
    "vi": 100,
    "vk": -75,
    "vl": -40,
    "vm": -50,
    "vn": -30
  },
  "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{v} &= \frac{c gkc \left(- v + vk\right)}{c + 1} + \frac{5.74594990367292 \cdot 10^{-6} gi \left(- v + vi\right) \left(v + 25\right)^{3} e^{- 0.05 v}}{\left(1 - 0.0820849986238988 e^{- 0.1 v}\right)^{3} \left(0.00574594990367292 e^{- 0.05 v} + \frac{1}{e^{- 0.1 v - 2} + 1}\right) \left(4 e^{- \frac{v}{18} - \frac{25}{9}} + \frac{0.1 \left(v + 25\right)}{1 - 0.0820849986238988 e^{- 0.1 v}}\right)^{3}} + gkv n^{4} \left(- v + vk\right) + gl \left(- v + vl\right) \\ \dot{n} &= 230 \left(- n + \frac{0.01 \left(v + 20\right)}{\left(1 - e^{- 0.1 v - 2}\right) \left(0.125 e^{- \frac{v}{80} - \frac{3}{8}} + \frac{0.01 \left(v + 20\right)}{1 - e^{- 0.1 v - 2}}\right)}\right) \left(0.125 e^{- \frac{v}{80} - \frac{3}{8}} + \frac{0.01 \left(v + 20\right)}{1 - e^{- 0.1 v - 2}}\right) \\ \dot{c} &= \rho \left(- c kc + \frac{5.74594990367292 \cdot 10^{-6} \left(- v + vc\right) \left(v + 25\right)^{3} e^{- 0.05 v}}{\left(1 - 0.0820849986238988 e^{- 0.1 v}\right)^{3} \left(0.00574594990367292 e^{- 0.05 v} + \frac{1}{e^{- 0.1 v - 2} + 1}\right) \left(4 e^{- \frac{v}{18} - \frac{25}{9}} + \frac{0.1 \left(v + 25\right)}{1 - 0.0820849986238988 e^{- 0.1 v}}\right)^{3}}\right) \end{aligned} \]

Parameters

Symbol Default Role
gi 1800 maximum mixed Na⁺/Ca²⁺ inward conductance
gkc 11 maximum Ca²⁺-activated K⁺ conductance
gkv 1700 maximum voltage-gated K⁺ conductance
gl 7 leak conductance
kc 0.183333 intracellular Ca²⁺ removal rate
rho 0.27 slow-timescale factor of the Ca²⁺ dynamics
vc 100 reversal potential driving Ca²⁺ entry
vi 100 inward-current reversal potential
vk -75 K⁺ reversal potential
vl -40 leak reversal potential
vm -50 half-activation voltage of the gating rate
vn -30 half-activation voltage of the gating rate

State variables: v, n, c

Explore further

Reference

Chay (1985), Physica D 16, 233-242
doi:10.1016/0167-2789(85)90060-0

BibTeX
BibTeX
@misc{excitablecell,
  title = {ExcitableCell system},
  note = {Chay (1985), Physica D 16, 233-242},
  doi = {10.1016/0167-2789(85)90060-0}
}