Skip to content

Commit

Permalink
Merge pull request #329 from SciML/docs
Browse files Browse the repository at this point in the history
Fix DC Motor tutorial
  • Loading branch information
ChrisRackauckas authored Sep 12, 2024
2 parents 197434e + 5e9d675 commit 30c3165
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -111,7 +111,7 @@ matrices_S, simplified_sys = Blocks.get_sensitivity(
model, :y, op = Dict(unknowns(sys) .=> 0.0))
So = ss(matrices_S...) |> minreal # The output-sensitivity function as a StateSpace system
matrices_T, simplified_sys = Blocks.get_comp_sensitivity(
model, :y, op = Dict(model.inertia.phi => 0.0, model.inertia.w => 0.0))
model, :y, op = Dict(sys.inertia.phi => 0.0, sys.inertia.w => 0.0))
To = ss(matrices_T...)# The output complementary sensitivity function as a StateSpace system
bodeplot([So, To], label = ["S" "T"], plot_title = "Sensitivity functions",
plotphase = false)
Expand Down

0 comments on commit 30c3165

Please sign in to comment.