You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Non-backwards** compatible changes (basically, these changes are, erronously, in 0.6.1):
49
49
50
-
- Equations can only be defined with key `equations` and no other key.
50
+
- Equations can only be defined with key `equations` and no other key
51
+
(still, expressions can be associated with one variable, such as `b = Var(:(2*a))`).
52
+
In versions 0.6.0 and before, equations could be associated with any key.
53
+
54
+
- The merge operator `|` appends the expression vectors of `equations`, so
55
+
`m1 | m2` basically appends the vector of `m2.equations` to the vector of `m1.equations`.
56
+
In versions 0.6.0 and before, the merge operator did not handle `equations` specially,
57
+
and therefore `m1 | m2` replaced `m1.equations` by `m2.equations`.
51
58
52
59
- Parameter values in the code are now type cast to the type of the parameter value from the
53
60
`@instantiatedModel(..)` call. The benefit is that access of parameter values in the code is type stable
54
61
and operations with the parameter value are more efficient and at run-time no memory is allocated.
55
62
Existing models can no longer be simulated, if parameter values provided via `simulate!(.., merge=xx)` are not
56
63
type compatible to their definition. For example, an error is thrown if the @instantedModel(..) uses a Float64 value and the
57
64
`simulate!(.., merge=xx)` uses a `Measurement{Float64}` value for the same parameter
65
+
66
+
- Operator `buildModia3D(..)` as used in Modia3D models is removed. Instead, the new constructor
67
+
`Model3D(..)` must be used at the top level of a Modia3D definition. It is now possible to define
68
+
several, independent multibody systems (currently, only one of them can have animation and animation export).
69
+
70
+
-`Var(init=[...])` or `Var(start=[..])` of FreeMotion joints must be defined as
71
+
`Var(init=SVector{3,Float64}(..))` or `Var(start=SVector{3,Float64}(..))`.
72
+
Otherwise, errors occur during compilation.
73
+
74
+
75
+
Other changes
76
+
77
+
- Documentation (especially tutorial) adapted to the new version.
78
+
79
+
- Examples and test models (Modia/examples, Modia/tests) adapted to the new version, especially
80
+
to the non-backwards compatible changes.
81
+
82
+
- For further changes of equation-based models, see the release notes of [ModiaLang 0.11.0](https://github.com/ModiaSim/ModiaLang.jl/releases/tag/v0.11.0).
83
+
84
+
- For further changes of Modia3D models, see the release notes of [Modia3D 0.9.0](https://github.com/ModiaSim/Modia3D.jl/releases/tag/v0.9.0).
85
+
86
+
87
+
### Version 0.6.1
58
88
59
-
Other changes:
89
+
This version was erronously released as 0.6.1. Since it contains non-backwards compatible
90
+
changes with respect to 0.6.0, this is wrong and should have been released as version 0.7.0.
60
91
61
92
- See release notes of [ModiaLang](https://github.com/ModiaSim/ModiaLang.jl/releases/tag/v0.11.0) and
62
93
of [Modia3D](https://github.com/ModiaSim/Modia3D.jl/releases/tag/v0.9.0).
0 commit comments