Skip to content

Commit c86c500

Browse files
committed
up
1 parent bfa8f90 commit c86c500

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

docs/pages.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,11 @@ pages = Any[
2626
],
2727
"Model simulation" => Any[
2828
"model_simulation/simulation_introduction.md",
29-
# Simulation introduction.
3029
"model_simulation/simulation_plotting.md",
3130
"model_simulation/simulation_structure_interfacing.md",
3231
"model_simulation/ensemble_simulations.md",
3332
# Stochastic simulation statistical analysis.
3433
"model_simulation/ode_simulation_performance.md",
35-
# ODE Performance considerations/advice.
3634
# SDE Performance considerations/advice.
3735
# Jump Performance considerations/advice.
3836
# Finite state projection
@@ -51,7 +49,7 @@ pages = Any[
5149
# ODE parameter fitting using Turing.
5250
# SDE/Jump fitting.
5351
"inverse_problems/behaviour_optimisation.md",
54-
#"inverse_problems/structural_identifiability.md",
52+
#"inverse_problems/structural_identifiability.md", # Broken on Julia v1.10.3, requires v1.10.2 or 1.10.4.
5553
# Practical identifiability.
5654
"inverse_problems/global_sensitivity_analysis.md",
5755
"Inverse problem examples" => Any[

docs/src/steady_state_functionality/bifurcation_diagrams.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ nothing # hide
4343

4444
Finally, we compute our bifurcation diagram using:
4545
```@example ex1
46-
bif_dia = bifurcationdiagram(bprob, PALC(), 2, opts_br; bothside = true)
46+
bif_dia = bifurcationdiagram(bprob, PALC(), 2, (args...) -> opts_br; bothside = true)
4747
nothing # hide
4848
```
4949
Where `PALC()` designates that we wish to use the pseudo arclength continuation method to track our solution. The third argument (`2`) designates the maximum number of recursions when branches of branches are computed (branches appear as continuation encounters certain bifurcation points). For diagrams with highly branched structures (rare for many common small chemical reaction networks) this input is important. Finally, `bothside = true` designates that we wish to perform continuation on both sides of the initial point (which is typically the case).
@@ -69,7 +69,7 @@ opt_newton = NewtonPar(tol = 1e-9, max_iterations = 1000)
6969
opts_br = ContinuationPar(p_min = p_span[1], p_max = p_span[2],
7070
dsmin = 0.001, dsmax = 0.01, max_steps = 1000,
7171
newton_options = opt_newton)
72-
bif_dia = bifurcationdiagram(bprob, PALC(), 2, opts_br; bothside=true)
72+
bif_dia = bifurcationdiagram(bprob, PALC(), 2, (args...) -> opts_br; bothside = true)
7373
nothing # hide
7474
```
7575
(however, in this case these additional settings have no significant effect on the result)
@@ -79,7 +79,7 @@ Let's consider the previous case, but instead compute the bifurcation diagram ov
7979
```@example ex1
8080
p_span = (2.0, 15.0)
8181
opts_br = ContinuationPar(p_min = p_span[1], p_max = p_span[2], max_steps = 1000)
82-
bif_dia = bifurcationdiagram(bprob, PALC(), 2, opts_br= true)
82+
bif_dia = bifurcationdiagram(bprob, PALC(), 2, (args...) -> opts_br; bothside = true)
8383
plot(bif_dia; xguide = "k1", yguide = "X")
8484
```
8585
Here, in the bistable region, we only see a single branch. The reason is that the continuation algorithm starts at our initial guess (here made at $k1 = 4.0$ for $(X,Y) = (5.0,2.0)$) and tracks the diagram from there. However, with the upper bound set at $k1=15.0$ the bifurcation diagram has a disjoint branch structure, preventing the full diagram from being computed by continuation alone. In this case it could be solved by increasing the bound from $k1=15.0$, however, this is not possible in all cases. In these cases, *deflation* can be used. This is described in the [BifurcationKit documentation](https://bifurcationkit.github.io/BifurcationKitDocs.jl/dev/tutorials/tutorials2/#Snaking-computed-with-deflation).
@@ -103,7 +103,7 @@ bprob = BifurcationProblem(kinase_model, u_guess, p_start, :d; plot_var = :Xp, u
103103
104104
p_span = (0.1, 10.0)
105105
opts_br = ContinuationPar(p_min = p_span[1], p_max = p_span[2], max_steps = 1000)
106-
bif_dia = bifurcationdiagram(bprob, PALC(), 2, opts_br; bothside = true)
106+
bif_dia = bifurcationdiagram(bprob, PALC(), 2, (args...) -> opts_br; bothside = true)
107107
plot(bif_dia; xguide = "d", yguide = "Xp")
108108
```
109109
This bifurcation diagram does not contain any interesting features (such as bifurcation points), and only shows how the steady state concentration of $Xp$ is reduced as $d$ increases.

0 commit comments

Comments
 (0)