Skip to content

Releases: ModiaSim/Modia.jl

v0.12.3

16 Feb 13:09

Choose a tag to compare

issues with package handling

v0.12.2

13 Feb 13:09

Choose a tag to compare

Update to Julia 1.12.4

v0.12.1

05 Nov 23:51

Choose a tag to compare

Modia v0.12.1

Diff since v0.12.0

Pull request #170

Merged pull requests:

Modia v0.12.0

04 Jun 14:44
a3f179f

Choose a tag to compare

Modia v0.12.0

Diff since v0.11.0

  • Improved documentation of built-in component functions.

Non-backwards compatible changes:

  • Renamed struct SimulationModel to InstantiatedModel.
  • Renamed function get_scalar_x_segmented_value to copy_scalar_x_segmented_value_from_state
  • Renamed function get_SVector3_x_segmented_value to copy_SVector3_x_segmented_value_from_state
  • Renamed function get_Vector_x_segmented_value! to copy_Vector_x_segmented_value_from_state
  • Renamed function add_der_x_segmented_value! to copy_der_x_segmented_value_to_state
  • Renamed function add_w_segmented_value! to copy_w_segmented_value_to_result

v0.11.0

04 Jun 08:01
572ab57

Choose a tag to compare

Modia v0.11.0

Diff since v0.10.0

  • Require ModiaBase 0.11.1
  • Manifest.toml file removed.
  • test.yml for github actions changed to use Julia 1.9.0

Non-backwards compatible changes

These changes only influence models that use the new feature of built-in components.

  • _buildFunction argument list changed (options of @instantiateModel added)

Merged pull requests:

v0.10.0

29 May 17:42
ff2a4e2

Choose a tag to compare

Modia v0.10.0

Diff since v0.9.4

  • Initial support of segmented simulations where the number of states can change during simulation.
    For examples, see Modia/test/TestHeatTransfer2.jl and models in directory Modia3D/test/Segmented
    (of release 0.12.0 and later). The tutorial will be updated for this feature in an upcoming version.

Non-backwards compatible changes

These changes should usually not influence user models, since these functions are typically not directly called by a user.

  • _buildFunction = <functionName> changed to _buildFunction = Par(functionName = <functionName>) and
    changed argument list of <functionName>.
  • _instantiateFunction = Par(..) changed to _initSegmentFunction = Par(functionName = <functionName>)
    and changed argument list of <functionName>.

Merged pull requests:

v0.9.4

21 May 19:16

Choose a tag to compare

Modia v0.9.4

Diff since v0.9.3

  • Precompile statements included (compilation of Modia package takes more time, but startup of Modia model simulations is faster).
  • @instantiateModel(..., logFile=true): New keyword argument logFile in order that log of file and line number can be
    switched off, when @instantiateModel is called.
  • Error messages improved, when model errors result in failed evaluation of parameters.
  • Log of statistics improved and included in writeSignalTable(..) of instantiatedModel.
  • SignalTables.getSignalNames(..): Order of signal names improved so that the linear listing reflects the hierarchy of the names.
  • writeSignalTable(..): attributes renamed to _attributes. All used simulate!(..) options included in Map experiment.
  • Require SignalTables 0.4.2 (since several issues fixed with writeSignalTable(..)).
  • Update to newest versions of packages.

Bug fixes

  • DifferentialEquations 7.6.0 introduced a non-backwards compatible change with #867. Modia was corrected to cope with this change (based on #162).
  • @instantiateModel(..., logCalculations=true) skipped actual computations. This was fixed via #161.

Closed issues:

  • Link to documentation broken (#159)
  • Precompilation fails (#163)

Merged pull requests:

v0.9.3

05 Aug 07:00
f0fec8a

Choose a tag to compare

Modia 0.9.3

  • Requires SignalTables 0.4.0 (introduces Map-signal)
  • getSignalNames(...; getVar=true, getPar=true, getMap=true): New keyword arguments to filter names.
  • writeSignalTable(instantiatedModel,..): Include attributes = Map(model=..., experiment=...).
  • Some internal bug-fixes.
  • Update to newest DifferentialEquations.jl and DiffEqBase

v0.9.2

12 Jul 14:25

Choose a tag to compare

Modia 0.9.2

Diff since v0.9.1

  • Bug fix: integrator IDA() can be used (especially to avoid solving large linear equation systems in the model).
    Extend some test models to use IDA().

v0.9.1

07 Jul 13:02
b034baa

Choose a tag to compare

Modia 0.9.1

Diff since v0.9.0

  • Requires SignalTables 0.3.5.

  • @usingModiaPlot: corrected and fixed in docu. Alternatively, @usingPlotPackage can be used,
    provided package SignalTables is present in your current environment.

  • Internal: A function call in the generated code prefixed with Modia..