Releases: SciML/ModelingToolkit.jl
Releases · SciML/ModelingToolkit.jl
v9.69.0
ModelingToolkit v9.69.0
Merged pull requests:
- fix: fix incorrect folding in
substitute
inOptimizationSystem
(#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
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
withAutoForwardDiff
doesn't work with sparseODEProblem
(#3376)- Errors and wrong solutions when solving
NonlinearSystem
withinitialization_eqs
(#3458) - Clarify Comparison Against Modelica section of the documentation with regard to nonlinear systems (#3472)
- Regression: Can no longer solve
SteadyStateProblem
s afterremake
(#3483)
v9.67.0
ModelingToolkit v9.67.0
Merged pull requests:
- Change independent variable of ODE systems (#3437) (@hersle)
- fix: propagate
tofloat
,use_union
tobetter_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
DEF
parameters forsplit = true, flatten = false
systems (#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 function
return 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)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 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
Initial
parameters intoinitials
portion (#3439) (@AayushSabharwal) - feat: allow
NonlinearSystem(::ODESystem)
andNonlinearProblem(::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
NonlinearSystem
s 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)
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)
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...)
withreduce(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)
v9.64.1
ModelingToolkit v9.64.1
Merged pull requests:
- fix: fix several bugs (#3390) (@AayushSabharwal)
- build: bump patch version (#3402) (@AayushSabharwal)
Closed issues:
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)
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 inbuild_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
ignoresu0
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
SDEProblem
s from Catalyst (but not correspondingODEProblem
s (#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)