@@ -12,9 +12,9 @@ We first import the basic packages we'll need:
1212
1313``` @example tut1
1414# If not already installed, first hit "]" within a Julia REPL. Then type:
15- # add Catalyst DifferentialEquations Plots Latexify
15+ # add Catalyst OrdinaryDiffEq Plots Latexify
1616
17- using Catalyst, DifferentialEquations , Plots, Latexify
17+ using Catalyst, OrdinaryDiffEq , Plots, Latexify
1818```
1919
2020We now construct the reaction network. The basic types of arrows and predefined
@@ -160,7 +160,7 @@ underlying problem.
160160
161161At this point we are all set to solve the ODEs. We can now use any ODE solver
162162from within the
163- [ DifferentialEquations .jl] ( https://docs.sciml.ai/DiffEqDocs/stable/solvers/ode_solve/ )
163+ [ OrdinaryDiffEq .jl] ( https://docs.sciml.ai/DiffEqDocs/stable/solvers/ode_solve/ )
164164package. We'll use the recommended default explicit solver, ` Tsit5() ` , and then
165165plot the solutions:
166166
@@ -169,7 +169,7 @@ sol = solve(oprob, Tsit5(), saveat=10.)
169169plot(sol)
170170```
171171We see the well-known oscillatory behavior of the repressilator! For more on the
172- choices of ODE solvers, see the [ DifferentialEquations .jl
172+ choices of ODE solvers, see the [ OrdinaryDiffEq .jl
173173documentation] ( https://docs.sciml.ai/DiffEqDocs/stable/solvers/ode_solve/ ) .
174174
175175---
@@ -182,6 +182,9 @@ Gillespie's `Direct` method, and then solve it to generate one realization of
182182the jump process:
183183
184184``` @example tut1
185+ # imports the JumpProcesses packages
186+ using JumpProcesses
187+
185188# redefine the initial condition to be integer valued
186189u₀map = [:m₁ => 0, :m₂ => 0, :m₃ => 0, :P₁ => 20, :P₂ => 0, :P₃ => 0]
187190
@@ -237,6 +240,9 @@ model by creating an `SDEProblem` and solving it similarly to what we did for OD
237240above:
238241
239242``` @example tut1
243+ # imports the StochasticDiffEq package for SDE simulations
244+ using StochasticDiffEq
245+
240246# SDEProblem for CLE
241247sprob = SDEProblem(bdp, u₀, tspan, p)
242248
0 commit comments