Skip to content

v8.76.0

Compare
Choose a tag to compare
@github-actions github-actions released this 26 May 18:59
de8daf3

ModelingToolkit v8.76.0

Diff since v8.75.0

Merged pull requests:

Closed issues:

  • Parameter Identifiability Analysis (#170)
  • Block calculations of derivative quantities (#270)
  • Nicer parameter indexing (#318)
  • NetworkSystem (#341)
  • How to remake with a Vector{Pair}? (#472)
  • Latexify for ODEs uses inconsistent notation for variables. (#533)
  • Comment on terminology: parameter vs. (independent) variable t (#564)
  • Symbolic arrays instead of arrays of symbolics (#605)
  • Fix and/or test NonlinearSystem conversion from ReactionSystems (#639)
  • Better error messages for missing equations in ODESystems (#803)
  • Implement combine for inheritance of systems (#807)
  • Deprecate gensym naming (#831)
  • Default value metadata (#846)
  • modelingtoolkitize tutorial: automated sparsity handling (#872)
  • Detecting and solving small dense linear subsystems symbolically after tearing (#887)
  • Indexing and dot-assignment of parameters/variables in nested systems (#892)
  • Discrete-Time (Sub-)Systems (#894)
  • Documenting how to generate namespaced names for AbstractSystem variables (#902)
  • Visual model representation and interaction (#918)
  • structural_simplify(SDESystem) throws an error (#928)
  • Delay differential equation handling (#955)
  • Support for DAE's without differential terms (#969)
  • logo? (#970)
  • Better variable identification (#981)
  • State selection (#988)
  • exporting MTK model to FMU (#994)
  • Creating an "ImageProblem" problem type in MTK (#1012)
  • Nested systems with symbolic defaults/initial values don't get de-aliased (#1013)
  • Support for derivatives/interpolation with simplified systems? (#1014)
  • Nonlinear optimal control tutorial equation inconsistency (#1024)
  • ControlSystem without defined loss function (#1041)
  • Documentation comments (#1053)
  • modelingtoolkitize doesn't work with pre-allocated variables (#1058)
  • Dispatchable systems (#1071)
  • Add sparsity to ODEProblem on construction (#1087)
  • Parameter representation for controls (#1088)
  • Identity matrix multiplied by z[3:4] gives z[1:2] (#1099)
  • Variable access feature is very slow (#1102)
  • Input & output systems (#1111)
  • provide type stable access to ODESolution by Num observed object (#1112)
  • Namespacing (#1117)
  • Allowing discrete Difference equations in ODESystem (#1122)
  • extend forget a variable ... (#1133)
  • Supporting multi-clock discrete systems (#1137)
  • Using Jacobian sparsity structures of large ODEs/PDEs downstream (#1160)
  • addition on Differentials not defined (#1161)
  • structural_simplify on DiscreteSystem says "this should never happen" (#1166)
  • PDESystem fails (#1179)
  • Coupling MTK with time discrete control (#1180)
  • Problem with 2D Poisson-Eqn. PDE (#1204)
  • Difference Operator Not Working Correctly (#1206)
  • Error when inverting matrix of dependent variables (#1231)
  • StructuralIdentifiability tutorial? (#1232)
  • release notes / news equivalent for breaking changes or new features (#1245)
  • Functions created by build_function should supported passing parameters using NamedTuples and Dicts (#1259)
  • parameters in modelingtoolkit don't support vector ? (#1271)
  • incorrect ODEs when child ODESystem contains ParentScope'd state (#1274)
  • Documentation (#1280)
  • Example of potential compile time growth issue (#1286)
  • Missing heuristic for array variables (#1283)
  • very slow when rebuild ODEProblem (#1285)
  • Dimension problem for the variable multiplication (#1291)
  • Support for finding nullclines (#1294)
  • StackOverflowError, can't handle large system (#1297)
  • Error when simulating ODESystem with difference equations (#1304)
  • Time-shift operator for discrete-time control systems (#1307)
  • How to preserve compilation of observed runtime generated function? (#1312)
  • Algebraic equations are delayed one step too much in DiscreteSystems (#1330)
  • Incorrect observed variables after structural_simplify (#1345)
  • Tutorial for Spring-Mass-System resulting in Stack Overflow Error (#1353)
  • Tearing partitioning doesn't consider solvability (#1362)
  • Solving errors (#1365)
  • Some symbolic parameters are not replaced by numeric during solve (#1369)
  • Automatic inference of time step for DiscreteSystems (#1374)
  • Incorrect solution for DiscreteSystem (#1378)
  • Unable to build torn function (#1379)
  • Use tearing information directly in codegen (#1387)
  • Inputs outputs in MTK (#1411)
  • Problem when defining Vector variables in connectors (#1432)
  • Spring-mass tutorial fails on MTK v8.3.2 (#1434)
  • ODAEProblem should try to transform mass matrices to the identity matrix (#1435)
  • Parameter Identifiability in ODE Models (#1441)
  • Using structural_simplify on SDE System (#1447)
  • docs for full_equations() (#1459)
  • Long compilation time some numbers + included examples (#1461)
  • Easier vectorial differential equations (#1485)
  • Julia REPL crash when using NewtonRaphson on a semi-big problem (#1507)
  • mul_float: types of a and b must match error in ModelingToolkit (#1515)
  • Allow extend System to override previous equations (#1518)
  • Support for scalar parameter and initial condition mappings (#1520)
  • How to represent Modelica style If-Equations using MTK (#1523)
  • Default initial conditions trigger an error when composing connections using scalarize() (#1553)
  • UndefRefError When modelingtoolkitizeing a system that uses DEDataArrays (#1564)
  • structural_simplify on an OptimizationProblem (#1565)
  • Slow access to solution via symbols (#1585)
  • Implicit DAE observed indexing is broken (#1589)
  • Constructing an ODEProblem with a non-numeric parameter throws a Float conversion error. (#1595)
  • Difference ODEProblem ODAEProblem (#1611)
  • Compatibility with DataInterpolations.jl (#1615)
  • ODAE problem does not acknowledge retcodes when solving (#1633)
  • Passing initial state of submodel silently fails (#1638)
  • Latex rendering issues (#1658)
  • sparsity pattern J vs J-gamma*I (#1668)
  • MTK cannot identify independent variables with new Symbolics convention (#1706)
  • Vector parameters not supported (#1723)
  • ODAEProblem's observed function is not always topologically sorted (#1726)
  • Indexing solutions with many symbolics fails (#1737)
  • "Axes of broadcast not known" with differential matrix equation (#1740)
  • Handling of wrongly namespaced variables (#1746)
  • Homogenize parameters by default (#1748)
  • Symbolic variables don't work for several inbuilt functions (#1749)
  • Optimization tutorial fails (#1781)
  • Sanity type-checking for equations (#1788)
  • Crashing REPL w/ malformed system (#1801)
  • ODEProblem creation fails for Unitful models (#1803)
  • DtLessThanMin when solving Mixed Difference Differential Equations test example (#1809)
  • feature request: make remake take partial parameter maps (#1810)
  • Unit checking error message (#1813)
  • State reordering on structural_simplify (#1817)
  • Update the var_to_name map when vars are updated (#1825)
  • ODESystem created calling external vector valued function (#1828)
  • Initial conditions via observed variables (#1836)
  • Cannot determine ordering of Dual tags ForwardDiff (#1867)
  • solution indexing with symbolic expressions that include parameters (#1874)
  • MTK -- basic questions (#1925)
  • thoughts on being stricter when constructing Problems from systems? (#1933)
  • Symbolic indexing of the solution is slow (#1944)
  • Vsode ParseError: KaTeX parse error: (#1958)
  • UndefVarError when retrieving solution of ODAEProblem without prior index lowering (#1961)
  • Overridden default set on observed quantity not propagating to its alias (#1968)
  • getproperty incompatible with ParentScope and DelayParentScope (#1973)
  • Conductor as a downstream test on MTK (#1979)
  • paramters in optimizations FAQ (#1982)
  • How to prevent breakage from changes to structural_simplify (#2000)
  • Cryptic Tsit5() error message when building a simple electrical circuit (#2006)
  • Unexpected UndefVarError (#2007)
  • Variable metadata connector documentation (#2013)
  • Simulation of hybrid system (#2018)
  • Compilation of ODEProblem generated from MTK system fails on GPU even if original problem is GPU-compatible (#2026)
  • substitute(::ODESystem) does not substitute in events (#2059)
  • MTK: Scaling of time/parametric plots? (#2076)
  • Compute initial states for u0 if u0 is parametric (#2103)
  • Composable NonlinearSystem fails but runs as an ODESystem (#2106)
  • structural_simplify unexpected ERROR when applied twice in a row (#2108)
  • Not an issue... but trying to understand MTK (#2111)
  • Indexing solution with symbolic array is slow (#2112)
  • Q: parameters in MTK (#2130)
  • Error when taking inverse of matrix parameters, missing * method (#2134)
  • MTK Bug? Some observed are not computed? (#2136)
  • Enable `solve(...;save_idxs=) for not integer indexes (#2139)
  • Possible regression when simplifying system to 0 states (#2141)
  • Advanced initialization (#2151)
  • Discrete systems in MTK (#2165)
  • Incomplete derivative expansion with DataInterpolations (#2169)
  • remake doesn't work with mapped parameters (#2171)
  • [FR] Allow named container for parameters when converting to DEProblem (#2195)
  • WARNING: importing deprecated binding Symbolics.@register into ModelingToolkit. (#2197)
  • Documentation tab for various API function (#2224)
  • Add more complete DynamicQuantities support (#2230)
  • Handling of dependent defaults (#2238)
  • Array parameters are not correctly scoped with ParentScope (#2252)
  • Split tunables from the rest of heterogeneous parameter (#2260)
  • Add tunables in ODEProblems (#2261)
  • Next major release checklist (#2262)
  • Array parameters/variables with @mtkmodel (#2269)
  • Recent bug: parameter tuples no longer preserve parameter types (#2296)
  • Do not split parameters into tuple of vectors by default (#2311)
  • Improve documentation (#2326)
  • Inconsistency in structural_parameters and non-contextualized error message (#2341)
  • Wrong namespace for default array parameter value (#2344)
  • Missing initialization of discrete-to-continuous communication parameter (#2356)
  • ERROR: ArgumentError: System rc_model: variable resistor₊v does not exist (#2369)
  • continuous_events fails to recognize vectors (#2383)
  • ModelingToolkit does not save array as static arrays (for initial conditions and parameter values) (#2398)
  • Model linearization fails when no parameter is used (#2400)
  • Internation functions for conversion between various forms of representing states/parameters etc. (e.g. symbolics or indexes) (#2404)
  • Move @variables and @parameters defaults to the ODESystem defaults keyword to support defaults that depend on components. Or add a @defaults block to support out of order defaults manually. (#2416)
  • structural_simplify does not seem to include dae_index_lowering anymore (#2417)
  • Cannot access observed variables in NonlinearSolution (#2420)
  • "Ignore" option for connectors (#2422)
  • Precompilation of ModelingToolkit reports two errors on Julia 1.10 (#2429)
  • Deprication of all_dimensionless and how to adapt unit check in Catalyst? (#2459)
  • Re-add DiscreteSystem (#2461)
  • MTK 9 migration guide (#2463)
  • Basic (but incomplete) system construction throws incorrect error on get_system (#2464)
  • System can't structural_simplify when using multiple SampledData blocks (#2475)
  • structural_simplify of SDESystem (#2476)
  • Namespacing of symbolic array variables when passed to another function (#2477)
  • Pretty printing list of parameters. (#2481)
  • Export getdefault function (#2484)
  • MTK v9 with split=true breaks obtaining parameters with SymbolicIndexingInterface. (#2485)
  • @mtkmodel does not handle specification of variable type (#2491)
  • Callback Example gives MethodError with MTK 9 (#2496)
  • Interface improvements for initialization (#2506)
  • Ability to use derivatives (without dummy derivatives) in the initialization equations (#2513)
  • Dropped unknowns with non-fully determined structural simplifications (#2515)
  • varmap_to_vars output and MTKParameters in ODEProblem are Different (#2525)
  • Discrete Events Behaving Unexpectedly (#2528)
  • Problem with DDEProblem and MTK 9 (#2530)
  • Error Accessing Parameter Argument of Integrator during continuous_events Callback (#2538)
  • guess is sometimes ignored (here with linearize) (#2539)
  • MTK 9 fails to simplify u0map with DDEProblem (#2543)
  • Forward MTK system to ODEFunction constructor in ODEFunctionExpr (#2550)
  • MethodError Raised When Running "Parameter Identifiability in ODE Models" Tutorial (#2551)
  • Create a function for retrieving the default t iv? (#2552)
  • get_units() fail on expressions with binomial (causes a crash in Catalyst) (#2554)
  • Parameters with default values that depend on variables' initial conditions no longer supported (#2556)
  • Cannot call @mtkbuild on JumpSystem creation (#2558)
  • Cannot create JumpProblems for systems without parameters (#2559)
  • ODEProblem get stuck (when creating MTKProblem) for certain ODE inputs (where parameter have defaults depending on initial conditions) (#2565)
  • ModelingToolkit.varmap_to_vars throws error when input have default value depending on paraemters or initial conditions (#2566)
  • Error with MTKParameters and Dual Numbers (#2571)
  • Error in alias elimination of DiscreteSystem (#2585)
  • Cannot use micro moles units. (#2590)
  • guess not used (#2596)
  • Callback function generation error (#2599)
  • Make replace of MTKParameters type-stable (#2608)
  • Discrete events with repeated dosage fails for JumpSystems (fine ofr e.g. ODEs) (#2611)
  • Weird behaviour when declaring a paraemter as a vector (#2615)
  • Cannot create SteadyStateProblems for second order ODEs (#2618)
  • ODEProblems can be constructed without providing full parameter sets (and missing values set to 0.0) (#2624)
  • Cannot create NonlinearSystems with only equation input (like for ODESystems) (#2625)
  • Remaking ODEProblem fails inside of Turing model (#2634)
  • Remaking ODEproblem causes call to solve to fail on remade problem (#2635)
  • remake with use_defaults=true fails when defaults contain non-trivial expressions (#2637)
  • Solve fails after remake inside of Turing model. (#2642)
  • Inconsistency with scalarisation of MTK states and parameters (#2645)
  • Remake fails with simple parameter dict (#2648)
  • Guesses for symbolic vector variables are incorrect (#2653)
  • Problem creating problems for vector variables/parameters (#2661)
  • remake type promotion fails with empty initial conditions (#2664)
  • Variables eliminated in structural_simplify are not included in simulation plots (#2678)
  • structural_simplify doesn't properly namespace "bare" io variables (#2682)
  • Add sampletime() and clock() operators (#2687)
  • Bug with default value for @structural_parameters (#2688)
  • Silent and wrong derivatives of observed variables (#2697)
  • Implicit variable erroneously required in initial condition (#2703)
  • structural_simplify uses metadata of the variables instead of what is passed into the system (#2706)
  • EXCEPTION_ACCESS_VIOLATION error during solving of Differential Equation provided by ModelingToolkit (#2722)