diff --git a/Project.toml b/Project.toml index 031d1d5..7d82dab 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ModiaMath" uuid = "67ccffd1-116d-535b-ad39-76a8fd0cbf71" authors = ["Martin Otter "] -version = "0.5.0" +version = "0.5.1" [deps] DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" diff --git a/README.md b/README.md index 1778d13..d9f928c 100644 --- a/README.md +++ b/README.md @@ -108,13 +108,13 @@ instead the instructions # run all tests include("$(ModiaMath.path)/test/runtests.jl") - + ``` ## Status -The ModiaMath version number is 0.5.0 and functionality and robustness is planned to be improved for the 1.0 version, +The ModiaMath version number is 0.5.1 and functionality and robustness is planned to be improved for the 1.0 version, see [Plans for ModiaMath version 1.0](https://ModiaSim.github.io/ModiaMath.jl/latest/man/Plans.html). diff --git a/docs/src/index.md b/docs/src/index.md index 9003751..b3658f9 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -43,11 +43,20 @@ instead the instructions ## Release Notes +### Version 0.5.1 + +- New example ModiaMath/examples/Simulate_PendulumDAE (pendulum as index 3 system with + variables "x" and "y" (and not angle). Transformation to index 1 form with the + Gear-Gupta-Leimkuhler transformation. + +- Minor errors in Print/log output of lambda/mue variables corrected. + + ### Version 0.5.0 - **Version is not backwards compatible**: * The values of `@enum structureOfDAE` have changed. - * `ModiaMath.SimulationState`: Keyword argument `structureOfDAE` has + * `ModiaMath.SimulationState`: Keyword argument `structureOfDAE` has default `DAE_LinearDerivativesAndConstraints` instead of `DAE_NoSpecialStructure`. The consequence is that by default it is assumed that the DAE depends linearly on the derivatives (this should probably always be the case, so this should be uncritical). @@ -76,7 +85,7 @@ instead the instructions - New example `examples/withoutMacros_withoutVariables/Simulate_IdealClutch.jl` to simulate an electrical circuit driving an inertia that is connected with an ideal clutch to a - second inertia. It is demonstrated how the index can change during simulation and + second inertia. It is demonstrated how the index can change during simulation and how Dirac impulses are handled during initialization and at events. - Adapted tolerance of nonlinear solver so that it is identical to integrator tolerance @@ -101,7 +110,7 @@ instead the instructions - ModiaMath.SimulationState has a new keyword argument `structureOfDAE`. It is now possible to define that the DAE is linear in all derivatives or all derivatives - are explicitely solved (= ODE). If one of the new structures is selected, + are explicitely solved (= ODE). If one of the new structures is selected, initialization and re-initialization is more robust and more efficient (in particular no implicit Euler step is used). diff --git a/src/ModiaMath.jl b/src/ModiaMath.jl index 01345de..cb20760 100644 --- a/src/ModiaMath.jl +++ b/src/ModiaMath.jl @@ -66,8 +66,8 @@ Absolute path of package directory of ModiaMath """ const path = dirname(dirname(@__FILE__)) # Absolute path of package directory const Time = Float64 # Prepare for later Integer type of time -const Version = "0.5.0" -const Date = "2019-04-04" +const Version = "0.5.1" +const Date = "2019-04-07" println(" \nImporting ModiaMath Version $Version ($Date)")