Thermoacoustic subcritical Hopf oscillator¶
Thermoacoustic implements the pressure oscillator in Bonciolini et al.
(2018), Eq. 3.7, with the coefficients from their numerical example.
Usage¶
from tipbox.models import Thermoacoustic
model = Thermoacoustic()
result = model.make_trajectory(num_samples=11001, dt_sample=0.0001, noise=1.0, seed=43)
pressure = result.trajectory[:, 0]
amplitude = result.trajectory[:, 2]
control = model.make_trajectory(num_samples=11001, dt_sample=0.0001, noise=1.0, seed=43, null_simulation=True)
Pressure under tipping and control forcing. Dashed lines mark the linear Hopf reference.¶
Pressure equation¶
Let \(\omega_0=2\pi f_0\) and \(\nu(t)\) be the linear growth rate. With standard white noise \(\xi\), the oscillator is
where \(\kappa,\mu>0\) and \(\eta\) is the noise argument.
The positive quadratic nonlinear damping term destabilizes intermediate
amplitudes and the negative quartic term saturates large oscillations.
Pressure is in the numerical model’s units; no conversion to measured
microphone pascals is assumed.
For numerical conditioning, the state is \((p,y)\) with \(y=\dot p/\omega_0\):
The three observed columns are pressure, scaled velocity, and the instantaneous
phase-plane amplitude \(\sqrt{p^2+y^2}\). The last quantity uses the
simulated velocity and is not a Hilbert envelope estimated from pressure alone.
initial_state must follow [pressure, scaled_velocity].
Noise, numerical method, and forcing¶
The model uses RK4 for deterministic drift with forcing evaluated at actual
step endpoints and midpoints. Independent additive noise is applied to
\(y\) at each integration-step end, with standard deviation
\(\eta\sqrt{\Gamma dt}/\omega_0\). result.sigma reports this scale.
noise=1 recovers the published numerical noise intensity \(\Gamma=10^6\);
the shared default noise=0.01 gives effective intensity 100. Initial
conditions are fixed and illustrative. The source’s stationary-PDF initial
sampling is not reproduced by this default.
Integration defaults to dt=0.0001 seconds and output spacing to
dt_sample=0.0005 seconds (2 kHz). Output spacing must be an integer multiple
of the integration step. Reduce dt and check convergence when changing
frequency, coefficients, or noise; no stabilizing amplitude clip is applied.
Forced growth increases linearly from nu_start to nu_end over the
simulated duration divided by param_end_multiplier (default 1.1), then
remains capped. With the default 1.1-second duration, the ramp lasts one second
and its slope is 10 s^-2, as in a source numerical example. Null forcing holds
nu_null constant. A custom forcing callable can define a different schedule.
Hopf, cycle fold, and event definitions¶
The deterministic zero-pressure equilibrium loses linear stability at \(\nu=0\). Averaging the noise-free oscillator gives
Its cycle fold is at \(\nu_{\rm fold}=-\kappa^2/(16\mu)\) (default -2 s^-1),
available as model.fold_parameter. Between that fold and the Hopf point,
low- and high-amplitude states can coexist. The nonlinear signs and noise
convention follow the original pressure equation and its averaged amplitude equation.
The classifier detects forcing reaching the Hopf point, and its positive marker is the first sample with \(\nu\ge0\). The null marker is the midpoint. Neither marker estimates the observed jump: noise can trigger an earlier switch and finite-rate forcing can delay growth after Hopf. A null value inside the bistable range does not guarantee a low-amplitude state. The default null value (-4.5 s^-1) is below the averaged fold.
Parameters and defaults¶
Default critical parameter: 0.
Parameter |
Default |
Units |
Meaning |
|---|---|---|---|
frequency |
120 |
Hz |
Acoustic eigenfrequency, omega0/(2*pi). |
kappa |
8 |
1 / (s * pressure^2) |
Destabilizing quadratic nonlinear damping coefficient. |
mu |
2 |
1 / (s * pressure^4) |
Stabilizing quartic nonlinear damping coefficient. |
Gamma |
1000000 |
pressure^2 / s^3 |
White acceleration-noise intensity before noise**2 scaling. |
nu_start |
-4.5 |
1 / s |
Initial linear growth rate. |
nu_end |
5.5 |
1 / s |
Final forced linear growth rate. |
nu_null |
-4.5 |
1 / s |
Constant linear growth rate for null simulations. |
initial_pressure |
0.1 |
model pressure |
Initial pressure; an illustrative fixed IC, not a stationary draw. |
initial_scaled_velocity |
0 |
model pressure |
Initial pressure velocity divided by omega0. |
dt |
0.0001 |
s |
RK4 drift integration step. |
t_start |
0 |
s |
First observation time. |
t_end |
1.1 |
s |
End time when num_samples is omitted; default ramp reaches its cap at 1 s. |
Reference¶
Bonciolini, Ebi, Boujo and Noiray (2018), Experiments and modelling of rate-dependent transition delay in a stochastic subcritical bifurcation, Royal Society Open Science 5, 172078, Eq. 3.7 and Appendix A.2. The model parameters \(f_0=120,\kappa=8,\mu=2,\Gamma=10^6\) are from that numerical example; they are not an identified fit to a particular microphone episode.