Skip to content

Commit 71c82fd

Browse files
committed
merge
2 parents 4e272f8 + 010abcf commit 71c82fd

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

docs/src/introduction_to_catalyst/catalyst_for_new_julia_users.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ To import a Julia package into a session, you can use the `using PackageName` co
5555
using Pkg
5656
Pkg.add("Catalyst")
5757
```
58-
Here, the Julia package manager package (`Pkg`) is by default installed on your computer when Julia is installed, and can be activated directly. Next, we also wish to install the needed sub-libraries of `OrdinaryDiffEq` and `Plots` packages (for numeric simulation of models, and plotting, respectively). We will import the default recommended solver from the `OrdinaryDiffEqDefault` sub-library. A full list of `OrdinaryDiffEq` solver sublibraries can be found on the sidebar of [this page](https://docs.sciml.ai/OrdinaryDiffEq/stable/).
58+
Here, the Julia package manager package (`Pkg`) is by default installed on your computer when Julia is installed, and can be activated directly. Next, we install an ODE solver from a sub-library of the larger `OrdinaryDiffEq` package, and install the `Plots` package for making graphs. We will import the recommended default solver from the `OrdinaryDiffEqDefault` sub-library. A full list of `OrdinaryDiffEq` solver sublibraries can be found on the sidebar of [this page](https://docs.sciml.ai/OrdinaryDiffEq/stable/).
5959
```julia
6060
Pkg.add("OrdinaryDiffEqDefault")
6161
Pkg.add("Plots")

docs/src/model_simulation/ode_simulation_performance.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,8 @@ oprob = ODEProblem(bd_model, u0, tspan, ps)
7070
solve(oprob, Tsit5())
7171
nothing # hide
7272
```
73-
74-
If no solver argument is provided to `solve`, and the `OrdinaryDiffEqDefault` sub-library or top-level `OrdinaryDiffEq` library is installed, then one is automatically selected:
75-
```@example ode_simulation_performance_2
73+
If no solver argument is provided to `solve`, and the `OrdinaryDiffEqDefault` sub-library or meta `OrdinaryDiffEq` library are loaded, then one is automatically selected:
74+
```@example
7675
using OrdinaryDiffEqDefault
7776
solve(oprob)
7877
nothing # hide
@@ -190,7 +189,7 @@ end
190189
u0 = [:X₁ => 2.0, :X₂ => 3.0]
191190
ps = [:k₁ => 1.0, :k₂ => 2.0]
192191
oprob = ODEProblem(rs, u0, (0.0, 10.0), ps; remove_conserved = true)
193-
sol = solve(oprob, Tsit5())
192+
sol = solve(oprob)
194193
nothing # hide
195194
```
196195
Conservation law elimination is not expected to ever impact performance negatively; it simply results in a (possibly) lower-dimensional system of ODEs to solve. However, eliminating conserved species may have minimal performance benefits; it is model-dependent whether elimination results in faster ODE solving times and/or increased solution accuracy.

docs/src/steady_state_functionality/nonlinear_solve.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Next, we provide these as an input to a `SteadyStateProblem`
102102
ssprob = SteadyStateProblem(dimer_production, u0, p)
103103
nothing # hide
104104
```
105-
Finally, we can find the steady states using the `solver` command. Since `SteadyStateProblem`s are solved through forward ODE simulation, we must load the sublibrary of the [OrdinaryDiffEq.jl](https://github.com/SciML/OrdinaryDiffEq.jl) package that corresponds to the [selected ODE solver](@ref simulation_intro_solver_options). Any available ODE solver can be used, however, it has to be encapsulated by the `DynamicSS()` function. E.g. here we designate the `Rodas5P` solver and import the `OrdinaryDiffEqRosenbrock` sublibrary:
105+
Finally, we can find the steady states using the `solver` command. Since `SteadyStateProblem`s are solved through forward ODE simulation, we must load the sublibrary of the [OrdinaryDiffEq.jl](https://github.com/SciML/OrdinaryDiffEq.jl) package that corresponds to the [selected ODE solver](@ref simulation_intro_solver_options). Any available ODE solver can be used, however, it has to be encapsulated by the `DynamicSS()` function. E.g. here we use the `Rodas5P` solver which is loaded from the `OrdinaryDiffEqRosenbrock` sublibrary:
106106

107107
(which requires loading the SteadyStateDiffEq package).
108108
```@example steady_state_solving_simulation

0 commit comments

Comments
 (0)