Skip to content

Commit 30c3165

Browse files
Merge pull request #329 from SciML/docs
Fix DC Motor tutorial
2 parents 197434e + 5e9d675 commit 30c3165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/tutorials/dc_motor_pi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ matrices_S, simplified_sys = Blocks.get_sensitivity(
111111
model, :y, op = Dict(unknowns(sys) .=> 0.0))
112112
So = ss(matrices_S...) |> minreal # The output-sensitivity function as a StateSpace system
113113
matrices_T, simplified_sys = Blocks.get_comp_sensitivity(
114-
model, :y, op = Dict(model.inertia.phi => 0.0, model.inertia.w => 0.0))
114+
model, :y, op = Dict(sys.inertia.phi => 0.0, sys.inertia.w => 0.0))
115115
To = ss(matrices_T...)# The output complementary sensitivity function as a StateSpace system
116116
bodeplot([So, To], label = ["S" "T"], plot_title = "Sensitivity functions",
117117
plotphase = false)

0 commit comments

Comments
 (0)