- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Why does my openmodelica only have...
Why does my openmodelica only have basic libraries
Re: Why does my openmodelica only have basic libraries
Note: Based on OMEditor V1.18
with "Basic" library, you mean the Modelica Standard Library?
there are some other libraries in
installDir\lib\omlibrary
and "Installing" library is as simple as open the library/package (or ctrl-o).
You could fine more libraries on Modelica GitHub
- Arinomo23
- 120 Posts
Re: Why does my openmodelica only have basic libraries
Note that the latest OM nightly comes with a package manager instead of a fixed set of pre-installed libraries. In OMEdit, File -> Install Library
- sjoelund.se
- 1700 Posts
Re: Why does my openmodelica only have basic libraries
thanks @sjoelund, i'm not aware of this change,so my reply was based on V1.18.
On the side note: How does this effect user w/o an internet connection? I assume, it was down to make it easier for user to mange package based on its version on github etc?
- Arinomo23
- 120 Posts
Re: Why does my openmodelica only have basic libraries
Arinomo23 wrote:
thanks @sjoelund, i'm not aware of this change,so my reply was based on V1.18.
On the side note: How does this effect user w/o an internet connection? I assume, it was down to make it easier for user to mange package based on its version on github etc?
It's possible to copy a cache folder (of zip-files) and the index.json file to a local computer and install through that (or copying .openmodelica/libraries/ from one computer to another). But yes, you will need an internet connection to download packages in the first place. It doesn't make sense to wait 40 minutes for the slow Windows filesystem to install several gigabytes of packages that you don't need and didn't change since the last OM install. And it doesn't make much sense for OpenModelica to package everyone's libraries when the package manager can be used to download directly from the source.
Edit: And it's now possible to install different versions of a package (like the latest master of a package if you need that, or an older release of a package if you need that).
- sjoelund.se
- 1700 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Why does my openmodelica only have...