Skip to content

Commit 043abf3

Browse files
authored
Change wording from initial guess to initial condition (#2598)
Since the text was talking about the "default value" and not the "guess metadata"
1 parent 7ff933a commit 043abf3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/src/tutorials/ode_modeling.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -315,9 +315,9 @@ plot(solve(prob))
315315

316316
More on this topic may be found in [Composing Models and Building Reusable Components](@ref acausal).
317317

318-
## Initial Guess
318+
## Default Initial Condition
319319

320-
It is often a good idea to specify reasonable values for the initial unknown and the
320+
It is often a good idea to specify reasonable values for the initial value of unknowns and the
321321
parameters of a model component. Then, these do not have to be explicitly specified when constructing the `ODEProblem`.
322322

323323
```@example ode2
@@ -334,15 +334,15 @@ parameters of a model component. Then, these do not have to be explicitly specif
334334
end
335335
```
336336

337-
While defining the model `UnitstepFOLFactory`, an initial guess of 0.0 is assigned to `x(t)` and 1.0 to `τ`.
338-
Additionally, these initial guesses can be modified while creating instances of `UnitstepFOLFactory` by passing arguments.
337+
While defining the model `UnitstepFOLFactory`, an initial condition of 0.0 is assigned to `x(t)` and 1.0 to `τ`.
338+
Additionally, these initial conditions can be modified while creating instances of `UnitstepFOLFactory` by passing arguments.
339339

340340
```@example ode2
341341
@mtkbuild fol = UnitstepFOLFactory(; x = 0.1)
342342
sol = ODEProblem(fol, [], (0.0, 5.0), []) |> solve
343343
```
344344

345-
In non-DSL definitions, one can pass `defaults` dictionary to set the initial guess of the symbolic variables.
345+
In non-DSL definitions, one can pass `defaults` dictionary to set the initial conditions of the symbolic variables.
346346

347347
```@example ode3
348348
using ModelingToolkit

0 commit comments

Comments
 (0)