You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
Convert SDEProblemLibrary to remove Catalyst dependency by replacing the single
symbolic @reaction_network with direct drift and diffusion functions while
maintaining mathematical equivalence.
## Changes Made
### SDEProblemLibrary
- Removed Catalyst dependency from Project.toml and imports
- Converted `prob_sde_oscilreact` from Catalyst @reaction_network to direct functions:
- `oscilreact_drift`: deterministic drift terms
- `oscilreact_diffusion`: stochastic diffusion terms
- Implemented hill function helper for regulatory dynamics
- Preserved all original parameter values and initial conditions
- Species: X, Y, Z (oscillatory), R (regulator), S (substrate), SP, SP2
## Mathematical Equivalence
The conversion preserves the original Catalyst network behavior:
- Hill function regulation: `hill(X, p2, 100.0, -4)` etc.
- Mass action kinetics for degradation and production
- Chemical Langevin stochastic terms (square root of rates)
## Testing
- Verified compatibility with StochasticDiffEq.jl
- All existing SDE problems remain functional
- Test script confirms correct simulation behavior
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments