User Tools

Site Tools


parameter_database_toolbox_wiki

Parameter database toolbox Wiki

The Parameter database toolbox provides a connection between Ecolego and a parameter database .

Logging in

Before a connection can be made to the database, Ecolego must be given the location of the database as well as the credentials of the user. This is done in the Database preferences screen

To login click on the .

Selecting project

When you have logged into the database, you will be given access to projects that have been associated with your user by the system administrator who manages the database. You select which project you want to work from the drop-down list that appears next to the login button once logged in.

Roles

Depending on your role for the selected project you will have different possibilities to alter and view data in the database. A small symbol will indicate which role you have for the specific project:

Model development

When Ecolego is connected to a parameter database Ecolego will help the user to confirm to the naming convention of the parameter database. While equations are typed, parameter names as defined in the database will be presented to the user. If these names are used the parameter values can be imported directly. For more information see Expression editing tool.

Exporting data

In short:

  1. Select File|Export|Export Parameters to the Database.
  2. Select the parameter/lookup table values that you wish to export.
  3. Choose whether to update values of existing parameter instances or if you wish to create new ones. New instances should be tagged so that they can be easily identified.

More information available here.

Importing data

In short:

  1. Select File|Import|Import Parameters from the Database.
  2. Find the instances that you wish to import.
  3. Choose whether to overwrite values of existing objects in the model or if you wish to create new parameters/lookup tables.

More information available here.

Importing dependencies

NoteWhen the Radionuclide toolbox is available, Ecolego will automatically import radionuclides from the nuclide database.

When importing parameter values, the index lists of the model determine which data is imported. It is therefore important that the names of the indices in the model are the same as in the database.

It can therefore be good practise (and time saving) to import dependencies from the database rather than creating them manually.

In short:

  1. Select File|Import|Import Index-lists from the Database.
  2. Select which index lists you wish to import.
  3. For each index list, select which indices to import.

More information available here. Database preferences screen

See also

parameter_database_toolbox_wiki.txt · Last modified: 2023/04/12 16:33 by daria