|
Libraries |
|
A library is a collection of stored parameters for some performance model components. Libraries Included with the Model Solar Advisor uses libraries to store parameter sets for the following performance model components and displays them as lists on the relevant input pages:
Opening the Library Editor To open the library editor, click File, Libraries. You must open a project file before opening the library editor (the editor is not available from the Welcome page). Default and User Libraries There are two types of libraries, default libraries and user libraries:
Managing User Libraries To add a new user library, open the library editor, and click New User Library. Type a name for the library (this is the name that will appear in library lists), and then choose a library type. To add items to a user library, click the library's name in the Libraries list and click Add Entries. In the variables list, check one or more items that have similar characteristics to the item you want to add. Right-click each item's name and click Rename to change the item's name. You can then either change values manually by double-clicking each cell and typing a value, or you can paste a row of values from a text file with comma-separated columns or an Excel file by right clicking the item name and clicking Paste Values. To edit parameter values in a user library, double-click cells in the parameter table. There is no error checking, so be sure to type valid values. To modify values in a default library, copy the library from the libraries folder to another folder on your computer, and use the library editor to import it as a new user library. To "convert" a user library to a default library, in the library editor, select the user library's name in the Libraries list, click Export, and save the file in the libraries folder. The library will now be displayed in the Libraries list with a "SAM/" prefix, and will be available to all project files on your computer. Library File Types and Folders Library files are text files with the extension .samlib. Library files contain sets of parameter values. Library files can be stored anywhere on your computer, and must be imported into your project file as user libraries, unless they are stored in the libraries folder. Default libraries are available to all project files on your computer, and must be stored in the libraries folder, which is c:\SAM\[software version date]\exelib\libraries by default. Solar Advisor uses library type files to define the contents of library files. The library types are categories of parameter collections. For example, the TroughHCE library type stores parameters for trough heat collection elements. You cannot add or remove library types in the user library. Library types are stored as .samlibtype files in the libraries folder, and should not be modified for typical uses of the model. |