Releases: SciML/ModelingToolkit.jl
Releases · SciML/ModelingToolkit.jl
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
remaketype-stable (#3566) (@AayushSabharwal) - Copy
MTKParametersfields only if not empty (#3579) (@DhairyaLGandhi)
Closed issues:
- Type-unstable ODESolution object (#3560)
v9.73.0
ModelingToolkit v9.73.0
Merged pull requests:
- MTKModel: Provision to specify the type of
System(#3526) (@ven-k) - [v10] feat: make
@namedalways wrap arguments inParentScope(#3533) (@AayushSabharwal) - feat: improve type-inference of
remake_bufferin certain cases (#3546) (@AayushSabharwal) - fix: fix
assert_jac_length_header(#3556) (@AayushSabharwal) - fix: fix values being promoted to
Float64in 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
@namedalways wrapping inParentScope(#3567) (@AayushSabharwal) - fix: scalarize
Initialparameters forsplit = falsesystems (#3569) (@AayushSabharwal) - build: bump minor version (#3574) (@AayushSabharwal)
Closed issues:
@mtkmodelmacro for discrete-time systems (#3498)DelayParentScopevariables aren't properly handled (#3539)Float32types are automatically converted toFloat64(#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
ModelingToolkit v9.72.0
Merged pull requests:
- docs: Document DAEProblem constructor (#3495) (@vyudu)
- feat: add
substitute_component(#3502) (@AayushSabharwal) - fix: don't substitute inside
Initialinbuild_operating_point!(#3525) (@AayushSabharwal) - fix: fix incorrect namespacing of DelayParentScope variables in
collect_scoped_vars!(#3528) (@AayushSabharwal) - feat: add
costandcoalesceto 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)
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
u0inremake(#3530) (@AayushSabharwal)
Closed issues:
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
Varargdirectly inUnionAll(#3506) (@SebastianM-C) - Improve consistency and add parameter dependencies to system printing (#3510) (@hersle)
- build: bump minor version (#3520) (@AayushSabharwal)
Closed issues:
v9.69.0
ModelingToolkit v9.69.0
Merged pull requests:
- fix: fix incorrect folding in
substituteinOptimizationSystem(#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:
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
XSystemparameters (#2651) - Wrong value for problems when guesses are provided for default values (#3303)
- Unexpected results when using parameters in initial conditions (#3356)
OptimizationFunctionwithAutoForwardDiffdoesn't work with sparseODEProblem(#3376)- Errors and wrong solutions when solving
NonlinearSystemwithinitialization_eqs(#3458) - Clarify Comparison Against Modelica section of the documentation with regard to nonlinear systems (#3472)
- Regression: Can no longer solve
SteadyStateProblems afterremake(#3483)
v9.67.0
ModelingToolkit v9.67.0
Merged pull requests:
- Change independent variable of ODE systems (#3437) (@hersle)
- fix: propagate
tofloat,use_uniontobetter_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:
v9.66.0
ModelingToolkit v9.66.0
Merged pull requests:
- feat:
ImplicitDiscreteSystem(#3386) (@vyudu) - fix: fix
DEFparameters forsplit = true, flatten = falsesystems (#3403) (@AayushSabharwal) - feat: implement
SciMLBase.detect_cycles(#3427) (@AayushSabharwal) - fix: fix symbolic maps given to
linearize, warn inlinearization_function(#3432) (@AayushSabharwal) - feat: support analysis points duplicating existing connections (#3453) (@AayushSabharwal)
- Fix: Make
build explicit observed functionreturn Expr whenexpression=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)DEFin 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
NonlinearProblemwith missing variables (#3461) - Strange
DEFparameter appears inparameter(sys)for certain systems (#3464)
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
Initialparameters intoinitialsportion (#3439) (@AayushSabharwal) - feat: allow
NonlinearSystem(::ODESystem)andNonlinearProblem(::ODESystem)(#3440) (@AayushSabharwal)
Closed issues:
- Trivial initialization problem isn't solved when creating
ODEProblem(#3290) remakefailures (#3396)- Add ability to provide additional guesses to
linearizeand family (#3400) remakeissues (#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)