User Tools

Site Tools



NoteIn Ecolego 6, transfer coefficients and transfers are merged into one block. You now define that a transfer should be multiplied by the source compartment by selecting the TC checkbox in the value page.

Represents the transfer of quantities of materials between compartments. It defines the quantity of the materials that is subtracted from a source/sink or compartment block and added to a destination compartment or source/sink block.

Transfers can be made discrete (instantaneous).

Discrete transfers are used to instantly move quantities of materials to, from or between compartments. To make a transfer discrete, select an event from the drop-down list which should trigger the transfer.

Creating a transfer

From the Projects window

  • Expand the Project to which you wish to add the expression by clicking the + symbol next to it. Right-click on ‘Blocks’, or a sub-system in ‘Blocks’, and select Transfer from the pop-up menu, or
  • Right click a compartment or source/sink in the project tree and select Connect to | … from the popup menu.

From the Matrix window

  • Right click the off-diagonal cell in the same row as the source and in the same column as the target and select Transfer from the the pop-up menu, or
  • Right click a compartment or source/sink in the matrix and select Connect to | … from the popup menu.

From the Blocks window

  • Place the mouse cursor over the table and right-click on it. Select New | Transfer from the pop-up menu, or
  • In the title bar, select Transfer from the Type drop-down list and click on the New button, or
  • Right click a compartment or source/sink in the table and select Connect to | … from the popup menu.

Editing a transfer

NoteMost block properties can be edited directly in the Blocks window.

The block editor is shown by right-clicking the block in a window and selecting Edit. In the Blocks window, you can also show the block editor by selecting the block and clicking the Edit button, or by double-clicking the right-most “validation” column of the block.

The block editor has three tabs:


This page lets you edit basic properties such as name, sub-system and base unit. See editing properties for more information.


This page lets you edit the visual properties of the block in the matrix window and graph window. See editing appearance for more information.


NoteWhen entering an expression, you can also enter names of objects that are not yet created and let Ecolego use automatic object creation to define them.

Note that the dimension and index list of a transfer block is derived from the dimension and index lists of it’s source and target compartments. The transfer will only have the indices that are shared by the source and target.

  • Equation - The equation can contain any number of parameters, blocks and functions, or even expressions. The Expression editing tool can be used to quickly find available functions and objects to use in the expression. Also refer to expression syntax for details on mathematical format and how to specify conditions.
  • TC - Transfer coefficient. Check this box if the expression given should be multiplied by the source compartment.
  • Event - Select a discrete event to make the transfer discrete (instantaneous). Note that you must first create a discrete event block.
  • Author User can provide information about the author.
  • Reference If available, reference field can be used to provide the insight to where the methods or data comes from.
  • Comment If necessary, comments can be assigned to blocks in Ecolego.
  • Information - By using the Table control button you can display more columns that will help you document your model.

See also

transfer.txt · Last modified: 2023/02/17 13:49 by mina