Simulating the system
We provide two main functions to simulate a CoupledSDEs
forward in time:
DynamicalSystemsBase.trajectory
, which integrates the stochasticCoupledSDEs
system forward in timedeterministic_orbit
, which integrates only the deterministic part of theCoupledSDEs
system
CriticalTransitions.deterministic_orbit
— Functiondeterministic_orbit(
sys::CoupledSDEs,
T;
...
) -> Tuple{Any, Any}
deterministic_orbit(
sys::CoupledSDEs,
T,
init;
diffeq,
kwargs...
) -> Tuple{Any, Any}
Simulates the deterministic (noise-free) dynamics of CoupledSDEs sys
in time for a duration T
, starting at initial condition init
.
This function is equivalent to calling trajectory
on the deterministic part of the CoupledSDEs
(with noise_strength=0
). It works with the ODE solvers used for CoupledODEs
.
Keyword arguments
diffeq=(alg=Tsit5(), abstol = 1e-6, reltol = 1e-6)
: ODE solver settings (seeCoupledODEs
)kwargs...
: keyword arguments passed totrajectory
For more info, see ODEProblem
. For stochastic integration, see trajectory
.