Skip to content

Commit fd60c71

Browse files
committed
updates. move petab doc page
1 parent e5c2680 commit fd60c71

File tree

5 files changed

+63
-5
lines changed

5 files changed

+63
-5
lines changed
File renamed without changes.

docs/pages.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pages = Any[
2727
# Simulation introduction.
2828
# Simulation plotting.
2929
"model_simulation/simulation_structure_interfacing.md",
30-
# Monte Carlo/Ensemble simulations.
30+
"model_simulation/TOBEREMOVED_advanced_simulations.md",# Monte Carlo/Ensemble simulations.
3131
# Stochastic simulation statistical analysis.
3232
# ODE Performance considerations/advice.
3333
# SDE Performance considerations/advice.

docs/src/assets/Project.toml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
[deps]
2+
BifurcationKit = "0f109fa4-8a5d-4b75-95aa-f515264e7665"
3+
Catalyst = "479239e8-5488-4da2-87a7-35f2df7eef83"
4+
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
5+
DiffEqParamEstim = "1130ab10-4a5a-5621-a13d-e4788d82bd4c"
6+
DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa"
7+
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
8+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
9+
HomotopyContinuation = "f213a82b-91d6-5c5d-acf7-10f1c761b327"
10+
Latexify = "23fbe1c1-3f47-55db-b15f-69d7ec21a316"
11+
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
12+
ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
13+
NonlinearSolve = "8913a72c-1f9b-4ce2-8d82-65094dcecaec"
14+
Optim = "429524aa-4258-5aef-a3af-852621145aeb"
15+
Optimization = "7f7a1694-90dd-40f0-9382-eb1efda571ba"
16+
OptimizationNLopt = "4e6fcdb7-1186-4e1f-a706-475e75c168bb"
17+
OptimizationOptimJL = "36348300-93cb-4f02-beb5-3c3902f8871e"
18+
OptimizationOptimisers = "42dfb2eb-d2b4-4451-abcd-913932933ac1"
19+
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
20+
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
21+
QuasiMonteCarlo = "8a4e6c94-4038-4cdc-81c3-7e6ffdb2a71b"
22+
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
23+
SciMLSensitivity = "1ed8b502-d754-442c-8d5d-10ac956f44a1"
24+
Setfield = "efcf1570-3423-57d1-acb7-fd33fddbac46"
25+
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
26+
SteadyStateDiffEq = "9672c7b4-1e72-59bd-8a11-6ac3964bc41f"
27+
StochasticDiffEq = "789caeaf-c7a9-5a7d-9973-96adeb23e2a0"
28+
StructuralIdentifiability = "220ca800-aa68-49bb-acd8-6037fa93a544"
29+
Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"
30+
31+
[compat]
32+
BifurcationKit = "0.3"
33+
Catalyst = "13"
34+
DataFrames = "1"
35+
DiffEqParamEstim = "2.1"
36+
DifferentialEquations = "7.7"
37+
Distributions = "0.25"
38+
Documenter = "0.27"
39+
HomotopyContinuation = "2.6"
40+
Latexify = "0.15, 0.16"
41+
ModelingToolkit = "9.5"
42+
NonlinearSolve = "3.4.0"
43+
Optim = "1"
44+
Optimization = "3.19"
45+
OptimizationNLopt = "0.1.8"
46+
OptimizationOptimJL = "0.1.14"
47+
OptimizationOptimisers = "0.1.1"
48+
OrdinaryDiffEq = "6"
49+
Plots = "1.36"
50+
SciMLBase = "2.13"
51+
SciMLSensitivity = "7.19"
52+
Setfield = "1.1"
53+
SpecialFunctions = "2.1"
54+
SteadyStateDiffEq = "2.0.1"
55+
StochasticDiffEq = "6"
56+
StructuralIdentifiability = "0.5.1"
57+
Symbolics = "5.14"

docs/src/model_creation/dsl_description.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,11 @@ variables in Julia.
4141
The chemical reaction model is generated by the `@reaction_network` macro and
4242
stored in the `rn` variable (a normal Julia variable, which does not need to be
4343
called `rn`). It corresponds to a [`ReactionSystem`](@ref), a symbolic
44-
representation of the chemical network. The generated `ReactionSystem` can be
44+
representation of the chemical network. The generated `ReactionSystem` can be
4545
converted to a symbolic differential equation model via
4646
```@example tut2
47-
osys = convert(ODESystem, rn)
47+
osys = convert(ODESystem, rn)
48+
osys = complete(osys)
4849
```
4950

5051
We can then convert the symbolic ODE model into a compiled, optimized

docs/src/model_simulation/TOBEREMOVED_advanced_simulations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ p = [:k => 1.0]
226226
oprob = ODEProblem(rn, u0, tspan, p)
227227
228228
condition = [5.0]
229-
affect!(integrator) = integrator[:k] = 5.0
229+
affect!(integrator) = integrator.ps[:k] = 5.0
230230
ps_cb = PresetTimeCallback(condition, affect!)
231231
232232
sol = solve(deepcopy(oprob); callback = ps_cb)
@@ -279,7 +279,7 @@ jprob = JumpProblem(rn, dprob, Direct())
279279
condition = [5.0]
280280
function affect!(integrator)
281281
integrator[:X1] += 5.0
282-
integrator[:k] += 2.0
282+
integrator.ps[:k] += 2.0
283283
reset_aggregated_jumps!(integrator)
284284
nothing
285285
end

0 commit comments

Comments
 (0)