Skip to content

Commit

Permalink
chore: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianM-C committed Oct 3, 2024
1 parent e07fe31 commit f3ef95e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/tutorials/dc_motor_pi.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ so that it can be represented as a system of `ODEs` (ordinary differential equat

```@example dc_motor_pi
sys = structural_simplify(model)
prob = ODEProblem(sys, [sys.L1.i => 0.0,], (0, 6.0))
prob = ODEProblem(sys, [sys.L1.i => 0.0], (0, 6.0))
sol = solve(prob)
p1 = plot(sol.t, sol[sys.inertia.w], ylabel = "Angular Vel. in rad/s",
Expand Down
4 changes: 2 additions & 2 deletions docs/src/tutorials/input_component.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This tutorial demonstrate each case and explain the pros and cons of each.
## `Interpolation` Block

The `ModelingToolkitStandardLibrary.Blocks.Interpolation` component is easy to use and is performant.
It is simlar to using callable paramterers, but it provides a block interface with `RealInput` and `RealOutput` connectors.
It is similar to using callable parameters, but it provides a block interface with `RealInput` and `RealOutput` connectors.
The `Interpolation` is compatible with interpolation types from `DataInterpolation`.

```@docs
Expand Down Expand Up @@ -150,7 +150,7 @@ plot(sol2)
```

!!! note
Note that when changing the data, the length of the new data must be the same as the lenght of the original data.
Note that when changing the data, the length of the new data must be the same as the length of the original data.

## Custom Component with External Data

Expand Down

0 comments on commit f3ef95e

Please sign in to comment.