Reputation: 21
I would like to know:
the most efficient way to install a library in Dymola, so that it appears in my list of libraries in File > Libraries.
is it possible to have it preloaded in my package browser when I open Dymola, as for instance the Modelica Standard Library?
I would like to install the free library ExternData, using Dymola 2021.
Upvotes: 0
Views: 1412
Reputation: 12507
Dymola 2021 (and later) has Tools>Library Management>Modelica Path where you can add the directory containing your external libraries.
To make libraries appear preloaded you have to add a libraryInfo.mos
script in the corresponding library; you can look at Modelica Standard Library in the Dymola installation for inspiration.
The latter is described in more detail in the section "More about libraries and the building of menus of libraries and demo" page 200 in Dymola User Manual 1A.pdf
.
Upvotes: 2