Changes between Version 5 and Version 6 of WritingCompliantLibraries
- Timestamp:
- 2013-06-18T22:46:17Z (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WritingCompliantLibraries
v5 v6 56 56 === Old standards === 57 57 Use `omc +std=2.x` or add `uses(Modelica(version="2.2.2"))` to the package. This might make it work without further conversion. You are recommended to convert the library to MSL 3.2.1 and ModelicaSpec 3.2r2 or above since in particular the standard library is now conforming to the specification. 58 59 === Large Integer values === 60 If you have large Integer values (on 32 bit OpenModelica support just 31 bit integers) you should change them to Real. 61 Example: 62 {{{ 63 parameter SI.AbsolutePressure P_constant=10000000; 64 }}} 65 should be: 66 {{{ 67 parameter SI.AbsolutePressure P_constant=10000000.0; 68 }}} 69 If you don't do this the compiler will do it for you but it will generate a warning.