User Tools

Site Tools


library

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
library [2022/03/18 15:16]
mina
library [2023/03/10 12:27]
daria [Synchronize with the library]
Line 71: Line 71:
   - Press Ok.   - Press Ok.
  
-==== Replace sub-system with the library item ====+==== Synchronize with the library ==== 
 + 
 +Libraries are used to build models. Changes can later occur to either the models (//where the user might want to go back to the initial values from the library//), or a change can occur to the source library (//in which case, the user might want to update the models with the new library values//). Either way, the model should be synchronized with the source library. To do this action: \\ 
 +  First, make sure that the proper library folder is selected (see [[Library#Manage library|Manage library]]) 
 +  - Go to File / Library / Synchronize with library 
 +  - Select the subsystems that should be updated with the library and click OK. 
 + 
 + 
 +==== Setting up the library ==== 
 + 
 +Model components are packaged in files with the extension //.ecl//. If you have such files, you can import them to your local library: 
 + 
 +  - Click the **Manage library**-button in the menu. 
 +  - The window that appears lets you see what is currently in the library. To add model components, click the **Import…**-button. 
 +  - Browse to where the .ecl file is located and select it. 
 +  - The components of this file will now be listed in the window. 
 + 
 +==== Adding components from the library ==== 
 + 
 +  - Right-click an empty diagonal cell. If you have no empty cells, you can insert new ones following the steps described in [[#inserting|Inserting empty cells]]. 
 +  - Select **Add from library** from the menu that appears. 
 +  - From the library window, select the component you wish to add and click **Ok**. 
 +  - If you are asked to auto-connect inputs with outputs, read more [[#autoconnect|below]]. 
  
-There is possibility to replace one sub-system module with other one from the library. To replace sub-system module, user has to: 
-  - Select  sub-system module in the matrix or graph model window; 
-  - Right click on it and select in popup menu **Replace with library item…** button; 
-  - Chose which sub-system module should be placed instead of selected; 
-  - Press Ok; 
-  - Retain Values window will show list of parameters and lookup tables which were added or removed during replacement; 
-  - Press Ok. 
  
  
library.txt · Last modified: 2023/03/10 12:27 by daria