HySimODE: a hybrid stochastic-deterministic simulation framework for multiscale models of biological systems
Criseida G Zamora-Chimal1, Alexander P S Darlington1
1School of Engineering, University of Warwick, Coventry, CV4 7AL, United Kingdom.
Abstract:
Hybrid simulation is essential for modeling biochemical systems that mix low-copy stochastic dynamics with high-abundance deterministic processes. We present HySimODE, a Python framework that automates hybrid simulation directly from user-defined ordinary differential equation-based models. HySimODE uses a short deterministic pre-simulation and a machine-learning classifier to automatically assign each species to a stochastic or deterministic regime, and then combines a simple stochastic update rule with a stiff ODE solver in a single simulation loop. The classifier was trained and validated on a diverse dataset of biochemical ODE models spanning multiple dynamical regimes, enabling robust stochastic-deterministic partitioning beyond simple abundance thresholds. This design eliminates manual specification of regimes, avoids model reformulation, and enables reproducible, data-driven hybrid simulations of ODE-only biochemical models, including systems with saturable kinetics, effective-rate laws, or macro-energetic variables that lack a consistent reaction-network representation. Benchmarking against deterministic integrators, stochastic simulations, and abundance-threshold hybrid approaches demonstrates that HySimODE provides a practical and scalable framework for hybrid simulation of ODE-defined biochemical systems. We demonstrate its utility on two distinct case studies: a host-circuit interaction model from synthetic biology and a long-term synaptic potentiation model from neurobiology. HySimODE includes a modular adapter system that automatically converts ODE models written in concentrations into molecular counts, enabling universal compatibility across biochemical systems without code modification.
More Related Videos
Related Concept Videos
Model Approaches for Pharmacokinetic Data: Distributed Parameter Models
The distributed parameter models are specifically designed to account for variations and differences in some drug classes. This model is particularly useful for assessing regional concentrations of anticancer or...
Mechanistic Models: Compartment Models in Algorithms for Numerical Problem Solving
In individual population analyses, different algorithms are employed, such as Cauchy's method, which uses a...
Multicompartment Models: Overview
These models offer a more comprehensive representation of drug behavior in the body than one-compartment models. They accommodate the complexity of drug distribution,...
Mechanistic Models: Compartment Models in Individual and Population Analysis
Hybrid Zones
Modeling with Differential Equations


