Page History
...
- Download the Modelica Standard Library and extract it.
- Open a project in which you want to use the Modelica library components.
- In the top-left corner of the modeling tool, click the File > Import From > Modelica Library.
- Select the ModelicaStandardLibrary > Modelica folder from your file system.
Click Import.
The Modelica Standard Library is imported. See the following figure. All packages with their structure is created in the Containment tree and types are placed in corresponding packages. Note, that file names may do not match with the element names and the file structure may do not correspond to the location in the directory. The package structure is the same as Modelica package structure.Note In order to to avoid the import of Modelica Standard Library in each project, you can save it as a project and reuse in other projects. For this, do the following:
Using Modelica libraries
Let's say we need to use OpenHydraulics modelica library components in a project. Both Modelica Standard Library and OpenHydraulics library must be imported since some components from OpenHydraulics library have references to standard library.
...