thermocycle / Thermocycle-library

Thermocycle library
http://thermocycle.squoilin.eu
MIT License
55 stars 24 forks source link

OpenModelica compatibility #32

Closed thorade closed 7 years ago

thorade commented 9 years ago

There have been some questions in the OpenModelica forum about OpenModelica compatibility:

OpenModelica guys give some hints how to get there: https://trac.openmodelica.org/OpenModelica/wiki/WritingCompliantLibraries Just opening the library in OpenModelica gives a lot of warnings, many of them are related to encoding. To be on the safe side, just use pure ASCII, do not use °C or m².

It would also be good to pass pedantic mode code check in the latest Dymola: dymola_pedantic

thorade commented 8 years ago

Dymola 2016 FD01 has some small improvements regarding UTF8 encoding. http://www.3ds.com/products-services/catia/products/dymola/latest-release/ To enable the new fatures, set the flag Advanced.PreferWritingLatin1:=false;.

thorade commented 7 years ago

Dymola 2018 has improved UTF-8 capabilities and allows to store all files as UTF-8 with BOM. https://www.3ds.com/fileadmin/PRODUCTS/CATIA/DYMOLA/PDF/Dymola_Release_Notes.pdf

thorade commented 7 years ago

Closing this issue for now, as I do not know what the current status is in OpenModelica.