Skip to content

Commit 2c0eb01

Browse files
committed
full_equations in ode modeling tutorial
1 parent 339b4a7 commit 2c0eb01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/tutorials/ode_modeling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,14 +248,14 @@ connected_simp = structural_simplify(connected)
248248
# [1, 3] = ×
249249
# [2, 4] = ×
250250

251-
equations(connected_simp)
251+
full_equations(connected_simp)
252252
# 2-element Array{Equation,1}:
253253
# Differential(t)(fol_1₊x(t)) ~ (fol_1₊τ^-1)*(1.5 - fol_1₊x(t))
254254
# Differential(t)(fol_2₊x(t)) ~ (fol_2₊τ^-1)*(fol_1₊x(t) - fol_2₊x(t))
255255
```
256-
257256
As expected, only the two state-derivative equations remain,
258257
as if you had manually eliminated as many variables as possible from the equations.
258+
Some observed variables are not expanded unless `full_equations` is used.
259259
As mentioned above, the hierarchical structure is preserved though. So the
260260
initial state and the parameter values can be specified accordingly when
261261
building the `ODEProblem`:

0 commit comments

Comments
 (0)