Skip to content

Tags: SciML/ModelingToolkit.jl

Tags

v9.79.0

Toggle v9.79.0's commit message
[Diff since v9.78.0](v9.78.0...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 change_independent_variable (#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)

v9.78.0

Toggle v9.78.0's commit message
[Diff since v9.77.0](v9.77.0...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)

v9.77.0

Toggle v9.77.0's commit message
[Diff since v9.76.0](v9.76.0...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)
- [email protected] leads to more equations in the initialization problem vs 9.75 (#3588)
- Incorrect(?) dynamics of SDE systems in latest version (#3591)

v9.76.0

Toggle v9.76.0's commit message
[Diff since v9.75.0](v9.75.0...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 `Initial`s is ignorred when using `BrownFullBasicInit` (#3570)

v9.75.0

Toggle v9.75.0's commit message
[Diff since v9.74.0](v9.74.0...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)

v9.74.0

Toggle v9.74.0's commit message
[Diff since v9.73.0](v9.73.0...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)

v9.73.0

Toggle v9.73.0's commit message
[Diff since v9.72.0](v9.72.0...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)

v9.72.0

Toggle v9.72.0's commit message
[Diff since v9.71.0](v9.71.0...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 after `maxiters = 1000` substitutions.` warnings? (#3523)
- No jacobian prototype for sparse jacobian `SDEProblem`s? (#3527)
- Sparse jacobians not working (#3529)
- public observed equivalent (#3536)

v9.71.0

Toggle v9.71.0's commit message
[Diff since v9.70.0](v9.70.0...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 `NonlinearSystem`s (#3521)

v9.70.0

Toggle v9.70.0's commit message
[Diff since v9.69.0](v9.69.0...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)