Skip to content

Commit 6da4fa9

Browse files
Update dc_motor_pi.md
1 parent 6928f51 commit 6da4fa9

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

docs/src/tutorials/dc_motor_pi.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ Now the model can be simulated. Typical rotational mechanical systems are descri
7575
(differential algebraic equations), however in this case, ModelingToolkit can simplify the model enough
7676
so that it can be represented as a system of `ODEs` (ordinary differential equations).
7777

78-
!!! note "Initial Conditions"
79-
We provide complete initial conditions for all state variables to avoid initialization warnings.
80-
These include the inductor current, inertia angular velocity and position, and the PI controller integrator state.
81-
8278
```@example dc_motor_pi
8379
sys = mtkcompile(model)
8480
# Provide complete initial conditions for all state variables
@@ -98,11 +94,6 @@ p2 = plot(sol.t, sol[sys.load.tau.u], ylabel = "Disturbance in Nm", label = "")
9894
plot(p1, p2, layout = (2, 1))
9995
```
10096

101-
!!! note "Pluto Notebooks"
102-
If you're using this example in a Pluto notebook, note that Pluto requires each variable to have a unique name.
103-
If you encounter "Multiple definitions" errors, rename variables accordingly (e.g., `simplified_sys1`, `simplified_sys2`, etc.).
104-
This is due to Pluto's reactive behavior where all variables must be uniquely named for automatic dependency tracking.
105-
10697
## Closed-loop analysis
10798

10899
When implementing and tuning a control system in simulation, it is a good practice to analyze the closed-loop properties and verify robustness of the closed-loop with respect to, e.g., modeling errors. To facilitate this, we added two analysis points to the set of connections above, more specifically, we added the analysis points named `:y` and `:u` to the connections (for more details on analysis points, see [Linear Analysis](@ref))

0 commit comments

Comments
 (0)