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
Copy file name to clipboardExpand all lines: docs/src/tutorials/parameter_identifiability.md
+65-51Lines changed: 65 additions & 51 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,15 +29,14 @@ y_2 = x_5\end{cases}$$
29
29
This model describes the biohydrogenation[^1] process[^2] with unknown initial conditions.
30
30
31
31
### Using the `ODESystem` object
32
-
To define the system in Julia, we use `ModelingToolkit.jl`.
32
+
To define the ode system in Julia, we use `ModelingToolkit.jl`.
33
33
34
-
We first define the parameters, variables, differential equations and the output equations. Notice that the system does not have any input functions, so inputs will be an empty array.
35
-
36
-
```@example
34
+
We first define the parameters, variables, differential equations and the output equations.
35
+
```julia
37
36
using StructuralIdentifiability, ModelingToolkit
38
37
39
38
# define parameters and variables
40
-
@variables t x4(t) x5(t) x6(t) x7(t) y1(t) y2(t)
39
+
@variables t x4(t) x5(t) x6(t) x7(t) y1(t) [output=true] y2(t) [output=true]
Notice that in this case, everything (except the state variable $x_7$) is locally identifiable, including combinations such as $k_{10}/k_9, k_5+k_6$
@@ -94,66 +106,68 @@ $$\begin{cases}
94
106
95
107
This model describes enzyme dynamics[^3]. Let us run a global identifiability check on this model. We will use the default settings: the probability of correctness will be `p=0.99` and we are interested in identifiability of all possible parameters
96
108
97
-
Global identifiability needs information about local identifiability first, hence the function we chose here will take care of that extra step for us.
109
+
Global identifiability needs information about local identifiability first, but the function we chose here will take care of that extra step for us.
98
110
99
-
```@repl
111
+
__Note__: as of writing this tutorial, UTF-symbols such as Greek characters are not supported by one of the project's dependencies, see (this issue)[https://github.com/SciML/StructuralIdentifiability.jl/issues/43].
112
+
113
+
```julia
100
114
using StructuralIdentifiability, ModelingToolkit
101
-
@parameters b c α β γ δ σ
102
-
@variables t x1(t) x2(t) x3(t) x4(t) y(t)
115
+
@parameters b c a beta g delta sigma
116
+
@variables t x1(t) x2(t) x3(t) x4(t) y(t) [output=true]
Both parameters $b, c$ are globally identifiable with probability 0.9.
157
171
158
172
[^1]:
159
173
> R. Munoz-Tamayo, L. Puillet, J.B. Daniel, D. Sauvant, O. Martin, M. Taghipoor, P. Blavy [*Review: To be or not to be an identifiable model. Is this a relevant question in animal science modelling?*](https://doi.org/10.1017/S1751731117002774), Animal, Vol 12 (4), 701-712, 2018. The model is the ODE system (3) in Supplementary Material 2, initial conditions are assumed to be unknown.
0 commit comments