Skip to content

Commit

Permalink
fix acausal tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Oct 8, 2023
1 parent 7370a45 commit c679dd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ModelingToolkit"
uuid = "961ee093-0014-501f-94e3-6117800e7a78"
authors = ["Yingbo Ma <[email protected]>", "Chris Rackauckas <[email protected]> and contributors"]
version = "8.71.2"
version = "8.72.0"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down
6 changes: 3 additions & 3 deletions docs/src/tutorials/acausal_components.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ This is done as follows:
u0 = [rc_model.capacitor.v => 0.0
rc_model.capacitor.p.i => 0.0]
prob = ODEProblem(sys, u0, (0, 10.0))
prob = ODEProblem(rc_model, u0, (0, 10.0))
sol = solve(prob, Rodas4())
plot(sol)
```
Expand All @@ -331,7 +331,7 @@ letter `A`):
u0 = [
rc_model.capacitor.v => 0.0,
]
prob = ODAEProblem(sys, u0, (0, 10.0))
prob = ODAEProblem(rc_model, u0, (0, 10.0))
sol = solve(prob, Rodas4())
plot(sol)
```
Expand All @@ -344,7 +344,7 @@ like `structural_simplify` simply change state variables into observables which
defined by `observed` equations.

```@example acausal
observed(sys)
observed(rc_model)
```

These are explicit algebraic equations which can then be used to reconstruct
Expand Down

0 comments on commit c679dd9

Please sign in to comment.