Commit e3b49b7
committed
docs: namespace MTK analysis-point helpers and import ImplicitEuler
After #448 unblocked the connections.md operating_point error, the
Documentation build surfaced two further breakages on main:
- `dc_motor_pi.md` uses `Blocks.get_sensitivity`, `Blocks.get_comp_sensitivity`,
`Blocks.get_looptransfer`. Those helpers moved out of
`ModelingToolkitStandardLibrary.Blocks` into `ModelingToolkit` proper, so the
`Blocks.` prefix now hits `UndefVarError`. Use `ModelingToolkit.` instead.
- `input_component.md`'s `custom_component_external_data` example calls
`solve(prob, ImplicitEuler())`, but OrdinaryDiffEq v7 no longer re-exports
`ImplicitEuler`. Add `using OrdinaryDiffEqSDIRK: ImplicitEuler`.
Two further docs failures remain (separate root causes, deferred):
- `custom_component.md` `@mtkmodel ChaoticAttractor` can't see the
`NonlinearResistor` defined in an earlier `@example` block of the same
name — looks like a hygiene/lookup issue in the SciCompDSL `@mtkmodel`
expansion when the constructor body runs in a Documenter `@example`
module.
- `MethodError: fntype_X_Y(::Type{Real})` from SymbolicUtils inside
the BSplineInterpolation/parametrized_interpolation example —
upstream SymbolicUtils dispatch gap.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>1 parent e24320e commit e3b49b7
2 files changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| 190 | + | |
190 | 191 | | |
191 | 192 | | |
192 | 193 | | |
| |||
0 commit comments