Recent Releases of ModelingToolkit
ModelingToolkit - v10.21.0
ModelingToolkit v10.21.0
Merged pull requests:
- feat: more robust inputs/outputs handling (#3795) (@AayushSabharwal)
- feat: add respecialize (#3900) (@AayushSabharwal)
- build: bump minor version (#3904) (@AayushSabharwal)
- Julia
Published by github-actions[bot] 9 months ago
ModelingToolkit - v10.20.0
ModelingToolkit v10.20.0
Merged pull requests:
- Updated tests for the new behaviour of SymbolicUtils simplify function (#3893) (@Bumblebee00)
- fix: fix callback with non-Real parameter and non-empty unknowns (#3894) (@AayushSabharwal)
- feat: ensure causal connectors generate causally ordered equations (#3898) (@AayushSabharwal)
- build: bump minor version (#3899) (@AayushSabharwal)
- Julia
Published by github-actions[bot] 10 months ago
ModelingToolkit - v10.19.0
ModelingToolkit v10.19.0
Merged pull requests:
- Fix cache issues with self-hosted runners (#3879) (@ChrisRackauckas-Claude)
- chore: add change_tunables (#3886) (@DhairyaLGandhi)
- Add missing API documentation for all exported symbols (#3887) (@ChrisRackauckas-Claude)
- test: avoid intermittent stack overflow in test (#3889) (@AayushSabharwal)
- fix: fix simplification of empty systems (#3890) (@AayushSabharwal)
Closed issues: - Observed variables are computed even when unused (#2902) - Allow subsetting tunables after system creation (#3772)
- Julia
Published by github-actions[bot] 10 months ago
ModelingToolkit - v10.18.0
ModelingToolkit v10.18.0
Merged pull requests:
- feat: use LinearProblem for linear SCCs in SCCNonlinearProblem (#3760) (@AayushSabharwal)
- Julia
Published by github-actions[bot] 10 months ago
ModelingToolkit - v10.17.0
ModelingToolkit v10.17.0
Merged pull requests: - fix: fix single-element symbolic tstops (#3874) (@AayushSabharwal) - CompatHelper: bump compat for ImplicitDiscreteSolve to 1, (keep existing compat) (#3880) (@github-actions[bot]) - fix deprecated ODEProblem syntax in Debugging.md (#3881) (@asinghvi17) - refactor: mark several functions as public API (#3884) (@AayushSabharwal) - Fix orientation getter (#3885) (@baggepinnen)
Closed issues: - Control function doesn't work: BoundsError: attempt to access Tuple{Vector{Any}, Nothing} at index 3
- Julia
Published by github-actions[bot] 10 months ago
ModelingToolkit - v10.16.0
ModelingToolkit v10.16.0
Merged pull requests:
- Add support for an external synchronous compiler to discrete and hybrid systems (#3399) (@BenChung)
- fix: fix @mtkbuild not working when @mtkcompile is not imported (#3841) (@AayushSabharwal)
- Forward split to mtkcompile (#3875) (@DhairyaLGandhi)
- fix: unwrap substitution rules in nlstep=true (#3877) (@AayushSabharwal)
- build: bump minor version (#3878) (@AayushSabharwal)
Closed issues:
- split not forwarded from generate_control_function (#3859)
- nlstep broken for modelingtoolkitize (#3876)
- Julia
Published by github-actions[bot] 10 months ago
ModelingToolkit - v10.15.0
ModelingToolkit v10.15.0
Merged pull requests:
- fix: fix OptimizationFunction generation of exprs (#3844) (@AayushSabharwal)
- Apply JuliaFormatter v2 to fix formatting CI (#3845) (@ChrisRackauckas)
- Apply JuliaFormatter to fix code formatting (#3846) (@ChrisRackauckas)
- Remove outdated Julia version checks from tests (#3847) (@ChrisRackauckas)
- Remove nonlinearsolve as a dep by just using the default nonlinearsolve (#3851) (@ChrisRackauckas)
- Document EvalAt operator (#3852) (@ChrisRackauckas)
- Add downgrade CI workflow with InterfaceI test group (#3854) (@ChrisRackauckas)
- Fix deprecated ODESystem and @mtkbuild usage in documentation examples (#3856) (@ChrisRackauckas)
- Fix CI deprecation warnings (#3858) (@ChrisRackauckas)
- [ci-skip] Revert JuliaFormatter PR #3846 (#3860) (@ChrisRackauckas)
- Add solver kwargs to prob docstrings (#3861) (@ChrisRackauckas)
- Apply JuliaFormatter to fix code formatting (#3862) (@ChrisRackauckas)
- fix: fix incorrect metadata handling in symbolic affect simplification (#3868) (@AayushSabharwal)
- Add nlstep_compile as a debug tool for turning off simplification (#3873) (@ChrisRackauckas)
Closed issues:
- Support for Synchronous Systems (#3826)
- Document EvalAt (#3849)
- Julia
Published by github-actions[bot] 10 months ago
ModelingToolkit - v10.14.0
ModelingToolkit v10.14.0
Merged pull requests:
- fix reorder_unknowns (#3833) (@baggepinnen)
- ci(tests): use the latest "pre-release" version of the reusable workflow (#3836) (@thazhemadam)
- update ForwardDiff to 1 (#3843) (@oscardssmith)
Closed issues: - SDESystem example MTKv10.0.1 error (#3687) - ModelingToolkit.reorder_unknowns() returns the wrong permutation? (#3814)
- Julia
Published by github-actions[bot] 10 months ago
ModelingToolkit - v10.13.0
ModelingToolkit v10.13.0
Merged pull requests:
- feat: make nlprobmap in-place (#3832) (@AayushSabharwal)
- Julia
Published by github-actions[bot] 11 months ago
ModelingToolkit - v10.12.0
ModelingToolkit v10.12.0
Merged pull requests:
- feat: generate SciMLBase.ODE_NLProbData (#3827) (@AayushSabharwal)
- Julia
Published by github-actions[bot] 11 months ago
ModelingToolkit - v10.11.0
ModelingToolkit v10.11.0
Merged pull requests:
- fix: fix get_mtkparameters_reconstructor handling of nonnumerics (#3796) (@AayushSabharwal)
- Disable unit checking of initialization problem during remake (#3797) (@contradict)
- refactor: format (#3803) (@AayushSabharwal)
- fix: fix bad input ordering, make downstream tests pass (#3804) (@AayushSabharwal)
- feat: rewrite clock inference to support polyadic synchronous operators (#3808) (@AayushSabharwal)
- Fix downstream linearization test (#3809) (@contradict)
- Fix typo (#3810) (@asinghvi17)
- fix: compile symbolic affects after mtkcompile in complete (#3812) (@AayushSabharwal)
- test: disable CasADi tests on Julia-v1.10 (#3817) (@AayushSabharwal)
- refactor: move @compile_workload to after exports (#3818) (@AayushSabharwal)
- test: LinearProblem tests are no longer broken (#3821) (@AayushSabharwal)
- fix: fix parameter dependencies dependent on scalarized array parameter (#3822) (@AayushSabharwal)
- build: bump minor version (#3830) (@AayushSabharwal)
Closed issues:
- Unintuitive behavior for including metadata in @parameters/@variables begin end (#2770)
- @compile_workload should run after any export statements (#3811)
- Add new() syntax to events (#3825)
- Julia
Published by github-actions[bot] 11 months ago
ModelingToolkit - v10.10.0
ModelingToolkit v10.10.0
Merged pull requests:
- [v9] feat: allow using System as a type (#3801) (@AayushSabharwal)
- feat: make deprecated ODESystem alias System type (#3806) (@AayushSabharwal)
- build: bump minor version (#3807) (@AayushSabharwal)
- Julia
Published by github-actions[bot] 11 months ago
ModelingToolkit - v9.82.0
ModelingToolkit v9.82.0
This release has been identified as a backport.
Automated changelogs for backports tend to be wildly incorrect.
Therefore, the list of issues and pull requests is hidden.
<!--
Merged pull requests:
- fix: fix handling of loop openings for systems that are nonlinear in the inputs (#3774) (@AayushSabharwal)
- build: bump minor version (#3793) (@AayushSabharwal)
- Fix formatter crash (#3800) (@contradict)
- [v9] feat: allow using System as a type (#3801) (@AayushSabharwal)
- build: bump minor version (#3805) (@AayushSabharwal)
Closed issues: - Less strict dataflow connection semantics (#3442)
-->
- Julia
Published by github-actions[bot] 11 months ago
ModelingToolkit - v10.9.0
ModelingToolkit v10.9.0
Merged pull requests: - Fix formatter crash (#3800) (@contradict) - build: bump minor version (#3805) (@AayushSabharwal)
Closed issues: - Less strict dataflow connection semantics (#3442)
- Julia
Published by github-actions[bot] 11 months ago
ModelingToolkit - v10.8.0
ModelingToolkit v10.8.0
Merged pull requests:
- fix linearization t0 and bump di (#3733) (@oscardssmith)
- [v9] fix: retain events and metadata in substitute (#3770) (@AayushSabharwal)
- fix: fix handling of loop openings for systems that are nonlinear in the inputs (#3774) (@AayushSabharwal)
- Trivial optimization in generate_initializesystem (#3779) (@hersle)
- CompatHelper: bump compat for BifurcationKit in [weakdeps] to 0.5, (keep existing compat) (#3783) (@github-actions[bot])
- CompatHelper: bump compat for BifurcationKit to 0.5 for package docs, (keep existing compat) (#3784) (@github-actions[bot])
- build: bump minor version (#3793) (@AayushSabharwal)
Closed issues: - Constantify a parameter - New feature request (#1989) - MTKv10 discussion (#3204) - Error when precompling MTK: Failed to precompile JuliaFormatter (#3785)
- Julia
Published by github-actions[bot] 11 months ago
ModelingToolkit - v9.81.1
ModelingToolkit v9.81.1
This release has been identified as a backport.
Automated changelogs for backports tend to be wildly incorrect.
Therefore, the list of issues and pull requests is hidden.
<!--
Merged pull requests:
- [v9] fix: retain events and metadata in substitute (#3770) (@AayushSabharwal)
-->
- Julia
Published by github-actions[bot] 11 months ago
ModelingToolkit - v9.81.0
ModelingToolkit v9.81.0
This release has been identified as a backport.
Automated changelogs for backports tend to be wildly incorrect.
Therefore, the list of issues and pull requests is hidden.
<!--
Merged pull requests:
- fix linearization t0 and bump di (#3733) (@oscardssmith)
- refactor: significantly improve performance of *Problem generation (#3751) (@AayushSabharwal)
- fix: do not add redundant var ~ 0 equations in underdetermined systems (#3759) (@AayushSabharwal)
- allow DataInterpolations@7 (#3761) (@oscardssmith)
- remove DataInterpolationsv6 and update tests (#3762) (@oscardssmith)
- fix: enable support for complex ODEProblem again (#3764) (@oameye)
- fix: spelling typos (#3765) (@oameye)
- build: bump minor version (#3766) (@AayushSabharwal)
- [v9] fix: enable support for complex ODEProblem again (#3768) (@AayushSabharwal)
- fix: retain events and metadata in substitute (#3769) (@AayushSabharwal)
- [v9] feat: significantly improve performance of *Problem generation (#3771) (@AayushSabharwal)
- build: bump minor version (#3773) (@AayushSabharwal)
- feat: implement isapprox for systems (#3777) (@AayushSabharwal)
- Trivial optimization in generateinitializesystem (#3779) (@hersle)
- fix: add Complex to check floating point sym (#3781) (@oameye)
- correct `sys.massatosys.mass_a` in FMU example (#3782) (@maysam-gholampour)
- CompatHelper: bump compat for BifurcationKit to 0.5 for package docs, (keep existing compat) (#3784) (@github-actions[bot])
- build: bump minor version (#3786) (@asinghvi17)
Closed issues:
- MTKv10 discussion (#3204)
- Catalyst issue for remake on SDEProblems (alias_elimination! related?) (#3302)
- substitute deletes events and metadata (#3731)
- Docs: Perturbation example figure broken by v10 (#3757)
- MTK doesn't support complex equations of motion since MTK@v9.73 (#3763)
- Installation of package gets stuck (#3767)
- Error when precompling MTK: Failed to precompile JuliaFormatter (#3785)
-->
- Julia
Published by github-actions[bot] 11 months ago
ModelingToolkit - v10.7.0
ModelingToolkit v10.7.0
Merged pull requests:
- [v9] fix: enable support for complex ODEProblem again (#3768) (@AayushSabharwal)
- fix: retain events and metadata in substitute (#3769) (@AayushSabharwal)
- [v9] feat: significantly improve performance of *Problem generation (#3771) (@AayushSabharwal)
- feat: implement isapprox for systems (#3777) (@AayushSabharwal)
- fix: add Complex to check floating point sym (#3781) (@oameye)
- correct sys.mass_a to sys.mass_a in FMU example (#3782) (@maysam-gholampour)
- build: bump minor version (#3786) (@asinghvi17)
Closed issues: - substitute deletes events and metadata (#3731) - Installation of package gets stuck (#3767)
- Julia
Published by github-actions[bot] 11 months ago
ModelingToolkit - v10.6.0
ModelingToolkit v10.6.0
Merged pull requests:
- refactor: significantly improve performance of *Problem generation (#3751) (@AayushSabharwal)
- build: bump minor version (#3773) (@AayushSabharwal)
- Julia
Published by github-actions[bot] 11 months ago
ModelingToolkit - v10.5.0
ModelingToolkit v10.5.0
Merged pull requests:
- ci: fix benchmark script (#3704) (@AayushSabharwal)
- Ensure DDEs are univariate (#3745) (@hersle)
- Pass along allow_input_derivatives (#3750) (@baggepinnen)
- fix: fix get_updated_symbolic_problem (#3753) (@AayushSabharwal)
- [v9] fix: fix get_updated_symbolic_problem (#3754) (@AayushSabharwal)
- CompatHelper: bump compat for CairoMakie to 0.15 for package docs, (keep existing compat) (#3756) (@github-actions[bot])
- Fix plot in perturbation example (#3758) (@hersle)
- fix: do not add redundant var ~ 0 equations in underdetermined systems (#3759) (@AayushSabharwal)
- allow DataInterpolations@7 (#3761) (@oscardssmith)
- remove DataInterpolationsv6 and update tests (#3762) (@oscardssmith)
- fix: enable support for complex ODEProblem again (#3764) (@oameye)
- fix: spelling typos (#3765) (@oameye)
- build: bump minor version (#3766) (@AayushSabharwal)
Closed issues:
- Catalyst issue for remake on SDEProblems (alias_elimination! related?) (#3302)
- getsym fails with observed multivariate ODE variable (#3737)
- Docs: Perturbation example figure broken by v10 (#3757)
- MTK doesn't support complex equations of motion since MTK@v9.73 (#3763)
- Julia
Published by github-actions[bot] 11 months ago
ModelingToolkit - v9.80.6
ModelingToolkit v9.80.6
This release has been identified as a backport.
Automated changelogs for backports tend to be wildly incorrect.
Therefore, the list of issues and pull requests is hidden.
<!--
Merged pull requests:
- output extra information from linearization (#3429) (@baggepinnen)
- feat: PyomoDynamicOptProblem, docs (#3676) (@vyudu)
- DE Transformation (Change of Variables) (#3695) (@fchen121)
- fix: remove CSE hack, fix unscalarized variables in initializeprobpmap (#3697) (@AayushSabharwal)
- feat: allow calling generate_control_function with unsimplified system (#3699) (@AayushSabharwal)
- fix: fix discrete system simplification (#3703) (@AayushSabharwal)
- ci: fix benchmark script (#3704) (@AayushSabharwal)
- fix: properly retain defaults in generate_initializesystem (#3705) (@AayushSabharwal)
- fix: fix namespacing of variables of variables (#3711) (@AayushSabharwal)
- docs: make docs build (#3713) (@AayushSabharwal)
- fix: ensure => nothing overrides defaults (#3714) (@AayushSabharwal)
- feat: add LinearProblem codegen (#3717) (@AayushSabharwal)
- CompatHelper: add new compat entry for InfiniteOpt at version 0.5 for package docs, (keep existing compat) (#3718) (@github-actions[bot])
- CompatHelper: add new compat entry for Ipopt at version 1 for package docs, (keep existing compat) (#3719) (@github-actions[bot])
- CompatHelper: add new compat entry for CommonSolve at version 0.2 for package docs, (keep existing compat) (#3720) (@github-actions[bot])
- CompatHelper: add new compat entry for DiffEqDevTools at version 2 for package docs, (keep existing compat) (#3721) (@github-actions[bot])
- CompatHelper: add new compat entry for JumpProcesses at version 9 for package docs, (keep existing compat) (#3722) (@github-actions[bot])
- fix: do not unwrap initials in initializeprobpmap (#3724) (@AayushSabharwal)
- docs: improve documentation (#3725) (@AayushSabharwal)
- Add Dynamic Optimization to the pages (#3726) (@ChrisRackauckas)
- Documentation for Change of Variables (#3732) (@fchen121)
- switch parsecosts! and parseconstraints (#3735) (@ctessum)
- refactor: rewrite connection expansion implementation (#3736) (@AayushSabharwal)
- fix: fix non-numeric parameters in callbacks, distribute_shift for called parameters (#3740) (@AayushSabharwal)
- build: bump minor version (#3741) (@AayushSabharwal)
- fix some dynamic opt docstrings/API page (#3742) (@vyudu)
- docs: fix FAQ docs, improve analysis point error message (#3743) (@AayushSabharwal)
- fix: fix deprecated @brownian not working properly (#3744) (@AayushSabharwal)
- Ensure DDEs are univariate (#3745) (@hersle)
- fix: appropriately toterm defaults when creating DiscreteProblem (#3746) (@AayushSabharwal)
- feat: add is_transparent_operator trait (#3747) (@AayushSabharwal)
- feat: better handle loop opening defaults (#3748) (@AayushSabharwal)
- build: bump minor version (#3749) (@AayushSabharwal)
- fix: fix get_updated_symbolic_problem (#3753) (@AayushSabharwal)
- [v9] fix: fix get_updated_symbolic_problem (#3754) (@AayushSabharwal)
- CompatHelper: bump compat for CairoMakie to 0.15 for package docs, (keep existing compat) (#3756) (@github-actions[bot])
- Fix plot in perturbation example (#3758) (@hersle)
Closed issues:
- Dependent parameters disappear from system parameters (#3507)
- in v10.2.0 @constants errors "ArgumentError: c is present in the system but c is not an unknown." (#3712)
- Non-essential code runs during initialization (#3723)
- Imperative affect doesn't work with callable parameter (#3729)
- getsym fails with observed multivariate ODE variable (#3737)
-->
- Julia
Published by github-actions[bot] 11 months ago
ModelingToolkit - v10.4.0
ModelingToolkit v10.4.0
Merged pull requests:
- switch parsecosts! and parseconstraints (#3735) (@ctessum)
- refactor: rewrite connection expansion implementation (#3736) (@AayushSabharwal)
- fix: fix non-numeric parameters in callbacks, distribute_shift for called parameters (#3740) (@AayushSabharwal)
- fix some dynamic opt docstrings/API page (#3742) (@vyudu)
- docs: fix FAQ docs, improve analysis point error message (#3743) (@AayushSabharwal)
- fix: fix deprecated @brownian not working properly (#3744) (@AayushSabharwal)
- fix: appropriately toterm defaults when creating DiscreteProblem (#3746) (@AayushSabharwal)
- feat: add is_transparent_operator trait (#3747) (@AayushSabharwal)
- feat: better handle loop opening defaults (#3748) (@AayushSabharwal)
- build: bump minor version (#3749) (@AayushSabharwal)
Closed issues: - Imperative affect doesn't work with callable parameter (#3729)
- Julia
Published by github-actions[bot] 12 months ago
ModelingToolkit - v10.3.0
ModelingToolkit v10.3.0
Merged pull requests:
- output extra information from linearization (#3429) (@baggepinnen)
- feat: PyomoDynamicOptProblem, docs (#3676) (@vyudu)
- DE Transformation (Change of Variables) (#3695) (@fchen121)
- feat: allow calling generate_control_function with unsimplified system (#3699) (@AayushSabharwal)
- fix: fix namespacing of variables of variables (#3711) (@AayushSabharwal)
- docs: make docs build (#3713) (@AayushSabharwal)
- fix: ensure => nothing overrides defaults (#3714) (@AayushSabharwal)
- feat: add LinearProblem codegen (#3717) (@AayushSabharwal)
- CompatHelper: add new compat entry for InfiniteOpt at version 0.5 for package docs, (keep existing compat) (#3718) (@github-actions[bot])
- CompatHelper: add new compat entry for Ipopt at version 1 for package docs, (keep existing compat) (#3719) (@github-actions[bot])
- CompatHelper: add new compat entry for CommonSolve at version 0.2 for package docs, (keep existing compat) (#3720) (@github-actions[bot])
- CompatHelper: add new compat entry for DiffEqDevTools at version 2 for package docs, (keep existing compat) (#3721) (@github-actions[bot])
- CompatHelper: add new compat entry for JumpProcesses at version 9 for package docs, (keep existing compat) (#3722) (@github-actions[bot])
- fix: do not unwrap initials in initializeprobpmap (#3724) (@AayushSabharwal)
- docs: improve documentation (#3725) (@AayushSabharwal)
- Add Dynamic Optimization to the pages (#3726) (@ChrisRackauckas)
- Documentation for Change of Variables (#3732) (@fchen121)
- build: bump minor version (#3741) (@AayushSabharwal)
Closed issues: - Dependent parameters disappear from system parameters (#3507) - in v10.2.0 @constants errors "ArgumentError: c is present in the system but c is not an unknown." (#3712) - Non-essential code runs during initialization (#3723)
- Julia
Published by github-actions[bot] 12 months ago
ModelingToolkit - v10.2.0
ModelingToolkit v10.2.0
Merged pull requests:
- fix: handle non-split systems in initial value promotion (#3690) (@AayushSabharwal)
- Fix docstring of get_p (#3691) (@baggepinnen)
- [v9] fix: fix major compile time regression due to concrete_getu (#3692) (@AayushSabharwal)
- fix: fix major compile time regression due to concrete_getu (#3693) (@AayushSabharwal)
- [v9] fix: remove CSE hack, fix unscalarized variables in initializeprobpmap (#3696) (@AayushSabharwal)
- fix: remove CSE hack, fix unscalarized variables in initializeprobpmap (#3697) (@AayushSabharwal)
- [v9] hotfix: fix new implementation of concrete_getu (#3698) (@AayushSabharwal)
- ci: add benchmark CI (#3700) (@AayushSabharwal)
- fix: fix get_mtkparameters_reconstructor handling of nonnumerics (#3702) (@AayushSabharwal)
- fix: fix discrete system simplification (#3703) (@AayushSabharwal)
- fix: properly retain defaults in generate_initializesystem (#3705) (@AayushSabharwal)
- Julia
Published by github-actions[bot] 12 months ago
ModelingToolkit - v9.80.5
ModelingToolkit v9.80.5
This release has been identified as a backport.
Automated changelogs for backports tend to be wildly incorrect.
Therefore, the list of issues and pull requests is hidden.
<!--
Merged pull requests:
- fix: fix major compile time regression due to concrete_getu (#3693) (@AayushSabharwal)
- ci: add benchmark CI (#3700) (@AayushSabharwal)
- fix: fix get_mtkparameters_reconstructor handling of nonnumerics (#3702) (@AayushSabharwal)
-->
- Julia
Published by github-actions[bot] 12 months ago
ModelingToolkit - v9.80.4
ModelingToolkit v9.80.4
This release has been identified as a backport.
Automated changelogs for backports tend to be wildly incorrect.
Therefore, the list of issues and pull requests is hidden.
<!--
Merged pull requests:
- fix: handle non-split systems in initial value promotion (#3690) (@AayushSabharwal)
- [v9] fix: remove CSE hack, fix unscalarized variables in initializeprobpmap (#3696) (@AayushSabharwal)
- [v9] hotfix: fix new implementation of concrete_getu (#3698) (@AayushSabharwal)
-->
- Julia
Published by github-actions[bot] 12 months ago
ModelingToolkit - v9.80.3
ModelingToolkit v9.80.3
This release has been identified as a backport.
Automated changelogs for backports tend to be wildly incorrect.
Therefore, the list of issues and pull requests is hidden.
<!--
Merged pull requests:
- refactor AP transform into exported API (#3665) (@baggepinnen)
- fix: fix type promotion in late_binding_update_u0_p with non-dual types (#3674) (@AayushSabharwal)
- fix: fix infinite recursion in full_equations (#3675) (@AayushSabharwal)
- fix: fix namespacing of AffectSystem (#3679) (@AayushSabharwal)
- refactor: BLT sort equations and variables in tearing (#3681) (@AayushSabharwal)
- refactor: add depwarns for old system and problem constructors (#3682) (@AayushSabharwal)
- refactor: remove old == and hash implementation for System (#3683) (@AayushSabharwal)
- fix: fix linearization, move tests to InterfaceII (#3684) (@AayushSabharwal)
- feat: allow specifying problem_type using system metadata (#3685) (@AayushSabharwal)
- test: mark appropriate tests as broken (#3688) (@AayushSabharwal)
- chore: bump minor version (#3689) (@AayushSabharwal)
- Fix docstring of get_p (#3691) (@baggepinnen)
- [v9] fix: fix major compile time regression due to concrete_getu (#3692) (@AayushSabharwal)
Closed issues: - Better error message for using old Problem creation notatio (#3680)
-->
- Julia
Published by github-actions[bot] 12 months ago
ModelingToolkit - v10.1.0
ModelingToolkit v10.1.0
Merged pull requests:
- refactor AP transform into exported API (#3665) (@baggepinnen)
- fix: fix type promotion in late_binding_update_u0_p with non-dual types (#3674) (@AayushSabharwal)
- fix: fix namespacing of AffectSystem (#3679) (@AayushSabharwal)
- refactor: BLT sort equations and variables in tearing (#3681) (@AayushSabharwal)
- refactor: add depwarns for old system and problem constructors (#3682) (@AayushSabharwal)
- refactor: remove old == and hash implementation for System (#3683) (@AayushSabharwal)
- fix: fix linearization, move tests to InterfaceII (#3684) (@AayushSabharwal)
- feat: allow specifying problem_type using system metadata (#3685) (@AayushSabharwal)
- test: mark appropriate tests as broken (#3688) (@AayushSabharwal)
- chore: bump minor version (#3689) (@AayushSabharwal)
Closed issues: - Better error message for using old Problem creation notatio (#3680)
- Julia
Published by github-actions[bot] 12 months ago
ModelingToolkit - v10.0.1
ModelingToolkit v10.0.1
Merged pull requests:
- [backport-v9] fix: fix infinite recursion in full_equations (#3672) (@AayushSabharwal)
- [backport-v9] fix: fix type promotion in late_binding_update_u0_p with non-dual types (#3673) (@AayushSabharwal)
- refactor: remove outdated exports (#3677) (@AayushSabharwal)
Closed issues: - Boundary Value Problem (#924)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.80.2
ModelingToolkit v9.80.2
This release has been identified as a backport.
Automated changelogs for backports tend to be wildly incorrect.
Therefore, the list of issues and pull requests is hidden.
<!--
Merged pull requests:
- BREAKING: v10 release (#3563) (@AayushSabharwal)
- refactor: change problem constructors to XProblem(sys, op[, tspan]) (#3648) (@AayushSabharwal)
- refactor: remove dead code (#3651) (@AayushSabharwal)
- refactor: change metadata field to be like BasicSymbolic (#3652) (@AayushSabharwal)
- refactor: remove FunctionalAffect (#3653) (@AayushSabharwal)
- refactor: remove deprecated getproperty behavior, disable setproperty! on systems (#3655) (@AayushSabharwal)
- refactor: rename @mtkbuild to @mtkcompile and structural_simplify to mtkcompile (#3656) (@AayushSabharwal)
- docs: overhaul documentation for v10 (#3658) (@AayushSabharwal)
- refactor: remove parameter_dependencies kwarg (#3666) (@AayushSabharwal)
- docs: add changelog, update docs (#3670) (@AayushSabharwal)
- [backport-v9] fix: fix infinite recursion in full_equations (#3672) (@AayushSabharwal)
- [backport-v9] fix: fix type promotion in late_binding_update_u0_p with non-dual types (#3673) (@AayushSabharwal)
Closed issues: - BVProblem Interface Summary (#3378) - LinearAlgebra.norm {sum?} fails after 9.72.0 with vectors (#3662)
-->
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v10.0.0
ModelingToolkit v10.0.0
There are several breaking changes with this release.
Callbacks
Callback semantics have changed.
There is a new
Preoperator that is used to specify which values are before the callback. For example, the affectA ~ A + 1should now be written asA ~ Pre(A) + 1. This is required to be specified -A ~ A + 1will now be interpreted as an equation to be satisfied after the callback (and will thus error since it is unsatisfiable).All parameters that are changed by a callback must be declared as discrete parameters to the callback constructor, using the
discrete_parameterskeyword argument.
julia
event = SymbolicDiscreteCallback(
[t == 1] => [p ~ Pre(p) + 1], discrete_parameters = [p])
New mtkcompile and @mtkcompile
structural_simplify is now renamed to mtkcompile. @mtkbuild is renamed to
@mtkcompile. Their functionality remains the same. However, instead of a second
positional argument structural_simplify(sys, (inputs, outputs)) the inputs and outputs
should be specified via keyword arguments as mtkcompile(sys; inputs, outputs, disturbance_inputs).
Reduce reliance on metadata in mtkcompile
Previously, mtkcompile (formerly structural_simplify) used to rely on the metadata of
symbolic variables to identify variables/parameters/brownians. This was regardless of
what the system expected the variable to be. Now, it respects the information in the system.
Unified System type
There is now a single common System type for all types of models except PDEs, for which
PDESystem still exists. It follows the same syntax as ODESystem and NonlinearSystem
did. System(equations, t[, vars, pars]) will construct a time-dependent system.
System(equations[, vars, pars]) will construct a time-independent system. Refer to the
docstring for System for further information.
Utility constructors are defined for:
NonlinearSystem(sys)to convert a time-dependent system to a time-independent one for its steady state.SDESystem(sys, noise_eqs)to add noise to a systemJumpSystem(jumps, ...)to define a system with jumps. Note that normal equations can also be passed tojumps.OptimizationSystem(cost, ...)to define a system for optimization.
All problem constructors validate that the system matches the expected structure for that problem.
No more parameter_dependencies
The parameter_dependencies keyword is deprecated. All equations previously passed here
should now be provided as part of the standard equations of the system. If passing parameters
explicitly to the System constructor, the dependent parameters (on the left hand side of
parameter dependencies) should also be provided. These will be separated out when calling
complete or mtkcompile. Calling parameter_dependencies or dependent_parameters now
requires that the system is completed. The new SDESystem constructor still retains the
parameter_dependencies keyword argument since the number of equations has to match the
number of columns in noise_eqs.
ModelingToolkit now has discretion of what parameters are eliminated using the parameter
equations during complete or mtkcompile.
New problem and constructors
Instead of XProblem(sys, u0map, tspan, pmap) for time-dependent problems and
XProblem(sys, u0map, pmap) for time-independent problems, the syntax has changed to
XProblem(sys, op, tspan) and XProblem(sys, op) respectively. op refers to the
operating point, and is a variable-value mapping containing both unknowns and parameters.
XFunction constructors also no longer accept the list of unknowns and parameters as
positional arguments.
Removed DelayParentScope
The outdated DelayParentScope has been removed.
Removed XProblemExpr and XFunctionExpr
The old XProblemExpr and XFunctionExpr constructors used to build an Expr that
constructs XProblem and XFunction respectively are now removed. This functionality
is now available by passing expression = Val{true} to any problem or function constructor.
Renaming of generate_* and calculate_* methods
Several generate_* methods have been renamed, along with some calculate_* methods.
The generate_* methods also no longer accept a list of unknowns and/or parameters. Refer
to the documentation for more information.
New behavior of getproperty and setproperty!
Using getproperty to access fields of a system has been deprecated for a long time, and
this functionality is now removed. setproperty! previously used to update the default
of the accessed symbolic variable. This is not supported anymore. Defaults can be updated by
mutating ModelingToolkit.get_defaults(sys).
New behavior of @constants
@constants now creates parameters with the tunable = false metadata by default.
Removed FunctionalAffect
FunctionalAffect is now removed in favor of the new ImperativeAffect. Refer to the
documentation for more information.
Improved system metadata
Instead of an empty field that can contain arbitrary data, the System type stores metadata
identically to SymbolicUtils.BasicSymbolic. Metadata is stored in an immutable dictionary
keyed by a user-provided DataType and containing arbitrary values. System supports the
same SymbolicUtils.getmetadata and SymbolicUtils.setmetadata API as symbolic variables.
Refer to the documentation of System and the aforementioned functions for more information.
Moved connect and Connector to ModelingToolkit
Previously ModelingToolkit used the connect function and Connector type defined in
Symbolics.jl. These have now been moved to ModelingToolkit along with the experimental
state machine API. If you imported them from Symbolics.jl, it is recommended to import from
ModelingToolkit instead.
Always wrap with ParentScope in @named
When creating a system using @named, any symbolic quantities passed as keyword arguments
to the subsystem are wrapped in ParentScope. Previously, this would only happen if the
variable wasn't already wrapped in a ParentScope. However, the old behavior had issues
when passing symbolic quantities down multiple levels of the hierarchy. The @named macro
now always performs this wrapping.
Merged pull requests:
- BREAKING: v10 release (#3563) (@AayushSabharwal)
- refactor: change problem constructors to XProblem(sys, op[, tspan]) (#3648) (@AayushSabharwal)
- refactor: remove dead code (#3651) (@AayushSabharwal)
- refactor: change metadata field to be like BasicSymbolic (#3652) (@AayushSabharwal)
- refactor: remove FunctionalAffect (#3653) (@AayushSabharwal)
- refactor: remove deprecated getproperty behavior, disable setproperty! on systems (#3655) (@AayushSabharwal)
- refactor: rename @mtkbuild to @mtkcompile and structural_simplify to mtkcompile (#3656) (@AayushSabharwal)
- docs: overhaul documentation for v10 (#3658) (@AayushSabharwal)
- refactor: remove parameter_dependencies kwarg (#3666) (@AayushSabharwal)
- docs: add changelog, update docs (#3670) (@AayushSabharwal)
Closed issues: - BVProblem Interface Summary (#3378) - LinearAlgebra.norm {sum?} fails after 9.72.0 with vectors (#3662)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.80.1
ModelingToolkit v9.80.1
Merged pull requests:
- fix: fix solving out-of-place split = false ODEs (#3647) (@AayushSabharwal)
Closed issues: - Passing Initials as parameters does not work consistently (#3645) - Out of place split=false with static arrays regression on solve (#3646)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.80.0
ModelingToolkit v9.80.0
Merged pull requests:
- feat: reduce reliance on metadata in structural_simplify (#3540) (@AayushSabharwal)
- fix: allow specifying type of buffers inside MTKParameters (#3585) (@AayushSabharwal)
- refactor: make @constants create tunable = false parameters (#3641) (@AayushSabharwal)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.79.1
ModelingToolkit v9.79.1
Merged pull requests:
- feat: add unified System type (#3543) (@AayushSabharwal)
- test: consider StalledSuccess a failure in initialization test (#3639) (@AayushSabharwal)
Closed issues:
- check for Symbolics.VariableSource => :Parameter in isparameter (#3636)
- ERROR: MethodError: no method matching view(::MTKParameters) while solving an optimization problem via MOI (#3637)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.79.0
ModelingToolkit v9.79.0
Merged pull requests:
- Fix Neuroblox downstream (#3590) (@ChrisRackauckas)
- Fix ImperativeAffect namespacing for arrays in non-root components (#3593) (@BenChung)
- feat: CasADiDynamicOptProblem (#3602) (@vyudu)
- feat: allow shifting array and scalarized variables (#3604) (@AayushSabharwal)
- docs: fix generate_control_function docs (#3607) (@AayushSabharwal)
- test: move jump control tests to Extensions test group (#3608) (@AayushSabharwal)
- fix: fix breaking change to generate_control_function (#3609) (@AayushSabharwal)
- fix: fix nested conditions in IfLifting (#3611) (@AayushSabharwal)
- feat: implement new callback semantics (#3614) (@AayushSabharwal)
- fix: use Diagonal for diagonal mass matrices (#3615) (@AayushSabharwal)
- refactor: add error message for wrapped variable in collect_var! (#3616) (@AayushSabharwal)
- feat: add CI for testing against released package versions (#3618) (@AayushSabharwal)
- fix change of var for sys with no equations (#3620) (@aml5600)
- Less restrictive promote_u0_p (#3624) (@devmotion)
- handle connections in changeindependentvariable (#3625) (@aml5600)
- Change independent variable of ODEs with array variables (#3626) (@hersle)
- BVP tests are working fine (#3627) (@ErikQQY)
Closed issues:
- ShiftIndex does not work for array variables (#2843)
- ERROR: type SCCNonlinearProblem has no field kwargs (#3320)
- continuous_events can cause solver to get stuck at event crossing (#3327)
- Failed to precompile ModelingToolkit (#3594)
- Variables not found even though they definitely exist (#3612)
- Continious Callback does not work when condition is not properly written as a function of time (#3621)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.78.0
ModelingToolkit v9.78.0
Merged pull requests: - Add show method without MIME type for ODESystem (#3603) (@blegat) - feat: use guesses as temporary values for variables solved by initialization (#3605) (@AayushSabharwal) - build: bump minor version (#3606) (@AayushSabharwal)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.77.0
ModelingToolkit v9.77.0
Merged pull requests:
- feat: create JuMPControlProblem for optimal control (#3549) (@vyudu)
- [v10] refactor: change inputs/outputs handling in structural_simplify (#3573) (@vyudu)
- Add Neuroblox downstream test (#3575) (@ChrisRackauckas)
- feat: add costs, constraints, coalesce to @mtkmodel, introduce At operator (#3584) (@vyudu)
- test: remove reliance on old examples/ models (#3592) (@AayushSabharwal)
- Change of Variables with units (#3595) (@aml5600)
- fix: allow solving initialization separately (#3599) (@AayushSabharwal)
- mark BVP tests as broken for now (#3600) (@vyudu)
- Update runtests.jl for bvproblem change (#3601) (@ChrisRackauckas)
Closed issues: - Initial guesses for array-valued variables not being passed to NonlinearProblem (#3583) - MTK@9.76 leads to more equations in the initialization problem vs 9.75 (#3588) - Incorrect(?) dynamics of SDE systems in latest version (#3591)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.76.0
ModelingToolkit v9.76.0
Merged pull requests:
- feat: lexicographically sort equations in structural_simplify (#3547) (@AayushSabharwal)
- fix: copy initials to u0 if u0 not provided to remake (#3572) (@AayushSabharwal)
- test: make clock test robust to equation ordering (#3587) (@AayushSabharwal)
Closed issues:
- setting Initials is ignorred when using BrownFullBasicInit (#3570)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.75.0
ModelingToolkit v9.75.0
Merged pull requests:
- CompatHelper: bump compat for JuliaFormatter to 2, (keep existing compat) (#3128) (@github-actions[bot])
- fix: handle derivatives of time-dependent parameters (#3493) (@AayushSabharwal)
- fix: fix remake(::JumpProblem) (#3581) (@AayushSabharwal)
Closed issues:
- Code generation contains Differential when equations contain variable time parameter (#3480)
- remake no longer works for ODE-jump models (#3571)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.74.0
ModelingToolkit v9.74.0
Merged pull requests:
- add tutorial on disturbance modeling for state estimation (#3494) (@baggepinnen)
- Add getter for observed variables (#3558) (@hersle)
- fix: make remake type-stable (#3566) (@AayushSabharwal)
- Copy MTKParameters fields only if not empty (#3579) (@DhairyaLGandhi)
Closed issues: - Type-unstable ODESolution object (#3560)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.73.0
ModelingToolkit v9.73.0
Merged pull requests:
- MTKModel: Provision to specify the type of System (#3526) (@ven-k)
- [v10] feat: make @named always wrap arguments in ParentScope (#3533) (@AayushSabharwal)
- feat: improve type-inference of remake_buffer in certain cases (#3546) (@AayushSabharwal)
- fix: fix assert_jac_length_header (#3556) (@AayushSabharwal)
- fix: fix values being promoted to Float64 in problem construction (#3561) (@AayushSabharwal)
- test: update reference tests (#3562) (@AayushSabharwal)
- refactor: remove DelayParentScope (#3564) (@AayushSabharwal)
- refactor: remove time_varying_as_func (#3565) (@AayushSabharwal)
- test: test @named always wrapping in ParentScope (#3567) (@AayushSabharwal)
- fix: scalarize Initial parameters for split = false systems (#3569) (@AayushSabharwal)
- build: bump minor version (#3574) (@AayushSabharwal)
Closed issues:
- @mtkmodel macro for discrete-time systems (#3498)
- DelayParentScope variables aren't properly handled (#3539)
- Float32 types are automatically converted to Float64 (#3553)
- Small numeric error introduced in sparse jacobians (#3554)
- ERROR: LoadError: AssertionError: r == 0 in InitializationProblem creation (#3559)
- Warnings on 1.12 prerelease (#3568)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.72.0
ModelingToolkit v9.72.0
Merged pull requests:
- docs: Document DAEProblem constructor (#3495) (@vyudu)
- feat: add substitute_component (#3502) (@AayushSabharwal)
- fix: don't substitute inside Initial in build_operating_point! (#3525) (@AayushSabharwal)
- fix: fix incorrect namespacing of DelayParentScope variables in collect_scoped_vars! (#3528) (@AayushSabharwal)
- feat: add cost and coalesce to ODESystem (#3531) (@vyudu)
- feat: compute jac_prototype for SDEFunction (#3535) (@vyudu)
- fix: don't call eval'd XFunctions in the tests (#3541) (@vyudu)
- build: bump minor version (#3550) (@AayushSabharwal)
Closed issues:
- MTK compatbility with BifurcationKit.jl (#3120)
- Control over autodiff in linearization (#3351)
- Document DAEProblem constructor and give a warning about performance implications (#3485)
- How to avoid Did not converge aftermaxiters = 1000substitutions. warnings? (#3523)
- No jacobian prototype for sparse jacobian SDEProblems? (#3527)
- Sparse jacobians not working (#3529)
- public observed equivalent (#3536)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.71.0
ModelingToolkit v9.71.0
Merged pull requests:
- Add documentation contribution of multi/nonlocal stability by Attractors.jl (#3512) (@Datseris)
- feat: enable CSE in build_function_wrapper (#3514) (@AayushSabharwal)
- test: make homotopy continuation test more robust (#3517) (@AayushSabharwal)
- feat: add latexify recipe for AnalysisPoint (#3519) (@AayushSabharwal)
- refactor: don't mark array variables as irreducible in TearingState (#3522) (@AayushSabharwal)
- fix: update initials with non-symbolic u0 in remake (#3530) (@AayushSabharwal)
Closed issues:
- Remake does not respect initial conditions of unknowns determined by initialization equations (#2841)
- remake for SDEProblem resets and ignores u0 (#3504)
- structural_simplify elimiantes differently for ODESystem and NonlinearSystems (#3521)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.70.0
ModelingToolkit v9.70.0
Merged pull requests:
- feat: throw error when differentiating registered function with no derivative in structural_simplify (#3419) (@AayushSabharwal)
- feat: allow toggling namespacing independently of complete (#3497) (@AayushSabharwal)
- Fix depwarn due to wrapping Vararg directly in UnionAll (#3506) (@SebastianM-C)
- Improve consistency and add parameter dependencies to system printing (#3510) (@hersle)
- build: bump minor version (#3520) (@AayushSabharwal)
Closed issues:
- no method matching hasmetadata in tearing (#3370)
- Substituting a constant = 1 seems to mutate variable type of certain types of parameters (#3487)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.69.0
ModelingToolkit v9.69.0
Merged pull requests:
- fix: fix incorrect folding in substitute in OptimizationSystem (#3475) (@AayushSabharwal)
- feat: support alternative AD backends in linearization (#3477) (@AayushSabharwal)
- fix: fix callable parameters in remake_buffer (#3492) (@AayushSabharwal)
- Fix ODEProblem over JumpProblem when there are no ODEs (#3496) (@isaacsas)
Closed issues:
- Clocks TODO (#1939)
- Creating of OptimizationSystem with registered function traces (#3473)
- Cannot use remake with callable parameters (#3490)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.68.1
ModelingToolkit v9.68.1
Merged pull requests:
- feat: handle Initial(x) initialization_eqs in time-independent systems (#3466) (@AayushSabharwal)
- fix: fix analysis point transform ignoring too many connections (#3469) (@AayushSabharwal)
- Remove undefined exports (#3476) (@ChrisRackauckas)
- test: make model parsing tests more generic (#3478) (@AayushSabharwal)
- Format tutorial (#3479) (@hersle)
- fix: fix jump system hack (#3486) (@AayushSabharwal)
- CompatHelper: bump compat for DataInterpolations to 8 for package docs, (keep existing compat) (#3488) (@github-actions[bot])
Closed issues:
- Improve printing/display of XSystem parameters (#2651)
- Wrong value for problems when guesses are provided for default values (#3303)
- Unexpected results when using parameters in initial conditions (#3356)
- OptimizationFunction with AutoForwardDiff doesn't work with sparse ODEProblem (#3376)
- Errors and wrong solutions when solving NonlinearSystem with initialization_eqs (#3458)
- Clarify Comparison Against Modelica section of the documentation with regard to nonlinear systems (#3472)
- Regression: Can no longer solve SteadyStateProblems after remake (#3483)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.67.0
ModelingToolkit v9.67.0
Merged pull requests:
- Change independent variable of ODE systems (#3437) (@hersle)
- fix: propagate tofloat, use_union to better_varmap_to_vars (#3448) (@vyudu)
- fix: Throw better warning when a guess is missing (#3456) (@vyudu)
- error message threw error message (#3457) (@baggepinnen)
- add toplevel arguments to various getters (#3462) (@TorkelE)
- Reduce TTF@mtkmodel (#3471) (@hexaeder)
- Fix docstring for InitializationProblem (#3474) (@baggepinnen)
Closed issues:
- Type promotion error when differentiating SteadyStateProblem (#3430)
- Jump simulations are Float64 valued (#3446)
- Better error message for missing guesses (#3449)
- Cannot simulate a certain ODESystem (probably one where everything gets simplified away) (#3467)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.66.0
ModelingToolkit v9.66.0
Merged pull requests:
- feat: ImplicitDiscreteSystem (#3386) (@vyudu)
- fix: fix DEF parameters for split = true, flatten = false systems (#3403) (@AayushSabharwal)
- feat: implement SciMLBase.detect_cycles (#3427) (@AayushSabharwal)
- fix: fix symbolic maps given to linearize, warn in linearization_function (#3432) (@AayushSabharwal)
- feat: support analysis points duplicating existing connections (#3453) (@AayushSabharwal)
- Fix: Make build explicit observed function return Expr when expression=true (#3454) (@ashutosh-b-b)
- test: relax initializationsystem test (#3455) (@AayushSabharwal)
- fix: don't use === for comparison in variable metadata tests (#3463) (@AayushSabharwal)
- build: bump minor version (#3465) (@AayushSabharwal)
Closed issues:
- ImplicitDiscreteSystem (#2077)
- complete(sys; flatten=false) creates unexpected DEF parameters (#3322)
- DEF in parameters (#3401)
- Strange error when evaluating the Jacobian for certain systems (#3447)
- ODEFunction from the same ODESystem gives inconsistent ODE solve result (#3450)
- Can create NonlinearProblem with missing variables (#3461)
- Strange DEF parameter appears in parameter(sys) for certain systems (#3464)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.65.0
ModelingToolkit v9.65.0
Merged pull requests:
- Replace Expronicon with Moshi (#3354) (@visr)
- fix(nonlinearsystem): Fix codegen issue for vector parameters (#3382) (@SebastianM-C)
- feat: run trivial initialization in problem constructor (#3404) (@AayushSabharwal)
- docs: add doc page for FMU import capability (#3405) (@AayushSabharwal)
- fix: allow passing guesses to linearize, improve linearization docs (#3412) (@AayushSabharwal)
- feat: add map_variables_to_equations (#3417) (@AayushSabharwal)
- feat: add isInitial (#3433) (@vyudu)
- CompatHelper: add new compat entry for FMI at version 0.14 for package docs, (keep existing compat) (#3434) (@github-actions[bot])
- CompatHelper: add new compat entry for FMIZoo at version 1 for package docs, (keep existing compat) (#3435) (@github-actions[bot])
- fix: separate Initial parameters into initials portion (#3439) (@AayushSabharwal)
- feat: allow NonlinearSystem(::ODESystem) and NonlinearProblem(::ODESystem) (#3440) (@AayushSabharwal)
Closed issues:
- Trivial initialization problem isn't solved when creating ODEProblem (#3290)
- remake failures (#3396)
- Add ability to provide additional guesses to linearize and family (#3400)
- remake issues (#3410)
- Cases of creation of NonlinearSystems have been broken (#3411)
- SciMLBase - equations bug fixed, but introduces new problems (#3421)
- isInitial function (#3431)
- Faulty non-boolean error in ifelse() (#3441)
- Broken amount of parameters: much more parameters in resulting ODEProblem than symbolic parameters in MTK system (#3444)
- Julia
Published by github-actions[bot] about 1 year ago
ModelingToolkit - v9.64.3
ModelingToolkit v9.64.3
Merged pull requests:
- fix: fix SCCNonlinearProblem reordering parameters (#3425) (@AayushSabharwal)
- build: bump patch version (#3426) (@AayushSabharwal)
Closed issues:
- Conditional branches inside @component statements do not support multiple components (#3424)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.64.2
ModelingToolkit v9.64.2
Merged pull requests:
- add utilities and tests for disturbance modeling (#3314) (@baggepinnen)
- BVProblem with constraints (#3323) (@vyudu)
- fix: validate u0map and pmap (#3350) (@vyudu)
- Renaming discrete variables during structural simplification (plus refactoring tearing_reassemble) (#3379) (@vyudu)
- fix: fix array varables split across SCCs in SCCNonlinearProblem (#3384) (@AayushSabharwal)
- refactor: rewrite HomotopyContinuationProblem to target NonlinearSolveHomotopyContinuation.jl (#3385) (@AayushSabharwal)
- refactor: format (#3413) (@AayushSabharwal)
- fix: make the diffvar type check less restrictive (#3415) (@vyudu)
- feat: mark getproperty(::AbstractSystem, ::Symbol) as non-differentiable (#3422) (@AayushSabharwal)
- Replace vcat(eqs...) with reduce(vcat, eqs) (#3423) (@devmotion)
Closed issues:
- Nonsensical stuff is allowed in input paraemter maps (#3325)
- Calling reinit! makes the solver unstable (#3375)
- Solution somehow corrupted with IfLifting (#3383)
- Diffvar type check introduced in v9.63 causes error with complex diffvars (#3406)
- Re-creating MTK problems causes side effects (#3407)
- Can no longer simulate coupled ReactionSystem ODESystem (#3409)
- equations not defined??? (#3414)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.64.1
ModelingToolkit v9.64.1
Merged pull requests: - fix: fix several bugs (#3390) (@AayushSabharwal) - build: bump patch version (#3402) (@AayushSabharwal)
Closed issues:
- Parameter splitting breaks runtime generated jacobians (#3294)
- Cases where remake seems to be mutating the original input in some way (#3395)
- breaking change in behavior of complete in non-breaking release (#3397)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.64.0
ModelingToolkit v9.64.0
Merged pull requests: - CompatHelper: add new compat entry for PreallocationTools at version 0.4 for package docs, (keep existing compat) (#3388) (@github-actions[bot]) - fix: allow vector of parameters for split system of pure tunables (#3389) (@AayushSabharwal)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.63.0
ModelingToolkit v9.63.0
Merged pull requests:
- fix: Add metadata getters (#3334) (@vyudu)
- Validate types of state variables in ODESystem/SDESystem construction (#3340) (@vyudu)
- feat: always build initialization problem (#3347) (@AayushSabharwal)
- fix: handle scalarized array parameters in initialization (#3358) (@AayushSabharwal)
- refactor: centralize all code generation (#3360) (@AayushSabharwal)
- refactor: format (#3361) (@AayushSabharwal)
- Add @description to @mtkmodel (#3363) (@hersle)
- feat: add assertions functionality (#3364) (@AayushSabharwal)
- latexify equation (#3366) (@owiecc)
- refactor: default create_bindings to false in build_function_wrapper (#3367) (@AayushSabharwal)
- Fix parameter array handling in ImperativeAffect (#3368) (@BenChung)
- Fix @mtkbuild macro keyword parsing (#3371) (@AayushSabharwal)
- Support specialization in ODEFunctionExpr (#3373) (@devmotion)
- test: update reference tests (#3377) (@AayushSabharwal)
- add documentation page for DiscreteSystem (#3380) (@vyudu)
- build: bump minor version (#3387) (@AayushSabharwal)
Closed issues:
- It is possible to designate non-default types for variables, which are then ignored. (#2589)
- Missing metadata getters (#2643)
- Initialization System fails to remove an equation (#3312)
- remake ignores u0 updates when the initialization is trivial (#3318)
- Operating point passed to linearization_function closure has no effect (#3319)
- MTK does not allow building initialization systems for un-simplified systems (#3330)
- Initialization warning when creating certain SDEProblems from Catalyst (but not corresponding ODEProblems (#3331)
- Remake does not handle dual type promotion with dummy derivatives (#3336)
- Cannot solve ODE with Duals if it has initialization and callback (#3342)
- Determined complete system raises an overdetermined warn when creating ODEProblem (#3349)
- Initialization and Linearization (#3352)
- ODESystem not dealing with dynamic parameters (#3365)
- The IfLifting pass doesn't seem to be working quite right (#3369)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.62.0
ModelingToolkit v9.62.0
Merged pull requests:
- feat: add FMUComponent (#3282) (@AayushSabharwal)
- test: added tests for SDEFunctionExpr (#3313) (@sivasathyaseeelan)
- Handle events in isequal (#3317) (@vyudu)
- fix: fix add_fallbacks! (#3332) (@AayushSabharwal)
- Start using Moshi compatible syntax for singleton ADT variants (#3353) (@visr)
Closed issues:
- Systems are considered equal, even if they have different events (#2638)
- remake failing for several cases with vector variables (#2660)
- remake not working for Symbol + array variable (u0 only, p is fine) (#3281)
- ERROR: ArgumentError: ... is neither an observed nor an unknown variable (#3355)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.61.0
ModelingToolkit v9.61.0
Merged pull requests:
- fix: @mtkmodel no longer makes @variables callable (#3217) (@AayushSabharwal)
- fix: properly handle rational functions in HomotopyContinuation (#3265) (@AayushSabharwal)
- feat: better inbounds handling and propagation for generated functions (#3277) (@AayushSabharwal)
- feat: add analysis points (#3285) (@AayushSabharwal)
- fix: minor bug fix in PolynomialTransformation (#3293) (@AayushSabharwal)
- Generic mechanism for debugging/logging functions (#3296) (@hersle)
- feat: allow remade initialization systems to be incomplete (#3301) (@AayushSabharwal)
- feat: add support for causal connections of variables (#3304) (@AayushSabharwal)
- DifferentialEquations -> OrdinaryDiffEqDefaults in readme (#3305) (@TorkelE)
- Add better SDESystem error when it hasn't been structural_simplify (#3316) (@vyudu)
- feat: support caching of different types of subexpressions in SCCNonlinearProblem (#3324) (@AayushSabharwal)
- fix: fix initialization of DiscreteProblem(::JumpSystem) (#3329) (@AayushSabharwal)
- test: added test for daeorderlowering (#3335) (@sivasathyaseeelan)
- Fix dual type promotion in remake with dummy derivatives (#3337) (@hersle)
- fix: respect checkbounds in build_explicit_observed_function (#3339) (@AayushSabharwal)
- fix: only solve parameter initialization for NonlinearSystem (#3345) (@AayushSabharwal)
Closed issues:
- SDESystem's not displayed properly with latexify (#2069)
- Wonky interface for Dicrete/Continious callbacks when using ModelingToolkit (#2303)
- Events not working with automatic solver selection (#2741)
- Latexify display does not work for SDESystems (#2782)
- SDEs with brownian motions requires structural_simplify (#2831)
- Regression: Problem with indexing of JumpProblem (#2838)
- support connections between (causal) variables connect(var1, var2) (#3287)
- HomotopyContinuation extension of MTK breaks creation of ODESystems in PEtab.jl (#3291)
- Cannot remake problems if not providing full u0 and the first version did not require an initialization problem (#3295)
- Parameter initial conditions broken for DiscreteProblems (#3297)
- deepcopy leads to a failure in the initialization (#3307)
- Circular dependencies on Julia 1.10 (#3308)
- Dropped Variable (#3311)
- Some new problems with remake for Catalyst update (#3326)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.60.0
ModelingToolkit v9.60.0
Merged pull requests:
- feat: create initialization systems for all problem types (#3253) (@AayushSabharwal)
- fix: fix timeseries_parameter_index for array symbolics (#3284) (@AayushSabharwal)
- build: bump OrdinaryDiffEqDefault compat (#3286) (@AayushSabharwal)
- build: bump minor version (#3289) (@AayushSabharwal)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.59.0
ModelingToolkit v9.59.0
Merged pull requests:
- Add a mechanism to add additional passes to the end of structural simplification before completion. (#3201) (@BenChung)
- feat: enable structural_simplify(::SDESystem) (#3266) (@AayushSabharwal)
- CompatHelper: add new compat entry for Setfield at version 1 for package docs, (keep existing compat) (#3270) (@github-actions[bot])
- feat: add optional IfLifting simplification pass (#3272) (@AayushSabharwal)
- add option to include disturbance args in generate_control_function (#3273) (@baggepinnen)
- fix: retain system metadata when calling flatten (#3276) (@AayushSabharwal)
Closed issues:
- structuralsimplify fails on SDESystem (#3261)
- Type instability with parameters that are abstract at system-level, but concrete at problem-level (#3262)
- Output of `generatecontrolfunctioncan no longer be traced symbolically (#3269)
- Unexpected behaviour of@registersymbolic(#3271)
- System metadata disapearing when callingcomplete` on model with subsystems (#3275)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.58.0
ModelingToolkit v9.58.0
Merged pull requests: - Improved FunctionalAffect alternative (#2922) (@BenChung)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.57.0
ModelingToolkit v9.57.0
Merged pull requests:
- feat: use HomotopyContinuationProblem in NonlinearProblem if possible (#3249) (@AayushSabharwal)
- build: bump version (#3264) (@AayushSabharwal)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.56.0
ModelingToolkit v9.56.0
Merged pull requests:
- feat: initial implementation of SCCNonlinearProblem codegen (#3213) (@AayushSabharwal)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.55.0
ModelingToolkit v9.55.0
Merged pull requests:
- Reorganizing tutorials (#2923) (@ArnoStrouwen)
- add capability to trace MTK dynamics with InfiniteOpt (#3220) (@baggepinnen)
- feat: propagate ODEProblem guesses to remake (#3226) (@AayushSabharwal)
- feat: add automatic variable discovery for OptimizationSystem (#3243) (@AayushSabharwal)
- fix: retain observed equations after structural_simplify of SDESystem (#3244) (@AayushSabharwal)
- Fix initializationeqs example (#3250) (@ChrisRackauckas)
- fix: recalculate residprototype in remakeinitializationdata (#3252) (@AayushSabharwal)
- update higher order documentation to modern MTK (#3255) (@ArnoStrouwen)
- add Lagrangian explanation to DAE reduction tutorial. (#3257) (@ArnoStrouwen)
- fix: retain system data on structural_simplify of SDESystem (#3258) (@AayushSabharwal)
- build: bump minor version (#3259) (@AayushSabharwal)
Closed issues:
- Not finding all variables in SDESystem (#3175)
- initialization_eqs example broken in initialization docs (#3245)
- type promotion bug with parameter dependent initialization_eqs (#3246)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.54.0
ModelingToolkit v9.54.0
Merged pull requests:
- fix: propagate initializeprobpmap and update_initializeprob! to DAEFunction (#3227) (@AayushSabharwal)
- test: make initializaton tests runnable from OrdinaryDiffEq (#3232) (@AayushSabharwal)
- Fix type promotion in InitializationProblems with vectors in the u0map (#3234) (@SebastianM-C)
- feat: simplify initialization systems with fully_determined=true if possible (#3235) (@AayushSabharwal)
- fix: fix nonnumeric parameters in @mtkmodel (#3236) (@AayushSabharwal)
- fix: support callable parameters provided to discretes list of callback (#3237) (@AayushSabharwal)
- fix: fix SDEs with noise dependent on observed variables (#3238) (@AayushSabharwal)
- OptimizationProblem updates (#3241) (@aml5600)
- build: bump minor version (#3242) (@AayushSabharwal)
Closed issues:
- Matrix differential equations not working (#1496)
- Failed to ParentScope a variable array (#1945)
- Incorrect codegen for SDE system (#3089)
- Observed variable calculated incorrectly using new discrete parameters (#3199)
- structural_simplify fails to propagate variable simplification to noise equations (#3212)
- Can't have event "discretes" be callable parameter (#3215)
- Non-numeric parameters are broken inside @mtkmodel (#3231)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.53.0
ModelingToolkit v9.53.0
Merged pull requests:
- fix: handle observeds in get_all_timeseries_indexes for split = false systems (#3221) (@AayushSabharwal)
- feat: add function to parse variable from string (#3224) (@AayushSabharwal)
- build: bump minor version (#3233) (@AayushSabharwal)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.52.0
ModelingToolkit v9.52.0
Merged pull requests:
- feat: support polynomials of invertible functions in HomotopyContinuationExt (#3214) (@AayushSabharwal)
- fix: fix DAEProblem with array parameters (#3216) (@AayushSabharwal)
- build(deps): bump codecov/codecov-action from 4 to 5 (#3218) (@dependabot[bot])
- feat: add symbolic tstops support to ODESystem (#3219) (@AayushSabharwal)
- Remove unused variables (#3222) (@devmotion)
- fix: set defaults in modelingtoolkitize(::SDEProblem) (#3223) (@AayushSabharwal)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.51.0
ModelingToolkit v9.51.0
Merged pull requests:
- CompatHelper: bump compat for OptimizationOptimJL to 0.4 for package docs, (keep existing compat) (#3066) (@github-actions[bot])
- CompatHelper: bump compat for Optimization to 4 for package docs, (keep existing compat) (#3067) (@github-actions[bot])
- fix: detect observed variables and dependent parameters dependent on discrete parameters (#3106) (@AayushSabharwal)
- feat: support multiple extend statements in MTKModel (#3173) (@ven-k)
- Support ODEs as equations in JumpSystem (#3181) (@isaacsas)
- fix: fix discrete callback condition with array variable (#3190) (@AayushSabharwal)
- feat: cache start system and solver in HomotopyContinuation interface (#3192) (@AayushSabharwal)
- Update stochasticdiffeq.md - fix Brownian coefficient (#3196) (@alhirzel)
- Fix documentation paragraph (#3198) (@hersle)
- Add docstring and oop array construction method for buildexplicitobservedfunction (#3200) (@BenChung)
- feat: support directly generating observed functions for tuples (#3202) (@AayushSabharwal)
- fix: fix getproperty syntax on structural_simplify(complete(sys)) (#3203) (@AayushSabharwal)
- fix: handle observed in remake_initializeprob (#3207) (@AayushSabharwal)
- Get rid of floating reference to dropexpr in tests (#3208) (@BenChung)
- feat: add support for bounds of array variables (#3209) (@AayushSabharwal)
- fix: enable using MTKParameters with `generatecontrol_function` (#3210) (@AayushSabharwal)
Closed issues:
- v9.15.0: When multiple @extend, only the last one takes effect (#2758)
- Array parameters and callbacks (#3154)
- Plotting no longer works for MTK JumpSystems over ODEProblems (#3188)
- Bug in remake_initializeprob on the current master (#3205)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.50.0
ModelingToolkit v9.50.0
Merged pull requests:
- fixing record from solution for observables in the BifurcationKit extension (#3161) (@vyudu)
- Implement initialize and finalize for symbolic callbacks (#3162) (@BenChung)
- fix: fix complete not properly expanding systems (#3168) (@AayushSabharwal)
- fix: support non-tunable parameters with DDEs (#3169) (@AayushSabharwal)
- fix: unpack components of the base sys in implicit extend (#3170) (@ven-k)
- CompatHelper: bump compat for SimpleNonlinearSolve to 2, (keep existing compat) (#3176) (@github-actions[bot])
- CompatHelper: bump compat for NonlinearSolve to 4, (keep existing compat) (#3177) (@github-actions[bot])
- CompatHelper: bump compat for NonlinearSolve to 4 for package docs, (keep existing compat) (#3178) (@github-actions[bot])
- Extend description and name in the same way (#3179) (@hersle)
- JumpSystem cleanup (#3180) (@isaacsas)
- fix: complete with split = false removes the index cache (#3184) (@AayushSabharwal)
- Rewrite perturbation example with Symbolics' new Taylor series functions (#3186) (@hersle)
- feat: add circular dependency checking, substitution limit (#3187) (@AayushSabharwal)
- add name of sys in show method (#3189) (@baggepinnen)
- build: bump version (#3191) (@AayushSabharwal)
Closed issues:
- Structural simplify broken for SDEs (#2614)
- Inifinite loop when solving an ODE with an unused NaN parameter (#3013)
- Guess for parameter not reflected in guesses of system (#3075)
- DDE handling gives error if tunable=false on parameters (#3165)
- @extend no longer works with components (#3167)
- Stream connector equations missing when used in subsystem (#3171)
- IntervalNonlinearSolve sometimes fails for externally registered functions (#3172)
- making SDESystem without using @mtkbuild (#3174)
- observed function broken on latest (#3183)
- Bad error reporting when guess is missing (#3185)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.49.0
ModelingToolkit v9.49.0
Merged pull requests:
- Don't check units during initialization (#3119) (@ctessum)
- Improve interactive system browsing and add system description (#3132) (@hersle)
- fix: fix getproperty, hasproperty for simplified hierarchical systems (#3149) (@AayushSabharwal)
- feat: support rational functions in HomotopyContinuationProblem (#3151) (@AayushSabharwal)
- fix: fix flattening in complete (#3155) (@AayushSabharwal)
- fix: only evaluate required keys of varmap in process_SciMLProblem (#3156) (@AayushSabharwal)
- feat: add support for IntervalNonlinearProblem (#3157) (@AayushSabharwal)
- fix: fix denominator checking in HomotopyContinuationExt (#3158) (@AayushSabharwal)
- Update Documentation.yml to build docs with LTS (#3164) (@ChrisRackauckas)
Closed issues:
- IntervalNonlinearProblem support in MTK (#2672)
- Strange behaviour for SDEs with continuous callbacks (#2723)
- structural_simplify messes with hasproperty for parameters (#3016)
- Fails to initialize with units (#3086)
- ifelse in equations can produce error for ODEProblem (#3153)
- Documentation is outdated (#3163)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.48.0
ModelingToolkit v9.48.0
Merged pull requests:
- towards BifurcationKit @0.4 (#3102) (@rveltz)
- fix: some fixes related to usage of array symbolics (#3126) (@AayushSabharwal)
- fix: fix in-place observed function generation (#3145) (@AayushSabharwal)
- fix: construct initializeprob if initial value is symbolic (#3146) (@AayushSabharwal)
- docs: bump docs compat for BifurcationKit (#3147) (@AayushSabharwal)
- fix: fix u0_constructor for DDEProblem/SDDEProblem (#3148) (@AayushSabharwal)
- test: fix u0_constructor test for SDDEProblem (#3150) (@AayushSabharwal)
- build: bump minor version (#3152) (@AayushSabharwal)
Closed issues:
- Updated ODEProblem parameters don't propagate to initializeprob (#2717)
- Updating parameter/variable values does not update values of dependant defaults (#2733)
- u0_constructor for DDEProblem (#3125)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.47.0
ModelingToolkit v9.47.0
Merged pull requests:
- fix: several MTKParameters fixes (#2929) (@AayushSabharwal)
- feat: initial implementation of HomotopyContinuation interface (#3114) (@AayushSabharwal)
- Fix initialization.md (#3115) (@ChrisRackauckas)
- refactor: major cleanup of *Problem construction (#3121) (@AayushSabharwal)
- add trait and dispatch for collect_vars! (#3123) (@isaacsas)
- feat: extend all arguments of a base sys to sys (#3124) (@ven-k)
- fix: handle parameter dependencies with constant RHS (#3127) (@AayushSabharwal)
- docs: add tutorial for callable parameters (#3130) (@AayushSabharwal)
- ci: test with 1, lts and pre versions of julia (#3131) (@thazhemadam)
- fix: retain nonnumeric parameter dependencies in initialization system (#3135) (@AayushSabharwal)
- fix: handle array guesses in InitializationProblem (#3136) (@AayushSabharwal)
- feat: use observed equations for guesses of observed variables (#3137) (@AayushSabharwal)
- docs: add DataInterpolations to docs environment (#3139) (@AayushSabharwal)
- fix: respect bounds in modelingtoolkitize, make bounded variable irreducible (#3140) (@AayushSabharwal)
- Add support for the initializealg argument in SciMLBase callbacks (#3144) (@BenChung)
Closed issues:
- Allow variable array length for parameters in @mtkmodel (#2453)
- Cannot use structural parameter as array size (#2704)
- Constants Not Mapped to Defaults (#3044)
- Local variable name in @mtkmodel leaks into ODESystem constructor (#3059)
- Package upgrade causes Error uuid4 not defined in VSCodeDebugger.DebugAdapter (#3129)
- Events seemingly ignored in system model (#3142)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.46.1
ModelingToolkit v9.46.1
Merged pull requests: - Rewrite of SDE tutorial (#3084) (@ArnoStrouwen) - Remove extra initial condition (#3116) (@ChrisRackauckas) - Backwards compatibility of scope detection for Catalyst (#3117) (@ChrisRackauckas)
Closed issues:
- @mtkmodel fails to handle anonymous functions as positional arguments (#3045)
- Doc: empty plots at the bottom of the page Acausal component-based modelling (#3046)
- Broken plot on Acausal Component-Based Modeling documentation (#3088)
- 9.46 introduces breaking change in complete (#3118)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.46.0
ModelingToolkit v9.46.0
Merged pull requests:
- fix: handle unknowns inside callable parameters when topsorting equations (#3105) (@AayushSabharwal)
- Support Symbolic Arrays of arbitrary length (#3107) (@ven-k)
- feat: better discover scoped parameters in parent systems (#3112) (@AayushSabharwal)
- fix: make vars search through arrays of symbolics (#3113) (@AayushSabharwal)
Closed issues:
- Solve does not solve initialization problem of remade problems (#2842)
- In MTK v9.42.0 ParentScope not working on expressions (#3101)
- Expression order bug in the codegen for initializeprobmap (#3109)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.45.0
ModelingToolkit v9.45.0
Merged pull requests: - feat: allow parameters to be unknowns in the initialization system (#2928) (@AayushSabharwal)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.44.0
ModelingToolkit v9.44.0
Merged pull requests: - Test master (#3094) (@ChrisRackauckas) - fix first ODE perturbation example (#3098) (@karlwessel)
Closed issues:
- Cannot solve remake problem with vector parameter of non-Real (#3024)
- failure to access unknown from solution (#3065)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.43.0
ModelingToolkit v9.43.0
Merged pull requests:
- Fix structural simplification of non-1-indexed variable arrays (#2671) (@hersle)
- Clean up generate_initializesystem() (#3051) (@hersle)
- Relax type constraints to allow callable parameters in pdeps (#3079) (@SebastianM-C)
- feat: improve error message when system contains array equations (#3081) (@AayushSabharwal)
- move symbolic details to Symbolics docs (#3095) (@ArnoStrouwen)
- Allow arrays in MTKParameters pullback (#3100) (@DhairyaLGandhi)
Closed issues: - Symbolic-array system bug in counting equations and variables (#2597) - Structural simplification fails on non-1-indexed variable array (#2670) - Error when setting structural parameter to define Symbolic arrays in connectors (#3058) - Providing parameter override errors with "Initialization expression currently not supported" (#3087) - ODE system that solved in 9.32 does error in 9.42 (#3096) - ODE system that solved before does error in 9.42 as Overdetermined, Rank Deficient Matrix (#3097)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.42.0
ModelingToolkit v9.42.0
Merged pull requests:
- feat: support observed function generation for DDEs (#3053) (@AayushSabharwal)
- feat: allow users to set array length via args in @mtkmodel (#3055) (@ven-k)
- fix: check scope when discovering variables from equations (#3072) (@AayushSabharwal)
- test: do not mark inversemodel tests as broken (#3073) (@AayushSabharwal)
- Fix duplicate text in documentation (#3080) (@cstjean)
- CompatHelper: bump compat for DiffEqCallbacks to 4, (keep existing compat) (#3082) (@github-actions[bot])
- Start rewriting programmatically generating systems docs (#3085) (@ArnoStrouwen)
- fix: promote resid_prototype using tunables (#3090) (@AayushSabharwal)
- Revert "feat: allow users to set array length via args in @mtkmodel" (#3092) (@YingboMa)
Closed issues: - Better initial condition handling for dummy derivatives (#1830) - Lacking Documentation for using DynamicQuantities (Unitful is still used in dev docs) (#2462) - Symbolic arrays: NameState has no field symbolify (#2720) - HTML for arrays of underscored-parameters is broken (#3052) - Add ModelingToolkit.getdefault to public API (#3071) - structural_simplify for io system can lead to input derivatives in RHS (#3078)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.41.0
ModelingToolkit v9.41.0
Merged pull requests:
- feat: add reorder_dimension_by_tunables!, ensure tunable_parameters is correctly ordered (#3069) (@AayushSabharwal)
- fix: allow accessing parameter dependencies via Symbol names (#3070) (@AayushSabharwal)
Closed issues:
- DAE solve fail with symbolic registered functions in the ODEProblem. (#2860)
- Dependent parameters can't be accessed by getp(prob, ::Symbol) (#3062)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.40.1
ModelingToolkit v9.40.1
Merged pull requests:
- feat: support callable parameters (#2995) (@AayushSabharwal)
- fix: handle nothing passed as u0 to ODEProblem (#3060) (@AayushSabharwal)
Closed issues:
- Support for callable parameters in IndexCache (#2910)
- Clarify DomainConnector error message (#3064)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.40.0
ModelingToolkit v9.40.0
Merged pull requests:
- fix: fix missing unwrap in build_explicit_observed_function (#3040) (@AayushSabharwal)
- feat: add adjoint for remake_buffer (#3042) (@AayushSabharwal)
- Respect D(x)-like guesses (#3050) (@hersle)
Closed issues:
- Precise execution order of multiple discrete affect (#2745)
- discrete event error for DAE system (#3043)
- solve fails with InitialFailure : overdetermined system (#3047)
- D(x)-like guesses are not respected during initialization (#3049)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.39.1
ModelingToolkit v9.39.1
Merged pull requests: - We cannot fold unitful constants (#3036) (@YingboMa) - Fix test setup (#3038) (@ChrisRackauckas) - Remove incidence matrix from system show (#3039) (@ChrisRackauckas) - Tolerate empty equations and uneven matching (#3041) (@YingboMa)
Closed issues: - Weird results trying to simulate an RC circuit with AC power source (#1152) - Incidence matrix structural_simplify (#2178) - Parameter identifiability example from docs fails (#2881) - incorrect units in observed equations (#2988)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.39.0
ModelingToolkit v9.39.0
Merged pull requests: - Move labelledarrays to extension testing (#3031) (@ChrisRackauckas) - Run initialization on ODEs with superset initial conditions (#3032) (@AayushSabharwal) - Add unit aware diff2term (#3034) (@YingboMa) - Throw an error if structural simplification is applied twice (take 2) (#3035) (@YingboMa)
Closed issues: - Inconsistency for how to give intiial conditions to DAEs with higher order derivatives. (#2619) - Variables introduced during simplification of 2nd order to first order dont have the correct units. (#2959) - Array variable units (#3009)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.38.0
ModelingToolkit v9.38.0
Merged pull requests: - Throw an error if structural simplification is applied twice (#3027) (@ChrisRackauckas)
Closed issues:
- repeated application of structural_simplify leads to error (#3012)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.37.1
ModelingToolkit v9.37.1
Merged pull requests:
- fix: fix missing MTKParameters handling in linearize (#3006) (@AayushSabharwal)
- Dispatch for symbolic array units (#3015) (@aml5600)
- fix: appropriate error msg for invalid @defaults (#3022) (@ven-k)
- Override defaults when setting initial conditions with mapped unknowns(sys) (#3028) (@hersle)
- Handle dummy derivatives and more in initialize_equations (#3030) (@ChrisRackauckas)
Closed issues:
- MTK & linearization -- MTKParameters access out of bounds (#2941)
- Initial conditions set by mapping unknowns(sys) do not override defaults (#3025)
- Cannot initialize system with D(x)-like initialization equations (#3029)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.37.0
ModelingToolkit v9.37.0
Merged pull requests:
- feat: update to new remake_buffer signature (#3020) (@AayushSabharwal)
- Make hastimedomain and gettimedomain more generic (#3026) (@YingboMa)
Closed issues:
- Building ODEProblem From ODESystem Causes AutoDiff To Fail (#2856)
- remake is broken with Bool parameters (#2866)
- BifurcationProblem drops observed variables from ODESystem (#2889)
- connect can lead to wrong flow equations (#3008)
- Simple example of structural_simplify giving ExtraVariablesSystemException (#3021)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.36.0
ModelingToolkit v9.36.0
Merged pull requests: - CompatHelper: bump compat for DynamicQuantities to 1, (keep existing compat) (#2990) (@github-actions[bot]) - CompatHelper: bump compat for DynamicQuantities to 1 for package docs, (keep existing compat) (#2991) (@github-actions[bot]) - fix: improve resolution of dependent parameter defaults (#3005) (@AayushSabharwal) - feat: save discrete variables in callback init (#3007) (@AayushSabharwal)
Closed issues: - several broken discrete-time examples (#2359) - Autodiff fails mysteriously with well-defined nested defaults (#2997) - plotting errors with time-dependent parameters (#3004)
- Julia
Published by github-actions[bot] over 1 year ago
ModelingToolkit - v9.35.1
ModelingToolkit v9.35.1
Merged pull requests: - Fix unit conversion for expressions (#2998) (@contradict) - registered function unit fix (#3002) (@isaacsas)
- Julia
Published by github-actions[bot] almost 2 years ago
ModelingToolkit - v9.35.0
ModelingToolkit v9.35.0
Merged pull requests: - fix: fix substitute duplicating equations (#2992) (@AayushSabharwal) - Fix typo in get_unit for ops (#2999) (@contradict) - refactor: improve error messages for under- and over-determined systems (#3000) (@AayushSabharwal) - Fix @mtkmodel independent variable generation (#3001) (@hersle)
- Julia
Published by github-actions[bot] almost 2 years ago
ModelingToolkit - v9.34.0
ModelingToolkit v9.34.0
Merged pull requests:
- Add support for symbolic units by normalizing them to SI units (#2621) (@YingboMa)
- refactor: store discrete portion in BlockedArray for efficiency, better handle event variables (#2945) (@AayushSabharwal)
- Expose independent variable as a system property (#2962) (@hersle)
- Hotfix to avoid DataFrames.jl piracy (#2966) (@MasonProtter)
- AD: Add ChainRules extension for MTKParameters construction (#2977) (@DhairyaLGandhi)
- Fix parameter dependencies across model hierarchy (#2978) (@SebastianM-C)
- CompatHelper: add new compat entry for ChainRulesCore in [weakdeps] at version 1, (keep existing compat) (#2980) (@github-actions[bot])
- refactor: default to use_union = false for ODEProblems (#2983) (@AayushSabharwal)
- fix: discover parameters from parameter dependencies, fix substitute (#2984) (@AayushSabharwal)
- make LabelledArrays an extension (#2985) (@SebastianM-C)
- Update MTKLabelledArraysExt.jl (#2987) (@ChrisRackauckas)
- Fix depwarns from solve_for (#2993) (@SebastianM-C)
Closed issues:
- Support scaled SI units (#2616)
- Type piracy by DataFrames.jl causes error during SDE simplification (#2965)
- ODEProblem from ODESystem does not sub nested constants (#2969)
- Memory and Performance Problem (#2971)
- Julia
Published by github-actions[bot] almost 2 years ago
ModelingToolkit - v9.33.1
ModelingToolkit v9.33.1
Merged pull requests:
- feat: document and expose MTKParameters as public API (#2955) (@AayushSabharwal)
- Fix an exception during documentation build (#2957) (@contradict)
- kwarg to disable unit checking in InitializationProblem (#2960) (@aml5600)
- sub constants in generate_function (#2970) (@aml5600)
- fix: fix several bugs, get MTK to precompile (#2973) (@AayushSabharwal)
Closed issues: - provide exported function for generating MTKParameters from user parameter maps (#2954) - Vector ODE duplicating length of intial condition and not shifting equation to observed (#2964) - MTK doesn't precompile after latest update (#2972)
- Julia
Published by github-actions[bot] almost 2 years ago
ModelingToolkit - v9.33.0
ModelingToolkit v9.33.0
Merged pull requests: - refactor: remove parameter dependencies from MTKParameters (#2934) (@AayushSabharwal) - Symbolics / SymbolicUtils / TermInterface bump (#2948) (@ChrisRackauckas) - Fix docs build (#2956) (@contradict)
Closed issues:
- MTK & Symbolic linearization -- why 2 inputs when I specify 1 input? (#2951)
- u0_constructor for SDEProblem (#2958)
- Julia
Published by github-actions[bot] almost 2 years ago
ModelingToolkit - v9.32.0
ModelingToolkit v9.32.0
Merged pull requests: - support JumpProblems over ODEProblems (#2946) (@isaacsas)
- Julia
Published by github-actions[bot] almost 2 years ago
ModelingToolkit - v9.31.0
ModelingToolkit v9.31.0
Merged pull requests: - fix: fix initialization with defaults dependent on indepvar (#2820) (@AayushSabharwal) - add an example to IO docs (#2926) (@baggepinnen) - fix: fix replace with array dependent parameters (#2933) (@AayushSabharwal) - Flatten for complex (#2935) (@contradict) - Disallow duplicate names (#2938) (@contradict) - normalize operating point user input (#2939) (@baggepinnen) - fix: fix vectorization of array variables with inputs (#2940) (@AayushSabharwal) - Fix Latex tests to use new upstream equation equality aligning (#2942) (@hersle) - Add DummyDerivativeSummary debuginfo (#2943) (@YingboMa) - Experimental variable filtering in dummy derivative (#2944) (@YingboMa)
Closed issues:
- Cannot (re)make problems with defaults involving the independent parameter (#2799)
- Possible to create system where a parameter and variable have the same name (#2883)
- Missing whitespace in documentation equations (#2894)
- Cannot use Complex equation in @mtkmodel (#2895)
- Warning: Internal error (#2920)
- Replacing tunables of dependent parameter vector fails (#2932)
- Julia
Published by github-actions[bot] almost 2 years ago
ModelingToolkit - v9.30.1
ModelingToolkit v9.30.1
Merged pull requests:
- Make default value units consistent (#2898) (@contradict)
- Fix README example (#2930) (@hersle)
- update JumpSystem for auto-alg support (#2931) (@isaacsas)
- Add documentation for irreducible metadata (#2936) (@contradict)
- Extend state priority to all its derivative chains in DD (#2937) (@YingboMa)
Closed issues: - High Level example 2 error: ExtraVariablesSystemException: The system is unbalanced (#2925)
- Julia
Published by github-actions[bot] almost 2 years ago
ModelingToolkit - v9.30.0
ModelingToolkit v9.30.0
Merged pull requests: - Support more of the SciMLBase events API (#2911) (@BenChung) - rewrite optimization tutorial (#2916) (@ArnoStrouwen) - fix some cosmetics in docs (#2921) (@baggepinnen) - fix: fix downstream indexing tests (#2927) (@AayushSabharwal)
Closed issues: - Event trigger directionality (#1715) - No documented way to set rootfind=RightRootFind in continuous Event. (#2351)
- Julia
Published by github-actions[bot] almost 2 years ago
ModelingToolkit - v9.29.0
ModelingToolkit v9.29.0
Merged pull requests: - ci: standardise workflows using SciML's reusable workflows (#2695) (@thazhemadam) - Getting started doc rewrite (#2903) (@ArnoStrouwen) - refactor: turn tunables portion into a Vector{T} (#2908) (@AayushSabharwal) - Delete mo.diff (#2913) (@ChrisRackauckas) - Detect cases where there's fewer brownians than equations, but noise still 'diagonal' (#2914) (@MasonProtter) - rewrite nonlinear solve tutorial (#2915) (@ArnoStrouwen) - add docs for input-output handling (#2918) (@baggepinnen)
Closed issues: - Fix broken indexing tests (#2696)
- Julia
Published by github-actions[bot] almost 2 years ago
ModelingToolkit - v9.28.0
ModelingToolkit v9.28.0
Merged pull requests: - fix: fix some linearization bugs (#2912) (@AayushSabharwal)
Closed issues: - undefvar and bounds error in linearization_function (#2907)
- Julia
Published by github-actions[bot] almost 2 years ago
ModelingToolkit - v9.27.0
ModelingToolkit v9.27.0
Merged pull requests:
- feat: implement new discrete saving functionality (#2728) (@AayushSabharwal)
- Add tests of various features (#2806) (@TorkelE)
- fix: allow vector defaults in @mtkmodel (#2830) (@ven-k)
- fix: fix edge cases with metadata dumping, add tests (#2836) (@AayushSabharwal)
- Rename @mtkmodel... docs and add a section describing @mtkbuild (#2890) (@ven-k)
- fix: fix remaking scalarized array parameters with non-scalarized symbolic map (#2897) (@AayushSabharwal)
- CompatHelper: bump compat for SymbolicUtils to 3 for package docs, (keep existing compat) (#2901) (@github-actions[bot])
- Use subs_constants in generate_control_function (#2904) (@aml5600)
Closed issues:
- remake fails with ERROR: ArgumentError: ... is neither an observed nor an unknown variable. (#2757)
- Cannot provide vector parameter values to remake for scalarised system (#2804)
- Cannot provide default value for array parameter (#2810)
- Cannot simulate SDEs with static array parameters/initial conditions (#2851)
- Array-valued parameters are not interpreted correctly when creating ODESystem (#2876)
- @constants not defined in generate_control_function output (#2896)
- Julia
Published by github-actions[bot] almost 2 years ago
ModelingToolkit - v9.26.0
ModelingToolkit v9.26.0
Merged pull requests:
- document the fully_determined kwarg to structuralsimplify (#2880) (@MasonProtter)
- Detect diagonal noise in SDESystem (#2882) (@MasonProtter)
- Pass down documented kwargs in structuralsimplifiy (#2885) (@ChrisRackauckas)
- fix: create specialized isdiag for symbolics in noise matrix (#2886) (@AayushSabharwal)
- feat: allow specifying nothing as default value to skip it (#2887) (@AayushSabharwal)
Closed issues:
- Diagonal noise not detected during lowering of System with @brownian variables (#2490)
- @discrete_events or @continuous_events not working with acausal modeling framework (#2849)
- fix requirement for SDESystems to take Num inputs (#2868)
- Julia
Published by github-actions[bot] almost 2 years ago
ModelingToolkit - v9.25.0
ModelingToolkit v9.25.0
Merged pull requests: - Extend initialization equations (#2846) (@hersle) - Handle modelingtoolkitize for nonlinearleastsquaresproblem (#2847) (@ChrisRackauckas) - Left-to-right expand observed equations into defaults during initialization (#2861) (@hersle) - Create independent variables with @independentvariables (#2862) (@hersle) - Capture observed dependence on unknowns in simplified nonlinear systems (#2863) (@hersle) - Error missing defaults (#2864) (@hersle) - Extend metadata (#2867) (@hersle) - refactor: avoid substitute warning when not needed (#2869) (@SebastianM-C) - Add more documentation (#2871) (@hersle) - Export more functions relating to system initialization (#2872) (@hersle) - Restore error when unknowns in the initialization system don't have guesses (#2877) (@hersle) - Some repo cleanup (#2878) (@ChrisRackauckas) - Allow for setting fullydetermined=true in initialization (#2879) (@ChrisRackauckas)
Closed issues:
- Duplicate Global Parameters (#992)
- Documentation for equations, equations, full_equations (#1822)
- Some ODESystem fields such as metadata are lost when using the extend function (#2502)
- Allow altering a symbolic parameter default value after creation. (#2650)
- Add NonlinearLeastSquaresProblem dispatch for modelingtoolkitize (#2669)
- Error when plotting multiple (not single) observable in Symbol form (#2739)
- Custom independent variable leads to underdetermined initialization system (#2818)
- Precompiling MTK when --depwarn=yes or --depwarn=true causes deprecation warning (#2827)
- extend() does not pass on initialization equations (#2845)
- testing against Julia 1.6 LTS dropped (#2854)
- Subsystem not namespaced when substituted coefficient is 1 (#2855)
- Cannot initialize well-defined ODE with defaults (#2859)
- Helpful error for missing guesses has disappeared (#2873)
- Julia
Published by github-actions[bot] almost 2 years ago
ModelingToolkit - v9.24.0
ModelingToolkit v9.24.0
Merged pull requests: - Better error throwing on ill-formed SDESystems (#2833) (@ChrisRackauckas) - fix: fix deepcopy for SteadyStateProblem (#2840) (@AayushSabharwal)
Closed issues:
- Regression: Cannot deepcopy SteadyStateProblem (#2837)
- Julia
Published by github-actions[bot] almost 2 years ago