Releases: ModiaSim/Modia.jl
Releases · ModiaSim/Modia.jl
v0.12.3
v0.12.2
Update to Julia 1.12.4
v0.12.1
Modia v0.12.0
Modia v0.12.0
- Improved documentation of built-in component functions.
Non-backwards compatible changes:
- Renamed struct
SimulationModeltoInstantiatedModel. - Renamed function
get_scalar_x_segmented_valuetocopy_scalar_x_segmented_value_from_state - Renamed function
get_SVector3_x_segmented_valuetocopy_SVector3_x_segmented_value_from_state - Renamed function
get_Vector_x_segmented_value!tocopy_Vector_x_segmented_value_from_state - Renamed function
add_der_x_segmented_value!tocopy_der_x_segmented_value_to_state - Renamed function
add_w_segmented_value!tocopy_w_segmented_value_to_result
v0.11.0
Modia v0.11.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.
_buildFunctionargument list changed (options of @instantiateModel added)
Merged pull requests:
- Prepare release 0.11.0 (#166) (@MartinOtter)
v0.10.0
Modia v0.10.0
- Initial support of segmented simulations where the number of states can change during simulation.
For examples, seeModia/test/TestHeatTransfer2.jland models in directoryModia3D/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:
- Release0.10.0 (#165) (@MartinOtter)
v0.9.4
Modia v0.9.4
- Precompile statements included (compilation of Modia package takes more time, but startup of Modia model simulations is faster).
@instantiateModel(..., logFile=true): New keyword argumentlogFilein order that log of file and line number can be
switched off, when@instantiateModelis 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:
Merged pull requests:
- Improve signal tables (#153) (@MartinOtter)
- add snoopPrecompile + other improvements (#156) (@MartinOtter)
- SciMLBase.FullSpecialize (#157) (@MartinOtter)
- Use DiffEqBase 6.104.3 + reactivate MonteCarloSimulation tests (#158) (@MartinOtter)
- Fix logCalculation=true skips actual work for residual (#161) (@RagibHasin)
- Update version message (#164) (@MartinOtter)
v0.9.3
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
Modia 0.9.2
- 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
Modia 0.9.1
-
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..