Skip to content

Commit d671621

Browse files
committed
up
1 parent 940861e commit d671621

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/src/faqs.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Let's convert it to a system of ODEs, using the conservation laws of the system
1818
to eliminate two of the species:
1919
```@example faq1
2020
osys = convert(ODESystem, rn; remove_conserved = true)
21+
osys = complete(osys)
2122
```
2223
Notice the resulting ODE system has just one ODE, while algebraic observables
2324
have been added for the two removed species (in terms of the conservation law
@@ -221,6 +222,7 @@ rx1 = @reaction k, A --> 0
221222
rx2 = @reaction $f, 0 --> A
222223
eq = f ~ (1 + sin(t))
223224
@named rs = ReactionSystem([rx1, rx2, eq], t)
225+
rs = complete(rs)
224226
osys = convert(ODESystem, rs)
225227
```
226228
In the final ODE model, `f` can be eliminated by using

0 commit comments

Comments
 (0)