Skip to content

Commit a337514

Browse files
update the system pages
1 parent 89beb2a commit a337514

File tree

9 files changed

+30
-29
lines changed

9 files changed

+30
-29
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ p = [lorenz1.σ => 10.0,
9999

100100
tspan = (0.0,100.0)
101101
prob = ODEProblem(connected,u0,tspan,p)
102-
sol = solve(prob,Rodas5())
102+
sol = solve(prob,Rodas4())
103103

104104
using Plots; plot(sol,vars=(a,lorenz1.x,lorenz2.z))
105105
```

docs/src/systems/ControlSystem.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ ControlSystem
88

99
## Composition and Accessor Functions
1010

11-
- `sys.eqs` or `equations(sys)`: The equations that define the system.
12-
- `sys.states` or `states(sys)`: The set of states in the system.
13-
- `sys.parameters` or `parameters(sys)`: The parameters of the system.
14-
- `sys.controls` or `controls(sys)`: The control variables of the system
11+
- `get_eqs(sys` or `equations(sys)`: The equations that define the system.
12+
- `get_states(sys)` or `states(sys)`: The set of states in the system.
13+
- `get_ps(sys)` or `parameters(sys)`: The parameters of the system.
14+
- `get_controls(sys)` or `controls(sys)`: The control variables of the system
1515

1616
## Transformations
1717

docs/src/systems/JumpSystem.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ JumpSystem
88

99
## Composition and Accessor Functions
1010

11-
- `sys.eqs` or `equations(sys)`: The equations that define the jump system.
12-
- `sys.states` or `states(sys)`: The set of states in the jump system.
13-
- `sys.parameters` or `parameters(sys)`: The parameters of the jump system.
14-
- `sys.iv` or `independent_variable(sys)`: The independent variable of the jump system.
11+
- `get_eqs(sys)` or `equations(sys)`: The equations that define the jump system.
12+
- `get_states(sys)` or `states(sys)`: The set of states in the jump system.
13+
- `get_ps(sys)` or `parameters(sys)`: The parameters of the jump system.
14+
- `independent_variable(sys)`: The independent variable of the jump system.
1515

1616
## Problem Constructors
1717

docs/src/systems/NonlinearSystem.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ NonlinearSystem
88

99
## Composition and Accessor Functions
1010

11-
- `sys.eqs` or `equations(sys)`: The equations that define the nonlinear system.
12-
- `sys.states` or `states(sys)`: The set of states in the nonlinear system.
13-
- `sys.parameters` or `parameters(sys)`: The parameters of the nonlinear system.
11+
- `get_eqs(sys)` or `equations(sys)`: The equations that define the nonlinear system.
12+
- `get_states(sys)` or `states(sys)`: The set of states in the nonlinear system.
13+
- `get_ps(sys)` or `parameters(sys)`: The parameters of the nonlinear system.
1414

1515
## Transformations
1616

docs/src/systems/ODESystem.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ ODESystem
88

99
## Composition and Accessor Functions
1010

11-
- `sys.eqs` or `equations(sys)`: The equations that define the ODE.
12-
- `sys.states` or `states(sys)`: The set of states in the ODE.
13-
- `sys.parameters` or `parameters(sys)`: The parameters of the ODE.
14-
- `sys.iv` or `independent_variable(sys)`: The independent variable of the ODE.
11+
- `get_eqs(sys)` or `equations(sys)`: The equations that define the ODE.
12+
- `get_states(sys)` or `states(sys)`: The set of states in the ODE.
13+
- `get_ps(sys)` or `parameters(sys)`: The parameters of the ODE.
14+
- `independent_variable(sys)`: The independent variable of the ODE.
1515

1616
## Transformations
1717

docs/src/systems/OptimizationSystem.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ OptimizationSystem
88

99
## Composition and Accessor Functions
1010

11-
- `sys.eqs` or `equations(sys)`: The equation to be minimized.
12-
- `sys.states` or `states(sys)`: The set of states for the optimization.
13-
- `sys.parameters` or `parameters(sys)`: The parameters for the optimization.
11+
- `get_eqs(sys)` or `equations(sys)`: The equation to be minimized.
12+
- `get_states(sys)` or `states(sys)`: The set of states for the optimization.
13+
- `get_ps(sys)` or `parameters(sys)`: The parameters for the optimization.
1414

1515
## Transformations
1616

docs/src/systems/ReactionSystem.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@ ReactionSystem
4242

4343
## Composition and Accessor Functions
4444

45-
- `sys.eqs` or `equations(sys)`: The reactions that define the system.
46-
- `sys.states` or `states(sys)`: The set of chemical species in the system.
47-
- `sys.parameters` or `parameters(sys)`: The parameters of the system.
48-
- `sys.iv` or `independent_variable(sys)`: The independent variable of the reaction system, usually time.
45+
- `get_eqs(sys)` or `equations(sys)`: The reactions that define the system.
46+
- `get_states(sys)` or `states(sys)`: The set of chemical species in the system.
47+
- `get_ps(sys)` or `parameters(sys)`: The parameters of the system.
48+
- `independent_variable(sys)`: The independent variable of the
49+
reaction system, usually time.
4950

5051
## Query Functions
5152
```@docs

docs/src/systems/SDESystem.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ SDESystem
88

99
## Composition and Accessor Functions
1010

11-
- `sys.eqs` or `equations(sys)`: The equations that define the SDE.
12-
- `sys.states` or `states(sys)`: The set of states in the SDE.
13-
- `sys.parameters` or `parameters(sys)`: The parameters of the SDE.
14-
- `sys.iv` or `independent_variable(sys)`: The independent variable of the SDE.
11+
- `get_eqs(sys)` or `equations(sys)`: The equations that define the SDE.
12+
- `get_states(sys)` or `states(sys)`: The set of states in the SDE.
13+
- `get_ps(sys)s` or `parameters(sys)`: The parameters of the SDE.
14+
- `independent_variable(sys)`: The independent variable of the SDE.
1515

1616
## Transformations
1717

docs/src/tutorials/ode_modeling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ p = [lorenz1.σ => 10.0,
4141

4242
tspan = (0.0,100.0)
4343
prob = ODEProblem(connected,u0,tspan,p)
44-
sol = solve(prob,Rodas5())
44+
sol = solve(prob,Rodas4())
4545

4646
using Plots; plot(sol,vars=(a,lorenz1.x,lorenz2.z))
4747
```
@@ -150,7 +150,7 @@ p = [lorenz1.σ => 10.0,
150150

151151
tspan = (0.0,100.0)
152152
prob = ODEProblem(connected,u0,tspan,p)
153-
sol = solve(prob,Rodas5())
153+
sol = solve(prob,Rodas4())
154154

155155
using Plots; plot(sol,vars=(a,lorenz1.x,lorenz2.z))
156156
```

0 commit comments

Comments
 (0)