Skip to content

Releases: ModiaSim/ModiaBase.jl

v0.7.6

23 Nov 22:20
Compare
Choose a tag to compare

ModiaBase v0.7.6

Diff since v0.7.5

  • Fixed bug in StateSelection.jl: If unitless=true, no unit is associated with the tearing variable.
  • Solve linear equation systems optionally with RecursiveFactorization.jl instead of the default lu!(..) and ldiv!(..).
  • Project.toml: Changed DiffRules from "~1.0" to "1", since issue with "1.2.1" (leading to an error in runtests) seems to be fixed.
  • Project.toml: Added version 1 of MonteCarloMeasurements.
  • Updated used packages.
  • Tutorial slightly improved.

v0.7.5

03 Aug 09:46
Compare
Choose a tag to compare

ModiaBase v0.7.5

Diff since v0.7.4

  • Added a restriction, so that DiffRules 1.0.2 is used, instead of 1.2.1 (which leads to an error in the test suite).

v0.7.4

02 Aug 10:01
Compare
Choose a tag to compare

ModiaBase v0.7.4

Diff since v0.7.3

  • showCodeWithoutComments(code): Bug corrected to only remove comments and not other code
    (ModiaLang.@instantiateModel(..., logCode=true, ...) gave wrong output).
  • Used packages updated

v0.7.3

27 Jul 10:57
Compare
Choose a tag to compare

ModiaBase v0.7.3

Diff since v0.7.2

  • Speed improvements for structural and symbolic algorithms.
  • Added support for state events, time events and synchronous operators
    (positive(), Clock(), after(), pre(), previous(), hold(), initial(), terminal())
  • Added support for mixed linear equation systems having Real and Boolean unknowns.
  • Simplified code for linear equation systems (while-loop instead of for-loop).
  • Added TimerOutputs @timeit instrumentation to the solution of linear equation systems.

Merged pull requests:

v0.7.2

31 Mar 09:40
Compare
Choose a tag to compare

ModiaBase v0.7.2

Diff since v0.7.1

  • Support of parameters as hierarchical named tuples.
  • Support of array comprehensions.
  • Support of array end (e.g. A[3:end])
  • If one equation cannot be solved for one unknown (e.g. since function call),
    try to solve it as linear equation system.
  • If variables with init values are explicitly solved for, print warning message
    only if log = true (in TinyModia.simulate! an error occurs, if the init value
    cannot be respected).

Closed issues:

  • What is the relationship between ModiaBase.jl and Modia.jl? (#1)

v0.7.1

07 Feb 20:13
Compare
Choose a tag to compare

ModiaBase v0.7.1

Diff since v0.7.0

Due to version conflicts, added version 0.17 of DataStructures in compat.

v0.7.0

07 Feb 14:52
Compare
Choose a tag to compare

ModiaBase v0.7.0

Initial version, based on code developed for Modia 0.6 and ModiaMath 0.6.