You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 49e8a04
Browse filesBrowse the repository at this point in the historyBrowse files
The `@mtkmodel` DSL was removed in ModelingToolkit v11 in favor of the
functional component form (`@component function ... System(eqs, t; name) end`).
This updates the quad-tank parameter-fitting example accordingly:
- `@mtkmodel QuadtankModel begin ... end` -> `@component function QuadtankModel(; name) ... end`
- array variable defaults must match size: `h(t)[1:4] = 0` -> `= zeros(4)`
- `ModelingToolkit.defaults(io_sys)[pi]` -> `ModelingToolkit.getdefault(pi)`
Verified end-to-end on ModelingToolkit v11.36.0; the estimated parameters
still match the true values. Output block, benchmark timing, and the
tested-version note in the warning are updated to match.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ModelingToolkit is a fast moving target that breaks frequently. The example below was tested with ModelingToolkit v10.0.1, but is not run as part of the build process for this documentation and is not to be considered a supported interface between ControlSystemIdentification and ModelingToolkit.
169
+
ModelingToolkit is a fast moving target that breaks frequently. This example was tested with ModelingToolkit v11.36.0, but is not run as part of the build process for this documentation and is not to be considered a supported interface between ControlSystemIdentification and ModelingToolkit.
0 commit comments